US7058930B2 - Distributed program relocation for a computer system - Google Patents

Distributed program relocation for a computer system Download PDF

Info

Publication number
US7058930B2
US7058930B2 US10/223,139 US22313902A US7058930B2 US 7058930 B2 US7058930 B2 US 7058930B2 US 22313902 A US22313902 A US 22313902A US 7058930 B2 US7058930 B2 US 7058930B2
Authority
US
United States
Prior art keywords
computer
program code
memory
address
relocatable
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.)
Expired - Lifetime, expires
Application number
US10/223,139
Other versions
US20030005158A1 (en
Inventor
Michael L. Howard
Stephen C. Coffin
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to US10/223,139 priority Critical patent/US7058930B2/en
Publication of US20030005158A1 publication Critical patent/US20030005158A1/en
Assigned to MATSUSHITA ELECTRIC WORKS, LTD. reassignment MATSUSHITA ELECTRIC WORKS, LTD. NUNC PRO TUNC ASSIGNMENT (SEE DOCUMENT FOR DETAILS). Assignors: EMWARE, INC.
Application granted granted Critical
Publication of US7058930B2 publication Critical patent/US7058930B2/en
Assigned to PANASONIC ELECTRIC WORKS CO., LTD. reassignment PANASONIC ELECTRIC WORKS CO., LTD. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: MATSUSHITA ELECTRIC WORKS, LTD.
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/54Link editing before load time

Definitions

  • This invention relates to computer software and, more particularly, to novel systems and methods for distributing and relocating computer software and data across a computer network.
  • the small computers (which can be rather large computers depending on the particular need which is being met by the computer), almost always have one or more processors at the heart of the computer.
  • the processor(s) usually are interconnected to different external inputs and outputs and function to manage the particular device. For example, a processor in a vending machine for soda pop may be connected to the buttons used to select the pop, to the switch that allows a pop to drop down to a user, and to lights to indicate that the machine does not have any more pop of a particular variety.
  • Computer technology is involved in many aspects of daily life.
  • Many appliances, devices, etc. include one or more small computers.
  • refrigerators, telephones, typewriters, automobiles, vending machines, and many different types of industrial equipment all have small computers or processors inside of them.
  • Computer software runs the processors of these computers and tells the processors what to do to carry out certain tasks.
  • the computer software running on a processor in a vending machine may cause a soda pop to drop to a user when the correct change has been entered by a user.
  • embedded systems These types of small computers that are a part of a device, appliance, tool, etc., are often referred to as embedded systems.
  • the term “embedded system” usually refers to computer hardware and software that is part of a larger system. Embedded systems usually do not have typical input and output devices such as a keyboard, mouse, and/or monitor. Usually, at the heart of each embedded system is one or more processor(s).
  • a system for preparing program code for a first computer includes a relocating module that is adapted to relocate program code by modifying locations in the program code identified by location data. The modifications made by the relocating module are based on a memory address.
  • the system will operate on program code for the first computer, where the program code is stored on the second computer.
  • the relocating module is provided the memory address that identifies a memory location in the first computer.
  • the memory address is suitable as a basis for modifying the program code.
  • the relocating module is also provided with location data that identifies locations in the program code to be adjusted based on the memory address.
  • a system made in accordance with the disclosed embodiments may optionally include memory usage information of the first computer from which the memory address can be derived.
  • the system may also include a list that includes the location data.
  • the memory address may be obtained from the first computer.
  • the second computer may also include a communication module for obtaining the memory address and for communicating the modified program code to the first computer.
  • a method practiced in accordance with the disclosed embodiments may include the steps of obtaining the program code from a storage device in electronic communication with the second computer; obtaining a memory address identifying a memory location in the first computer, where the memory address is suitable as a basis for modifying the program code; obtaining location data that identifies locations in the program code to be adjusted based on the memory address; and modifying the locations in the program code identified by the location data, by using the memory address and by using the location data, where the modifying step is accomplished at the second computer.
  • One or more computer programs for implementing the described systems and/or methods may be embodied in a computer-readable medium.
  • the computer-readable medium may be a data transmission medium.
  • the embodiments disclosed provide systems and methods for preparing program code for a first computer where the system and/or methods are implemented on a second computer.
  • the presently preferred embodiments use a minimal set of software routines for accessing storage on an embedded device (EEPROM, FLASH, battery backed-up RAM, etc.), while providing a substantial portion of the higher-level (and larger) memory-management software components on a computer connected to the embedded device(s).
  • an embedded device EEPROM, FLASH, battery backed-up RAM, etc.
  • the preferred embodiments allow an embedded device, its capabilities and/or its features to be upgraded or enhanced.
  • FIG. 1 is block diagram of the major hardware components included in the presently preferred embodiments
  • FIG. 2 is block diagram of the initial processing accomplished in the presently preferred embodiments
  • FIG. 3 is a block diagram of the major computer program and data components of the presently preferred embodiments
  • FIG. 4 is a flow diagram of the initial processing accomplished in the presently preferred embodiments.
  • FIG. 5 is a flow diagram illustrating steps that are followed in the presently preferred embodiments.
  • a system for preparing program code for a first computer wherein the system is implemented on a second computer, includes a relocating module that is adapted to relocate program code by modifying locations in the program code identified by location data. The modifications made by the relocating module are based on a memory address.
  • the system will operate on program code for the first computer, where the program code is stored on the second computer.
  • the relocating module is provided the memory address that identifies a memory location in the first computer.
  • the memory address is suitable as a basis for modifying the program code.
  • the relocating module is also provided with location data that identifies locations in the program code to be adjusted based on the memory address.
  • a system made in accordance with the disclosed embodiments may optionally include memory usage information of the first computer from which the memory address can be derived.
  • the system may also include a list that includes the location data.
  • the memory address may be obtained from the first computer.
  • the second computer may also include a communication module for obtaining the memory address and for communicating the modified program code to the first computer.
  • a method practiced in accordance with the disclosed embodiments may include the steps of obtaining the program code from a storage device in electronic communication with the second computer; obtaining a memory address identifying a memory location in the first computer, where the memory address is suitable as a basis for modifying the program code; obtaining location data that identifies locations in the program code to be adjusted based on the memory address; and modifying the locations in the program code identified by the location data, by using the memory address and by using the location data, where the modifying step is accomplished at the second computer.
  • One or more computer programs for implementing the described systems and/or methods may be embodied in a computer-readable medium.
  • the computer-readable medium may be a data transmission medium.
  • FIG. 1 is block diagram illustrating the major hardware components typically utilized in the presently preferred embodiments.
  • the presently preferred embodiments are used in a networked computer system 10 where a host computer 12 is connected to an embedded device 14 .
  • the embedded device 14 includes a computer 16 connected to input and output devices 18 , 20 .
  • the computer 16 in the presently preferred embodiments, is an embedded computer 16 .
  • the computer 16 comprises a microcontroller (not shown).
  • the functions and processing normally carried out by a microcontroller could be carried out by larger processors, whether they are part of a larger controller or part of a typical computer system.
  • the embedded computer 16 is remote from the host computer 12 in that the embedded computer 16 and host computer 12 are each computers capable of functioning on their own.
  • the term remote does not necessarily mean that the embedded computer 16 is at a different location than the host computer 12 , although in many embodiments the host computer 12 is at a different location than the embedded computer 16 .
  • the terms embedded computer 16 and remote computer 16 may be used interchangeably herein. Those elements discussed as being stored and/or implemented by the remote computer 16 could be stored and/or implemented at the host computer 12 , in some circumstances.
  • the present embodiments have a broad application to many kinds of computer networks 10 and to many kinds of computers.
  • the computer system 10 of the presently preferred embodiments also includes one or more client computers 22 for monitoring and/or controlling the embedded device 14 .
  • the remote computer 16 is operably connected to input and/or output devices 18 , 20 capable of electronic communication with the remote computer 16 , or, in other words, to devices 18 , 20 capable of input and/or output in the form of an electrical signal.
  • the input and output device(s) 18 , 20 and the remote computer 16 are both housed within the same physical structure.
  • the host computer 12 and the remote computer 16 are both broadly defined digital computers.
  • a computer as used herein, is any device that includes a digital processor capable of receiving and processing data.
  • a computer includes the broad range of digital computers including microcontrollers, hand-held computers, personal computers, servers, mainframes, supercomputers, and any variation or related device thereof.
  • the input and output devices 18 , 20 include any component, element, mechanism, appliance, or the like capable of receiving and/or generating an electronic signal. Examples of devices within the scope of the term device includes a vending machine, a telephone, a door lock, a temperature sensor, a relay, an optical sensor, a motor, a switch, a light, etc.
  • the host computer 12 is typically an IBM®-compatible personal computer running the Linux® operating system or the Microsoft® Windows NT® operating system. In addition, the host computer 12 may also be running the Microsoft® Windows® 95/98 operating system.
  • the remote computer 16 typically includes an embedded processor (not shown), and, as stated, often includes a microcontroller.
  • the devices 18 , 20 can be any devices with electronic interfaces of which a processor could directly or indirectly interface and interact with.
  • vending machine One possible item that may be used with the present embodiments is a vending machine (not shown). Many vending machines include one or more microcontrollers for controlling different parts of the vending machines. These microcontrollers fall within the scope of remote computer 16 .
  • the input and output devices 18 , 20 include the buttons for selecting items from the vending machine, switches for allowing those items to be dropped down to the user, lights for indicating which items are gone, the change release for releasing any change, etc.
  • this vending machine embodiment includes the input and output devices 18 , 20 and the remote computer(s) 16 integrated within the same structure. The present embodiments, therefore, may be implemented in such an environment.
  • the remote computer 16 may be in a separate structure from its attached input and output device(s) 18 , 20 .
  • Many of the modern devices do come with embedded microcontrollers, for example, many cellular phones, pagers, copy machines, printers and the like come with embedded microcontrollers.
  • the host computer 12 may be connected to the remote computer 16 through a variety of connections, including RS-323, RS-485, modem, power line, wired connection, wireless connection, etc.
  • the remote computer 16 may be connected to various input and output devices 18 , 20 through a variety of ways.
  • the remote computer 16 comprises a microcontroller (not shown). Microcontrollers often have input/output ports for communicating with external devices. These specifications of the particular microcontroller often dictate how a device is connected to the microcontroller. Those skilled in the art appreciate how different devices may be connected to computers, whether they are embedded computers, standard desktop computers, mainframes, etc.
  • client computers 22 may also be included within the computer system 10 . Such a configuration allows users to access services at the remote computer 14 through the host computer 12 , even over great distances.
  • the host computer 12 and the client computers 22 may all be connected together on a computer network 24 , such as a LAN, WAN, etc.
  • the client computer 22 may connect from a remote location to the host computer 12 via a dial up connection, via an intranet, or via the Internet.
  • FIG. 2 is an illustration depicting the initial processing that occurs in the presently preferred embodiments.
  • a compiler 26 and/or linker 26 processes input files 28 to create a relocatable program module 31 .
  • the relocatable program module 31 includes a relocation table 30 and relocatable program code 32 .
  • the relocation table 30 is used by the presently preferred embodiment to modify the relocatable program code 32 so that it can be properly loaded onto the remote computer 16 and properly run thereon.
  • the relocatable program module 31 is typically one file that includes both the relocation table 30 and the relocatable program code 32 , it will be appreciated by those skilled in the art that the components of the relocatable program module 31 may be stored in a variety of ways, including multiple data structures, multiple files, etc.
  • the input files 28 are those files that are taken as input by the compiler 26 and/or linker 26 .
  • the input files 28 of the presently preferred embodiments may be typical source files created by software engineers in developing software.
  • the source files used in the presently preferred embodiments are C source files (e.g., file1.c), C++ source files (e.g., file2.cpp), along with their associated header files (e.g., file1.h) and/or assembly source files (e.g., file3.asm).
  • the input files 28 may also be object files and/or libraries. Object files and/or libraries are typical input files 28 to a linker 26 .
  • a compiler/linker 26 is a piece of software that translates a program written in a high-level programming language (i.e., the source files and other needed files) into machine language of the target computer. In most cases, the compiler/linker 26 actually accomplishes its tasks in two stages: a compiling stage and a linking stage. The compiling stage occurs first wherein the source files are translated into machine language of the target computer. Then the linker, sometimes referred to as linkage editor, converts the output from the compiler into a form that can actually be loaded and executed by a computer. The linker's main function is to resolve or unite references between program modules and libraries of subroutines. Its output is a load module which is a program that is typically ready to run in the computer.
  • the compiler/linker 26 is used to generate the relocatable program module 31 .
  • compilers/linkers 26 that can be used to generate the relocatable program module.
  • the gcc compiler from the Free Software Foundation can be used to generate a relocatable program module.
  • Watcom compiler from Sybase can be used.
  • Typical desktop computers include processors that include memory management hardware and firmware.
  • the operating system running on the desktop also includes memory management facilities.
  • the Intel® Pentium® CPU includes memory management hardware and firmware
  • the Microsoft® Windows® operating systems include memory management components as well.
  • the combination of these memory management tools facilitates computer programs being able to run wherever the operating system properly places it in memory. Because of these memory management tools, computer programs for desktop computers can be compiled and linked with little or no knowledge of the specific location in memory it will be placed when it is executed.
  • the compiler/linker 26 would need to know the addresses in the memory of the remote computer where the program code was going to be placed.
  • the present embodiments overcome this requirement by allowing the program code for the remote computer to be compiled and linked first into a relocatable program format. Then, at a later time and when the particular addresses of where the program code is to be placed on the remote computer are known, the program code can be relocated and loaded onto the remote computer.
  • An initial step in practicing the presently preferred embodiments is to compile and/or link the program code into relocatable code.
  • the compiler/linker 26 is used to translate the input files 28 into relocatable program code 32 .
  • the compiler/linker 26 also generates a relocation table 30 .
  • the relocatable program code 32 is machine language for the remote computer 16 that would be ready to load and run on the remote computer 16 if any existing unresolved address references were resolved.
  • the relocation table 30 of the preferred embodiment contains a list of references in the relocatable program code 32 that need to be resolved once it is known where in the remote computer 16 memory the program code 32 is to be loaded. In current design, the relocation table 30 identifies the location of the reference and the size of the reference that needs to be adjusted.
  • Table 1 illustrates in skeletal form and in pseudocode form a source file.
  • a source file may include a function or procedure entitled main 1 A.
  • the main function 1 A may include various program instructions, illustrated at 1 B, 1 D, 1 F and 1 H. Included in the instructions of the function may be calls to other functions or procedures, illustrated by a call to functionA 1 C and a call to functionB 1 E.
  • the instructions may also include a jump to placeC 1 G.
  • After compiling the source file there may be various addresses needed in order to completely link the code together. For example, various function calls and jumps may need to have addresses in order to be resolved.
  • a list, table, file or other data structure is used to track what references in the compiled program code need to be resolved before it can be loaded and executed on the remote computer 16 .
  • Table 2 contains pseudocode illustrating what types of information may be stored in the relocation table 30 .
  • a relocation table 30 may contain the information necessary to identify the addresses that need to be resolved or updated when the specific memory location is known, and also the information necessary to know what size the address is that needs to be updated.
  • Table 2 includes the offset address for the call to functionA 2 A.
  • Table 2 illustrates the storage of the size of the address 2 A that needs to be resolved or updated.
  • the program code 32 can be linked and be made ready for the remote computer, once the memory addresses are known, by cycling through the relocation table 30 , going to each indicated offset address and adjusting the address according to the newly found memory information of exactly where in memory the functionA code will be found.
  • the information 2 B for functionB is also stored in the relocation table.
  • the reference to the jump is also stored in the relocation table so that it can be updated according to the memory information to be obtained.
  • the information contained in the relocation table 30 is used to update the relocatable program code 32 so that it can be loaded and executed on the remote computer.
  • Table 3 illustrates what the relocatable program code may contain, following the example illustrated in Tables 1 and 2.
  • the relocatable program code 32 contains machine language 3 A– 3 H for the remote computer. Included in these machine language instructions 3 A– 3 H are instructions that include addresses that are not yet resolved or finalized.
  • the example of the call fo functionA is illustrated in machine language 3 C. Because this call is in relocatable format, the address to go to, indicated at XXXX, is not yet finalized. Once the memory addresses for the program code are known from the remote computer, the address XXXX may be updated to reflect the location where the code is to be loaded into the remote computer's memory. Similar to the machine language call to functionA 3 C, the machine language call to functionB 3 E can be resolved by updating the address of YYYY. The address ZZZZ included in the machine language jump to placeC 3 G can also be updated. Once the various unresolved addresses have been updated or resolved, the modified program code is ready to be loaded onto the remote computer.
  • Tables 4–6 are also meant to illustrate the principles of the presently preferred embodiments and are not meant to show actual program code source files, compiled code or the like.
  • references to both program memory and data memory will be illustrated. It will be appreciated by those skilled in the art that in certain systems program memory and data memory will be in separate spaces. If they are in separate spaces, references to program memory may be updated based on a program memory address, and references to data program memory may be updated based on a data memory address.
  • Table 4 illustrates in skeletal form and in pseudocode form a source file.
  • a source file may include a function or procedure entitled main 4 A.
  • the main function 4 A may include various program instructions, illustrated at 4 B and 4 D. Included in the instructions of the function may be calls to other functions or procedures, and instructions with data references, illustrated by a call to functionA 4 C and instructions with data references 4 E, 4 F.
  • After compiling the source file there may be various addresses needed in order to completely link the code together. For example, various function calls, jumps and/or data references may need to have addresses in order to be resolved.
  • a list, table, file or other data structure is used to track what references in the compiled/linked program code need to be resolved before it can be loaded and executed on the remote computer 16 .
  • Table 5 contains pseudocode illustrating what types of information may be stored in the relocation table 30 .
  • a relocation table 30 may contain the information necessary to identify the addresses that need to be resolved or updated when the specific memory locations are known, and also the information necessary to know what size the address is that needs to be updated.
  • Table 5 includes the offset address for the call to functionA 5 A.
  • Table 5 illustrates the storage of the size of the address 5 A that needs to be resolved or updated.
  • Table 5 also includes the address for the reference to dataA 5 B in data memory. It also includes the size 5 B of the address that needs to be resolved or updated. Similarly, the address for the reference to dataB 5 C in data memory is also included, with the size of its address 5 C.
  • the information contained in the relocation table 30 is used to update and relocate the relocatable program code 32 so that it can be loaded and executed on the remote computer.
  • Table 6 illustrates what the relocatable program code may contain, following the example illustrated in Tables 4 and 5.
  • the relocatable program code 32 contains machine language 6 A– 6 F for the remote computer. Included in these machine language instructions 6 A– 6 F are instructions that include addresses that are not yet resolved or finalized.
  • the example of the call fo functionA is illustrated in machine language 6 C. Because this call is in relocatable format, the address to go to, indicated at PXXXX, is not yet finalized. Once the memory addresses for the program area are known from the remote computer, the address PXXXX may be updated to reflect the location where the code is to be loaded into the remote computer's memory. Thus, the program code can be relocated.
  • the machine language that includes a reference to dataA 6 E also needs to be resolved. Once the memory addresses for the data areas are known from the remote computer, the address at DYYYY may be updated. Similarly, when the data areas are known, the reference to dataB at DZZZZ 6 F may be updated. Thus, the data references to data memory can be relocated. Once the various unresolved addresses have been updated or resolved, the program code, including items to be placed in data memory as well as items to be placed in program memory, is ready to be loaded onto the remote computer.
  • program code refers to all data that makes up the code to be loaded onto the remote computer, including both items to be placed in program memory and items to be placed in data memory.
  • program code refers to all data that makes up the code to be loaded onto the remote computer, including both items to be placed in program memory and items to be placed in data memory.
  • FIG. 3 illustrates the major computer program and data components of the presently preferred embodiments.
  • the relocatable program module 31 comprising the relocation table 30 and the relocatable program code 32 , are stored on the host computer 12 .
  • information 34 about the memory of the remote computer 16 is stored on the host computer 12 .
  • the memory information 34 may be simply an address, it may include multiple starting addresses and sizes available, it may be a memory map 34 of the remote computer 16 , or it may include other information that somehow describes the memory layout of the remote computer 16 .
  • the memory information 34 indicates what memory is being used and what memory is available for use at the remote computer 16 .
  • the memory information 34 indicates what specifically is being stored at each memory location in the remote computer 16 . This enables software developers to more precisely target particular memory locations to be updated or changed without necessary rewriting all the data to the entire memory 36 of the remote computer 16 .
  • the remote computer 16 communicates with the host computer 12 through an embedded communications port 36 .
  • a communications module 40 provides communication using the communications port 38 .
  • the communications module 40 relays data to and from a write module 42 .
  • the write module 42 may also include additional functionality.
  • the write module 42 may also be able to read data.
  • the write module 42 may read data from and may write data to the memory 36 of the remote computer 16 .
  • the write module 42 may include the code necessary to directly interface with the communications port 38 at the remote computer 16 .
  • the write module 42 may receive data directly from the communications port 38 .
  • the optional communications module 40 or code 40 provides access to the communications port 38 , and ensures that data relayed to and from the communications port 38 is in appropriately sized and formatted pieces, and that data received from the communications port 38 is correctly read from the port 38 .
  • the host computer 12 includes a communication port 44 in electronic communication with the communications port 38 of the remote computer 16 .
  • a communication port 44 in electronic communication with the communications port 38 of the remote computer 16 .
  • An optional communication module 46 provides features similar to those provided by the communications module 40 of the remote computer 16 .
  • the communications module 46 correctly formats data that is written to and read from the communications port 44 .
  • a relocating module 48 that manages the relocating of the program code and the loading of program code onto the remote computer 16 links and resolves any unresolved addresses in the relocatable program code 32 and loads it onto the remote computer 16 .
  • the relocating module 48 obtains the needed memory insertion address(es).
  • the relocating module 48 may obtain the necessary memory insertion address(es) from either examining the memory information 34 or from querying the remote computer 16 .
  • the remote computer 16 would need to have the capability to respond to such a query.
  • any memory usage data structure (not shown) at the remoter computer 16 should be kept as small as possible.
  • the memory usage data structure size may vary accordingly.
  • the relocating module 48 obtains the needed memory address(es), it examines the relocation table 30 to find the instructions in the relocatable program code 32 that need to be updated. Then, by using the information in the relocation table 30 , the relocating module 48 resolves the unresolved addresses in the relocatable program code 32 and then loads the updated program code 32 onto the remote computer 16 . The relocating module 48 may load the updated code onto the remote computer 16 via the communication modules 40 , 46 and the interfacing ports 38 , 44 . In current design, through the aforementioned communication pathway the relocating module 48 directs the write module 42 to write the updated program code to the memory 36 of the remote computer 16 .
  • FIG. 4 is a flow diagram illustrating the initial steps that take place in the presently preferred embodiments before the updated program code is loaded onto the remote computer 16 .
  • a user of the presently preferred embodiment compiles and links 50 the program into the relocatable program code 32 .
  • the user also creates 52 a relocation table 30 identifying the locations in the relocatable program code 32 that need to be adjusted. These steps can be accomplished through commercially available compilers, linkers and/or tools, as mentioned above.
  • FIG. 5 is a flow diagram illustrating the steps that take place in the presently preferred embodiment to load the updated program code onto the remote computer 16 .
  • the preferred embodiments identify 54 the one or more memory locations or areas of the remote computer 16 where the updated program code may be placed. From these memory locations, the preferred embodiments obtain 56 the starting address(es), which is/are the memory address(es) of the remote computer 16 where the program code will begin.
  • the relocating module 48 uses 58 the relocation table 30 to identify the instructions and/or memory references of the relocatable program code 32 that need to be adjusted.
  • the relocating module 48 modifies 60 the program code 32 for placement in the remote computer 16 .
  • the modified program code is sent 62 to the remote computer 16 via the communication pathway as previously described. It will be appreciated by those skilled in the art that the relocating module 48 may store the modified program code to a storage device before the modified program code is sent 62 to the remote computer.
  • emWare, Inc. may be contacted through its web site at http://www.emware.com.
  • emWare, Inc. may be contacted through its web site at http://www.emware.com.
  • One skilled in the art will appreciate how the commercially availably software items from emWare can be used with the present embodiments.
  • the following is a general and basic description of technology of emWare that is used in the presently preferred embodiments.
  • emWare has developed technology and software which provide distributed network-based device control.
  • emWare's Embedded Micro Internetworking Technology (EMIT®) software is designed to move the majority of software off of the embedded microcontroller and distribute it to more capable computers over a network.
  • EMIT® software has also been developed to leverage existing Internet technologies.
  • EMIT® software involves various components including the following: a customer's embedded application (which is the program already on the remote computer 16 or the program to be placed on the remote computer 16 ), emMicro software (which correlates to the communication module 40 and read/write module 42 ), emGateway software, emNet software (which correlates to the communication modules 40 and 46 ), and the customer's monitoring/controlling application (which is loaded onto the client computers 22 for monitoring and controlling the embedded device 14 ).
  • emWare already have embedded environments in which they plan to deploy emWare's EMIT® software to enhance their monitoring and controlling capabilities. These embedded environments typically include the embedded system 14 , the host computer 12 , and client computers 22 .
  • Service information is information about the functions, variables, events and files of the embedded application running on the remote computer 16 .
  • the communications between the host computer 12 and the remote computer 16 running emMicro are usually accomplished via a lightweight network such as RS-232, RS-485, RF, or IR.
  • the emNet component is responsible for handling communications between emMicro and the software on the host computer 12 .

Abstract

Systems and methods are disclosed for preparing program code for a first computer, wherein the systems and methods are implemented on a second computer. The systems include a relocating module that is adapted to relocate program code by modifying locations in the program code identified by location data. The modifications made by the relocating module are based on a memory address. The systems operate on program code for the first computer, where the program code is stored on the second computer. The relocating module is provided the memory address that identifies a memory location in the first computer. The memory address is suitable as a basis for modifying the program code. The relocating module is also provided with location data that identifies locations in the program code to be adjusted based on the memory address.

Description

This application is a continuation of U.S. patent Ser. No. 09/465,475 filed Dec. 16, 1999, now U.S. Pat. No. 6,467,084.
BACKGROUND
1. The Field of the Invention
This invention relates to computer software and, more particularly, to novel systems and methods for distributing and relocating computer software and data across a computer network.
2. The Background Art
In recent years there has been a great increase in the amount of computer technology that is involved in daily life. In today's world, computer technology is involved in many aspects of a person's day. Many devices being used today by consumers have a small computer inside of the device. These small computers come in varying sizes and degrees of sophistication. These small computers include everything from one microcontroller to a fully-functional complete computer system. For example, these small computers may be a one-chip computer, such as a microcontroller, a one-board type of computer, such as a controller, a typical desktop computer, such as an IBM®-PC compatible, etc.
The small computers, (which can be rather large computers depending on the particular need which is being met by the computer), almost always have one or more processors at the heart of the computer. The processor(s) usually are interconnected to different external inputs and outputs and function to manage the particular device. For example, a processor in a vending machine for soda pop may be connected to the buttons used to select the pop, to the switch that allows a pop to drop down to a user, and to lights to indicate that the machine does not have any more pop of a particular variety.
Computer technology is involved in many aspects of daily life. Many appliances, devices, etc., include one or more small computers. For example, refrigerators, telephones, typewriters, automobiles, vending machines, and many different types of industrial equipment all have small computers or processors inside of them. Computer software runs the processors of these computers and tells the processors what to do to carry out certain tasks. For example, the computer software running on a processor in a vending machine may cause a soda pop to drop to a user when the correct change has been entered by a user.
These types of small computers that are a part of a device, appliance, tool, etc., are often referred to as embedded systems. The term “embedded system” usually refers to computer hardware and software that is part of a larger system. Embedded systems usually do not have typical input and output devices such as a keyboard, mouse, and/or monitor. Usually, at the heart of each embedded system is one or more processor(s).
Typically the embedded systems used today with various appliances, devices, etc., do not have a lot of storage capability. As a result, the amount of data that can be stored on the embedded systems is limited. With only limited storage, an embedded system may not have as many features and capabilities as it could have if it had more available storage. Memory is often conserved in these embedded systems that monitor, control and otherwise use electronic devices.
Almost all desktop computer systems include memory management capabilities at the processor level (hardware), firmware level (the software embedded into the hardware), and at the operating system level. However, in many embedded devices, these types of memory management capabilities are not available. For example, many of the embedded environments include an 8-bit or 16-bit microcontroller, where no substantial operating system or memory management features are present. In these types of environments, any program code is typically developed and loaded onto the embedded device by the manufacture before the device is shipped, after which software upgrades are rarely if ever even contemplated.
Because many embedded devices do not have extensive memory management capabilities, it is often difficult to easily upgrade the software, upgrade modules, upgrade components and/or to add new software, new components, new modules, new features, new extensions, etc.
BRIEF SUMMARY AND OBJECTS OF THE INVENTION
In view of the foregoing, it is an object of the present invention to provide a system and methods for preparing software for a computer.
Consistent with the foregoing object, and in accordance with the embodiments as embodied and broadly described herein, a system for preparing program code for a first computer, wherein the system is implemented on a second computer, includes a relocating module that is adapted to relocate program code by modifying locations in the program code identified by location data. The modifications made by the relocating module are based on a memory address. The system will operate on program code for the first computer, where the program code is stored on the second computer. The relocating module is provided the memory address that identifies a memory location in the first computer. The memory address is suitable as a basis for modifying the program code. The relocating module is also provided with location data that identifies locations in the program code to be adjusted based on the memory address.
A system made in accordance with the disclosed embodiments may optionally include memory usage information of the first computer from which the memory address can be derived. In addition, the system may also include a list that includes the location data. Optionally, the memory address may be obtained from the first computer.
The second computer may also include a communication module for obtaining the memory address and for communicating the modified program code to the first computer.
A method practiced in accordance with the disclosed embodiments may include the steps of obtaining the program code from a storage device in electronic communication with the second computer; obtaining a memory address identifying a memory location in the first computer, where the memory address is suitable as a basis for modifying the program code; obtaining location data that identifies locations in the program code to be adjusted based on the memory address; and modifying the locations in the program code identified by the location data, by using the memory address and by using the location data, where the modifying step is accomplished at the second computer.
One or more computer programs for implementing the described systems and/or methods may be embodied in a computer-readable medium. The computer-readable medium may be a data transmission medium.
The embodiments disclosed provide systems and methods for preparing program code for a first computer where the system and/or methods are implemented on a second computer.
The presently preferred embodiments use a minimal set of software routines for accessing storage on an embedded device (EEPROM, FLASH, battery backed-up RAM, etc.), while providing a substantial portion of the higher-level (and larger) memory-management software components on a computer connected to the embedded device(s). Thus, the preferred embodiments allow an embedded device, its capabilities and/or its features to be upgraded or enhanced.
BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other objects and features of the present embodiments will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only typical embodiments and are, therefore, not to be considered limiting of the invention's scope, the embodiments will be described with additional specificity and detail through use of the accompanying drawings in which:
FIG. 1 is block diagram of the major hardware components included in the presently preferred embodiments;
FIG. 2 is block diagram of the initial processing accomplished in the presently preferred embodiments;
FIG. 3 is a block diagram of the major computer program and data components of the presently preferred embodiments;
FIG. 4 is a flow diagram of the initial processing accomplished in the presently preferred embodiments; and
FIG. 5 is a flow diagram illustrating steps that are followed in the presently preferred embodiments.
DETAILED DESCRIPTION
It will be readily understood that the components of the embodiments, as generally described and illustrated in the Figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of the embodiments of the systems and methods disclosed, as represented in FIGS. 1 through 5, is not intended to limit the scope of the invention, as claimed, but is merely representative of the presently preferred embodiments.
The presently preferred embodiments will be best understood by reference to the drawings, wherein like parts are designated by like numerals throughout.
A system for preparing program code for a first computer, wherein the system is implemented on a second computer, includes a relocating module that is adapted to relocate program code by modifying locations in the program code identified by location data. The modifications made by the relocating module are based on a memory address. The system will operate on program code for the first computer, where the program code is stored on the second computer. The relocating module is provided the memory address that identifies a memory location in the first computer. The memory address is suitable as a basis for modifying the program code. The relocating module is also provided with location data that identifies locations in the program code to be adjusted based on the memory address.
A system made in accordance with the disclosed embodiments may optionally include memory usage information of the first computer from which the memory address can be derived. In addition, the system may also include a list that includes the location data. Optionally, the memory address may be obtained from the first computer.
The second computer may also include a communication module for obtaining the memory address and for communicating the modified program code to the first computer.
A method practiced in accordance with the disclosed embodiments may include the steps of obtaining the program code from a storage device in electronic communication with the second computer; obtaining a memory address identifying a memory location in the first computer, where the memory address is suitable as a basis for modifying the program code; obtaining location data that identifies locations in the program code to be adjusted based on the memory address; and modifying the locations in the program code identified by the location data, by using the memory address and by using the location data, where the modifying step is accomplished at the second computer.
One or more computer programs for implementing the described systems and/or methods may be embodied in a computer-readable medium. The computer-readable medium may be a data transmission medium.
FIG. 1 is block diagram illustrating the major hardware components typically utilized in the presently preferred embodiments. The presently preferred embodiments are used in a networked computer system 10 where a host computer 12 is connected to an embedded device 14. Typically the embedded device 14 includes a computer 16 connected to input and output devices 18, 20. The computer 16, in the presently preferred embodiments, is an embedded computer 16. Particularly, in the presently preferred embodiments, the computer 16 comprises a microcontroller (not shown). However, it will be appreciated by one skilled in the art that the functions and processing normally carried out by a microcontroller could be carried out by larger processors, whether they are part of a larger controller or part of a typical computer system.
In the presently preferred embodiments, the embedded computer 16 is remote from the host computer 12 in that the embedded computer 16 and host computer 12 are each computers capable of functioning on their own. The term remote does not necessarily mean that the embedded computer 16 is at a different location than the host computer 12, although in many embodiments the host computer 12 is at a different location than the embedded computer 16. The terms embedded computer 16 and remote computer 16 may be used interchangeably herein. Those elements discussed as being stored and/or implemented by the remote computer 16 could be stored and/or implemented at the host computer 12, in some circumstances.
The present embodiments have a broad application to many kinds of computer networks 10 and to many kinds of computers. Generally, the computer system 10 of the presently preferred embodiments also includes one or more client computers 22 for monitoring and/or controlling the embedded device 14. The remote computer 16 is operably connected to input and/or output devices 18, 20 capable of electronic communication with the remote computer 16, or, in other words, to devices 18, 20 capable of input and/or output in the form of an electrical signal. Sometimes the input and output device(s) 18, 20 and the remote computer 16 are both housed within the same physical structure.
The host computer 12 and the remote computer 16 are both broadly defined digital computers. A computer, as used herein, is any device that includes a digital processor capable of receiving and processing data. A computer includes the broad range of digital computers including microcontrollers, hand-held computers, personal computers, servers, mainframes, supercomputers, and any variation or related device thereof.
The input and output devices 18, 20 include any component, element, mechanism, appliance, or the like capable of receiving and/or generating an electronic signal. Examples of devices within the scope of the term device includes a vending machine, a telephone, a door lock, a temperature sensor, a relay, an optical sensor, a motor, a switch, a light, etc.
In current design, the host computer 12 is typically an IBM®-compatible personal computer running the Linux® operating system or the Microsoft® Windows NT® operating system. In addition, the host computer 12 may also be running the Microsoft® Windows® 95/98 operating system. The remote computer 16 typically includes an embedded processor (not shown), and, as stated, often includes a microcontroller. The devices 18, 20 can be any devices with electronic interfaces of which a processor could directly or indirectly interface and interact with.
One possible item that may be used with the present embodiments is a vending machine (not shown). Many vending machines include one or more microcontrollers for controlling different parts of the vending machines. These microcontrollers fall within the scope of remote computer 16. The input and output devices 18, 20 include the buttons for selecting items from the vending machine, switches for allowing those items to be dropped down to the user, lights for indicating which items are gone, the change release for releasing any change, etc. As known in the art, this vending machine embodiment includes the input and output devices 18, 20 and the remote computer(s) 16 integrated within the same structure. The present embodiments, therefore, may be implemented in such an environment. Those skilled in the art will also realize that the remote computer 16 may be in a separate structure from its attached input and output device(s) 18, 20. Many of the modern devices do come with embedded microcontrollers, for example, many cellular phones, pagers, copy machines, printers and the like come with embedded microcontrollers.
The host computer 12 may be connected to the remote computer 16 through a variety of connections, including RS-323, RS-485, modem, power line, wired connection, wireless connection, etc. Similarly, the remote computer 16 may be connected to various input and output devices 18, 20 through a variety of ways. As stated, typically the remote computer 16 comprises a microcontroller (not shown). Microcontrollers often have input/output ports for communicating with external devices. These specifications of the particular microcontroller often dictate how a device is connected to the microcontroller. Those skilled in the art appreciate how different devices may be connected to computers, whether they are embedded computers, standard desktop computers, mainframes, etc.
As stated, client computers 22 may also be included within the computer system 10. Such a configuration allows users to access services at the remote computer 14 through the host computer 12, even over great distances. The host computer 12 and the client computers 22 may all be connected together on a computer network 24, such as a LAN, WAN, etc. In addition, the client computer 22 may connect from a remote location to the host computer 12 via a dial up connection, via an intranet, or via the Internet.
FIG. 2 is an illustration depicting the initial processing that occurs in the presently preferred embodiments. As shown, a compiler 26 and/or linker 26 processes input files 28 to create a relocatable program module 31. In current design, the relocatable program module 31 includes a relocation table 30 and relocatable program code 32. The relocation table 30 is used by the presently preferred embodiment to modify the relocatable program code 32 so that it can be properly loaded onto the remote computer 16 and properly run thereon. Although in current design the relocatable program module 31 is typically one file that includes both the relocation table 30 and the relocatable program code 32, it will be appreciated by those skilled in the art that the components of the relocatable program module 31 may be stored in a variety of ways, including multiple data structures, multiple files, etc.
The input files 28 are those files that are taken as input by the compiler 26 and/or linker 26. Thus, the input files 28 of the presently preferred embodiments may be typical source files created by software engineers in developing software. Those skilled in the art will appreciate that many different kinds of source files may be used. Typically the source files used in the presently preferred embodiments are C source files (e.g., file1.c), C++ source files (e.g., file2.cpp), along with their associated header files (e.g., file1.h) and/or assembly source files (e.g., file3.asm).
The input files 28 may also be object files and/or libraries. Object files and/or libraries are typical input files 28 to a linker 26.
Those skilled in the art will appreciate what a compiler accomplishes and what a linker accomplishes. Compilers and linkers are readily available. Generally, a compiler/linker 26 is a piece of software that translates a program written in a high-level programming language (i.e., the source files and other needed files) into machine language of the target computer. In most cases, the compiler/linker 26 actually accomplishes its tasks in two stages: a compiling stage and a linking stage. The compiling stage occurs first wherein the source files are translated into machine language of the target computer. Then the linker, sometimes referred to as linkage editor, converts the output from the compiler into a form that can actually be loaded and executed by a computer. The linker's main function is to resolve or unite references between program modules and libraries of subroutines. Its output is a load module which is a program that is typically ready to run in the computer.
In the present embodiments the compiler/linker 26 is used to generate the relocatable program module 31. There are commercially available compilers/linkers 26 that can be used to generate the relocatable program module. For example, the gcc compiler from the Free Software Foundation can be used to generate a relocatable program module. In addition, the Watcom compiler from Sybase can be used.
Typical desktop computers include processors that include memory management hardware and firmware. In addition, the operating system running on the desktop also includes memory management facilities. For example, the Intel® Pentium® CPU includes memory management hardware and firmware, and the Microsoft® Windows® operating systems include memory management components as well. The combination of these memory management tools facilitates computer programs being able to run wherever the operating system properly places it in memory. Because of these memory management tools, computer programs for desktop computers can be compiled and linked with little or no knowledge of the specific location in memory it will be placed when it is executed.
Many of the embedded devices being used today use 8-bit and 16-bit microcontrollers that either do not have memory management hardware and firmware, or only have very limited memory management capabilities. In addition, typically where these types of microcontrollers are used, the embedded system has very little memory. In many cases in such resource constrained environments, and because there is limited memory resources, there is no operating system provided. Accordingly, there is no operating system to provide memory management functionality in these types of systems.
For these resource constrained embedded environments, as just described, in order for program code to be linked together so that it can be loaded and executed by the embedded environment, the compiler/linker 26 would need to know the addresses in the memory of the remote computer where the program code was going to be placed. The present embodiments overcome this requirement by allowing the program code for the remote computer to be compiled and linked first into a relocatable program format. Then, at a later time and when the particular addresses of where the program code is to be placed on the remote computer are known, the program code can be relocated and loaded onto the remote computer. An initial step in practicing the presently preferred embodiments is to compile and/or link the program code into relocatable code.
The compiler/linker 26 is used to translate the input files 28 into relocatable program code 32. The compiler/linker 26 also generates a relocation table 30. In the presently preferred embodiment, the relocatable program code 32 is machine language for the remote computer 16 that would be ready to load and run on the remote computer 16 if any existing unresolved address references were resolved. The relocation table 30 of the preferred embodiment contains a list of references in the relocatable program code 32 that need to be resolved once it is known where in the remote computer 16 memory the program code 32 is to be loaded. In current design, the relocation table 30 identifies the location of the reference and the size of the reference that needs to be adjusted.
Those skilled in the art have authored computer programs including writing the source code, compiling and linking it, and then executing the program on the target computer. Thus, those skilled in the art understand the contents and significance of input files 28, compiled code and linked code. Accordingly, the following examples included in Tables 1–6 are meant to illustrate the principles of the presently preferred embodiments and are not meant to show actual program code source files, compiled code or the like.
Table 1 illustrates in skeletal form and in pseudocode form a source file.
TABLE 1
1A main program
1B <program instructions>
1C call to functionA
1D <program instructions>
1E call to functionB
1F <program instructions>
1G jump to placeC
1H <program instructions>
As illustrated in Table 1, a source file may include a function or procedure entitled main 1A. The main function 1A may include various program instructions, illustrated at 1B, 1D, 1F and 1H. Included in the instructions of the function may be calls to other functions or procedures, illustrated by a call to functionA 1C and a call to functionB 1E. The instructions may also include a jump to placeC 1G. After compiling the source file there may be various addresses needed in order to completely link the code together. For example, various function calls and jumps may need to have addresses in order to be resolved. In the presently preferred embodiment, a list, table, file or other data structure is used to track what references in the compiled program code need to be resolved before it can be loaded and executed on the remote computer 16.
Table 2 contains pseudocode illustrating what types of information may be stored in the relocation table 30. Following the example of Table 1, a relocation table 30 may contain the information necessary to identify the addresses that need to be resolved or updated when the specific memory location is known, and also the information necessary to know what size the address is that needs to be updated. Table 2 includes the offset address for the call to functionA 2A. In addition, Table 2 illustrates the storage of the size of the address 2A that needs to be resolved or updated. Thus, the program code 32 can be linked and be made ready for the remote computer, once the memory addresses are known, by cycling through the relocation table 30, going to each indicated offset address and adjusting the address according to the newly found memory information of exactly where in memory the functionA code will be found. The information 2B for functionB is also stored in the relocation table. Similarly, the reference to the jump is also stored in the relocation table so that it can be updated according to the memory information to be obtained.
TABLE 2
2A functionA call offset address, size of address
2B functionB call offset address, size of address
2C jump to placeC offset, size of address
In the preferred embodiment, the information contained in the relocation table 30 is used to update the relocatable program code 32 so that it can be loaded and executed on the remote computer. Table 3 illustrates what the relocatable program code may contain, following the example illustrated in Tables 1 and 2. The relocatable program code 32 contains machine language 3A–3H for the remote computer. Included in these machine language instructions 3A–3H are instructions that include addresses that are not yet resolved or finalized.
TABLE 3
3A <machine language>
3B <machine language>
3C <machine language-call to functionA at XXXX>
3D <machine language>
3E <machine language-call to functionB at YYYY>
3F <machine language>
3G <machine language-jump to placeC at ZZZZ>
3H <machine language>
The example of the call fo functionA is illustrated in machine language 3C. Because this call is in relocatable format, the address to go to, indicated at XXXX, is not yet finalized. Once the memory addresses for the program code are known from the remote computer, the address XXXX may be updated to reflect the location where the code is to be loaded into the remote computer's memory. Similar to the machine language call to functionA 3C, the machine language call to functionB 3E can be resolved by updating the address of YYYY. The address ZZZZ included in the machine language jump to placeC 3G can also be updated. Once the various unresolved addresses have been updated or resolved, the modified program code is ready to be loaded onto the remote computer.
The following examples included in Tables 4–6 are also meant to illustrate the principles of the presently preferred embodiments and are not meant to show actual program code source files, compiled code or the like. In the examples of Tables 4–6, references to both program memory and data memory will be illustrated. It will be appreciated by those skilled in the art that in certain systems program memory and data memory will be in separate spaces. If they are in separate spaces, references to program memory may be updated based on a program memory address, and references to data program memory may be updated based on a data memory address.
Table 4 illustrates in skeletal form and in pseudocode form a source file.
TABLE 4
4A main program
4B <program instructions>
4C call to functionA
4D <program instructions>
4E <instruction> reference to dataA in data memory
4F <instruction> reference to dataB in data memory
As illustrated in Table 4, a source file may include a function or procedure entitled main 4A. The main function 4A may include various program instructions, illustrated at 4B and 4D. Included in the instructions of the function may be calls to other functions or procedures, and instructions with data references, illustrated by a call to functionA 4C and instructions with data references 4E, 4F. After compiling the source file there may be various addresses needed in order to completely link the code together. For example, various function calls, jumps and/or data references may need to have addresses in order to be resolved. In the presently preferred embodiments, a list, table, file or other data structure is used to track what references in the compiled/linked program code need to be resolved before it can be loaded and executed on the remote computer 16.
Table 5 contains pseudocode illustrating what types of information may be stored in the relocation table 30. Following the example of Table 4, a relocation table 30 may contain the information necessary to identify the addresses that need to be resolved or updated when the specific memory locations are known, and also the information necessary to know what size the address is that needs to be updated. Table 5 includes the offset address for the call to functionA 5A. In addition, Table 5 illustrates the storage of the size of the address 5A that needs to be resolved or updated. Thus, the program code 32 can be relocated and be made ready for the remote computer, once the memory addresses are known, by cycling through the relocation table 30, going to each indicated offset address and adjusting the address according to the newly found memory information of exactly where in memory the functionA code will be found.
Table 5 also includes the address for the reference to dataA 5B in data memory. It also includes the size 5B of the address that needs to be resolved or updated. Similarly, the address for the reference to dataB 5C in data memory is also included, with the size of its address 5C.
TABLE 5
5A functionA call offset address, size of address
5B reference to dataA address, size of address
5C reference to dataB address, size of address
In the preferred embodiments, the information contained in the relocation table 30 is used to update and relocate the relocatable program code 32 so that it can be loaded and executed on the remote computer. Table 6 illustrates what the relocatable program code may contain, following the example illustrated in Tables 4 and 5. The relocatable program code 32 contains machine language 6A–6F for the remote computer. Included in these machine language instructions 6A–6F are instructions that include addresses that are not yet resolved or finalized.
TABLE 6
6A <machine language>
6B <machine language>
6C <machine language-call to functionA at PXXXX>
6D <machine language>
6E <machine language-reference to dataA at DYYYY>
6F <machine language-reference to dataB at DZZZZ>
The example of the call fo functionA is illustrated in machine language 6C. Because this call is in relocatable format, the address to go to, indicated at PXXXX, is not yet finalized. Once the memory addresses for the program area are known from the remote computer, the address PXXXX may be updated to reflect the location where the code is to be loaded into the remote computer's memory. Thus, the program code can be relocated.
The machine language that includes a reference to dataA 6E also needs to be resolved. Once the memory addresses for the data areas are known from the remote computer, the address at DYYYY may be updated. Similarly, when the data areas are known, the reference to dataB at DZZZZ 6F may be updated. Thus, the data references to data memory can be relocated. Once the various unresolved addresses have been updated or resolved, the program code, including items to be placed in data memory as well as items to be placed in program memory, is ready to be loaded onto the remote computer.
Although the foregoing example illustrates when the program memory may be separate from the data memory, generally as used herein, the term program code refers to all data that makes up the code to be loaded onto the remote computer, including both items to be placed in program memory and items to be placed in data memory. The foregoing example was only meant to illustrate an embodiment where there are separate program and data areas on the remote computer, and it was not meant to limit the broad application of the present embodiments.
FIG. 3 illustrates the major computer program and data components of the presently preferred embodiments. In current design, the relocatable program module 31, comprising the relocation table 30 and the relocatable program code 32, are stored on the host computer 12. In addition, information 34 about the memory of the remote computer 16 is stored on the host computer 12. The memory information 34 may be simply an address, it may include multiple starting addresses and sizes available, it may be a memory map 34 of the remote computer 16, or it may include other information that somehow describes the memory layout of the remote computer 16. In the preferred embodiments, the memory information 34 indicates what memory is being used and what memory is available for use at the remote computer 16. In addition, in current design the memory information 34 indicates what specifically is being stored at each memory location in the remote computer 16. This enables software developers to more precisely target particular memory locations to be updated or changed without necessary rewriting all the data to the entire memory 36 of the remote computer 16.
The remote computer 16 communicates with the host computer 12 through an embedded communications port 36. In current design, a communications module 40 provides communication using the communications port 38. The communications module 40 relays data to and from a write module 42. The write module 42 may also include additional functionality. For example, the write module 42 may also be able to read data. The write module 42 may read data from and may write data to the memory 36 of the remote computer 16. One skilled in the art will appreciate that the write module 42 may include the code necessary to directly interface with the communications port 38 at the remote computer 16. Thus, the write module 42 may receive data directly from the communications port 38.
The optional communications module 40 or code 40 provides access to the communications port 38, and ensures that data relayed to and from the communications port 38 is in appropriately sized and formatted pieces, and that data received from the communications port 38 is correctly read from the port 38.
The host computer 12 includes a communication port 44 in electronic communication with the communications port 38 of the remote computer 16. As discussed earlier, there are a variety of such ports available with computers that are capable of interfacing with a remote and/or embedded computer port 38. An optional communication module 46 provides features similar to those provided by the communications module 40 of the remote computer 16. The communications module 46 correctly formats data that is written to and read from the communications port 44.
In the presently preferred embodiments, a relocating module 48 that manages the relocating of the program code and the loading of program code onto the remote computer 16 links and resolves any unresolved addresses in the relocatable program code 32 and loads it onto the remote computer 16. Before the relocating module 48 accomplishes this task, the relocating module 48 obtains the needed memory insertion address(es). The relocating module 48 may obtain the necessary memory insertion address(es) from either examining the memory information 34 or from querying the remote computer 16. Of course, if the relocating module 48 is to obtain the necessary address(es) from the remote computer 16, the remote computer 16 would need to have the capability to respond to such a query.
If the relocating module 48 is to obtain the necessary address(es) from the remote computer 16, the remote computer 16 would need to have the necessary software module to enable it to respond to such a query. A memory usage data structure (not shown) could be placed on the remote computer 16 to track where in memory 36 new program code can be placed. It will be appreciated by those skilled in the art that the more program code that is placed on the remoter computer 16, the less space is left for revisions, updates and extensions. Thus, for resource constrained systems, any memory usage data structure (not shown) at the remoter computer 16 should be kept as small as possible. Of course, to the extent memory is not as critical an issue in the system, the memory usage data structure size may vary accordingly.
Once the relocating module 48 obtains the needed memory address(es), it examines the relocation table 30 to find the instructions in the relocatable program code 32 that need to be updated. Then, by using the information in the relocation table 30, the relocating module 48 resolves the unresolved addresses in the relocatable program code 32 and then loads the updated program code 32 onto the remote computer 16. The relocating module 48 may load the updated code onto the remote computer 16 via the communication modules 40, 46 and the interfacing ports 38, 44. In current design, through the aforementioned communication pathway the relocating module 48 directs the write module 42 to write the updated program code to the memory 36 of the remote computer 16.
FIG. 4 is a flow diagram illustrating the initial steps that take place in the presently preferred embodiments before the updated program code is loaded onto the remote computer 16. First, a user of the presently preferred embodiment compiles and links 50 the program into the relocatable program code 32. The user also creates 52 a relocation table 30 identifying the locations in the relocatable program code 32 that need to be adjusted. These steps can be accomplished through commercially available compilers, linkers and/or tools, as mentioned above.
FIG. 5 is a flow diagram illustrating the steps that take place in the presently preferred embodiment to load the updated program code onto the remote computer 16. Once the relocatable program code 32 and relocatable table 30 have been created, in current design the steps of FIG. 5 are performed. The preferred embodiments identify 54 the one or more memory locations or areas of the remote computer 16 where the updated program code may be placed. From these memory locations, the preferred embodiments obtain 56 the starting address(es), which is/are the memory address(es) of the remote computer 16 where the program code will begin. The relocating module 48 then, with this known information, uses 58 the relocation table 30 to identify the instructions and/or memory references of the relocatable program code 32 that need to be adjusted. Then the relocating module 48 modifies 60 the program code 32 for placement in the remote computer 16. After the code has been modified 60 for placement, the modified program code is sent 62 to the remote computer 16 via the communication pathway as previously described. It will be appreciated by those skilled in the art that the relocating module 48 may store the modified program code to a storage device before the modified program code is sent 62 to the remote computer.
In the presently preferred embodiments commercially available software from emWare, Inc. is used in implementing the embodiments. emWare, Inc. may be contacted through its web site at http://www.emware.com. One skilled in the art will appreciate how the commercially availably software items from emWare can be used with the present embodiments. The following is a general and basic description of technology of emWare that is used in the presently preferred embodiments.
emWare's business centers around microcontrollers that manage many electronic devices used in today's world, including telephones, home appliances, office equipment. ATMs, security systems, VCRs, automobiles, etc. These microcontrollers are embedded into millions of intelligent electronic devices.
emWare has developed technology and software which provide distributed network-based device control. emWare's Embedded Micro Internetworking Technology (EMIT®) software is designed to move the majority of software off of the embedded microcontroller and distribute it to more capable computers over a network. EMIT® software has also been developed to leverage existing Internet technologies.
Use of EMIT® software involves various components including the following: a customer's embedded application (which is the program already on the remote computer 16 or the program to be placed on the remote computer 16), emMicro software (which correlates to the communication module 40 and read/write module 42), emGateway software, emNet software (which correlates to the communication modules 40 and 46), and the customer's monitoring/controlling application (which is loaded onto the client computers 22 for monitoring and controlling the embedded device 14). Typically, potential customers of emWare already have embedded environments in which they plan to deploy emWare's EMIT® software to enhance their monitoring and controlling capabilities. These embedded environments typically include the embedded system 14, the host computer 12, and client computers 22.
emMicro is used in the presently preferred embodiments on the remote computer 16 for relaying information from the remote computer 16 to the host computer 12. Service information is information about the functions, variables, events and files of the embedded application running on the remote computer 16.
The communications between the host computer 12 and the remote computer 16 running emMicro are usually accomplished via a lightweight network such as RS-232, RS-485, RF, or IR. The emNet component is responsible for handling communications between emMicro and the software on the host computer 12.
From the above discussion, it will be appreciated that the present embodiments disclosed provide systems and methods for preparing program code for a first computer where the system and/or methods are implemented on a second computer.
The present embodiments may be embodied in other specific forms without departing from their spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative, and not restrictive. The scope of the invention is, therefore, indicated by the appended claims, rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (5)

1. A system embodied in a computer-readable storage medium for preparing program code for an embedded microcontroller wherein the system is executable by a host computer and not executable by the embedded microcontroller, the system comprising:
relocatable microcontroller program code executable by the embedded microcontroller;
a memory address identifying a memory location in the embedded microcontroller with an area sufficient to store the relocatable microcontroller program code;
a relocation table identifying addresses in the relocatable microcontroller program code to be adjusted based on the memory address; and
a relocating module executable by the host computer and not executable by the embedded microcontroller, the relocating module adapted to relocate the relocatable microcontroller program code to the area by modifying the addresses in the relocatable microcontroller program code identified by the relocation table, the modifications being based on the memory address.
2. The system of claim 1 further comprising information regarding memory usage of the embedded microcontroller from which the memory address is derived.
3. The system of claim 1, wherein the relocation table further comprises a plurality of offset addresses.
4. The system of claim 1, wherein the memory address is obtained from the embedded microcontroller.
5. The system of claim 1 further comprising a communication module at the host computer for obtaining the memory address and for communicating the relocatable microcontroller program code to the embedded microcontroller.
US10/223,139 1999-12-16 2002-08-19 Distributed program relocation for a computer system Expired - Lifetime US7058930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/223,139 US7058930B2 (en) 1999-12-16 2002-08-19 Distributed program relocation for a computer system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/465,475 US6467084B1 (en) 1999-12-16 1999-12-16 Systems and methods for reprogramming an embedded device with program code using relocatable program code
US10/223,139 US7058930B2 (en) 1999-12-16 2002-08-19 Distributed program relocation for a computer system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/465,475 Continuation US6467084B1 (en) 1999-12-16 1999-12-16 Systems and methods for reprogramming an embedded device with program code using relocatable program code

Publications (2)

Publication Number Publication Date
US20030005158A1 US20030005158A1 (en) 2003-01-02
US7058930B2 true US7058930B2 (en) 2006-06-06

Family

ID=23847961

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/465,475 Expired - Lifetime US6467084B1 (en) 1999-12-16 1999-12-16 Systems and methods for reprogramming an embedded device with program code using relocatable program code
US10/223,139 Expired - Lifetime US7058930B2 (en) 1999-12-16 2002-08-19 Distributed program relocation for a computer system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/465,475 Expired - Lifetime US6467084B1 (en) 1999-12-16 1999-12-16 Systems and methods for reprogramming an embedded device with program code using relocatable program code

Country Status (3)

Country Link
US (2) US6467084B1 (en)
AU (1) AU2259201A (en)
WO (1) WO2001044937A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020198887A1 (en) * 2001-03-23 2002-12-26 Mark Underseth System and method for building a database defining a plurality of communication interfaces
US20050257191A1 (en) * 2001-03-23 2005-11-17 Mark Underseth System and method for testing devices
US20080207676A1 (en) * 2007-02-28 2008-08-28 Sean Dalziel Crystalline forms of an 8-Azabicyclo(3.2.1)octane compound

Families Citing this family (115)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR9708581A (en) * 1996-03-29 1999-08-03 Pfizer Benzyl derivatives (IDENO) -lactam its preparations and uses as selective (ANT) agonists of 5-HT 1A and / or 5-HT 1D receptors
GB2358491A (en) * 1999-09-03 2001-07-25 Sgs Thomson Microelectronics A relocation format for linking
GB9920916D0 (en) 1999-09-03 1999-11-10 Sgs Thomson Microelectronics A relocation format for linking
US6813765B1 (en) * 2000-05-16 2004-11-02 Palm Source, Inc. Binding using absolute memory references
US6665384B2 (en) * 2000-06-19 2003-12-16 General Electric Company Methods and apparatus for appliance communication interface
US7117239B1 (en) * 2000-07-28 2006-10-03 Axeda Corporation Reporting the state of an apparatus to a remote computer
US8108543B2 (en) 2000-09-22 2012-01-31 Axeda Corporation Retrieving data from a server
US20020183038A1 (en) * 2001-05-31 2002-12-05 Palm, Inc. System and method for crediting an account associated with a network access node
US7752266B2 (en) * 2001-10-11 2010-07-06 Ebay Inc. System and method to facilitate translation of communications between entities over a network
US7693484B2 (en) 2002-01-29 2010-04-06 Palm, Inc. Dynamic networking modes method and apparatus
US6658091B1 (en) 2002-02-01 2003-12-02 @Security Broadband Corp. LIfestyle multimedia security system
US7966418B2 (en) 2003-02-21 2011-06-21 Axeda Corporation Establishing a virtual tunnel between two computer programs
US10382452B1 (en) 2007-06-12 2019-08-13 Icontrol Networks, Inc. Communication protocols in integrated systems
US20170118037A1 (en) 2008-08-11 2017-04-27 Icontrol Networks, Inc. Integrated cloud system for premises automation
US10721087B2 (en) 2005-03-16 2020-07-21 Icontrol Networks, Inc. Method for networked touchscreen with integrated interfaces
US8963713B2 (en) 2005-03-16 2015-02-24 Icontrol Networks, Inc. Integrated security network with security alarm signaling system
US10200504B2 (en) 2007-06-12 2019-02-05 Icontrol Networks, Inc. Communication protocols over internet protocol (IP) networks
US11244545B2 (en) 2004-03-16 2022-02-08 Icontrol Networks, Inc. Cross-client sensor user interface in an integrated security network
US8612591B2 (en) 2005-03-16 2013-12-17 Icontrol Networks, Inc. Security system with networked touchscreen
US11277465B2 (en) 2004-03-16 2022-03-15 Icontrol Networks, Inc. Generating risk profile using data of home monitoring and security system
US8473619B2 (en) 2005-03-16 2013-06-25 Icontrol Networks, Inc. Security network integrated with premise security system
US11489812B2 (en) 2004-03-16 2022-11-01 Icontrol Networks, Inc. Forming a security network including integrated security system components and network devices
US9141276B2 (en) 2005-03-16 2015-09-22 Icontrol Networks, Inc. Integrated interface for mobile device
US11159484B2 (en) 2004-03-16 2021-10-26 Icontrol Networks, Inc. Forming a security network including integrated security system components and network devices
US11113950B2 (en) 2005-03-16 2021-09-07 Icontrol Networks, Inc. Gateway integrated with premises security system
US10339791B2 (en) 2007-06-12 2019-07-02 Icontrol Networks, Inc. Security network integrated with premise security system
US10156959B2 (en) 2005-03-16 2018-12-18 Icontrol Networks, Inc. Cross-client sensor user interface in an integrated security network
US10348575B2 (en) 2013-06-27 2019-07-09 Icontrol Networks, Inc. Control system user interface
US9191228B2 (en) 2005-03-16 2015-11-17 Icontrol Networks, Inc. Cross-client sensor user interface in an integrated security network
US9729342B2 (en) 2010-12-20 2017-08-08 Icontrol Networks, Inc. Defining and implementing sensor triggered response rules
US8635350B2 (en) * 2006-06-12 2014-01-21 Icontrol Networks, Inc. IP device discovery systems and methods
US20050216302A1 (en) 2004-03-16 2005-09-29 Icontrol Networks, Inc. Business method for premises management
US9172553B2 (en) 2005-03-16 2015-10-27 Icontrol Networks, Inc. Security system with networked touchscreen and gateway
US10375253B2 (en) 2008-08-25 2019-08-06 Icontrol Networks, Inc. Security system with networked touchscreen and gateway
US8988221B2 (en) 2005-03-16 2015-03-24 Icontrol Networks, Inc. Integrated security system with parallel processing architecture
US7911341B2 (en) * 2007-01-24 2011-03-22 Icontrol Networks Inc. Method for defining and implementing alarm/notification by exception
US11343380B2 (en) 2004-03-16 2022-05-24 Icontrol Networks, Inc. Premises system automation
US11677577B2 (en) 2004-03-16 2023-06-13 Icontrol Networks, Inc. Premises system management using status signal
US11582065B2 (en) 2007-06-12 2023-02-14 Icontrol Networks, Inc. Systems and methods for device communication
US10313303B2 (en) 2007-06-12 2019-06-04 Icontrol Networks, Inc. Forming a security network including integrated security system components and network devices
US10062273B2 (en) 2010-09-28 2018-08-28 Icontrol Networks, Inc. Integrated security system with parallel processing architecture
US11316958B2 (en) 2008-08-11 2022-04-26 Icontrol Networks, Inc. Virtual device systems and methods
US10237237B2 (en) 2007-06-12 2019-03-19 Icontrol Networks, Inc. Communication protocols in integrated systems
US11811845B2 (en) 2004-03-16 2023-11-07 Icontrol Networks, Inc. Communication protocols over internet protocol (IP) networks
US11201755B2 (en) 2004-03-16 2021-12-14 Icontrol Networks, Inc. Premises system management using status signal
US10444964B2 (en) 2007-06-12 2019-10-15 Icontrol Networks, Inc. Control system user interface
US9531593B2 (en) 2007-06-12 2016-12-27 Icontrol Networks, Inc. Takeover processes in security network integrated with premise security system
US7711796B2 (en) * 2006-06-12 2010-05-04 Icontrol Networks, Inc. Gateway registry methods and systems
US20090077623A1 (en) 2005-03-16 2009-03-19 Marc Baum Security Network Integrating Security System and Network Devices
US8996665B2 (en) 2005-03-16 2015-03-31 Icontrol Networks, Inc. Takeover processes in security network integrated with premise security system
US10522026B2 (en) 2008-08-11 2019-12-31 Icontrol Networks, Inc. Automation system user interface with three-dimensional display
US11916870B2 (en) 2004-03-16 2024-02-27 Icontrol Networks, Inc. Gateway registry methods and systems
US10142392B2 (en) 2007-01-24 2018-11-27 Icontrol Networks, Inc. Methods and systems for improved system performance
US11368429B2 (en) 2004-03-16 2022-06-21 Icontrol Networks, Inc. Premises management configuration and control
US9609003B1 (en) 2007-06-12 2017-03-28 Icontrol Networks, Inc. Generating risk profile using data of home monitoring and security system
US7546596B2 (en) 2004-03-29 2009-06-09 International Business Machines Corporation Non-disruptive method, system and program product for overlaying a first software module with a second software module
US20060208928A1 (en) * 2004-12-14 2006-09-21 Paul Mackerras Encoding scheme to resist code injection attacks
US11615697B2 (en) 2005-03-16 2023-03-28 Icontrol Networks, Inc. Premise management systems and methods
US20120324566A1 (en) 2005-03-16 2012-12-20 Marc Baum Takeover Processes In Security Network Integrated With Premise Security System
US11496568B2 (en) 2005-03-16 2022-11-08 Icontrol Networks, Inc. Security system with networked touchscreen
US11700142B2 (en) 2005-03-16 2023-07-11 Icontrol Networks, Inc. Security network integrating security system and network devices
US8713132B2 (en) 2005-03-16 2014-04-29 Icontrol Networks, Inc. Device for data routing in networks
US20170180198A1 (en) 2008-08-11 2017-06-22 Marc Baum Forming a security network including integrated security system components
US10999254B2 (en) 2005-03-16 2021-05-04 Icontrol Networks, Inc. System for data routing in networks
US20110128378A1 (en) 2005-03-16 2011-06-02 Reza Raji Modular Electronic Display Platform
US8825871B2 (en) 2005-03-16 2014-09-02 Icontrol Networks, Inc. Controlling data routing among networks
US9059863B2 (en) * 2005-03-16 2015-06-16 Icontrol Networks, Inc. Method for data routing in networks
US9450776B2 (en) 2005-03-16 2016-09-20 Icontrol Networks, Inc. Forming a security network including integrated security system components
US8819178B2 (en) 2005-03-16 2014-08-26 Icontrol Networks, Inc. Controlling data routing in integrated security systems
US9306809B2 (en) 2007-06-12 2016-04-05 Icontrol Networks, Inc. Security system with networked touchscreen
US20070028227A1 (en) * 2005-07-26 2007-02-01 Lebowitz Kenneth J Code development system and method
US10079839B1 (en) 2007-06-12 2018-09-18 Icontrol Networks, Inc. Activation of gateway device
US7577831B2 (en) * 2006-07-20 2009-08-18 Dell Products L.P. Relocating of system management interface code within an information handling system
US11706279B2 (en) 2007-01-24 2023-07-18 Icontrol Networks, Inc. Methods and systems for data communication
US20080183945A1 (en) * 2007-01-31 2008-07-31 Hughes Nathan J Firmware relocation
US7633385B2 (en) 2007-02-28 2009-12-15 Ucontrol, Inc. Method and system for communicating with and controlling an alarm system from a remote server
US8451986B2 (en) 2007-04-23 2013-05-28 Icontrol Networks, Inc. Method and system for automatically providing alternate network access for telecommunications
US11646907B2 (en) 2007-06-12 2023-05-09 Icontrol Networks, Inc. Communication protocols in integrated systems
US10498830B2 (en) 2007-06-12 2019-12-03 Icontrol Networks, Inc. Wi-Fi-to-serial encapsulation in systems
US10051078B2 (en) 2007-06-12 2018-08-14 Icontrol Networks, Inc. WiFi-to-serial encapsulation in systems
US10523689B2 (en) 2007-06-12 2019-12-31 Icontrol Networks, Inc. Communication protocols over internet protocol (IP) networks
US11237714B2 (en) 2007-06-12 2022-02-01 Control Networks, Inc. Control system user interface
US11218878B2 (en) 2007-06-12 2022-01-04 Icontrol Networks, Inc. Communication protocols in integrated systems
US11089122B2 (en) 2007-06-12 2021-08-10 Icontrol Networks, Inc. Controlling data routing among networks
US11212192B2 (en) 2007-06-12 2021-12-28 Icontrol Networks, Inc. Communication protocols in integrated systems
US11601810B2 (en) 2007-06-12 2023-03-07 Icontrol Networks, Inc. Communication protocols in integrated systems
US11423756B2 (en) 2007-06-12 2022-08-23 Icontrol Networks, Inc. Communication protocols in integrated systems
US10389736B2 (en) 2007-06-12 2019-08-20 Icontrol Networks, Inc. Communication protocols in integrated systems
US10666523B2 (en) 2007-06-12 2020-05-26 Icontrol Networks, Inc. Communication protocols in integrated systems
US11316753B2 (en) 2007-06-12 2022-04-26 Icontrol Networks, Inc. Communication protocols in integrated systems
US10423309B2 (en) 2007-06-12 2019-09-24 Icontrol Networks, Inc. Device integration framework
US10616075B2 (en) 2007-06-12 2020-04-07 Icontrol Networks, Inc. Communication protocols in integrated systems
US8478861B2 (en) * 2007-07-06 2013-07-02 Axeda Acquisition Corp. Managing distributed devices with limited connectivity
US11831462B2 (en) 2007-08-24 2023-11-28 Icontrol Networks, Inc. Controlling data routing in premises management systems
US11916928B2 (en) 2008-01-24 2024-02-27 Icontrol Networks, Inc. Communication protocols over internet protocol (IP) networks
US20170185278A1 (en) 2008-08-11 2017-06-29 Icontrol Networks, Inc. Automation system user interface
US11258625B2 (en) 2008-08-11 2022-02-22 Icontrol Networks, Inc. Mobile premises automation platform
US10530839B2 (en) 2008-08-11 2020-01-07 Icontrol Networks, Inc. Integrated cloud system with lightweight gateway for premises automation
US11758026B2 (en) 2008-08-11 2023-09-12 Icontrol Networks, Inc. Virtual device systems and methods
US11729255B2 (en) 2008-08-11 2023-08-15 Icontrol Networks, Inc. Integrated cloud system with lightweight gateway for premises automation
US11792036B2 (en) 2008-08-11 2023-10-17 Icontrol Networks, Inc. Mobile premises automation platform
US9628440B2 (en) 2008-11-12 2017-04-18 Icontrol Networks, Inc. Takeover processes in security network integrated with premise security system
US8638211B2 (en) 2009-04-30 2014-01-28 Icontrol Networks, Inc. Configurable controller and interface for home SMA, phone and multimedia
WO2011137458A1 (en) 2010-04-30 2011-11-03 Icontrol Networks, Inc. Power and data solution for remote low-power devices
AU2011250886A1 (en) 2010-05-10 2013-01-10 Icontrol Networks, Inc Control system user interface
US8836467B1 (en) 2010-09-28 2014-09-16 Icontrol Networks, Inc. Method, system and apparatus for automated reporting of account and sensor zone information to a central station
US11750414B2 (en) 2010-12-16 2023-09-05 Icontrol Networks, Inc. Bidirectional security sensor communication for a premises security system
US9147337B2 (en) 2010-12-17 2015-09-29 Icontrol Networks, Inc. Method and system for logging security event data
US9928975B1 (en) 2013-03-14 2018-03-27 Icontrol Networks, Inc. Three-way switch
US9867143B1 (en) 2013-03-15 2018-01-09 Icontrol Networks, Inc. Adaptive Power Modulation
US9287727B1 (en) 2013-03-15 2016-03-15 Icontrol Networks, Inc. Temporal voltage adaptive lithium battery charger
EP3031206B1 (en) 2013-08-09 2020-01-22 ICN Acquisition, LLC System, method and apparatus for remote monitoring
US11146637B2 (en) 2014-03-03 2021-10-12 Icontrol Networks, Inc. Media content management
US11405463B2 (en) 2014-03-03 2022-08-02 Icontrol Networks, Inc. Media content management
RU2596577C2 (en) * 2014-09-30 2016-09-10 Закрытое акционерное общество "Лаборатория Касперского" Method of creating a system call handler

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3483525A (en) 1966-06-06 1969-12-09 Gen Electric Intercommunicating multiple data processing system
US5359721A (en) 1991-12-18 1994-10-25 Sun Microsystems, Inc. Non-supervisor mode cross address space dynamic linking
US5420984A (en) 1992-06-30 1995-05-30 Genroco, Inc. Apparatus and method for rapid switching between control of first and second DMA circuitry to effect rapid switching beween DMA communications
US5430844A (en) 1990-08-22 1995-07-04 Sanyo Electric Co., Ltd. Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
US5440632A (en) 1992-12-02 1995-08-08 Scientific-Atlanta, Inc. Reprogrammable subscriber terminal
US5475860A (en) 1992-06-15 1995-12-12 Stratus Computer, Inc. Input/output control system and method for direct memory transfer according to location addresses provided by the source unit and destination addresses provided by the destination unit
US5491694A (en) 1994-01-28 1996-02-13 Cabletron Systems, Inc. System and method for allocating a shared resource among competing devices
US5781723A (en) 1996-06-03 1998-07-14 Microsoft Corporation System and method for self-identifying a portable information device to a computing unit
US5812774A (en) 1994-03-01 1998-09-22 Cabletron Systems, Inc. System for transmitting data packet from buffer by reading buffer descriptor from descriptor memory of network adapter without accessing buffer descriptor in shared memory
US5890012A (en) 1995-04-25 1999-03-30 Intel Corporation System for programming peripheral with address and direction information and sending the information through data bus or control line when DMA controller asserts data knowledge line
US6108797A (en) 1997-12-11 2000-08-22 Winbond Electronics Corp. Method and system for loading microprograms in partially defective memory
US6112240A (en) 1997-09-03 2000-08-29 International Business Machines Corporation Web site client information tracker

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3483525A (en) 1966-06-06 1969-12-09 Gen Electric Intercommunicating multiple data processing system
US5430844A (en) 1990-08-22 1995-07-04 Sanyo Electric Co., Ltd. Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
US5359721A (en) 1991-12-18 1994-10-25 Sun Microsystems, Inc. Non-supervisor mode cross address space dynamic linking
US5475860A (en) 1992-06-15 1995-12-12 Stratus Computer, Inc. Input/output control system and method for direct memory transfer according to location addresses provided by the source unit and destination addresses provided by the destination unit
US5420984A (en) 1992-06-30 1995-05-30 Genroco, Inc. Apparatus and method for rapid switching between control of first and second DMA circuitry to effect rapid switching beween DMA communications
US5440632A (en) 1992-12-02 1995-08-08 Scientific-Atlanta, Inc. Reprogrammable subscriber terminal
US5491694A (en) 1994-01-28 1996-02-13 Cabletron Systems, Inc. System and method for allocating a shared resource among competing devices
US5812774A (en) 1994-03-01 1998-09-22 Cabletron Systems, Inc. System for transmitting data packet from buffer by reading buffer descriptor from descriptor memory of network adapter without accessing buffer descriptor in shared memory
US5890012A (en) 1995-04-25 1999-03-30 Intel Corporation System for programming peripheral with address and direction information and sending the information through data bus or control line when DMA controller asserts data knowledge line
US5781723A (en) 1996-06-03 1998-07-14 Microsoft Corporation System and method for self-identifying a portable information device to a computing unit
US6112240A (en) 1997-09-03 2000-08-29 International Business Machines Corporation Web site client information tracker
US6108797A (en) 1997-12-11 2000-08-22 Winbond Electronics Corp. Method and system for loading microprograms in partially defective memory

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080016498A1 (en) * 2001-03-23 2008-01-17 S2 Technologies, Inc. System and method for generating data sets for testing embedded systems
US20030061292A1 (en) * 2001-03-23 2003-03-27 Mark Underseth System and method for providing an interface for com-compliant applications to communicate with embedded systems
US20050257191A1 (en) * 2001-03-23 2005-11-17 Mark Underseth System and method for testing devices
US20060179427A1 (en) * 2001-03-23 2006-08-10 Mark Underseth System and method for automatically generating code templates for communication via a predefined communication interface
US20060212880A1 (en) * 2001-03-23 2006-09-21 Mark Underseth System and method for providing an interface for scripting programs to communicate with embedded systems
US20060282507A1 (en) * 2001-03-23 2006-12-14 Mark Underseth System and method for formatting data for transmission between an embedded computer and a host computer having different machine characteristics
US20020198887A1 (en) * 2001-03-23 2002-12-26 Mark Underseth System and method for building a database defining a plurality of communication interfaces
US20080052309A1 (en) * 2001-03-23 2008-02-28 S2 Technologies, Inc. System and method for building a database defining a plurality of communication interfaces
US7359911B2 (en) 2001-03-23 2008-04-15 S2 Technologies, Inc. System and method for building a database defining a plurality of communication interfaces
US7392526B2 (en) * 2001-03-23 2008-06-24 S2 Technologies, Inc. System and method for formatting data for transmission between an embedded computer and a host computer having different machine characteristics
US7530076B2 (en) 2001-03-23 2009-05-05 S2 Technologies, Inc. Dynamic interception of calls by a target device
US20090217292A1 (en) * 2001-03-23 2009-08-27 S2 Technologies, Inc. System and method for testing devices
US20080207676A1 (en) * 2007-02-28 2008-08-28 Sean Dalziel Crystalline forms of an 8-Azabicyclo(3.2.1)octane compound

Also Published As

Publication number Publication date
US6467084B1 (en) 2002-10-15
AU2259201A (en) 2001-06-25
WO2001044937A1 (en) 2001-06-21
US20030005158A1 (en) 2003-01-02

Similar Documents

Publication Publication Date Title
US7058930B2 (en) Distributed program relocation for a computer system
US6370436B1 (en) Distributed objects for a computer system
CA2604108C (en) System and method of representing data entities of standard device applications as built-in components
US8464240B2 (en) Method and system for controlling software version updates
US8661407B2 (en) Framework for programming embedded system applications
US7640351B2 (en) Application updating in a home automation data transfer system
US6571389B1 (en) System and method for improving the manageability and usability of a Java environment
US7206824B2 (en) Technique for configuring network deliverable pluggable components for deployment
US20070256085A1 (en) Device types and units for a home automation data transfer system
US20070250592A1 (en) Messaging in a home automation data transfer system
US20020144256A1 (en) Method of deployment for concurrent execution of multiple versions of an integration model on an integration server
EP1872215A1 (en) Implementing data-compatibility-based version scheme
WO2006086582A2 (en) Systems and method for deploying a software application on a wireless device
KR100835269B1 (en) Downroad server and method for setting and updating application program by using partition of public library
CN112506518B (en) Compiling method and device based on configuration file
CN101326515A (en) Metadata driven deployment of applications
CN111683005B (en) Internet of things intelligent gateway equipment and construction method thereof
US20070121653A1 (en) Protocol independent application layer for an automation network
CN113961232A (en) Terminal, method and platform server for providing integrated development environment
KR100677932B1 (en) Upgrade system of electronic equipment and control method thereof
KR20210058103A (en) Building Energy Management System Using Opening Platform Service and Method Thereof
Estublier et al. Deployment descriptions in a world of COTS and open source
Stampfer et al. FIONA Deliverable D2. 4.1 Handbook for Integrating Basic Services and Interface Components
McGurren Toward a management framework for self-adaptive systems

Legal Events

Date Code Title Description
AS Assignment

Owner name: MATSUSHITA ELECTRIC WORKS, LTD.,JAPAN

Free format text: NUNC PRO TUNC ASSIGNMENT;ASSIGNOR:EMWARE, INC.;REEL/FRAME:016239/0518

Effective date: 20050601

Owner name: MATSUSHITA ELECTRIC WORKS, LTD., JAPAN

Free format text: NUNC PRO TUNC ASSIGNMENT;ASSIGNOR:EMWARE, INC.;REEL/FRAME:016239/0518

Effective date: 20050601

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
AS Assignment

Owner name: PANASONIC ELECTRIC WORKS CO., LTD., JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:MATSUSHITA ELECTRIC WORKS, LTD.;REEL/FRAME:022191/0478

Effective date: 20081001

Owner name: PANASONIC ELECTRIC WORKS CO., LTD.,JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:MATSUSHITA ELECTRIC WORKS, LTD.;REEL/FRAME:022191/0478

Effective date: 20081001

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553)

Year of fee payment: 12