US20040237068A1 - Embedded software update system - Google Patents

Embedded software update system Download PDF

Info

Publication number
US20040237068A1
US20040237068A1 US10/876,503 US87650304A US2004237068A1 US 20040237068 A1 US20040237068 A1 US 20040237068A1 US 87650304 A US87650304 A US 87650304A US 2004237068 A1 US2004237068 A1 US 2004237068A1
Authority
US
United States
Prior art keywords
patch
software
section
program
data
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.)
Abandoned
Application number
US10/876,503
Inventor
Yuqing Ren
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to US10/876,503 priority Critical patent/US20040237068A1/en
Priority to US10/986,258 priority patent/US20050063242A1/en
Publication of US20040237068A1 publication Critical patent/US20040237068A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Definitions

  • the present invention is related to digital electronics products with embedded software operating systems, and more particularly related to a system and method of updating, correcting, modifying or upgrading the embedded software in such digital products before or after the products have been released to market by use of software patches.
  • manufactures will sometimes go through improvement, enhancement or upgrades, which may require a change in the embedded software.
  • manufactures may generate a new round of product release, which may be costly but necessary.
  • a premature and untimely product release drains the company's resources, while holding off risks antagonizing the end users who might complain about the minor inconvenience.
  • the present invention is directed to a method and system for an embedded software update system, which helps manufactures or vendors avoid costly product recall activities in the event their digital products have field software errors (“bugs”) or hardware problems.
  • One aspect of the present invention is directed to an error correction system, which remotely corrects these software errors and minimizes influences of hardware problems.
  • Another aspect of the present invention is directed to a software updating system, which is capable of updating software modules in the digital products by use of software patches.
  • the software patch system of the present invention facilitates manufactures' transmitting software patches to the “on-the-fly” digital products to fix software errors and minimize influences of hardware problems.
  • the software patch may also contain new parameters for updating some data area in NVM (Non Volatile Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) memory of a digital product, which is quite useful when service providers or manufactures want to modify some service features or product features.
  • NVM Non Volatile Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • the software update system of the present invention has advantages over the conventional software upgrade/updating systems.
  • the software update system only needs comparatively small memory space to save software patches for bug fixes, or for key modules update. This is particularly advantageous to the small, portable digital products, whereas conventional software update/upgrade systems require large memory space to contain the whole application data of a new software version received for upgrade.
  • the proposed update system requires only limited network resources for patch data transmission, since each patch size is normally very small, whereas conventional software upgrade/updating systems require much more bandwidth or network resources for transmitting the big blocks of application data for software version updating.
  • a further aspect of the present invention separates embedded software intended for digital products into multiple sections and only updates the necessary sections. This approach is advantageous over the conventional approach of having to update the total system, since it will optimize usage of resources for network transmission.
  • Hardware designs for CPU, MCU or DSP processors may also include the mechanism of checking update software in accordance with the present invention before running a software section.
  • CPU/MCU/DSP can be designed in such a way that it is capable of automatically checking software update information while running the embedded software, and automatically jumping to the updated code address when software update is available.
  • FIG. 1 illustrates a simplified diagram of a conventional microprocessor system in a digital product.
  • FIG. 2 illustrates a simplified diagram of a conventional DSP system in a digital product.
  • FIG. 3 illustrates an exemplary software architecture of a patch system in a digital product.
  • FIG. 4 illustrates a simplified diagram of an exemplary software sectioning and Update-Processing-Routine allocation of the original embedded software in a digital product.
  • FIG. 5 illustrates an exemplary design and implementation of software update based on software sections in accordance with one embodiment of the present invention.
  • FIG. 6 illustrates an exemplary design and implementation of software update using JUMP to patch program through Patch Control Routine in accordance with another embodiment of the present invention.
  • FIG. 7 illustrates an exemplary design and implementation of software update using JUMP to patch program through Patch-Control-Block in accordance with yet another embodiment of the present invention.
  • FIG. 8 illustrates exemplary communication layers for patch transmission in accordance with one embodiment of the present invention.
  • FIG. 9 illustrates an exemplary format of the patch data and patch data packets in accordance with one embodiment of the present invention.
  • FIG. 10 illustrates an exemplary state diagram of patch programming in accordance with the present invention.
  • FIG. 11 illustrates an exemplary architecture for a patch server in accordance with the present invention.
  • FIG. 12 illustrates an exemplary design of patch transmission using SMS messages.
  • embedded software herein is the software program written in C/C++/Java/Assembler, or other software programming languages, as well as any executable machine code of CPU/Microprocessor or DSP (“Digital Signal Processor”), for operating the digital product.
  • DSP Digital Signal Processor
  • a microprocessor system in a typical digital product may comprise a CPU (“Central Processing Unit”) 100 , RAM (“Random Access Memory”) 110 , FLASH/ROM memory 115 , and some peripheral devices 120 .
  • a software program resides in FLASH/ROM memory 115 , and is read by CPU 100 during execution.
  • FLASH is a type of constantly-powered nonvolatile memory that can be erased and reprogrammed in units of memory called blocks.
  • ROM stands for “Read Only Memory”.
  • a DSP (“Digital Signal Processor”) system in a conventional digital product may comprise a DSP core 230 , RAM 240 , FLASH/ROM memory 245 , and some peripheral devices 250 , as shown in FIG. 2.
  • a software program resides in FLASH/ROM memory 45 , and is read by DSP core 30 during execution.
  • a typical digital product e.g. a digital cellular phone, normally contains a microprocessor system, and may also contain a DSP system.
  • the software update system of the present invention can be configured or adapted to reside in the embedded software of the microprocessor system and/or the DSP system of a digital product.
  • the software update system in accordance with one embodiment of the present invention when it is implemented in a digital product, may be structured to comprise a software module 302 for patch receiving, a software module 304 for patch programming, a patch database 310 , and a patch correction handler 320 .
  • FIG. 3 A simplified drawing of exemplary software architecture in a digital product is illustrated in FIG. 3.
  • the patch receiving module 302 is for receiving software patch data. It may include mechanism for data receiving either from wired link or wireless link, mechanism for data error detection and/or mechanism for data security check. After the patch receiving module 320 correctly receives patch data, it will pass the patch data to the patch programming module 304 .
  • the patch programming module 304 is for writing patch data into the patch database 310 . It may include program for writing data into FLASH, NVM, EEPROM memory, and/or other types of memory.
  • the patch database 310 is a memory area in FLASH memory and/or other types of memory, which is for containing patch data.
  • the patch correction handler 320 is for handling process for using patch program instead of using original error program. It may include mechanism for jumping to the patch program area from the original software code area that has errors.
  • a plurality of locations in the embedded software are determined at first, so that software update can be started later on from these locations.
  • the locations can be expressed by L 1 , L 2 , . . . , Ln, in the order from small address to large address, where n is the total number of the locations.
  • the part of the embedded software between two successive locations is treated as a software section, S 1 , of the embedded software.
  • the embedded software is effectively “separated” into a plurality of software sections, S 1 , S 2 , . . . , Sn, in the order from small address to large address, where n is the total number of the software sections.
  • the last section Sn is started from Ln and ended at the end of the embedded software.
  • Size of a software section may not be a fixed number, and can be variable from one section to another, according to the different needs of different sections. Determining locations of L 1 , L 2 , . . . , Ln and partitioning embedded software into software sections S 1 , S 2 , . . . Sn, can be based on boundaries of software functions, number of lines of program lines, types of CPU/DSP instructions, software design schemes, hardware design schemes, software modification requirements, or error correction requirements, as can be appreciated by those skilled in the art.
  • an Update-Processing-Routine is allocated for handling software update.
  • FIG. 4 a simplified drawing of exemplary software section separation and the Update-Processing-Routine allocation is illustrated.
  • an Update-Processing-Routine 404 , 405 , 406 is allocated in the section.
  • An Update-Processing-Routine is a software routine that handles software update processing. If there is a software patch for updating certain program codes in a software section, for example S 2 , the Update-Processing-Routine at location L 2 will direct the CPU/DSP execution to the start address of software patch, and use the software patch for execution. This process may involve a Patch-Control-Routine (to be further described in connection with FIG. 6) before jumping to the start address of the patch. If there is no patch for updating a software section S 2 , the Update-Processing-Routine at location L 2 will direct the CPU/DSP execution to use the existing S 2 program; that is, the CPU/DSP execution will continue through this routine without affecting normal execution.
  • Update-Processing-Routines can be different from one location to another location, or they can be designed in the same way.
  • FIG. 5 One exemplary design and implementation of software update based on software sections is shown in FIG. 5.
  • the Update-Processing-Routine 505 of software section K during execution of the software, directs CPU/DSP execution to jump 506 to the start address 502 of patch program 507 for updating software section K.
  • the patch program 507 will be used for execution instead of original program in section K.
  • the CPU/DSP instruction pointer is directed to jump 508 to a predetermined place in the original software, which typically is the place right after the program codes that need to be updated in software section 510 . As such, any bugs in software section 510 is bypassed by the execution of patch program 507 .
  • FIG. 6 Another exemplary design and implementation of software update based on software sections is shown in FIG. 6.
  • the Update-Processing-Routine 605 of software section K directs CPU/DSP execution to jump 606 to a Patch-Control-Routine 609 .
  • the Patch-Control-Routine 609 is a software routine that performs general patch execution control, such as preparation process for patch program execution and/or determining the start address 602 of patch program 607 based on current patching status and system parameters, for example, a Patch-Control-Table (to be described below).
  • the Patch-Control-Routine 609 directs CPU/DSP execution to jump 611 to the start address 602 of patch program 607 of updating software section K 610 . In this way, the patch program 607 will be used for execution instead of original program in section K 610 .
  • the CPU/DSP instruction pointer is directed to jump 608 to a predetermined place in the original software, which typically is the place right after the program codes that need to be updated.
  • the aforementioned Patch-Control-Table is a list of information that can be used for controlling patch receiving, patch programming and patch signaling process.
  • This list of information may include a list of identifiers of the patches that have been programmed into the digital product, and/or a list of the corresponding identifiers of the software sections that are updated by those patches. It may also include information of a patch database, such as the number of bytes in the patch program area that can be used for storing new patches. It may include other information for controlling patch receiving, patch programming, and patch signaling processes.
  • the Patch-Control-Table may reside in the Patch-Control-Routine or any other area in the digital product memory 600 .
  • the section identifier of that existing patch can be deleted (e.g., set to zero) at a Patch-Control-Table that is handled by the Patch-Control-Routine 609 , while the new patch can be programmed into the Patch-Control-Table with the original section identifier but with different Patch Identifier and/or patch start address.
  • the Patch-Control-Routine 609 will be able to determine the corresponding new start address of patch program from the Patch-Control-Table, and direct CPU/DSP instruction pointer to jump to the new patch program.
  • Memory area for containing patch program codes can be allocated at a place outside of the embedded software code area. It can also be allocated at a place inside of the embedded software code area.
  • a memory area in FLASH memory can be reserved as a data area or a data buffer filled with bytes of hexadecimal number “0 ⁇ FF” in a software program, and this memory can be allocated in the embedded software code area and can be used to contain patch program codes by changing/overwriting these bytes of hexadecimal number “0 ⁇ FF” to patch program codes.
  • Update-Processing-Routine One exemplary design and implementation of the Update-Processing-Routine is to use patch flags or patch checking routines. In this way, each software section will have a corresponding patch flag and/or a patch checking routine to show whether there is a patch in the patch area for updating this section.
  • the Update-Processing-Routine can be shown as follows using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: (At the beginning of a software section.) Patch-Checking-Routine If (the Patch-Checking-Routine declares that there is a patch for updating this section) ⁇ Patch-Correction-Routine ⁇ ORIGINAL SECTION CODE.
  • the Patch-Checking-Routine is a software routine to check whether there is a patch in the patch area for updating this section of the embedded software. It may check some patch flags or some system parameters, or use some software functions to detect whether there is a patch for updating this software section.
  • the Patch-Correction-Routine is a software routine to direct CPU/Microprocessor or DSP to use patch program instead of using original section code.
  • the Patch-Correction-Routine may include a pre-process when it is necessary for making preparation for jumping to the patch program, such as saving some parameters or performing some parameter and function setup.
  • the Patch-Correction-Routine also includes some instructions for directing CPU/Microprocessor or DSP instruction pointer to the start address of patch program as shown in FIG. 5, or to a Patch-Control-Routine as shown in FIG. 6.
  • the benefits of using the Patch-Control-Routine have been discussed in Section 3.2.
  • Update-Processing-Routine Another exemplary design and implementation of the Update-Processing-Routine is to use the JUMP (or BRANCH in ARM® parlance) command or similar CPU/DSP instructions.
  • JUMP a well-known concept in computer programming, is used as a generic term in this application, which means directing execution of CPU/DSP from one location to another location.
  • the Update-Processing-Routine can be shown as follows, using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: (At the beginning of a software section, in case of no patch programmed) Jump to Label_O Label_P: Patch-Correction-Routine Label_O: ORIGINAL SECTION CODE
  • the first instruction of the Update-Processing-Routine is to JUMP to Label_O, which is the start address of the original code of the section.
  • Update-Processing-Routine When there is a corresponding patch programmed in patch area for updating the software section, the first instruction of the Update-Processing-Routine will be changed, so that CPU/DSP instruction pointer will JUMP to Label_P instead of Label_O.
  • the Update-Processing-Routine can be shown as follows using program description language, which can be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: (At the beginning of a software section, in case that there is a patch for updating this section) Jump to Label_P Label_P: Patch-Correction-Routine Label_O: ORIGINAL SOFTWARE CODE
  • the CPU/Microprocessor or DSP instruction pointer will be directed to the Patch-Correction-Routine.
  • the design schemes of the Patch-Correction-Routine have been discussed in the previous section 3.3.1. It should be noted that in FLASH memory, changing a value from “1” to “0” is allowed, while changing from “0” to “1” is not allowed. Therefore, by setting the initial jump offset as hexadecimal “0 ⁇ FFF” allows decreasing the offset during patch programming.
  • Update-Processing-Routine in accordance with one embodiment of the present invention.
  • the Update-Processing-Routine can be shown as follows using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: (At the beginning of a software section in case of no patch programmed) Jump to Label_O Label_O: ORIGINAL SECTION CODE
  • the first and the only instruction of the Update-Processing-Routine is to JUMP to Label_O, which is the start address of the original code of the section.
  • Update-Processing-Routine can be shown as follows using program description language, which can be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: (At the beginning of a software section, in case that there is a patch for updating this section) Jump to Patch-Correction-Routine (or Patch Start Address) Label_O: ORIGINAL SECTION CODE
  • the branch instruction “B” of ARM CPU is used as the Update-Processing-Routine. Because it jumps to the next line, its offset becomes “0 ⁇ FFFFFF”. Because a bit in FLASH memory can be changed from “1” to “0” during FLASH programming, this offset value “0 ⁇ FFFFFF” can be easily changed to any other 24-bit values in FLASH programming process.
  • a Patch-Operation-Area is defined as a memory area or a block of data bytes that can be used for patch operation. It can be, for example, the memory area for containing the Update-Processing-Routines described in the above sections, the memory area for storing the JUMP commands for directing CPU/DSP instruction pointer to the start address of a patch program, the memory area for storing the Patch-Control-Routines, and the memory area for containing patch program.
  • a group of locations L 1 , L 2 , . . . , Ln, in the order from small address to large address, should be determined at first. Accordingly, the embedded software is effectively “separated” into a plurality of software sections, S 1 , S 2 , . . . , Sn.
  • a Patch-Operation-Area is allocated or reserved at some or most, if not every, location of L 1 , L 2 , . . . , Ln.
  • Some Patch-Operation-Areas can also be inserted or reserved at the end of the embedded software, or at a location of memory area outside of the embedded software code area.
  • Some implementations may also directly reserve memory areas in the original embedded software, and use these memory areas as the Patch-Operation-Areas for updating the embedded software.
  • the above term “allocating” is more akin to “reserving” memory areas by some instructions of the embedded software.
  • patching process can easily change these “0 ⁇ FF” hexadecimal numbers into patch program codes, such as the program codes of the Patch-Correction-Routines, the program codes of the Patch-Control-Routines, or the program codes for updating a software section or fixing an error.
  • patch program codes such as the program codes of the Patch-Correction-Routines, the program codes of the Patch-Control-Routines, or the program codes for updating a software section or fixing an error.
  • the CPU instruction pointer When the CPU runs to a software section that has a patch in the patch program area for updating this section, the CPU instruction pointer should be directed to the place where the patch program starts, such as the patch start address 502 and 602 of FIG. 5 and FIG. 6, respectively.
  • jump/branch assembler codes typically have their maximum jump range. For example, when an ARM CPU is in the THUMB mode, the maximum branch range of the branch assemble code B is only ⁇ 2048 bytes. If the CPU instruction pointer cannot be shifted to the place of the patch start address with one jump/branch assembler code, multiple jump/branch codes can be used for long jumps.
  • a Patch-Operation-Area may contain an area for a Patch-Control-Block.
  • a Patch-Control-Block functions as the Patch-Control-Routine and may contain the secondary jump/branch commands.
  • the Patch-Control-Block can be declared as being filled with “0 ⁇ FF” hexadecimal numbers. As such, FLASH programming of the patching process can easily change these “0 ⁇ FF” hexadecimal numbers into any program code, such as secondary jump/branch code. Multiple software sections may share one Patch-Control-Block.
  • FIG. 7 shows how an exemplary Patch-Control-Block handles the jump to patch program area.
  • a short jump 706 takes the execution from software section 710 to Patch-Control-Block 709 , which works as a Patch-Control-Routine.
  • a second jump 711 takes the execution to patch start address 702 of patch program 707 . Upon execution of patch program 707 , it jumps back to end of the software section 710 .
  • the Patch-Operation-Area of Section-A is defined as an Update-Processing-Routine “Jump to Label_O_A”
  • the Patch-Operation-Area of Section-B is defined as an Update-Processing-Routine “Jump to Label_O_B”
  • the Patch-Operation-Area of Section-C is defined as a data block area of N bytes being filled with hexadecimal 0 ⁇ FF, which is used as a Patch-Control-Block and an Update-Processing-Routine “Jump to Label_O_C”
  • the Patch-Operation-Area of Section-C is defined as an Update-Processing-Routine “Jump to Label_O_D”.
  • Label_O_C ORIGINAL SECTION-C CODE (At the beginning of Section-D, when there are no patches for updating Section-D Jump to Label_O_D Label_O_D: ORIGINAL SECTION-D CODE
  • the patching process Upon receiving a software patch, the patching process starts FLASH programming process to change the offset of the jump/branch command in the corresponding software section, and also change some bytes in the corresponding Patch-Control-Block from “0 ⁇ FF” into the secondary j ump/branch command, or some DSP/CPU instruction code working as the Patch-Correction-Routine that has been discussed in Section 3.3.1. For example, upon receiving a patch for updating Section-A, the first several bytes in the Patch-Control-Block will be changed to the instructions of the Patch-Correction-Routine of Section-A.
  • Patch-Correction-Routine of Section-D will direct CPU/DSP instruction pointer to the start address of a patch program. (At the beginning of Section-A, when there is a patch for updating Section-A.
  • Label_O_A ORIGINAL SECTION-A CODE (At the beginning of Section-B, when there are no patches for updating Section-B) Jump to Label_O_B Label_O_B: ORIGINAL SECTION-B CODE (At the beginning of Section-C, when there are no patches for updating Section-C) Jump to Label_O_C Data block area of N bytes, which is used as Patch-Control-Block ( Label_P_A: Patch-Correction-Routine of Section-A Label_P_D: Patch-Correction-Routine of Section-D Other remaining bytes 0xFF, 0xFF, ..., 0xFF ) Label_O_C: ORIGINAL SECTION-C CODE (At the beginning of Section-D, when there is patch for updating Section-D Jump to Label_P_D Label_O_D: ORIGINAL SECTION-D CODEL
  • assembler code LDR can be used to load some data at offset less than 2048 bytes from the LDR code. If some codes being inserted for patch operation between the LDR and the offset address contain some data to need to be loaded, the offset value of LDR code can be larger than 2048 bytes, causing compilation problems.
  • One technique to avoid such kind of problems is to move the data that need to be loaded to a place that is closer to some assembly code (such as LDR code) so that the offset value can be less than 2048 bytes. That is, by moving or copying the data that need to be loaded by some assembler codes. (such as LDR) to places that are closer to the assembler codes (such as LDR) that load the data, we can avoid “out of range “problems in compilation for some assembler codes.
  • some original program code such as B command of the ARM assembler code
  • B command of the ARM assembler code may become out of range, i.e., destination becomes too far for B to jump to. Inserting another jump/branch command between the B and the destination can prevent the “out of range” problem in compilation. That is, jumping twice for a long jump.
  • a new patch can be made to update the patch.
  • some code space for patch operations of new patches in the future should be reserved; or similar to updating a software section described in the previous sections, an Update-Processing-Routine can be inserted to the patch program. Therefore, when CPU/DSP runs to a software section of an old patch that has a new patch for updating, the CPU/DSP pointer can be directed to use the new patch program instead of using old patch program, by the Update-Processing-Routine.
  • Embedded software can be written with C/C++/Java/Assembler or other software programming languages. If a software program is not written with Assembler code, but with C/C++/Java or other software programming languages, the program can be translated into assembler code by using software compiler tools. Software compiler tools may perform optimization processes on the software program, and may change/optimize the original program during compilation that transforms the program written in C/C++/Java or other software programming languages into object code or assembler code. Because of this optimization, some program code may disappear.
  • the Update-Processing-Routine may be changed or removed during the process of compiler optimization.
  • the Update-Processing-Routine may be changed or removed during the process of compiler optimization.
  • after compilation normally there are no code optimization processes at the stage of transforming assembler code into object code, and also there are no code optimization processes at the stage of linking object codes into final executable machine code with software linker tools.
  • a software program written in C/C++/Java and other software programming languages can be compiled in the following two ways.
  • Compilation-Method-1 Transform the program code written in C/C++/Java language into object code using software compiler tools (maybe with optimization process). Then, link object codes to generate executable machine code with software linker tools.
  • Compilation-Method-2 Transform the program code written in C/C++/Java language into assembler code using software compiler tools (maybe with optimization process). Then, transform the assembler code into object code using software assembler tools. Then, link object codes to generate executable machine code with software linker tools.
  • the final executable machine code generated by Compilation-Method-1 is identical to the final executable machine code generated by Compilation-Method-2. If a software program is directly written in assembler language, we can transform the program into object code using software assembler tools. Then, link object codes to generate executable machine code with software linker tools.
  • a technique described herein to allocate the Update-Processing-Routines and the Patch-Operation-Area into a software program is to use the Compilation-Method-2.
  • the Compilation-Method-2 after transforming the program code written in C/C++/Java language into assembler code using software compiler tools (may with optimization process), the Update-Processing-Routines, the Patch-Control-Routines, and the Patch-Operation-Area can be inserted into the assembler code. Because there will be no optimization processes that may change or optimize software code in the compilation processes of transforming the assembler code into object code and linking object codes to generate executable machine code, the patch routines and patch program space can remain intact.
  • Another method can be that, transform the program code written in C/C++/Java or Assembler language into object code, then insert the Update-Processing-Routines, the Patch-Control-Routines, or the Patch-Operation-Areas into the object codes. And then, link object codes to generate executable machine code with software linker tool. 3.8 Allocating Patch Operation Routines with Software Tools
  • Anther aspect of the present invention is the methodology to allocate or insert the aforementioned Update-Processing-Routines and Patch-Operation-Area into the embedded software of the digital products, such as cellular phones.
  • the Update-Processing-Routines and/or Patch-Operation-Area should preferably be allocated in embedded software of digital products, before the digitals products are programmed with the embedded software.
  • One embodiment of the allocation tool integrates the allocation process with the compilation process of the embedded software. For example, prior to the compilation of the source code, the allocation tool can be started automatically to finish the allocation. In this way, software developers will just concern themselves with their original task of code development, without getting involved in or worrying about the allocation process.
  • one embodiment of the allocation process may be performed on the assembler code instead of on the C/C++/Java code.
  • C/C++/Java code will first be compiled into the corresponding assembler code, and then, the allocation process will be performed on the generated assembler code to insert the Update-Processing-Routines and Patch-Operation-Area. Then, the assembler code will be further compiled into object code. In this way, any optimization processes in the compliers of C/C++/Java code will not affect the Update-Processing-Routines and the Patch-Operation-Area.
  • the allocation tool inserts an Update-Processing-Routine and/or a block of Patch-Operation-Area into the software code.
  • the allocation tool may also change the parameters and labels in the Update-Processing-Routine according to the corresponding section identifier when necessary.
  • the allocation is operated directly in the original files that contain the source code of the embedded software.
  • the embedded software of a digital product has more than one files that contain the source code of the embedded software.
  • the allocation tool For each file, the allocation tool generates another file that contains the same software code as the original file, i.e., making a copy of the file. Then, the allocation tool will insert the Update-Processing-Routines and/or Patch-Operation-Area into the duplicate files, instead of using the original files.
  • the allocation tool inserts an Update-Processing-Routine and/or a block of Patch-Operation-Area into the software code.
  • the allocation tool may also change the parameters and labels in the Update-Processing-Routine according to the corresponding section identifier when necessary.
  • FIG. 8 An example of transmitting patch data using certain communication layers is shown in FIG. 8. Some implementation may only include one or two of the three layers for controlling patch data transmission, depending on the transmission design schemes and needs. Some other implementation may use data transmission channels or transmission path, such as circuit data transmission or packet data transmission. Some other implementation may use voice or video transmission channels, by putting patch data into these channels or transmission paths and send the patch data to digital products.
  • patch server it should be appreciated by those skilled in the art that it may be a system that can dispatch or transmit a software patch to one or more digital products in the field, preferably through existing communication infrastructure or channels, such as a wireless link, or a wired connection.
  • the patch server may have any level of automation for its operation.
  • a digital product Upon transmission, a digital product receives patch data with its Patch Receiving Module 302 shown in FIG. 3.
  • the digital product may send signals (or messages) to the patch server for acknowledgment.
  • the digital product may send signals (or messages) to a Patch-Reply-Message-Collector, instead of a patch server. Then, the Patch-Reply-Message-Collector will send a corresponding signal and data to the patch sever.
  • the Patch-Reply-Message-Collector is a message receiver that collects reply message from the digital products. It can be located at a different place from the patch server.
  • Data Burst Messages can be used to carry patch data.
  • One example of using the Data Burst Messages is to use the SMS message transmission based on TIA/EIA-637 standard.
  • SMS messages to deliver patch data will be described, although those skilled in the art of data transmission may readily devise their own delivery mechanism using other signal messages. Since there are already error detection processes in the communication protocol of SMS message transmission (TIA/EIA-637), using SMS as a lower layer for patch transmission, digital product will receive nearly-error-free patch data packets.
  • Link Layer 820 is to reliably transmit patch signaling messages 800 and patch data 810 by detecting transmission errors and performing retransmission in error cases. Error detection can be based on CRC (Cyclic Redundancy Codes), checksum or other schemes as can readily be implemented by those skilled in the art.
  • Link Layer 820 may also include security check mechanism. For example, before patch data is sent out, the patch server may encrypt the patch data with some encryption algorithm and then send the patch data to digital products. When a digital product receives a patch, it will perform decryption algorithm on the patch data to check correctness of the received patch data.
  • SMS messages after a patch data packet carried by an SMS message is received, the message is passed to the decryption module where CRC checking process and message decryption process are performed to check the correctness of the patch data packet.
  • the patch server shall re-send the patch data to the digital product.
  • patch retransmission can be based on a timer-based mechanism: The patch server has a timer for patch retransmission. After the patch server sends out a patch to a digital product, it will start the timer. If the patch server does not receive any corresponding reply message (e.g., patching status report) from the digital product when the timer times out, the patch server will re-send the patch data packets to the digital product.
  • reply message e.g., patching status report
  • the patch server may stop the retransmission for a while. It should be appreciated by those skilled in the art that other ways of timing the transmission and re-transmission of patches can readily be implemented in connection with the teaching of the present invention.
  • Patch Status Report is sent from a digital product to a patch server and contains the current patch status information of the digital product. If the digital product receives a patch without error, it will send Patch Status Report via a reverse SMS message to the patch server at the time:
  • Patch data 940 is preferably separated into several patch data packets, and one patch data packet can be carried by one message of the relay layer 820 .
  • one patch data packet may be carried by one SMS message.
  • the first “k” characters (where “k” is a pre-defined number that can be assigned from zero to any positive number) of the User Data in a patch SMS message can be set to a k-character Magic-Word by the patch server before patch delivery. Following the Magic-Word, a patch data packet is inserted into a SMS message.
  • a patch data packet 950 can be separated into packet overhead field 945 and payload data field 947 .
  • a design example of the packet overhead 945 may contain the following information:
  • the payload data 947 , 955 , 965 in the patch data packet 950 may contain the whole or one part of patch data 940 .
  • the patch data packet 950 may be encrypted by the patch server with some encryption algorithm before transmission.
  • the patch server may encrypt the software patch data by using static and/or dynamic keys: the former can be a CPU identifier, MAC layer address and other telecommunication service related parameters, such as directory number, ESN and TMSI temporary identifications; the later are changeable keys based on location or time or user's profile.
  • the digital product After receiving a message that may carry a patch data packet 950 , the digital product will check whether the message contains a real patch data packet. The digital product may also perform error detection and/or data decryption on the received message. After successfully receiving all the necessary patch data packets, the digital product will compose the corresponding patch data from the payload data 947 , 955 , 965 in the packets.
  • SMS messages when the digital product receives an SMS message, it will check whether the predetermined first k characters in the message are identical to the Magic-Word. If there is a mismatch, the SMS message will be treated as a regular SMS message, not a patch data packet.
  • the digital product will further try to decrypt the message data to check the correctness of the message. If the decryption process shows that the message data is correct, the message data will be treated as a patch data packet, and a buffer may be used to contain the data. Otherwise, the SMS message will be treated as a regular SMS message.
  • the digital product After successfully receiving all the necessary patch data packets based on the information items of the Patch Identifier, the Current-Patch-Number and the Last-Patch-Number in the received patch data packets, the digital product will compose the corresponding patch data from these packets.
  • the patch data 940 may include some of the following items, such as:
  • MIN Mobile Identification Number
  • IMSI International Mobile Station Identity
  • MAC Medium Access Control
  • NVM Non Volatile Memory
  • EEPROM Electrical Erasable Programmable Read-Only Memory
  • Address information of patch data which may be memory addresses, sector allocation information or other types of address information of FLASH(NVM/EEROM memory in digital product;
  • Patch data that can be used for updating some data area or data tables in FLASH memory, NVM, and/or EEPROM memory;
  • the digital product may preferably perform decryption process on the composed patch data when necessary. This is to enhance the security checking on patch data.
  • the patch server side should perform encryption on the patch data before separating them into patch data packets for transmission.
  • the patch program codes may be written in C/C++/Java/Assembler and other software programming languages, or executable machine codes of CPU/Microprocessor or DSP.
  • the patch data may include some interpretation information for the patch program codes. If the patch program codes can be interpreted based on the interpretation information. Some implementations may include a software module of interpreter to translate the received patch program from one format to another format. In some implementations, patch program can also interpreted or translated into CPU/DSP executable machine codes when CPU/DSP wants to use the patch program.
  • the patch program contains the software update information to be used as a substitute of a piece of the original program in the embedded software.
  • the patch program may be made to start from a Patch Start Address. Also, for example, and at the end of a patch program, there can be an instruction for jumping back to a predetermined place in the embedded software where the original obsolete/error code has been skipped, or the end of that block of the original obsolete/error code.
  • the patch data may also contains information for updating data area of FLASH memory, NVM, and/or EEPROM memory.
  • the patch data may contain a new data table for replacing an old data table in NVM memory of a digital product
  • the digital product may check if certain information items, for example, ESN, Manufacture Identifier, Product Model Number and Software Version Number, are identical to that stored in the digital product. If there is a mismatch, the digital product may discard the patch data (or treat those messages as regular SMS messages in the example of using SMS messages). If they are matched, the digital product may further check whether the received patch data have been programmed into the memory of the digital product. If not, the digital product will start to program the received patch data. Otherwise, the digital product may send a patch response message to the patch server, and finish the patching process.
  • certain information items for example, ESN, Manufacture Identifier, Product Model Number and Software Version Number
  • Patch programming involves writing patch data into the corresponding patch area in the FLASH memory, and/or writing new parameters into NVM/EEPROM memory. Patch programming is preferably performed when the digital product is idle (i.e., not being used by the user). Writing new parameters into NVM/EEPROM memory can be readily performed using some regular data overwriting process on NVM/EEPROM memory. However, writing data into FLASH memory, especially when the FLASH memory is being read by the digital product may require additional handling in some cases. In order to perform the patch programming on the on-the-fly digital products, a technique of programming FLASH within a RAM memory is described in accordance with one embodiment of the present invention.
  • the software routine for writing data into FLASH memory can be put into RAM memory.
  • the software routine for writing data into FLASH can be copied into RAM memory by a software routine, before FLASH programming.
  • Another example is that, when we compile the embedded software, we can instruct the compiler to assign the FLASH programming routine to be allocated into RAM memory, so that compiler automatically allocates the routine into the RAM memory.
  • the RAM memory can be the type of on-chip RAM/SRAM memory that is in the chip containing CPU/DSP core, or RAM memory outside the chip that contains the CPU/DSP.
  • the software routine for FLASH programming can be executed in the RAM memory.
  • the routine writes data byte into the corresponding FLASH address, reading the FLASH status value, and checking the correctness and completion of the data writing.
  • the task of the FLASH programming function is preferably set at the highest priority level, and also when it starts to run, it preferably first disables all CPU/DSP interrupts, so that while it is running, all the other software tasks and all CPU/DSP interrupts stop and wait.
  • the patch programming process may be divided into several sub-states, one exemplary of which is shown in FIG. 10.
  • the digital product Upon successfully receiving patch data, the digital product will write the patch data into the FLASH memory, NVM and/or EEPROM memory of the digital product.
  • the digital product shall write the data into the corresponding address of the FLASH memory, NVM, and/or EEPROM memory.
  • the digital product shall write the patch program code into the corresponding address of the FLASH memory.
  • the digital product may start to write patch identification information into the Patch-Control-Table 1020 or some kinds of patch database.
  • the patch identification information may include information of patch address, Patch Identifier, and software section identifier, etc.
  • the digital product will go to the next step of the Section Status Programming 1030 .
  • the Update-Processing-Routine of a software section may contain either one or two JUMP instructions, or a Patch-Checking-Routine that may check a patch flag.
  • the patch program has been programmed successfully, if the Update-Processing-Routine is using patch flags, the corresponding patch flag will be changed to reflect the patch existence; if the Update-Processing-Routine is using JUMP instructions, the corresponding JUMP offset shall be changed, so that CPU/DSP instruction pointer will JUMP to the corresponding patch start address.
  • Programming the key JUMP offset or patch flag change in the Update-Processing-Routines should preferably be at the last, so that the digital product will not malfunction if patch programming is stopped in any time.
  • the digital product shall first change the data bytes in the Patch-Control-Block to the instructions of the Patch-Correction-Routine of Section-A at the Label_P_A. Then, change the Jump to Label_O_A to Jump to Label_P_A by modifying the offset of the JUMP instruction. In this way, switching to use the patch program instead of using the original code will be performed only when all the programming processes are completed.
  • the digital product When patch programming is successfully completed, the digital product will perform some post processes, such as sending patch status message to the patch server, and/or performing system reset if necessary.
  • the digital product may perform the post-process shown in the following:
  • the digital product will send a Patch Status Report via a SMS message to the patch server.
  • the patch status report contains the terminal information and the current patching status;
  • a patch server 1100 preferably has a patch database 1130 , a patch generator 1110 and a patch transmission controller 1120 .
  • the patch database 1130 stores patch information in connection with each of the digital products. It may also store the following items:
  • (m) Information of how to interpret patch program codes For example, the programming language information (C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor or-DSP) that is used in the patch program codes;
  • the programming language information C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor or-DSP
  • the patch generator 1110 When the patch server is to deliver a patch to a digital product, the patch generator 1110 generates a corresponding patch data based on the data stored in the Patch Database 1130 .
  • the patch generator 1110 may further separate the patch data into several sections and put each section into a patch data packet for transmission when the patch data can not be carried by a single patch data packet.
  • the patch transmission controller 1120 is to reliably deliver the patch data packets to the digital product.
  • One exemplary design is to include a timer for patch retransmission and its design details are shown in the following.
  • the patch server After the patch server sends out a patch to a digital product, it starts a timer. If the patch server does not receive any corresponding reply message (e.g., patching status report) from the digital product when the timer times out, the patch server will re-send the patch data packets to the digital product. In some special case where the patch server does not receive any reply messages from the digital product when the patch server has performed patch retransmission for a predetermined number of times, the patch server may suspend the retransmission for a while, or just suspend the timer permanently and record the lack of reply in a log file.
  • any corresponding reply message e.g., patching status report
  • the patch server Upon receiving a reply message (e.g., patching status report) from a digital product, the patch server will stop the timer of patch retransmission, and update the patching status of the digital product in the patch database.
  • a reply message e.g., patching status report
  • the digital products with embedded software are cellular phones 1250 .
  • the patch server hardware is implemented by a computer 1200 and a wireless modem 1210 that is capable of receiving SMS messages.
  • the computer generates patch data and corresponding patch SMS Messages and then sends the messages through the Internet 1205 to a message server 1240 of the service provider that provides the wireless services to digital products 1250 .
  • the message delivery to the message server can be based on regular email transmission method using SMTP (Simple Mail Transfer Protocol) and TCP/IP.
  • the message server 1240 of the service provider then transfers the patch SMS messages as regular SMS messages 1225 to base stations 1220 .
  • the base stations 1220 deliver the messages 1225 to corresponding cellular phones 1250 through some air messages, such as, the Data Burst Messages that carrying the SMS messages 1225 .
  • the wireless modem 1210 of the patch server is attached to the computer 1200 of the patch server.
  • the wireless modem is to receive reply messages 1215 from digital products 1250 and transfer the reply messages 1215 to the computer 1200 .
  • the computer 1200 will confirm the patching status based on the information carried by the reply messages 1215 .
  • ARQ Automatic Repeat request.
  • CPU Central Processing Unit
  • EEPROM Electrically Erasable Programmable Read-Only Memory.
  • ESN Electronic Serial Number
  • FLASH A type of constantly-powered nonvolatile memory that can be erased and reprogrammed in units of memory called blocks.
  • MAC Media Access Control
  • MCU Micro Processor Unit.
  • Patch data Data of a total patch transmitted from patch server to a digital product.
  • Patch data packet Unit of patch data transmission. One patch can be divided and transmitted with several patch data packets. One patch data packet may be carried by one message.
  • Patch program Software program used for software update, which is composed by a one or multiple CPU/DSP instructions, for updating one or multiple program codes of the existing embedded software.
  • Patch programming Process to write patch data into memory.
  • Patch server One or more server for transmitting patch data to digital products that support patching.
  • PCMCIA Personal Computer Memory Card International Association.
  • PDA Personal Digital Assistant
  • RAM Random Access Memory
  • ROM Read-Only Memory
  • SMS Short Message Service

Abstract

A method and system for an embedded software update system, which helps manufactures or vendors avoid costly product recall activities in the event their digital products have field software errors (“bugs”) or hardware problems. One aspect of the present invention is directed to an error correction system, which remotely corrects these software errors and minimizes influences of hardware problems. Another aspect of the present invention is directed to a software updating system, which is capable of updating software modules in the digital products by use of software patches. The software patch system of the present invention facilitates manufactures' transmitting software patches to the “on-the-fly” digital products to fix software errors and minimize influences of hardware problems. The software patch may also contain new parameters for updating some data area in NVM (Non Volatile Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) memory of a digital product, which is quite useful when service providers or manufactures want to modify some service features or product features.

Description

    RELATED APPLICATION
  • The present application claims priority from provisional applications, Application No. 60/305,704, entitled “Embedded Software Patch System”, filed on Jul. 16, 2001, and No. 60/354,915, entitled “Embedded Software Patch System”, filed Feb. 8, 2002. The prior applications are hereby incorporated into this application by reference as if fully set forth herein.[0001]
  • FIELD OF THE INVENTION
  • The present invention is related to digital electronics products with embedded software operating systems, and more particularly related to a system and method of updating, correcting, modifying or upgrading the embedded software in such digital products before or after the products have been released to market by use of software patches. [0002]
  • ART BACKGROUND
  • Progress and innovation in digital technology have changed how people live, work or play. The miniaturization of computers, cellular phones, personal digital assistances (“PDA”), simple pagers, PCMCIA wireless modem cards, or other wireless modem cards using public standard or proprietary I/O connectors offer prime examples of how technology makes themselves more and more indispensable. Together, they help people work more efficiently and productive, stay connected with loved ones and have more access to information and entertainment. [0003]
  • For the digital products, such as cellular phones, PDAs and set-top boxes, their digital technology is based on large-scale embedded software system. Embedded software systems in those digital products normally have more than tens of thousands of lines in their source codes. And inevitably, software bugs exist in these embedded software systems that may cause malfunctions in the digital products. Some bugs that are so fatal may even force manufactures to recall their digital products. Due to the cost involved in a product recall, some manufactures have decided to avoid certain market space altogether, or at least until production quality and reliability improve. Of course, the resulting public-relations (“PR”) nightmare and potential loss of consumer confidence also play a significant role in their decisions. [0004]
  • Despite improvement in various stages of digital product development and manufacturing, defects are invariably part of the process. Further, as digital products become more advanced and complex, they are more vulnerable to bugs or defects in software, hardware, material or manufacturing. Many preventive measures can be implemented to minimize or detect defects before the products are released to the end users. However, once the digital products are released to the field, efforts to fix bugs or defects may become a potential recall nightmare. For defects occurring in limited lots, the end users may be asked to return the products for service or replacement. The end users may tolerate such inconvenience if it rarely occurs and if the vendors provide loan units for the time being. [0005]
  • For defects in massive scales involving many lots, the end users may still be asked to bring the digital products back for service or replacement. However, in such massive scales, the vendors may not even have enough resources to timely repair or replace the defective units. While loaners can be offered to the end users for the duration, the vendors must first have that many units in stock for temporary usage by the end users. Such temporary usage presents a loss of revenue opportunity for those units in stock, since the vendors cannot put them in their ordinary and profitable use. [0006]
  • Additionally, even after a digital product has been released to the field, manufactures will sometimes go through improvement, enhancement or upgrades, which may require a change in the embedded software. For major changes, manufactures may generate a new round of product release, which may be costly but necessary. However, for minor changes, they are confronted with the choice of having to go through a premature product release, or holding off until there are many minor changes to be made. A premature and untimely product release drains the company's resources, while holding off risks antagonizing the end users who might complain about the minor inconvenience. [0007]
  • Therefore, it is desirable to minimize product recall for those digital products based on embedded software systems. [0008]
  • It is also desirable to minimize intermediary product releases for those digital products. [0009]
  • It is also desirable to be able to fix, repair, update, upgrade or enhance those digital products with reduced rounds of product release. [0010]
  • SUMMARY OF THE PRESENT INVENTION
  • The present invention is directed to a method and system for an embedded software update system, which helps manufactures or vendors avoid costly product recall activities in the event their digital products have field software errors (“bugs”) or hardware problems. One aspect of the present invention is directed to an error correction system, which remotely corrects these software errors and minimizes influences of hardware problems. Another aspect of the present invention is directed to a software updating system, which is capable of updating software modules in the digital products by use of software patches. The software patch system of the present invention facilitates manufactures' transmitting software patches to the “on-the-fly” digital products to fix software errors and minimize influences of hardware problems. The software patch may also contain new parameters for updating some data area in NVM (Non Volatile Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) memory of a digital product, which is quite useful when service providers or manufactures want to modify some service features or product features. [0011]
  • The software update system of the present invention has advantages over the conventional software upgrade/updating systems. The software update system only needs comparatively small memory space to save software patches for bug fixes, or for key modules update. This is particularly advantageous to the small, portable digital products, whereas conventional software update/upgrade systems require large memory space to contain the whole application data of a new software version received for upgrade. [0012]
  • The proposed update system requires only limited network resources for patch data transmission, since each patch size is normally very small, whereas conventional software upgrade/updating systems require much more bandwidth or network resources for transmitting the big blocks of application data for software version updating. [0013]
  • Due to the ever-increasing pace for technology advancement in digital products, new standards, specifications and service features are being upgraded much sooner than before. Such upgrade would normally require new digital hardware to support the new advanced features. Another aspect of the software patch system of the present invention makes it simpler and more economic to do upgrades through software, thus minimizing the need to do frequent hardware changes. Additionally, the software update system of the present invention can be added to fix problems hidden in the operating system that support application downloading, such as Java Virtual Machines, or BREW (“Binary Runtime Environment for Wireless”). [0014]
  • A further aspect of the present invention separates embedded software intended for digital products into multiple sections and only updates the necessary sections. This approach is advantageous over the conventional approach of having to update the total system, since it will optimize usage of resources for network transmission. [0015]
  • Hardware designs for CPU, MCU or DSP processors may also include the mechanism of checking update software in accordance with the present invention before running a software section. CPU/MCU/DSP can be designed in such a way that it is capable of automatically checking software update information while running the embedded software, and automatically jumping to the updated code address when software update is available.[0016]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 illustrates a simplified diagram of a conventional microprocessor system in a digital product. [0017]
  • FIG. 2 illustrates a simplified diagram of a conventional DSP system in a digital product. [0018]
  • FIG. 3 illustrates an exemplary software architecture of a patch system in a digital product. [0019]
  • FIG. 4 illustrates a simplified diagram of an exemplary software sectioning and Update-Processing-Routine allocation of the original embedded software in a digital product. [0020]
  • FIG. 5 illustrates an exemplary design and implementation of software update based on software sections in accordance with one embodiment of the present invention. [0021]
  • FIG. 6 illustrates an exemplary design and implementation of software update using JUMP to patch program through Patch Control Routine in accordance with another embodiment of the present invention. [0022]
  • FIG. 7 illustrates an exemplary design and implementation of software update using JUMP to patch program through Patch-Control-Block in accordance with yet another embodiment of the present invention. [0023]
  • FIG. 8 illustrates exemplary communication layers for patch transmission in accordance with one embodiment of the present invention. [0024]
  • FIG. 9 illustrates an exemplary format of the patch data and patch data packets in accordance with one embodiment of the present invention. [0025]
  • FIG. 10 illustrates an exemplary state diagram of patch programming in accordance with the present invention. [0026]
  • FIG. 11 illustrates an exemplary architecture for a patch server in accordance with the present invention. [0027]
  • FIG. 12 illustrates an exemplary design of patch transmission using SMS messages.[0028]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • 1. A method and system for an embedded software update system for digital products is disclosed. In the following detailed description, numerous specific details are set forth to provide a full understanding of the present invention. It will be obvious, however, to one ordinarily skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and techniques have not been shown in detail so as to avoid unnecessarily obscuring the present invention. Additionally, headings are used throughout the description as a matter of convenience and for ease of references only. It should note that what is meant by “embedded software” herein is the software program written in C/C++/Java/Assembler, or other software programming languages, as well as any executable machine code of CPU/Microprocessor or DSP (“Digital Signal Processor”), for operating the digital product. [0029]
  • 2. System Architecture [0030]
  • The software update system of the present invention will first be described from a system architecture perspective. Reference is to FIG. 1, where a simplified conventional microprocessor system is illustrated. A microprocessor system in a typical digital product may comprise a CPU (“Central Processing Unit”) [0031] 100, RAM (“Random Access Memory”) 110, FLASH/ROM memory 115, and some peripheral devices 120. A software program resides in FLASH/ROM memory 115, and is read by CPU 100 during execution. FLASH is a type of constantly-powered nonvolatile memory that can be erased and reprogrammed in units of memory called blocks. ROM stands for “Read Only Memory”.
  • Similar to the microprocessor system of FIG. 1, a DSP (“Digital Signal Processor”) system in a conventional digital product may comprise a [0032] DSP core 230, RAM 240, FLASH/ROM memory 245, and some peripheral devices 250, as shown in FIG. 2. A software program resides in FLASH/ROM memory 45, and is read by DSP core 30 during execution.
  • A typical digital product, e.g. a digital cellular phone, normally contains a microprocessor system, and may also contain a DSP system. The software update system of the present invention can be configured or adapted to reside in the embedded software of the microprocessor system and/or the DSP system of a digital product. The software update system in accordance with one embodiment of the present invention, when it is implemented in a digital product, may be structured to comprise a [0033] software module 302 for patch receiving, a software module 304 for patch programming, a patch database 310, and a patch correction handler 320. A simplified drawing of exemplary software architecture in a digital product is illustrated in FIG. 3.
  • Referring to FIG. 3, the [0034] patch receiving module 302 is for receiving software patch data. It may include mechanism for data receiving either from wired link or wireless link, mechanism for data error detection and/or mechanism for data security check. After the patch receiving module 320 correctly receives patch data, it will pass the patch data to the patch programming module 304. The patch programming module 304 is for writing patch data into the patch database 310. It may include program for writing data into FLASH, NVM, EEPROM memory, and/or other types of memory. The patch database 310 is a memory area in FLASH memory and/or other types of memory, which is for containing patch data. The patch correction handler 320 is for handling process for using patch program instead of using original error program. It may include mechanism for jumping to the patch program area from the original software code area that has errors.
  • 3. Software Update Technology [0035]
  • 3.1 Separating Software into Software Sections [0036]
  • To take advantage of the software update system in accordance with one embodiment of the present invention, before an embedded software is implemented into a digital product, a plurality of locations in the embedded software are determined at first, so that software update can be started later on from these locations. The locations can be expressed by L[0037] 1, L2, . . . , Ln, in the order from small address to large address, where n is the total number of the locations.
  • The part of the embedded software between two successive locations, such as the part between L[0038] 1 and L2, is treated as a software section, S1, of the embedded software. In this way, the embedded software is effectively “separated” into a plurality of software sections, S1, S2, . . . , Sn, in the order from small address to large address, where n is the total number of the software sections. Note that the last section Sn is started from Ln and ended at the end of the embedded software.
  • As is with any software, it may be necessary to update or modify an embedded software from time to time. When it is necessary to update certain program codes, which happen to be in a software section, for example S[0039] 2, updating can be achieved by directing execution of the embedded software in section S2, beginning at location L2, to a software patch. The software patch is then used for execution instead of using the program codes in S2. In some cases, it may be more convenient to start updating from other locations, for example L1, directing execution of the embedded software to a software patch from L1, even if the program codes that need to be updated exist in S2. In other words, it may be preferable in certain situations to direct the execution of the embedded software to a software patch earlier than the intended section.
  • Size of a software section may not be a fixed number, and can be variable from one section to another, according to the different needs of different sections. Determining locations of L[0040] 1, L2, . . . , Ln and partitioning embedded software into software sections S1, S2, . . . Sn, can be based on boundaries of software functions, number of lines of program lines, types of CPU/DSP instructions, software design schemes, hardware design schemes, software modification requirements, or error correction requirements, as can be appreciated by those skilled in the art.
  • At each location of L[0041] 1, L2, . . . , Ln, an Update-Processing-Routine is allocated for handling software update. Referring to FIG. 4, a simplified drawing of exemplary software section separation and the Update-Processing-Routine allocation is illustrated. To prepare the embedded software 400, at the beginning of every section 401, 402, 403 of the software 400, an Update-Processing- Routine 404, 405, 406 is allocated in the section.
  • An Update-Processing-Routine is a software routine that handles software update processing. If there is a software patch for updating certain program codes in a software section, for example S[0042] 2, the Update-Processing-Routine at location L2 will direct the CPU/DSP execution to the start address of software patch, and use the software patch for execution. This process may involve a Patch-Control-Routine (to be further described in connection with FIG. 6) before jumping to the start address of the patch. If there is no patch for updating a software section S2, the Update-Processing-Routine at location L2 will direct the CPU/DSP execution to use the existing S2 program; that is, the CPU/DSP execution will continue through this routine without affecting normal execution.
  • The content of the Update-Processing-Routines can be different from one location to another location, or they can be designed in the same way. [0043]
  • 3.2 Software Section-Based Software Updating [0044]
  • One exemplary design and implementation of software update based on software sections is shown in FIG. 5. When there exists a software patch for updating [0045] software section K 510, the Update-Processing-Routine 505 of software section K, during execution of the software, directs CPU/DSP execution to jump 506 to the start address 502 of patch program 507 for updating software section K. In this way, the patch program 507 will be used for execution instead of original program in section K. After executing the patch program 507, the CPU/DSP instruction pointer is directed to jump 508 to a predetermined place in the original software, which typically is the place right after the program codes that need to be updated in software section 510. As such, any bugs in software section 510 is bypassed by the execution of patch program 507.
  • Another exemplary design and implementation of software update based on software sections is shown in FIG. 6. When there exists a software patch for updating [0046] software section K 610, the Update-Processing-Routine 605 of software section K directs CPU/DSP execution to jump 606 to a Patch-Control-Routine 609. The Patch-Control-Routine 609 is a software routine that performs general patch execution control, such as preparation process for patch program execution and/or determining the start address 602 of patch program 607 based on current patching status and system parameters, for example, a Patch-Control-Table (to be described below). The Patch-Control-Routine 609 directs CPU/DSP execution to jump 611 to the start address 602 of patch program 607 of updating software section K610. In this way, the patch program 607 will be used for execution instead of original program in section K 610. After executing the patch program, the CPU/DSP instruction pointer is directed to jump 608 to a predetermined place in the original software, which typically is the place right after the program codes that need to be updated.
  • The aforementioned Patch-Control-Table is a list of information that can be used for controlling patch receiving, patch programming and patch signaling process. This list of information may include a list of identifiers of the patches that have been programmed into the digital product, and/or a list of the corresponding identifiers of the software sections that are updated by those patches. It may also include information of a patch database, such as the number of bytes in the patch program area that can be used for storing new patches. It may include other information for controlling patch receiving, patch programming, and patch signaling processes. The Patch-Control-Table may reside in the Patch-Control-Routine or any other area in the [0047] digital product memory 600.
  • As can be appreciated by those skilled in the art, there may be some advantages in using an intermediate step, such as the Patch-Control-[0048] Routine 609, for directing CPU/DSP instruction pointer to jump to the start address 602 of patch program 607 as shown FIG. 6, instead of directly jumping to the start address 502 of patch program 507 as shown in FIG. 5. If a new patch is necessary for the software section that already has a patch for updating, the section identifier of that existing patch can be deleted (e.g., set to zero) at a Patch-Control-Table that is handled by the Patch-Control-Routine 609, while the new patch can be programmed into the Patch-Control-Table with the original section identifier but with different Patch Identifier and/or patch start address. In this way, the Patch-Control-Routine 609 will be able to determine the corresponding new start address of patch program from the Patch-Control-Table, and direct CPU/DSP instruction pointer to jump to the new patch program.
  • Memory area for containing patch program codes can be allocated at a place outside of the embedded software code area. It can also be allocated at a place inside of the embedded software code area. For example, a memory area in FLASH memory can be reserved as a data area or a data buffer filled with bytes of hexadecimal number “0×FF” in a software program, and this memory can be allocated in the embedded software code area and can be used to contain patch program codes by changing/overwriting these bytes of hexadecimal number “0×FF” to patch program codes. [0049]
  • 3.3 Designing Update-Processing-Routine [0050]
  • The methodology in connection with the design and implementation of the Update-Processing-Routines will now be discussed in the following sections. [0051]
  • 3.3.1 Designing Update-Processing-Routine using Patch-Checking-Routine [0052]
  • One exemplary design and implementation of the Update-Processing-Routine is to use patch flags or patch checking routines. In this way, each software section will have a corresponding patch flag and/or a patch checking routine to show whether there is a patch in the patch area for updating this section. [0053]
  • When there is no corresponding patch programmed in the patch area for updating, the Update-Processing-Routine can be shown as follows using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: [0054]
     (At the beginning of a software section.)
     Patch-Checking-Routine
     If (the Patch-Checking-Routine declares that there is a patch for
    updating this section)
    {
     Patch-Correction-Routine
    }
    ORIGINAL SECTION CODE.
  • As shown, a Patch-Checking-Routine is used in the above program. The Patch-Checking-Routine is a software routine to check whether there is a patch in the patch area for updating this section of the embedded software. It may check some patch flags or some system parameters, or use some software functions to detect whether there is a patch for updating this software section. [0055]
  • The Patch-Correction-Routine is a software routine to direct CPU/Microprocessor or DSP to use patch program instead of using original section code. The Patch-Correction-Routine may include a pre-process when it is necessary for making preparation for jumping to the patch program, such as saving some parameters or performing some parameter and function setup. The Patch-Correction-Routine also includes some instructions for directing CPU/Microprocessor or DSP instruction pointer to the start address of patch program as shown in FIG. 5, or to a Patch-Control-Routine as shown in FIG. 6. The benefits of using the Patch-Control-Routine have been discussed in Section 3.2. [0056]
  • 3.3.2 Designing Update-Processing-Routine using Jump/Branch Instructions [0057]
  • Another exemplary design and implementation of the Update-Processing-Routine is to use the JUMP (or BRANCH in ARM® parlance) command or similar CPU/DSP instructions. It should be noted that JUMP, a well-known concept in computer programming, is used as a generic term in this application, which means directing execution of CPU/DSP from one location to another location. [0058]
  • When there is no corresponding patch programmed in the patch area for updating the software section, the Update-Processing-Routine can be shown as follows, using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: [0059]
    (At the beginning of a software section, in case of no patch
    programmed)
    Jump to Label_O
    Label_P: Patch-Correction-Routine
    Label_O: ORIGINAL SECTION CODE
  • When there is no corresponding patch programmed in the patch area for updating the software section, the first instruction of the Update-Processing-Routine is to JUMP to Label_O, which is the start address of the original code of the section. [0060]
  • When there is a corresponding patch programmed in patch area for updating the software section, the first instruction of the Update-Processing-Routine will be changed, so that CPU/DSP instruction pointer will JUMP to Label_P instead of Label_O. The Update-Processing-Routine can be shown as follows using program description language, which can be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: [0061]
    (At the beginning of a software section, in case that there is a
    patch for updating this section)
    Jump to Label_P
    Label_P: Patch-Correction-Routine
    Label_O: ORIGINAL SOFTWARE CODE
  • In this case, the CPU/Microprocessor or DSP instruction pointer will be directed to the Patch-Correction-Routine. The design schemes of the Patch-Correction-Routine have been discussed in the previous section 3.3.1. It should be noted that in FLASH memory, changing a value from “1” to “0” is allowed, while changing from “0” to “1” is not allowed. Therefore, by setting the initial jump offset as hexadecimal “0×FFF” allows decreasing the offset during patch programming. [0062]
  • 3.3.3 Designing Update-Processing-Routine using Direct Jump/Branch Instructions [0063]
  • The following description illustrates another exemplary design and implementation of the Update-Processing-Routine in accordance with one embodiment of the present invention. When there is no corresponding patch programmed in the patch area for updating the section, the Update-Processing-Routine can be shown as follows using program description language, which can readily be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: [0064]
    (At the beginning of a software section in case of no patch
    programmed)
    Jump to Label_O
    Label_O: ORIGINAL SECTION CODE
  • When there is no corresponding patch programmed in the patch area for updating the software section, the first and the only instruction of the Update-Processing-Routine is to JUMP to Label_O, which is the start address of the original code of the section. [0065]
  • When there is a corresponding patch programmed in the patch area for updating the software section, the first and the only instruction of the Update-Processing-Routine will be changed, so that the CPU/DSP execution will be directed to the start address of a Patch-Correction-Routine or the start address of patch program. The Update-Processing-Routine can be shown as follows using program description language, which can be translated into C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP: [0066]
    (At the beginning of a software section, in case that there is a
    patch for updating this section)
      Jump to Patch-Correction-Routine (or Patch Start Address)
    Label_O:  ORIGINAL SECTION CODE
  • The design schemes of the Patch-Correction-Routine have been discussed in the previous section 3.3.1. [0067]
  • The following description illustrates an example of using ARMS (Advanced RISC Machines) CPU assembly language, especially, for the ARM mode that uses 32-bit instruction set. [0068]
    (At the beginning of a software section, in case of no patch
    programmed)
    B  Label_O
    Label_O:    ORIGINAL SECTION CODE
  • In this example, the branch instruction “B” of ARM CPU is used as the Update-Processing-Routine. Because it jumps to the next line, its offset becomes “0×FFFFFF”. Because a bit in FLASH memory can be changed from “1” to “0” during FLASH programming, this offset value “0×FFFFFF” can be easily changed to any other 24-bit values in FLASH programming process. [0069]
  • After a patch for updating this section is received, the patch program is written into patch program area. The “B” instruction offset will be changed from “0×FFFFFF”, corresponding to jumping to Label_O, to an offset value corresponding to jumping to the start address of patch program. [0070]
    (At the beginning of a software section, in case that there is a
    patch for updating this section)
    B  Patch_Start_Address
    Label_O: ORIGINAL SECTION CODE
  • 3.4 Software Updating based on Patch-Operation-Area [0071]
  • This section introduces techniques to allocate or reserve Patch-Operation-Areas for patch operation in a software program. A Patch-Operation-Area is defined as a memory area or a block of data bytes that can be used for patch operation. It can be, for example, the memory area for containing the Update-Processing-Routines described in the above sections, the memory area for storing the JUMP commands for directing CPU/DSP instruction pointer to the start address of a patch program, the memory area for storing the Patch-Control-Routines, and the memory area for containing patch program. [0072]
  • Similar to the section 3.1, a group of locations L[0073] 1, L2, . . . , Ln, in the order from small address to large address, should be determined at first. Accordingly, the embedded software is effectively “separated” into a plurality of software sections, S1, S2, . . . , Sn. A Patch-Operation-Area is allocated or reserved at some or most, if not every, location of L1, L2, . . . , Ln. Some Patch-Operation-Areas can also be inserted or reserved at the end of the embedded software, or at a location of memory area outside of the embedded software code area.
  • Some implementations may also directly reserve memory areas in the original embedded software, and use these memory areas as the Patch-Operation-Areas for updating the embedded software. In this case, the above term “allocating” is more akin to “reserving” memory areas by some instructions of the embedded software. [0074]
  • When a Patch-Operation-Area is defined and used as an Update-Processing-Routine, it can be placed in each software section of the embedded software as shown in the above sections. [0075]
  • In the following, an example is shown of allocating/reserving the Patch-Operation-Areas into assembler program. In an assembler program, normally we can declare certain data areas in assembler instructions and use the data areas to contain certain constant parameters or a block of data. Based on this feature, we can declare certain data areas in software program and use the data area especially for software patch operation. When FLASH memory is used in digital products to contain software program, certain data areas can also be declared as being filled with “0×FF” hexadecimal numbers. As such, later on, patching process can easily change these “0×FF” hexadecimal numbers into patch program codes, such as the program codes of the Patch-Correction-Routines, the program codes of the Patch-Control-Routines, or the program codes for updating a software section or fixing an error. This is based on the fact that content in a conventional FLASH memory can only be changed from “1” to “0”, but cannot be changed-from “0” to “1”. We can also initially define certain program codes in the Patch-Operation-Area especially for patch operation. [0076]
  • When the CPU runs to a software section that has a patch in the patch program area for updating this section, the CPU instruction pointer should be directed to the place where the patch program starts, such as the [0077] patch start address 502 and 602 of FIG. 5 and FIG. 6, respectively. However, jump/branch assembler codes typically have their maximum jump range. For example, when an ARM CPU is in the THUMB mode, the maximum branch range of the branch assemble code B is only ±2048 bytes. If the CPU instruction pointer cannot be shifted to the place of the patch start address with one jump/branch assembler code, multiple jump/branch codes can be used for long jumps. For example, when the ARM CPU is in the THUMB mode, we can use the Branch assemble code “B” and the Long Branch With Link assemble code “BL” for a jump/branch longer than ±2048 bytes. And we need to reserve the Patch-Operation-Area for these multiple jump/branch codes. In the following, we describe a technique to save memory space when allocating the Patch-Operation-Area for these jump/branch codes.
  • First, we insert a jump/branch command into every software section. For example, when the ARM CPU is in the THUMB mode, we insert the jump/branch assemble code “B” that has maximum branch range ±2048 bytes. We set offset of this jump/branch command so that it jumps to the next command. Therefore, the result of CPU operation is the same as the original code without this jump/branch command. This scheme has been shown in Section 3.3.3. [0078]
  • A Patch-Operation-Area may contain an area for a Patch-Control-Block. A Patch-Control-Block functions as the Patch-Control-Routine and may contain the secondary jump/branch commands. When a FLASH memory is used, the Patch-Control-Block can be declared as being filled with “0×FF” hexadecimal numbers. As such, FLASH programming of the patching process can easily change these “0×FF” hexadecimal numbers into any program code, such as secondary jump/branch code. Multiple software sections may share one Patch-Control-Block. [0079]
  • FIG. 7 shows how an exemplary Patch-Control-Block handles the jump to patch program area. A [0080] short jump 706 takes the execution from software section 710 to Patch-Control-Block 709, which works as a Patch-Control-Routine. A second jump 711 takes the execution to patch start address 702 of patch program 707. Upon execution of patch program 707, it jumps back to end of the software section 710.
  • The following example program written with software description language shows a Patch-Control-Block is shared by four software sections, Section-A, Section-B, Section-C, and Section-D. In this example, the Patch-Operation-Area of Section-A is defined as an Update-Processing-Routine “Jump to Label_O_A”; the Patch-Operation-Area of Section-B is defined as an Update-Processing-Routine “Jump to Label_O_B”; the Patch-Operation-Area of Section-C is defined as a data block area of N bytes being filled with hexadecimal 0×FF, which is used as a Patch-Control-Block and an Update-Processing-Routine “Jump to Label_O_C”; the Patch-Operation-Area of Section-C is defined as an Update-Processing-Routine “Jump to Label_O_D”. [0081]
    (At the beginning of Section-A, when there are no patches for updating
    Section-A.
    Jump to Label_O_A
    Label_O_A: ORIGINAL SECTION-A CODE
    (At the beginning of Section-B, when there are no patches for updating
    Section-B)
    Jump to Label_O_B
    Label_O_B: ORIGINAL SECTION-B CODE
    (At the beginning of Section-C, when there are no patches for updating
    Section-C)
    Jump to Label_O_C
    Declare a data block area of N bytes being filled with hexadecimal
    0xFF, which is used as a Patch-Control-Block.
    (0xFF, 0xFF, ..., 0xFF)
    Label_O_C: ORIGINAL SECTION-C CODE
    (At the beginning of Section-D, when there are no patches for updating
    Section-D
    Jump to Label_O_D
    Label_O_D: ORIGINAL SECTION-D CODE
  • Upon receiving a software patch, the patching process starts FLASH programming process to change the offset of the jump/branch command in the corresponding software section, and also change some bytes in the corresponding Patch-Control-Block from “0×FF” into the secondary j ump/branch command, or some DSP/CPU instruction code working as the Patch-Correction-Routine that has been discussed in Section 3.3.1. For example, upon receiving a patch for updating Section-A, the first several bytes in the Patch-Control-Block will be changed to the instructions of the Patch-Correction-Routine of Section-A. And upon receiving a patch for updating Section-D, the next several bytes in the Patch-Control-Block will be changed to the instructions of the Patch-Correction-Routine of Section-D. These Patch-Correction-Routines will direct CPU/DSP instruction pointer to the start address of a patch program. [0082]
    (At the beginning of Section-A, when there is a patch for updating
    Section-A.
    Jump to Label_P_A
    Label_O_A: ORIGINAL SECTION-A CODE
    (At the beginning of Section-B, when there are no patches for updating
    Section-B)
    Jump to Label_O_B
    Label_O_B: ORIGINAL SECTION-B CODE
    (At the beginning of Section-C, when there are no patches for updating
    Section-C)
    Jump to Label_O_C
    Data block area of N bytes, which is used as Patch-Control-Block
      (
    Label_P_A: Patch-Correction-Routine of Section-A
    Label_P_D: Patch-Correction-Routine of Section-D
    Other remaining bytes 0xFF, 0xFF, ..., 0xFF
      )
    Label_O_C: ORIGINAL SECTION-C CODE
    (At the beginning of Section-D, when there is patch for updating
    Section-D
    Jump to Label_P_D
    Label_O_D: ORIGINAL SECTION-D CODEL
  • In the following, we will introduce a technique to reduce the size of the Patch-Control-Block. In some cases where it is important to save FLASH memory or there are some restrictions on using memory space, it becomes necessary to reduce the FLASH memory usage as much as possible. One way to reduce FLASH memory usage for patch operation is to reduce the size of the Patch-Control-Blocks. In the above example, the Patch-Control-Block is shared by four software sections, Section-A, Section-B, Section-C and Section-D. However, if the probability that all these four sections have their corresponding patches simultaneously is very low, then the size of a Patch-Control-Block can be designed in such a way that it only has the space for handling three software sections or just two software sections. [0083]
  • [0084] 3.5 Compilation Upon Allocating Patch Operation Routines
  • After allocating the Update-Processing-Routines or the Patch-Operation-Areas in the original embedded software, some complications may occur when we compile the software. [0085]
  • In the following, we introduce a technique to avoid program word alignment problem in compilation. As stated in the above, for each software section, an Update-Processing-Routine can be allocated for checking whether there is a patch in the patch area for updating this section. We can also allocate Patch-Control-Blocks in program code by declaring multiple blocks of memory space between assembler codes as parameter data area that can be used as the Patch-Operation-Area to contain the secondary jump/branch commands. However, the code insertion may cause some complications in compilation. For example, during program compilation, some CPUs may request program word alignment. For example, when using an ARM CPU in the THUMB mode, assembler code LDR may need an offset address that can be divided by 4 bytes. Therefore, when we insert the jump/branch commands and Patch-Control-Blocks for patch operation, we need to adjust the bytes we insert so that the offset address of LDR can be divided by 4 bytes. That is, by adjusting the bytes inserted for patch operation, we can avoid program word alignment requirements in compilation. [0086]
  • In the following, we introduce a technique to avoid offset out of range issue in compilation. For example, when using the ARM CPU in the THUM mode, assembler code LDR can be used to load some data at offset less than 2048 bytes from the LDR code. If some codes being inserted for patch operation between the LDR and the offset address contain some data to need to be loaded, the offset value of LDR code can be larger than 2048 bytes, causing compilation problems. One technique to avoid such kind of problems is to move the data that need to be loaded to a place that is closer to some assembly code (such as LDR code) so that the offset value can be less than 2048 bytes. That is, by moving or copying the data that need to be loaded by some assembler codes. (such as LDR) to places that are closer to the assembler codes (such as LDR) that load the data, we can avoid “out of range “problems in compilation for some assembler codes. [0087]
  • Similarly, after allocating some patch process related bytes into the embedded software, some original program code, such as B command of the ARM assembler code, may become out of range, i.e., destination becomes too far for B to jump to. Inserting another jump/branch command between the B and the destination can prevent the “out of range” problem in compilation. That is, jumping twice for a long jump. [0088]
  • 3.6 Update Patch Program With New Patches [0089]
  • After a digital product successfully programs a received patch, it will start to use the instead of executing the corresponding original code in the software section. However, even the programmed patch program may still have some problems sometimes, or the patch program is necessary to be updated after a period of time. A technique of updating the patch program is now described as follows. [0090]
  • In order to update a patch that has been programmed in the digital product, a new patch can be made to update the patch. To support this feature, when a patch is being designed, some code space for patch operations of new patches in the future should be reserved; or similar to updating a software section described in the previous sections, an Update-Processing-Routine can be inserted to the patch program. Therefore, when CPU/DSP runs to a software section of an old patch that has a new patch for updating, the CPU/DSP pointer can be directed to use the new patch program instead of using old patch program, by the Update-Processing-Routine. [0091]
  • All the techniques described in this application for designing a patch for updating a software section of a software program can be used for designing a patch for updating another existing patch. [0092]
  • 3.7 To Avoid Effects Of Compiler Optimization Process [0093]
  • Embedded software can be written with C/C++/Java/Assembler or other software programming languages. If a software program is not written with Assembler code, but with C/C++/Java or other software programming languages, the program can be translated into assembler code by using software compiler tools. Software compiler tools may perform optimization processes on the software program, and may change/optimize the original program during compilation that transforms the program written in C/C++/Java or other software programming languages into object code or assembler code. Because of this optimization, some program code may disappear. Therefore, if we allocate the Update-Processing-Routines directly into the C/C++/Java program, the Update-Processing-Routine may be changed or removed during the process of compiler optimization. However, after compilation, normally there are no code optimization processes at the stage of transforming assembler code into object code, and also there are no code optimization processes at the stage of linking object codes into final executable machine code with software linker tools. [0094]
  • A software program written in C/C++/Java and other software programming languages can be compiled in the following two ways. [0095]
  • Compilation-Method-1: Transform the program code written in C/C++/Java language into object code using software compiler tools (maybe with optimization process). Then, link object codes to generate executable machine code with software linker tools. [0096]
  • Compilation-Method-2: Transform the program code written in C/C++/Java language into assembler code using software compiler tools (maybe with optimization process). Then, transform the assembler code into object code using software assembler tools. Then, link object codes to generate executable machine code with software linker tools. [0097]
  • Normally, the final executable machine code generated by Compilation-Method-1 is identical to the final executable machine code generated by Compilation-Method-2. If a software program is directly written in assembler language, we can transform the program into object code using software assembler tools. Then, link object codes to generate executable machine code with software linker tools. [0098]
  • A technique described herein to allocate the Update-Processing-Routines and the Patch-Operation-Area into a software program is to use the Compilation-Method-2. In the Compilation-Method-2, after transforming the program code written in C/C++/Java language into assembler code using software compiler tools (may with optimization process), the Update-Processing-Routines, the Patch-Control-Routines, and the Patch-Operation-Area can be inserted into the assembler code. Because there will be no optimization processes that may change or optimize software code in the compilation processes of transforming the assembler code into object code and linking object codes to generate executable machine code, the patch routines and patch program space can remain intact. [0099]
  • Another method can be that, transform the program code written in C/C++/Java or Assembler language into object code, then insert the Update-Processing-Routines, the Patch-Control-Routines, or the Patch-Operation-Areas into the object codes. And then, link object codes to generate executable machine code with software linker tool. 3.8 Allocating Patch Operation Routines with Software Tools [0100]
  • Anther aspect of the present invention is the methodology to allocate or insert the aforementioned Update-Processing-Routines and Patch-Operation-Area into the embedded software of the digital products, such as cellular phones. As digital products are manufactured in production, they must be programmed with embedded software to become operational, before they can be released to market. The Update-Processing-Routines and/or Patch-Operation-Area should preferably be allocated in embedded software of digital products, before the digitals products are programmed with the embedded software. [0101]
  • To efficiently allocate the Update-Processing-Routines and the Patch-Operation-Area into the embedded software of digital products, another aspect of the present invention provides an allocation software tool for automatic allocation. [0102]
  • One embodiment of the allocation tool integrates the allocation process with the compilation process of the embedded software. For example, prior to the compilation of the source code, the allocation tool can be started automatically to finish the allocation. In this way, software developers will just concern themselves with their original task of code development, without getting involved in or worrying about the allocation process. [0103]
  • For example, one embodiment of the allocation process may be performed on the assembler code instead of on the C/C++/Java code. In this situation, C/C++/Java code will first be compiled into the corresponding assembler code, and then, the allocation process will be performed on the generated assembler code to insert the Update-Processing-Routines and Patch-Operation-Area. Then, the assembler code will be further compiled into object code. In this way, any optimization processes in the compliers of C/C++/Java code will not affect the Update-Processing-Routines and the Patch-Operation-Area. [0104]
  • Two examples of the allocation software tool are shown as follows, although those skilled in the art can readily develop their own allocation tool based on the teaching of the present invention. [0105]
  • EXAMPLE-A
  • For every N lines (or bytes) of the software code, where N is a predefined number and the software code may be written in C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP, the allocation tool inserts an Update-Processing-Routine and/or a block of Patch-Operation-Area into the software code. The allocation tool may also change the parameters and labels in the Update-Processing-Routine according to the corresponding section identifier when necessary. The allocation is operated directly in the original files that contain the source code of the embedded software. [0106]
  • EXAMPLE-B
  • In some applications, the embedded software of a digital product has more than one files that contain the source code of the embedded software. For each file, the allocation tool generates another file that contains the same software code as the original file, i.e., making a copy of the file. Then, the allocation tool will insert the Update-Processing-Routines and/or Patch-Operation-Area into the duplicate files, instead of using the original files. That is, for every N lines (or bytes) of the software code in the generated files, where N is a predefined number and the software code may be written in C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor and DSP, the allocation tool inserts an Update-Processing-Routine and/or a block of Patch-Operation-Area into the software code. The allocation tool may also change the parameters and labels in the Update-Processing-Routine according to the corresponding section identifier when necessary. [0107]
  • 4. Patch Transmission and Patch Receiving [0108]
  • 4.1 Patch Data Transmission. [0109]
  • First, we describe how the software patch may be transmitted from a patch server (to be described below) to digital products. An example of transmitting patch data using certain communication layers is shown in FIG. 8. Some implementation may only include one or two of the three layers for controlling patch data transmission, depending on the transmission design schemes and needs. Some other implementation may use data transmission channels or transmission path, such as circuit data transmission or packet data transmission. Some other implementation may use voice or video transmission channels, by putting patch data into these channels or transmission paths and send the patch data to digital products. [0110]
  • By “patch server,” it should be appreciated by those skilled in the art that it may be a system that can dispatch or transmit a software patch to one or more digital products in the field, preferably through existing communication infrastructure or channels, such as a wireless link, or a wired connection. The patch server may have any level of automation for its operation. Upon transmission, a digital product receives patch data with its [0111] Patch Receiving Module 302 shown in FIG. 3.
  • During or after the patch data transmission, the digital product may send signals (or messages) to the patch server for acknowledgment. Another example is that, the digital product may send signals (or messages) to a Patch-Reply-Message-Collector, instead of a patch server. Then, the Patch-Reply-Message-Collector will send a corresponding signal and data to the patch sever. The Patch-Reply-Message-Collector is a message receiver that collects reply message from the digital products. It can be located at a different place from the patch server. [0112]
  • For digital cellular phones using CDMA technology based on TIA/EIA-95 and CDMA2000 standards, Data Burst Messages can be used to carry patch data. One example of using the Data Burst Messages is to use the SMS message transmission based on TIA/EIA-637 standard. In the following, an example of using the SMS messages to deliver patch data will be described, although those skilled in the art of data transmission may readily devise their own delivery mechanism using other signal messages. Since there are already error detection processes in the communication protocol of SMS message transmission (TIA/EIA-637), using SMS as a lower layer for patch transmission, digital product will receive nearly-error-free patch data packets. [0113]
  • With reference to FIG. 8, an [0114] exemplary Link Layer 820 for patch transmission in accordance with one embodiment of the present invention will now be described. Link Layer 820 is to reliably transmit patch signaling messages 800 and patch data 810 by detecting transmission errors and performing retransmission in error cases. Error detection can be based on CRC (Cyclic Redundancy Codes), checksum or other schemes as can readily be implemented by those skilled in the art. Link Layer 820 may also include security check mechanism. For example, before patch data is sent out, the patch server may encrypt the patch data with some encryption algorithm and then send the patch data to digital products. When a digital product receives a patch, it will perform decryption algorithm on the patch data to check correctness of the received patch data.
  • In an exemplary use of SMS messages, after a patch data packet carried by an SMS message is received, the message is passed to the decryption module where CRC checking process and message decryption process are performed to check the correctness of the patch data packet. [0115]
  • In the event that a digital product cannot correctly receive patch data, the patch server shall re-send the patch data to the digital product. For example, patch retransmission can be based on a timer-based mechanism: The patch server has a timer for patch retransmission. After the patch server sends out a patch to a digital product, it will start the timer. If the patch server does not receive any corresponding reply message (e.g., patching status report) from the digital product when the timer times out, the patch server will re-send the patch data packets to the digital product. In some special cases where a patch server does not receive any reply messages from the digital product after the patch server has performed patch re-transmission for a predetermined number of times, the patch server may stop the retransmission for a while. It should be appreciated by those skilled in the art that other ways of timing the transmission and re-transmission of patches can readily be implemented in connection with the teaching of the present invention. [0116]
  • In the previous example of using SMS messages, there is one patch signaling message named Patch Status Report, which is sent from a digital product to a patch server and contains the current patch status information of the digital product. If the digital product receives a patch without error, it will send Patch Status Report via a reverse SMS message to the patch server at the time: [0117]
  • (a) when the digital product finds out that the received patch had been already programmed successfully, or [0118]
  • (b) when the digital product successfully finishes the patch programming. [0119]
  • 4.2 Patch Data Composition. [0120]
  • With reference to FIG. 9, the composition of [0121] patch data 940 is now further described. Patch data 940 is preferably separated into several patch data packets, and one patch data packet can be carried by one message of the relay layer 820.
  • In the exemplary use of SMS messages, one patch data packet may be carried by one SMS message. In order to identify a patch SMS message from other regular SMS messages, the first “k” characters (where “k” is a pre-defined number that can be assigned from zero to any positive number) of the User Data in a patch SMS message can be set to a k-character Magic-Word by the patch server before patch delivery. Following the Magic-Word, a patch data packet is inserted into a SMS message. [0122]
  • The relation between patch data and patch data packets is shown in FIG. 9. A [0123] patch data packet 950 can be separated into packet overhead field 945 and payload data field 947. A design example of the packet overhead 945 may contain the following information:
  • (a) Patch Identifier [0124]
  • (b) Current Packet Number [0125]
  • (c) Last Packet Number [0126]
  • It should be appreciated by those skilled in the art that other ways of design packet overhead for transmitting patch data packets can readily be implemented in connection with the teaching of the present invention. [0127]
  • The [0128] payload data 947, 955, 965 in the patch data packet 950 may contain the whole or one part of patch data 940.
  • The [0129] patch data packet 950 may be encrypted by the patch server with some encryption algorithm before transmission. The patch server may encrypt the software patch data by using static and/or dynamic keys: the former can be a CPU identifier, MAC layer address and other telecommunication service related parameters, such as directory number, ESN and TMSI temporary identifications; the later are changeable keys based on location or time or user's profile.
  • 4.3 Patch Data Processing. [0130]
  • After receiving a message that may carry a [0131] patch data packet 950, the digital product will check whether the message contains a real patch data packet. The digital product may also perform error detection and/or data decryption on the received message. After successfully receiving all the necessary patch data packets, the digital product will compose the corresponding patch data from the payload data 947, 955, 965 in the packets.
  • In the exemplary use of SMS messages, when the digital product receives an SMS message, it will check whether the predetermined first k characters in the message are identical to the Magic-Word. If there is a mismatch, the SMS message will be treated as a regular SMS message, not a patch data packet. [0132]
  • If there is a match, the digital product will further try to decrypt the message data to check the correctness of the message. If the decryption process shows that the message data is correct, the message data will be treated as a patch data packet, and a buffer may be used to contain the data. Otherwise, the SMS message will be treated as a regular SMS message. [0133]
  • After successfully receiving all the necessary patch data packets based on the information items of the Patch Identifier, the Current-Patch-Number and the Last-Patch-Number in the received patch data packets, the digital product will compose the corresponding patch data from these packets. [0134]
  • The [0135] patch data 940 may include some of the following items, such as:
  • (a) Items to identify whether the received patch is for the digital product, for example, [0136]
  • ESN (Electronically Serial Number)I [0137]
  • MIN (Mobile Identification Number) or IMSI (International Mobile Station Identity); [0138]
  • Manufacture Identifier; [0139]
  • Product model number; [0140]
  • Software version number; [0141]
  • CPU Identifier; [0142]
  • MAC (Medium Access Control) layer address; [0143]
  • Other items that can be used for identifying a digital product; [0144]
  • Other items that can be used for identifying a subscriber. [0145]
  • (b) Items for patch programming, for example, [0146]
  • Control information to indicate that some patch data should be written into FLASH memory, and/or some patch data should be written into NVM (Non Volatile Memory) memory and/or EEPROM (Electrically Erasable Programmable Read-Only Memory) memory; [0147]
  • Address information of patch data, which may be memory addresses, sector allocation information or other types of address information of FLASH(NVM/EEROM memory in digital product; [0148]
  • Patch program codes that can be used for software updating; [0149]
  • Information of how to interpret patch program codes. For example, the programming language information (C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor or DSP) that is used in the patch program codes; [0150]
  • Patch data that can be used for updating some data area or data tables in FLASH memory, NVM, and/or EEPROM memory; [0151]
  • Software Section Identifiers of the software sections that are updated by this patch; [0152]
  • Other information to describe patch program and data area update. [0153]
  • (c) Items for patch programming post-process, for example, [0154]
  • Reset Flag. [0155]
  • Control flag for sending response messages to patch server. [0156]
  • Other control signal and data for the post-process of patch programming. [0157]
  • After the received patch data is composed, the digital product may preferably perform decryption process on the composed patch data when necessary. This is to enhance the security checking on patch data. Of course, the patch server side should perform encryption on the patch data before separating them into patch data packets for transmission. [0158]
  • The patch program codes may be written in C/C++/Java/Assembler and other software programming languages, or executable machine codes of CPU/Microprocessor or DSP. The patch data may include some interpretation information for the patch program codes. If the patch program codes can be interpreted based on the interpretation information. Some implementations may include a software module of interpreter to translate the received patch program from one format to another format. In some implementations, patch program can also interpreted or translated into CPU/DSP executable machine codes when CPU/DSP wants to use the patch program. [0159]
  • The patch program contains the software update information to be used as a substitute of a piece of the original program in the embedded software. The patch program may be made to start from a Patch Start Address. Also, for example, and at the end of a patch program, there can be an instruction for jumping back to a predetermined place in the embedded software where the original obsolete/error code has been skipped, or the end of that block of the original obsolete/error code. [0160]
  • The patch data may also contains information for updating data area of FLASH memory, NVM, and/or EEPROM memory. For example, the patch data may contain a new data table for replacing an old data table in NVM memory of a digital product [0161]
  • The digital product may check if certain information items, for example, ESN, Manufacture Identifier, Product Model Number and Software Version Number, are identical to that stored in the digital product. If there is a mismatch, the digital product may discard the patch data (or treat those messages as regular SMS messages in the example of using SMS messages). If they are matched, the digital product may further check whether the received patch data have been programmed into the memory of the digital product. If not, the digital product will start to program the received patch data. Otherwise, the digital product may send a patch response message to the patch server, and finish the patching process. [0162]
  • 5. Patch Programming [0163]
  • Patch programming involves writing patch data into the corresponding patch area in the FLASH memory, and/or writing new parameters into NVM/EEPROM memory. Patch programming is preferably performed when the digital product is idle (i.e., not being used by the user). Writing new parameters into NVM/EEPROM memory can be readily performed using some regular data overwriting process on NVM/EEPROM memory. However, writing data into FLASH memory, especially when the FLASH memory is being read by the digital product may require additional handling in some cases. In order to perform the patch programming on the on-the-fly digital products, a technique of programming FLASH within a RAM memory is described in accordance with one embodiment of the present invention. [0164]
  • 5.1 FLASH Programming using RAM Memory [0165]
  • The software routine for writing data into FLASH memory can be put into RAM memory. There are several ways to put the software routine into RAM memory as can be appreciated by those skilled in the art. For example, the software routine for writing data into FLASH can be copied into RAM memory by a software routine, before FLASH programming. Another example is that, when we compile the embedded software, we can instruct the compiler to assign the FLASH programming routine to be allocated into RAM memory, so that compiler automatically allocates the routine into the RAM memory. The RAM memory can be the type of on-chip RAM/SRAM memory that is in the chip containing CPU/DSP core, or RAM memory outside the chip that contains the CPU/DSP. When it is necessary to write patch related data into FLASH memory, the software routine for FLASH programming can be executed in the RAM memory. The routine writes data byte into the corresponding FLASH address, reading the FLASH status value, and checking the correctness and completion of the data writing. The task of the FLASH programming function is preferably set at the highest priority level, and also when it starts to run, it preferably first disables all CPU/DSP interrupts, so that while it is running, all the other software tasks and all CPU/DSP interrupts stop and wait. [0166]
  • An alternative way is to run the FLASH programming routine in an interrupt handler, and when the routine starts to run, it will preferably first disables all the other interrupts, so that while it is running, all software tasks and CPU/DSP interrupt routines stop and wait [0167]
  • Another alternative way to ensure no influences come from other software tasks and interrupt routines during FLASH programming is, before starting FLASH programming routine, stopping software tasks/threads that are not related to the FLASH programming or software patch process and also disabling those unrelated interrupt routines that are not related to the FLASH programming or the software patch process. [0168]
  • 5.2 Patch Programming Process [0169]
  • The patch programming process may be divided into several sub-states, one exemplary of which is shown in FIG. 10. Upon successfully receiving patch data, the digital product will write the patch data into the FLASH memory, NVM and/or EEPROM memory of the digital product. [0170]
  • If some patch data are used for updating data area or data tables in FLASH memory, NVM, and/or EEPROM memory, the digital product shall write the data into the corresponding address of the FLASH memory, NVM, and/or EEPROM memory. [0171]
  • If some patch data are used for updating program code of some software sections, the digital product shall write the patch program code into the corresponding address of the FLASH memory. [0172]
  • Then, the digital product may start to write patch identification information into the Patch-Control-Table [0173] 1020 or some kinds of patch database. The patch identification information may include information of patch address, Patch Identifier, and software section identifier, etc.
  • Then, the digital product will go to the next step of the [0174] Section Status Programming 1030. Depending on the scheme of designing the Update-Processing-Routines as previously described, the Update-Processing-Routine of a software section may contain either one or two JUMP instructions, or a Patch-Checking-Routine that may check a patch flag. After the patch program has been programmed successfully, if the Update-Processing-Routine is using patch flags, the corresponding patch flag will be changed to reflect the patch existence; if the Update-Processing-Routine is using JUMP instructions, the corresponding JUMP offset shall be changed, so that CPU/DSP instruction pointer will JUMP to the corresponding patch start address. Some data bytes in the Patch-Control-Block and/or in the Patch-Operation-Area may need to be changed by the FLASH programming routine. The detailed changes for the Update-Processing-Routines from the status without a patch programmed to the status with a patch programmed, and the changes on the Patch-Control-Blocks have been described in previous sections.
  • Programming the key JUMP offset or patch flag change in the Update-Processing-Routines should preferably be at the last, so that the digital product will not malfunction if patch programming is stopped in any time. For example, for changing the Update-Processing-Routine of Section-A previously described in Section [0175] 3.4, the digital product shall first change the data bytes in the Patch-Control-Block to the instructions of the Patch-Correction-Routine of Section-A at the Label_P_A. Then, change the Jump to Label_O_A to Jump to Label_P_A by modifying the offset of the JUMP instruction. In this way, switching to use the patch program instead of using the original code will be performed only when all the programming processes are completed.
  • When patch programming is successfully completed, the digital product will perform some post processes, such as sending patch status message to the patch server, and/or performing system reset if necessary. In the exemplary use of SMS messages, the digital product may perform the post-process shown in the following: [0176]
  • the digital product will send a Patch Status Report via a SMS message to the patch server. The patch status report contains the terminal information and the current patching status; [0177]
  • And then, if the Reset-Flag in the patch data is set, the digital product performs system reset. [0178]
  • 6. Patch Server [0179]
  • Reference is now to FIG. 11, where a simplified diagram of an [0180] exemplary patch server 1100 is illustrated. A patch server 1100 preferably has a patch database 1130, a patch generator 1110 and a patch transmission controller 1120.
  • The [0181] patch database 1130 stores patch information in connection with each of the digital products. It may also store the following items:
  • (a) Manufacture Identifier; [0182]
  • (b) Product model number; [0183]
  • (c) Software version number; [0184]
  • (d) Software Section Identifier; [0185]
  • (e) Patch Identifier; [0186]
  • (f) CPU identifier; [0187]
  • (g) MAC (Medium Access Control) layer address; [0188]
  • (h) Other items that can be used for identifying a digital product; [0189]
  • (i) Other items that can be used for identifying a subscriber;. [0190]
  • (j) Patch Address Information; [0191]
  • (k) Reset Flag Information; [0192]
  • (l) Patch program code. [0193]
  • (m) Information of how to interpret patch program codes. For example, the programming language information (C/C++/Java/Assembler and other software programming languages, or executable machine code of CPU/Microprocessor or-DSP) that is used in the patch program codes; [0194]
  • (n) Data parameter for updating data memory area (NVM/EEPROM) of the digital products. [0195]
  • When the patch server is to deliver a patch to a digital product, the [0196] patch generator 1110 generates a corresponding patch data based on the data stored in the Patch Database 1130. The patch generator 1110 may further separate the patch data into several sections and put each section into a patch data packet for transmission when the patch data can not be carried by a single patch data packet.
  • The [0197] patch transmission controller 1120 is to reliably deliver the patch data packets to the digital product. One exemplary design is to include a timer for patch retransmission and its design details are shown in the following.
  • After the patch server sends out a patch to a digital product, it starts a timer. If the patch server does not receive any corresponding reply message (e.g., patching status report) from the digital product when the timer times out, the patch server will re-send the patch data packets to the digital product. In some special case where the patch server does not receive any reply messages from the digital product when the patch server has performed patch retransmission for a predetermined number of times, the patch server may suspend the retransmission for a while, or just suspend the timer permanently and record the lack of reply in a log file. [0198]
  • Upon receiving a reply message (e.g., patching status report) from a digital product, the patch server will stop the timer of patch retransmission, and update the patching status of the digital product in the patch database. [0199]
  • In the following, an exemplary design is described to show how a software patch is transmitted via SMS messages from the patch server to digital products. This exemplary design is described with reference to FIG. 12. [0200]
  • In this exemplary design, the digital products with embedded software are [0201] cellular phones 1250. The patch server hardware is implemented by a computer 1200 and a wireless modem 1210 that is capable of receiving SMS messages. The computer generates patch data and corresponding patch SMS Messages and then sends the messages through the Internet 1205 to a message server 1240 of the service provider that provides the wireless services to digital products 1250. The message delivery to the message server can be based on regular email transmission method using SMTP (Simple Mail Transfer Protocol) and TCP/IP. The message server 1240 of the service provider then transfers the patch SMS messages as regular SMS messages 1225 to base stations 1220. Finally, the base stations 1220 deliver the messages 1225 to corresponding cellular phones 1250 through some air messages, such as, the Data Burst Messages that carrying the SMS messages 1225.
  • The [0202] wireless modem 1210 of the patch server is attached to the computer 1200 of the patch server. The wireless modem is to receive reply messages 1215 from digital products 1250 and transfer the reply messages 1215 to the computer 1200. The computer 1200 will confirm the patching status based on the information carried by the reply messages 1215.
  • Although the invention is described herein with reference to the preferred embodiment, one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the scope of the present invention. Accordingly, the invention should only be limited by the claims included below. [0203]
  • Glossary of Abbreviations [0204]
  • ARQ. Automatic Repeat request. [0205]
  • CPU. Central Processing Unit. [0206]
  • CRC. Cyclic Redundancy Codes. [0207]
  • DSP. Digital Signal Processor [0208]
  • EEPROM. Electrically Erasable Programmable Read-Only Memory. [0209]
  • ESN. Electronic Serial Number. [0210]
  • FLASH. A type of constantly-powered nonvolatile memory that can be erased and reprogrammed in units of memory called blocks. [0211]
  • MAC. Media Access Control. [0212]
  • MCU. Micro Processor Unit. [0213]
  • NVM. Non Volatile Memory [0214]
  • Patch data. Data of a total patch transmitted from patch server to a digital product. [0215]
  • Patch data packet. Unit of patch data transmission. One patch can be divided and transmitted with several patch data packets. One patch data packet may be carried by one message. [0216]
  • Patch program. Software program used for software update, which is composed by a one or multiple CPU/DSP instructions, for updating one or multiple program codes of the existing embedded software. [0217]
  • Patch programming. Process to write patch data into memory. [0218]
  • Patch server. One or more server for transmitting patch data to digital products that support patching. [0219]
  • PCMCIA. Personal Computer Memory Card International Association. [0220]
  • PDA. Personal Digital Assistant. [0221]
  • RAM. Random Access Memory. [0222]
  • ROM. Read-Only Memory. [0223]
  • SMS. Short Message Service. [0224]

Claims (4)

1-57. cancelled
58. A computer readable medium comprising instructions for updating an embedded software for a digital product, comprising instructions for:
executing said embedded software;
determining whether a patch program is available for a section of said embedded software;
directing execution of said embedded software at said section to said patch program if said patch program is available for said section;
directing execution back to a predetermined location of said embedded software after execution of said patch program,
wherein said embedded software is allocated with a plurality of routines adapted to determine whether a patch program is available.
59. A computer readable medium comprising instructions for updating an embedded software for a digital product, comprising instructions for:
executing said embedded software;
determining whether a patch program is available for a section of said embedded software;
directing execution of said embedded software at said section to said patch program if said patch program is available for said section;
directing execution back to a predetermined location of said embedded software after execution of said patch program,
wherein said predetermined location is an end to a program portion that needs to be updated.
60. The computer readable medium of claim 59, further comprising instructions for:
receiving a patch program through a communications link;
programming said patch program into said digital product.
US10/876,503 2001-07-16 2004-06-24 Embedded software update system Abandoned US20040237068A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/876,503 US20040237068A1 (en) 2001-07-16 2004-06-24 Embedded software update system
US10/986,258 US20050063242A1 (en) 2001-07-16 2004-11-09 Embedded software update methods and systems for digital devices

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US30570401P 2001-07-16 2001-07-16
US35491502P 2002-02-08 2002-02-08
US10/195,199 US6760908B2 (en) 2001-07-16 2002-07-15 Embedded software update system
US10/876,503 US20040237068A1 (en) 2001-07-16 2004-06-24 Embedded software update system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/195,199 Continuation US6760908B2 (en) 2001-07-16 2002-07-15 Embedded software update system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/986,258 Continuation US20050063242A1 (en) 2001-07-16 2004-11-09 Embedded software update methods and systems for digital devices

Publications (1)

Publication Number Publication Date
US20040237068A1 true US20040237068A1 (en) 2004-11-25

Family

ID=26974732

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/195,199 Expired - Fee Related US6760908B2 (en) 2001-07-16 2002-07-15 Embedded software update system
US10/876,503 Abandoned US20040237068A1 (en) 2001-07-16 2004-06-24 Embedded software update system
US10/986,258 Abandoned US20050063242A1 (en) 2001-07-16 2004-11-09 Embedded software update methods and systems for digital devices

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/195,199 Expired - Fee Related US6760908B2 (en) 2001-07-16 2002-07-15 Embedded software update system

Family Applications After (1)

Application Number Title Priority Date Filing Date
US10/986,258 Abandoned US20050063242A1 (en) 2001-07-16 2004-11-09 Embedded software update methods and systems for digital devices

Country Status (6)

Country Link
US (3) US6760908B2 (en)
EP (1) EP1410181A1 (en)
JP (1) JP2004536405A (en)
KR (1) KR20040022451A (en)
CN (1) CN1529847A (en)
WO (1) WO2003009136A1 (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050028031A1 (en) * 2003-07-28 2005-02-03 Matsushita Electric Industrial Co., Ltd. Data recovery method and data recording apparatus
US20050066019A1 (en) * 2003-09-18 2005-03-24 International Business Machines Corporation Computer application and methods for autonomic upgrade maintenance of computer hardware, operating systems and application software
US20050139728A1 (en) * 2003-02-20 2005-06-30 General Electric Company Method and system for autonomously resolving a failure
US20050257208A1 (en) * 2004-05-11 2005-11-17 Microsoft Corporation Efficient patching
US20060136892A1 (en) * 2004-12-16 2006-06-22 Branch Robert A Embedded agent for self-healing software
US20060224885A1 (en) * 2005-04-05 2006-10-05 Mcafee, Inc. Remotely configurable bridge system and method for use in secure wireless networks
US20060233375A1 (en) * 2005-04-05 2006-10-19 Mcafee, Inc. Captive portal system and method for use in peer-to-peer networks
US20060251258A1 (en) * 2005-04-05 2006-11-09 Mcafee, Inc. System, method and computer program product for updating security criteria in wireless networks
US20060265692A1 (en) * 2005-05-20 2006-11-23 Mengjin Su Method, apparatus, and computer program product for code patching
US20080141291A1 (en) * 2006-12-12 2008-06-12 Johnny Meng-Han Shieh Reserved write positions on install media
US20080222520A1 (en) * 2007-03-08 2008-09-11 Adobe Systems Incorporated Event-Sensitive Content for Mobile Devices
US20090031301A1 (en) * 2007-05-24 2009-01-29 D Angelo Adam Personalized platform for accessing internet applications
US20090100159A1 (en) * 2007-10-16 2009-04-16 Siemens Aktiengesellschaft Method for automatically modifying a program and automation system
US20100012732A1 (en) * 2007-01-24 2010-01-21 Giesecke & Devrient Gmbh Installing a patch in a smart card module
US20100058313A1 (en) * 2008-09-04 2010-03-04 Uwe Hansmann Updating a computer system
US7757274B2 (en) 2005-04-05 2010-07-13 Mcafee, Inc. Methods and systems for exchanging security information via peer-to-peer wireless networks
US20100180104A1 (en) * 2009-01-15 2010-07-15 Via Technologies, Inc. Apparatus and method for patching microcode in a microprocessor using private ram of the microprocessor
US20100235824A1 (en) * 2009-03-16 2010-09-16 Tyco Telecommunications (Us) Inc. System and Method for Remote Device Application Upgrades
US20110107070A1 (en) * 2008-06-23 2011-05-05 Grig Barbulescu Patching of a read-only memory
US20120102476A1 (en) * 2010-02-11 2012-04-26 Yu Jiaqiang Method, device and system for activating on-line patch
US8249569B1 (en) 2005-12-31 2012-08-21 Adobe Systems Incorporated Using local codecs
US8320890B2 (en) 2005-12-31 2012-11-27 Adobe Systems Incorporated Interrupting and resuming a media player
US8443299B1 (en) * 2007-02-01 2013-05-14 Adobe Systems Incorporated Rendering text in a brew device
US9058230B1 (en) * 2008-05-27 2015-06-16 Symantec Operating Corporation Online expert system guided application installation
US20150277894A1 (en) * 2014-03-31 2015-10-01 Qualcomm Incorporated System and Method for Modifying Firmware Used to Initialize a Computing Device
US9164963B2 (en) 2006-12-05 2015-10-20 Adobe Systems Incorporated Embedded document within an application
US9392017B2 (en) 2010-04-22 2016-07-12 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for inhibiting attacks on embedded devices
US10055251B1 (en) * 2009-04-22 2018-08-21 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for injecting code into embedded devices
US10657262B1 (en) * 2014-09-28 2020-05-19 Red Balloon Security, Inc. Method and apparatus for securing embedded device firmware
US10887340B2 (en) 2012-02-15 2021-01-05 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for inhibiting attacks on embedded devices
US11669621B2 (en) * 2020-06-16 2023-06-06 Bank Of America Corporation Custom patching automation with machine learning integration
US11900106B2 (en) 2022-03-02 2024-02-13 International Business Machines Corporation Personalized patch notes based on software usage

Families Citing this family (221)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8725656B1 (en) 2000-05-18 2014-05-13 United Parcel Service Of America, Inc. Freight rate manager
US8321356B2 (en) * 2000-05-18 2012-11-27 United Parcel Service Of America, Inc. System and method for calculating real-time costing information
US7409685B2 (en) 2002-04-12 2008-08-05 Hewlett-Packard Development Company, L.P. Initialization and update of software and/or firmware in electronic devices
US8479189B2 (en) 2000-11-17 2013-07-02 Hewlett-Packard Development Company, L.P. Pattern detection preprocessor in an electronic device update generation system
US20030140126A1 (en) * 2001-03-30 2003-07-24 Vitria Technology, Inc. Method of deployment for concurrent execution of multiple versions of an integration model
US7613716B2 (en) * 2001-07-20 2009-11-03 The Mathworks, Inc. Partitioning for model-based design
US7069546B2 (en) * 2001-12-03 2006-06-27 Corrigent Systems Ltd. Generic framework for embedded software development
EP1331643B1 (en) * 2002-01-29 2009-12-16 Agere Systems Inc. Differential flash memory programming technique
US20030191823A1 (en) * 2002-04-03 2003-10-09 Aplion Networks, Inc. System and method for providing customizable device capabilities to network equipment in a non-service affecting manner
US20040015943A1 (en) * 2002-07-17 2004-01-22 Ying-Chou Chen Embedded computer system equipped with an upgradeable software library
US7784044B2 (en) * 2002-12-02 2010-08-24 Microsoft Corporation Patching of in-use functions on a running computer system
DE10260103A1 (en) * 2002-12-19 2004-07-01 Robert Bosch Gmbh Method and device for changing software in a control unit and corresponding control unit
US9092286B2 (en) * 2002-12-20 2015-07-28 Qualcomm Incorporated System to automatically process components on a device
WO2004066091A2 (en) * 2003-01-21 2004-08-05 Bitfone Corporation Update system capable of updating software across multiple flash chips
US6941453B2 (en) * 2003-02-11 2005-09-06 Bitfone Corporation System and method for determining if a device needs to be updated and locating and invoking an update agent to update the firmware or software in the device
JP2004312711A (en) * 2003-03-25 2004-11-04 Ricoh Co Ltd Image forming apparatus and method for operating image forming apparatus by using remote application
JP4523991B2 (en) * 2003-03-25 2010-08-11 株式会社リコー Terminal device, method, system, and program
GB2403303B (en) * 2003-06-23 2005-08-17 Matsushita Electric Ind Co Ltd Embedded device with software registry
US7886287B1 (en) * 2003-08-27 2011-02-08 Avaya Inc. Method and apparatus for hot updating of running processes
US7673297B1 (en) * 2003-09-03 2010-03-02 The Directv Group, Inc. Automatic software update detection and flexible installer for set-top boxes
KR101003888B1 (en) * 2003-09-03 2010-12-30 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Tri-phase boot process in electronic devices
US8555273B1 (en) 2003-09-17 2013-10-08 Palm. Inc. Network for updating electronic devices
EP1680921A4 (en) * 2003-11-04 2010-04-21 Korea Electronics Telecomm Apparatus and method for receiving data broadcasting service to support connection with mobile networks
WO2005048604A1 (en) * 2003-11-17 2005-05-26 Samsung Electronics Co., Ltd. Method for updating software of a target device using an extended identifier in digital broadcasting
US7409538B2 (en) * 2003-12-18 2008-08-05 International Business Machines Corporation Update in-use flash memory without external interfaces
EP1569102B1 (en) 2004-02-27 2010-04-28 Telefonaktiebolaget LM Ericsson (publ) Flash memory programming
KR100620729B1 (en) * 2004-03-31 2006-09-13 주식회사 팬택앤큐리텔 Method for building software image
US7904895B1 (en) 2004-04-21 2011-03-08 Hewlett-Packard Develpment Company, L.P. Firmware update in electronic devices employing update agent in a flash memory card
US7600216B2 (en) * 2004-04-22 2009-10-06 Gteko, Ltd Method for executing software applications using a portable memory device
US20050251798A1 (en) * 2004-05-05 2005-11-10 News, Iq, Inc. System and method for inventory control and management
US7559058B2 (en) * 2004-05-11 2009-07-07 Microsoft Corporation Efficient patching
EP1622009A1 (en) * 2004-07-27 2006-02-01 Texas Instruments Incorporated JSM architecture and systems
CN100370431C (en) * 2004-08-16 2008-02-20 上海华为技术有限公司 Method and system for monitoring embedded system on line
US8526940B1 (en) 2004-08-17 2013-09-03 Palm, Inc. Centralized rules repository for smart phone customer care
US7373492B2 (en) * 2004-08-30 2008-05-13 Lehman Brothers Inc. Boot disk management utility
FR2875921B1 (en) * 2004-09-27 2006-12-01 Gemplus Sa CAMERA FOR DOWNLOADING DATA IN PORTABLE COMMUNICATING OBJECTS
US20060075401A1 (en) * 2004-10-05 2006-04-06 Microsoft Corporation Patch installation control
KR100784783B1 (en) * 2004-12-07 2007-12-14 한국전자통신연구원 System for support of embedded software development methodology with quantitative process management
US8019725B1 (en) 2004-12-15 2011-09-13 Apple Inc. Software update management
CN100435108C (en) * 2004-12-22 2008-11-19 迅杰科技股份有限公司 Firmware repairing method for memory device
US7426571B2 (en) * 2005-01-06 2008-09-16 Dell Products L.P. Providing files to an information handling system using a remote access controller
US7734574B2 (en) * 2005-02-17 2010-06-08 International Business Machines Corporation Intelligent system health indicator
US20060200656A1 (en) * 2005-03-03 2006-09-07 Cardinell Charles S Apparatus and method to capture data from an embedded device
US20060248107A1 (en) * 2005-04-11 2006-11-02 Coronado Juan A Apparatus system and method for updating software while preserving system state
CN100521676C (en) 2005-04-14 2009-07-29 华为技术有限公司 Method and apparatus for realizing independent staging business software in set-top box
US8399390B2 (en) 2005-06-29 2013-03-19 Exxonmobil Chemical Patents Inc. HVI-PAO in industrial lubricant and grease compositions
US7667874B2 (en) * 2005-07-06 2010-02-23 Xerox Corporation Method and system for improving print quality
WO2007011462A1 (en) 2005-07-19 2007-01-25 Exxonmobil Chemical Patents Inc. Lubricants from mixed alpha-olefin feeds
US8748361B2 (en) 2005-07-19 2014-06-10 Exxonmobil Chemical Patents Inc. Polyalpha-olefin compositions and processes to produce the same
EP1934727B1 (en) * 2005-08-23 2019-01-16 Red Bend Ltd. Method and system for in-place updating content stored in a storage device
US7577872B2 (en) * 2005-08-26 2009-08-18 Home Box Office Dynamic system diagnosis
US20070074187A1 (en) * 2005-09-29 2007-03-29 O'brien Thomas E Method and apparatus for inserting code fixes into applications at runtime
CN100416503C (en) * 2005-11-04 2008-09-03 中兴通讯股份有限公司 Method for updating version of software
KR101259908B1 (en) * 2005-11-30 2013-05-02 텔레콤 이탈리아 소시에떼 퍼 아찌오니 Method and system for updating applications in mobile communications terminals
US20070132774A1 (en) * 2005-12-01 2007-06-14 Samsung Electronics Co., Ltd. System and method for a patch minimization tool
DE102005059319A1 (en) 2005-12-09 2007-06-14 Robert Bosch Gmbh File device operating method, involves storing data, which is stored on segment, and providing data for data conditions, where portion of data is converted, and converted data is stored on another segment during operation of device
DE602005025385D1 (en) * 2005-12-20 2011-01-27 Ericsson Telefon Ab L M Creation of incremental program updates
KR100717110B1 (en) * 2006-02-21 2007-05-10 삼성전자주식회사 Rom data patch circuit, embedded system including the same and method of patching rom data
KR100746036B1 (en) 2006-02-23 2007-08-06 삼성전자주식회사 Apparatus and method for controlling flash memory
US8299007B2 (en) 2006-06-06 2012-10-30 Exxonmobil Research And Engineering Company Base stock lubricant blends
US8535514B2 (en) 2006-06-06 2013-09-17 Exxonmobil Research And Engineering Company High viscosity metallocene catalyst PAO novel base stock lubricant blends
US8921290B2 (en) 2006-06-06 2014-12-30 Exxonmobil Research And Engineering Company Gear oil compositions
US8501675B2 (en) 2006-06-06 2013-08-06 Exxonmobil Research And Engineering Company High viscosity novel base stock lubricant viscosity blends
US8834705B2 (en) 2006-06-06 2014-09-16 Exxonmobil Research And Engineering Company Gear oil compositions
EP2025095A2 (en) 2006-06-08 2009-02-18 Hewlett-Packard Development Company, L.P. Device management in a network
WO2008005581A2 (en) * 2006-07-07 2008-01-10 United Parcel Service Of America, Inc. Compiled data for software applications
WO2008014454A2 (en) 2006-07-27 2008-01-31 Hewlett-Packard Development Company, L.P. User experience and dependency management in a mobile device
US8112747B2 (en) * 2006-11-27 2012-02-07 Sap Ag Integrated software support for a distributed business application with seamless backend communications
FR2911023B1 (en) * 2006-12-29 2009-04-17 Radiotelephone Sfr METHOD FOR SECURING A DATA STREAM
US8819668B2 (en) * 2007-02-08 2014-08-26 Microsoft Corporation Accessible limited distribution release software change catalog
ATE521035T1 (en) * 2007-02-09 2011-09-15 Ericsson Telefon Ab L M GENERATION OF DELTA UPDATES FOR A PROCESSING APPARATUS
US20090019435A1 (en) * 2007-07-12 2009-01-15 Sauer-Danfoss Inc. System and method for over the air programming
US7802129B2 (en) * 2007-10-17 2010-09-21 Hewlett-Packard Development Company, L.P. Mobile handset employing efficient backup and recovery of blocks during update
US8213923B1 (en) * 2007-11-02 2012-07-03 Trend Micro Incorporated Product update via voice call in mobile security
US8009757B2 (en) * 2007-11-12 2011-08-30 Motorola Mobility, Inc. Method and apparatus for encoding a modulated signal in a communication system
ATE522861T1 (en) 2007-12-13 2011-09-15 Ericsson Telefon Ab L M FIRMWARE UPDATE ON AN ELECTRONIC DEVICE
US8839225B2 (en) 2008-01-23 2014-09-16 International Business Machines Corporation Generating and applying patches to a computer program code concurrently with its execution
WO2009097069A1 (en) 2008-01-31 2009-08-06 Exxonmobil Chemical Patents Inc. Improved utilization of linear alpha olefins in the production of metallocene catalyzed poly-alpha olefins
FR2928754B1 (en) * 2008-03-13 2012-05-18 Sagem Securite INTEGRATED CIRCUIT BOARD HAVING AN ALTERNATIVE OPERATING PROGRAM AND CORRESPONDING MODIFICATION METHOD
US8865959B2 (en) 2008-03-18 2014-10-21 Exxonmobil Chemical Patents Inc. Process for synthetic lubricant production
CN101977944A (en) 2008-03-31 2011-02-16 埃克森美孚化学专利公司 Production of shear-stable high viscosity pao
US8394746B2 (en) 2008-08-22 2013-03-12 Exxonmobil Research And Engineering Company Low sulfur and low metal additive formulations for high performance industrial oils
US8312447B2 (en) * 2008-09-25 2012-11-13 Microsoft Corporation Managing updates using compiler and linker information
US8476205B2 (en) 2008-10-03 2013-07-02 Exxonmobil Research And Engineering Company Chromium HVI-PAO bi-modal lubricant compositions
KR101016916B1 (en) * 2008-10-30 2011-02-22 한국항공우주산업 주식회사 Method of Data Injection of Embedded System of Aircraft for Test and Flight Simulation
JP5310324B2 (en) * 2009-07-07 2013-10-09 株式会社リコー Information processing apparatus, information processing method, and program
WO2011006513A2 (en) * 2009-07-13 2011-01-20 Eyad Aii Mohammad Al Qalqili Method and system for advertising on the mobile main screen by cbs technology
US8716201B2 (en) 2009-10-02 2014-05-06 Exxonmobil Research And Engineering Company Alkylated naphtylene base stock lubricant formulations
CA2782873C (en) 2009-12-24 2016-06-28 Exxonmobil Chemical Patents Inc. Process for producing novel synthetic basestocks
US8759267B2 (en) 2010-02-01 2014-06-24 Exxonmobil Research And Engineering Company Method for improving the fuel efficiency of engine oil compositions for large low and medium speed engines by reducing the traction coefficient
US8748362B2 (en) 2010-02-01 2014-06-10 Exxonmobile Research And Engineering Company Method for improving the fuel efficiency of engine oil compositions for large low and medium speed gas engines by reducing the traction coefficient
US8728999B2 (en) 2010-02-01 2014-05-20 Exxonmobil Research And Engineering Company Method for improving the fuel efficiency of engine oil compositions for large low and medium speed engines by reducing the traction coefficient
US8642523B2 (en) 2010-02-01 2014-02-04 Exxonmobil Research And Engineering Company Method for improving the fuel efficiency of engine oil compositions for large low and medium speed engines by reducing the traction coefficient
US8598103B2 (en) 2010-02-01 2013-12-03 Exxonmobil Research And Engineering Company Method for improving the fuel efficiency of engine oil compositions for large low, medium and high speed engines by reducing the traction coefficient
CN101930375A (en) * 2010-08-26 2010-12-29 深圳市共进电子有限公司 Self-adaptive program data updating method of memory space in single user optical network unit
US9815915B2 (en) 2010-09-03 2017-11-14 Exxonmobil Chemical Patents Inc. Production of liquid polyolefins
CN101950254B (en) * 2010-09-16 2014-07-30 新邮通信设备有限公司 Software updating method and system thereof
TW201246075A (en) * 2011-05-06 2012-11-16 Asmedia Technology Inc Flash device and associated booting method
DE102012103654A1 (en) 2011-05-17 2012-11-22 International Business Machines Corp. Install and validate an application on a heavily used computer platform
US9234150B2 (en) 2011-10-10 2016-01-12 Exxonmobil Research And Engineering Company Low viscosity engine oil compositions
JP5886099B2 (en) * 2012-03-21 2016-03-16 日立オートモティブシステムズ株式会社 Electronic control unit for automobile
CN102707978A (en) * 2012-05-18 2012-10-03 苏州万图明电子软件有限公司 Update software of image device
US9798557B2 (en) * 2012-08-24 2017-10-24 Ca, Inc. Injection of updated classes for a java agent
US9817656B2 (en) 2012-08-24 2017-11-14 Ca, Inc. Hot rollback of updated agent
US9921954B1 (en) * 2012-08-27 2018-03-20 Avago Technologies General Ip (Singapore) Pte. Ltd. Method and system for split flash memory management between host and storage controller
CN102880494B (en) * 2012-09-26 2016-02-10 浙江大学 A kind of local code update method for microsatellite system and system thereof
US8930932B2 (en) 2012-10-09 2015-01-06 Futurewei Technologies, Inc. In-service software patch
US10310863B1 (en) * 2013-07-31 2019-06-04 Red Hat, Inc. Patching functions in use on a running computer system
US9547581B2 (en) 2013-10-01 2017-01-17 Wipro Limited Systems and methods for fixing software defects in a binary or executable file
CN106484369B (en) * 2013-10-24 2019-11-29 华为技术有限公司 A kind of method and device of online patch activation
CN103645924A (en) * 2013-12-27 2014-03-19 金三立视频科技(深圳)有限公司 Method and device for managing program parameters of embedded device
US9736098B2 (en) * 2014-02-07 2017-08-15 Lenovo (Singapore) Pte. Ltd. Email-based software delivery
EP2955629B1 (en) * 2014-06-11 2021-10-27 Home Control Singapore Pte. Ltd. System for installing new firmware on a small-memory device
US10282187B2 (en) 2014-07-03 2019-05-07 Oracle International Corporation Efficient application patching in heterogeneous computing environments
US9830193B1 (en) 2014-09-30 2017-11-28 Amazon Technologies, Inc. Automatic management of low latency computational capacity
US9146764B1 (en) 2014-09-30 2015-09-29 Amazon Technologies, Inc. Processing event messages for user requests to execute program code
US10048974B1 (en) 2014-09-30 2018-08-14 Amazon Technologies, Inc. Message-based computation request scheduling
US9600312B2 (en) 2014-09-30 2017-03-21 Amazon Technologies, Inc. Threading as a service
US9715402B2 (en) * 2014-09-30 2017-07-25 Amazon Technologies, Inc. Dynamic code deployment and versioning
US9323556B2 (en) 2014-09-30 2016-04-26 Amazon Technologies, Inc. Programmatic event detection and message generation for requests to execute program code
US9678773B1 (en) 2014-09-30 2017-06-13 Amazon Technologies, Inc. Low latency computational capacity provisioning
KR102261815B1 (en) * 2014-10-30 2021-06-07 삼성전자주식회사 Data storage device for reducing firmware update time, and data processing system including the same
US9537788B2 (en) 2014-12-05 2017-01-03 Amazon Technologies, Inc. Automatic determination of resource sizing
US10101987B2 (en) 2015-03-11 2018-10-16 Echelon Corporation Method and system of processing an image upgrade
EP3040858A1 (en) * 2014-12-31 2016-07-06 Echelon Corporation A method and system of processing an image update
US9727725B2 (en) 2015-02-04 2017-08-08 Amazon Technologies, Inc. Security protocols for low latency execution of program code
US9588790B1 (en) 2015-02-04 2017-03-07 Amazon Technologies, Inc. Stateful virtual compute system
US9733967B2 (en) 2015-02-04 2017-08-15 Amazon Technologies, Inc. Security protocols for low latency execution of program code
US9886263B2 (en) 2015-03-24 2018-02-06 Oracle International Corporation Techniques for efficient application configuration patching
US9785476B2 (en) 2015-04-08 2017-10-10 Amazon Technologies, Inc. Endpoint management system and virtual compute system
US9930103B2 (en) 2015-04-08 2018-03-27 Amazon Technologies, Inc. Endpoint management system providing an application programming interface proxy service
EP3303996A1 (en) 2015-06-04 2018-04-11 HERE Global B.V. Incremental update of compressed navigational databases
US10009232B2 (en) 2015-06-23 2018-06-26 Dell Products, L.P. Method and control system providing an interactive interface for device-level monitoring and servicing of distributed, large-scale information handling system (LIHS)
US10754494B2 (en) 2015-06-23 2020-08-25 Dell Products, L.P. Method and control system providing one-click commissioning and push updates to distributed, large-scale information handling system (LIHS)
US10063629B2 (en) 2015-06-23 2018-08-28 Dell Products, L.P. Floating set points to optimize power allocation and use in data center
CN106354524B (en) 2015-07-17 2021-01-01 恩智浦美国有限公司 System and method for updating firmware in real time
US9928108B1 (en) 2015-09-29 2018-03-27 Amazon Technologies, Inc. Metaevent handling for on-demand code execution environments
US10042660B2 (en) 2015-09-30 2018-08-07 Amazon Technologies, Inc. Management of periodic requests for compute capacity
US9830449B1 (en) 2015-12-16 2017-11-28 Amazon Technologies, Inc. Execution locations for request-driven code
US9830175B1 (en) 2015-12-16 2017-11-28 Amazon Technologies, Inc. Predictive management of on-demand code execution
US9811363B1 (en) 2015-12-16 2017-11-07 Amazon Technologies, Inc. Predictive management of on-demand code execution
US10754701B1 (en) 2015-12-16 2020-08-25 Amazon Technologies, Inc. Executing user-defined code in response to determining that resources expected to be utilized comply with resource restrictions
US10013267B1 (en) 2015-12-16 2018-07-03 Amazon Technologies, Inc. Pre-triggers for code execution environments
US9811434B1 (en) 2015-12-16 2017-11-07 Amazon Technologies, Inc. Predictive management of on-demand code execution
US9910713B2 (en) 2015-12-21 2018-03-06 Amazon Technologies, Inc. Code execution request routing
US10067801B1 (en) 2015-12-21 2018-09-04 Amazon Technologies, Inc. Acquisition and maintenance of compute capacity
US10002026B1 (en) 2015-12-21 2018-06-19 Amazon Technologies, Inc. Acquisition and maintenance of dedicated, reserved, and variable compute capacity
US10891145B2 (en) 2016-03-30 2021-01-12 Amazon Technologies, Inc. Processing pre-existing data sets at an on demand code execution environment
US11132213B1 (en) 2016-03-30 2021-09-28 Amazon Technologies, Inc. Dependency-based process of pre-existing data sets at an on demand code execution environment
US10108412B2 (en) 2016-03-30 2018-10-23 Square, Inc. Blocking and non-blocking firmware update
US10162672B2 (en) 2016-03-30 2018-12-25 Amazon Technologies, Inc. Generating data streams from pre-existing data sets
WO2017183565A1 (en) * 2016-04-21 2017-10-26 日本電気株式会社 Network system, patch file application method, and recording medium
CN110110522B (en) * 2016-05-24 2021-05-07 百度在线网络技术(北京)有限公司 Kernel repairing method and device
US9952896B2 (en) 2016-06-28 2018-04-24 Amazon Technologies, Inc. Asynchronous task management in an on-demand network code execution environment
US10282229B2 (en) 2016-06-28 2019-05-07 Amazon Technologies, Inc. Asynchronous task management in an on-demand network code execution environment
US10817869B2 (en) 2016-06-29 2020-10-27 Square, Inc. Preliminary enablement of transaction processing circuitry
US10102040B2 (en) 2016-06-29 2018-10-16 Amazon Technologies, Inc Adjusting variable limit on concurrent code executions
US11010765B2 (en) 2016-06-29 2021-05-18 Square, Inc. Preliminary acquisition of payment information
US10203990B2 (en) 2016-06-30 2019-02-12 Amazon Technologies, Inc. On-demand network code execution with cross-account aliases
US10277708B2 (en) 2016-06-30 2019-04-30 Amazon Technologies, Inc. On-demand network code execution with cross-account aliases
US10884787B1 (en) 2016-09-23 2021-01-05 Amazon Technologies, Inc. Execution guarantees in an on-demand network code execution system
US10061613B1 (en) 2016-09-23 2018-08-28 Amazon Technologies, Inc. Idempotent task execution in on-demand network code execution systems
US11119813B1 (en) 2016-09-30 2021-09-14 Amazon Technologies, Inc. Mapreduce implementation using an on-demand network code execution system
JP6751197B2 (en) 2017-02-28 2020-09-02 日本電信電話株式会社 COMMUNICATION PROCESSING DEVICE, INFORMATION PROCESSING DEVICE, AND COMMUNICATION PROCESSING DEVICE CONTROL METHOD
US10402192B2 (en) 2017-07-25 2019-09-03 Aurora Labs Ltd. Constructing software delta updates for vehicle ECU software and abnormality detection based on toolchain
US10564946B1 (en) 2017-12-13 2020-02-18 Amazon Technologies, Inc. Dependency handling in an on-demand network code execution system
US10303492B1 (en) 2017-12-13 2019-05-28 Amazon Technologies, Inc. Managing custom runtimes in an on-demand code execution system
US10733085B1 (en) 2018-02-05 2020-08-04 Amazon Technologies, Inc. Detecting impedance mismatches due to cross-service calls
US10572375B1 (en) 2018-02-05 2020-02-25 Amazon Technologies, Inc. Detecting parameter validity in code including cross-service calls
US10353678B1 (en) 2018-02-05 2019-07-16 Amazon Technologies, Inc. Detecting code characteristic alterations due to cross-service calls
US10831898B1 (en) 2018-02-05 2020-11-10 Amazon Technologies, Inc. Detecting privilege escalations in code including cross-service calls
US10725752B1 (en) 2018-02-13 2020-07-28 Amazon Technologies, Inc. Dependency handling in an on-demand network code execution system
US10776091B1 (en) 2018-02-26 2020-09-15 Amazon Technologies, Inc. Logging endpoint in an on-demand code execution system
US10853115B2 (en) 2018-06-25 2020-12-01 Amazon Technologies, Inc. Execution of auxiliary functions in an on-demand network code execution system
CN108874438B (en) * 2018-06-25 2021-09-21 南京中感微电子有限公司 Patch generation method and device, electronic equipment and computer storage medium
US10649749B1 (en) 2018-06-26 2020-05-12 Amazon Technologies, Inc. Cross-environment application of tracing information for improved code execution
US11146569B1 (en) 2018-06-28 2021-10-12 Amazon Technologies, Inc. Escalation-resistant secure network services using request-scoped authentication information
US10949237B2 (en) 2018-06-29 2021-03-16 Amazon Technologies, Inc. Operating system customization in an on-demand network code execution system
US11099870B1 (en) 2018-07-25 2021-08-24 Amazon Technologies, Inc. Reducing execution times in an on-demand network code execution system using saved machine states
US11243953B2 (en) 2018-09-27 2022-02-08 Amazon Technologies, Inc. Mapreduce implementation in an on-demand network code execution system and stream data processing system
US11099917B2 (en) 2018-09-27 2021-08-24 Amazon Technologies, Inc. Efficient state maintenance for execution environments in an on-demand code execution system
US11943093B1 (en) 2018-11-20 2024-03-26 Amazon Technologies, Inc. Network connection recovery after virtual machine transition in an on-demand network code execution system
US10884812B2 (en) 2018-12-13 2021-01-05 Amazon Technologies, Inc. Performance-based hardware emulation in an on-demand network code execution system
DE102018009835A1 (en) * 2018-12-14 2020-06-18 Giesecke+Devrient Mobile Security Gmbh Incremental firmware update
US10762196B2 (en) 2018-12-21 2020-09-01 Square, Inc. Point of sale (POS) systems and methods with dynamic kernel selection
US10990969B2 (en) 2018-12-21 2021-04-27 Square, Inc. Point of sale (POS) systems and methods for dynamically processing payment data based on payment reader capability
US11049095B2 (en) 2018-12-21 2021-06-29 Square, Inc. Point of sale (POS) systems and methods with dynamic kernel selection
US11010188B1 (en) 2019-02-05 2021-05-18 Amazon Technologies, Inc. Simulated data object storage using on-demand computation of data objects
US11861386B1 (en) 2019-03-22 2024-01-02 Amazon Technologies, Inc. Application gateways in an on-demand network code execution system
WO2020194000A1 (en) 2019-03-28 2020-10-01 Validata Holdings Limited Method of detecting and removing defects
US11119809B1 (en) 2019-06-20 2021-09-14 Amazon Technologies, Inc. Virtualization-based transaction handling in an on-demand network code execution system
CN110333890A (en) * 2019-06-28 2019-10-15 南京兆伏电力科技有限公司 The method that long-range programming solidifies FLASH data
US11115404B2 (en) 2019-06-28 2021-09-07 Amazon Technologies, Inc. Facilitating service connections in serverless code executions
US11190609B2 (en) 2019-06-28 2021-11-30 Amazon Technologies, Inc. Connection pooling for scalable network services
US11159528B2 (en) 2019-06-28 2021-10-26 Amazon Technologies, Inc. Authentication to network-services using hosted authentication information
US11023416B2 (en) 2019-09-27 2021-06-01 Amazon Technologies, Inc. Data access control system for object storage service based on owner-defined code
US11263220B2 (en) 2019-09-27 2022-03-01 Amazon Technologies, Inc. On-demand execution of object transformation code in output path of object storage service
US11250007B1 (en) 2019-09-27 2022-02-15 Amazon Technologies, Inc. On-demand execution of object combination code in output path of object storage service
US11360948B2 (en) 2019-09-27 2022-06-14 Amazon Technologies, Inc. Inserting owner-specified data processing pipelines into input/output path of object storage service
US11416628B2 (en) 2019-09-27 2022-08-16 Amazon Technologies, Inc. User-specific data manipulation system for object storage service based on user-submitted code
US10996961B2 (en) 2019-09-27 2021-05-04 Amazon Technologies, Inc. On-demand indexing of data in input path of object storage service
US11055112B2 (en) 2019-09-27 2021-07-06 Amazon Technologies, Inc. Inserting executions of owner-specified code into input/output path of object storage service
US11023311B2 (en) 2019-09-27 2021-06-01 Amazon Technologies, Inc. On-demand code execution in input path of data uploaded to storage service in multiple data portions
US10908927B1 (en) 2019-09-27 2021-02-02 Amazon Technologies, Inc. On-demand execution of object filter code in output path of object storage service
US11106477B2 (en) 2019-09-27 2021-08-31 Amazon Technologies, Inc. Execution of owner-specified code during input/output path to object storage service
US11656892B1 (en) 2019-09-27 2023-05-23 Amazon Technologies, Inc. Sequential execution of user-submitted code and native functions
US11386230B2 (en) 2019-09-27 2022-07-12 Amazon Technologies, Inc. On-demand code obfuscation of data in input path of object storage service
US11550944B2 (en) 2019-09-27 2023-01-10 Amazon Technologies, Inc. Code execution environment customization system for object storage service
US11394761B1 (en) 2019-09-27 2022-07-19 Amazon Technologies, Inc. Execution of user-submitted code on a stream of data
US10997056B1 (en) * 2019-10-09 2021-05-04 Fujitsu Limited Generation of explanatory and executable repair examples
US11119826B2 (en) 2019-11-27 2021-09-14 Amazon Technologies, Inc. Serverless call distribution to implement spillover while avoiding cold starts
US10942795B1 (en) 2019-11-27 2021-03-09 Amazon Technologies, Inc. Serverless call distribution to utilize reserved capacity without inhibiting scaling
US11714682B1 (en) 2020-03-03 2023-08-01 Amazon Technologies, Inc. Reclaiming computing resources in an on-demand code execution system
US11188391B1 (en) 2020-03-11 2021-11-30 Amazon Technologies, Inc. Allocating resources to on-demand code executions under scarcity conditions
US11775640B1 (en) 2020-03-30 2023-10-03 Amazon Technologies, Inc. Resource utilization-based malicious task detection in an on-demand code execution system
US11593270B1 (en) 2020-11-25 2023-02-28 Amazon Technologies, Inc. Fast distributed caching using erasure coded object parts
US11550713B1 (en) 2020-11-25 2023-01-10 Amazon Technologies, Inc. Garbage collection in distributed systems using life cycled storage roots
CN114860308A (en) * 2021-02-04 2022-08-05 北京国基科技股份有限公司 Embedded software reconstruction method and device
US11388210B1 (en) 2021-06-30 2022-07-12 Amazon Technologies, Inc. Streaming analytics using a serverless compute system
CN113656059B (en) * 2021-10-21 2022-02-08 北京联盛德微电子有限责任公司 Embedded software system
CN115469901B (en) * 2022-08-16 2023-05-12 哈尔滨理工大学 Dual-core DSP detachable remote upgrading system and upgrading method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5481713A (en) * 1993-05-06 1996-01-02 Apple Computer, Inc. Method and apparatus for patching code residing on a read only memory device
US5619698A (en) * 1995-05-05 1997-04-08 Apple Computer, Inc. Method and apparatus for patching operating systems
US5675803A (en) * 1994-01-28 1997-10-07 Sun Microsystems, Inc. Method and apparatus for a fast debugger fix and continue operation
US6064815A (en) * 1996-06-03 2000-05-16 Sun Microsystems, Inc. System and method for generating fix-up code facilitating avoidance of an exception of a predetermined type in a digital computer system
US6321380B1 (en) * 1999-06-29 2001-11-20 International Business Machines Corporation Method and apparatus for modifying instruction operations in a processor
US6434744B1 (en) * 1999-03-03 2002-08-13 Microsoft Corporation System and method for patching an installed application program
US6594822B1 (en) * 1999-02-19 2003-07-15 Nortel Networks Limited Method and apparatus for creating a software patch by comparing object files
US6938109B1 (en) * 1998-06-08 2005-08-30 Microsoft Corporation Method and system for updating software with smaller patch files
US7032213B1 (en) * 1999-09-01 2006-04-18 Microsoft Corporation Fixing incompatible applications using a light debugger

Family Cites Families (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4954941A (en) * 1988-08-31 1990-09-04 Bell Communications Research, Inc. Method and apparatus for program updating
DE69034191T2 (en) * 1989-04-13 2005-11-24 Sandisk Corp., Sunnyvale EEPROM system with multi-chip block erasure
US5666293A (en) 1994-05-27 1997-09-09 Bell Atlantic Network Services, Inc. Downloading operating system software through a broadcast channel
US5699275A (en) * 1995-04-12 1997-12-16 Highwaymaster Communications, Inc. System and method for remote patching of operating code located in a mobile unit
US5896566A (en) 1995-07-28 1999-04-20 Motorola, Inc. Method for indicating availability of updated software to portable wireless communication units
US5689825A (en) 1995-07-28 1997-11-18 Motorola, Inc. Method and apparatus for downloading updated software to portable wireless communication units
US5802549A (en) * 1995-12-14 1998-09-01 International Business Machines Corporation Method and apparatus for patching pages of ROM
EP0825530A3 (en) * 1996-06-20 2004-06-02 Sharp Kabushiki Kaisha Computer apparatus having electrically rewritable nonvolatile memory, and nonvolatile semiconductor memory
US5848064A (en) 1996-08-07 1998-12-08 Telxon Corporation Wireless software upgrades with version control
JP3755204B2 (en) 1996-09-20 2006-03-15 カシオ計算機株式会社 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
US5963970A (en) * 1996-12-20 1999-10-05 Intel Corporation Method and apparatus for tracking erase cycles utilizing active and inactive wear bar blocks having first and second count fields
TW325551B (en) 1997-01-04 1998-01-21 Inventec Corp Auto switching memory space method capable of judging if there is updated version stored in memory circuit to automatically select program stored in ROM or memory circuit as execution stating location
US6266736B1 (en) * 1997-01-31 2001-07-24 Sony Corporation Method and apparatus for efficient software updating
US6049830A (en) 1997-05-13 2000-04-11 Sony Corporation Peripheral software download of a broadcast receiver
US5936667A (en) 1997-05-13 1999-08-10 Sony Corporation System and method for testing and updating stored content of a remote transmitter for an entertainment system
US5974312A (en) * 1997-07-10 1999-10-26 Ericsson Inc. System and method for updating a memory in an electronic device via wireless data transfer
US6002941A (en) 1997-12-17 1999-12-14 Motorola, Inc. Method and apparatus for implementing a service in a wireless communication system
US6167567A (en) * 1998-05-05 2000-12-26 3Com Corporation Technique for automatically updating software stored on a client computer in a networked client-server environment
US6209069B1 (en) * 1998-05-11 2001-03-27 Intel Corporation Method and apparatus using volatile lock architecture for individual block locking on flash memory
US6330715B1 (en) 1998-05-19 2001-12-11 Nortel Networks Limited Method and apparatus for managing software in a network system
US6353926B1 (en) 1998-07-15 2002-03-05 Microsoft Corporation Software update notification
US6366898B2 (en) 1998-09-21 2002-04-02 Sun, Microsystems, Inc. Method and apparatus for managing classfiles on devices without a file system
US6202208B1 (en) 1998-09-29 2001-03-13 Nortel Networks Limited Patching environment for modifying a Java virtual machine and method
US6237091B1 (en) 1998-10-29 2001-05-22 Hewlett-Packard Company Method of updating firmware without affecting initialization information
US6378069B1 (en) 1998-11-04 2002-04-23 Nortel Networks Limited Apparatus and methods for providing software updates to devices in a communication network
US6223291B1 (en) 1999-03-26 2001-04-24 Motorola, Inc. Secure wireless electronic-commerce system with digital product certificates and digital license certificates
US6357021B1 (en) * 1999-04-14 2002-03-12 Mitsumi Electric Co., Ltd. Method and apparatus for updating firmware
US6507881B1 (en) * 1999-06-10 2003-01-14 Mediatek Inc. Method and system for programming a peripheral flash memory via an IDE bus
US6397385B1 (en) 1999-07-16 2002-05-28 Excel Switching Corporation Method and apparatus for in service software upgrade for expandable telecommunications system
US6640334B1 (en) * 1999-09-27 2003-10-28 Nortel Networks Limited Method and apparatus of remotely updating firmware of a communication device
US6769059B1 (en) * 1999-12-17 2004-07-27 Intel Corporation System for updating computer's existing video BIOS without updating the whole computer's system BIOS
US20020012329A1 (en) 2000-06-02 2002-01-31 Timothy Atkinson Communications apparatus interface and method for discovery of remote devices
US6256232B1 (en) * 2000-07-07 2001-07-03 Institute For Information Industry Data access method capable of reducing the number of erasing to flash memory and data patch and access device using the same
US20020026474A1 (en) 2000-08-28 2002-02-28 Wang Lawrence C. Thin client for wireless device using java interface
GB2366693B (en) 2000-08-31 2002-08-14 F Secure Oyj Software virus protection
US6529416B2 (en) * 2000-11-30 2003-03-04 Bitmicro Networks, Inc. Parallel erase operations in memory systems
US7055148B2 (en) * 2000-12-07 2006-05-30 Hewlett-Packard Development Company, L.P. System and method for updating firmware
US6813571B2 (en) * 2001-02-23 2004-11-02 Power Measurement, Ltd. Apparatus and method for seamlessly upgrading the firmware of an intelligent electronic device
GB0123415D0 (en) * 2001-09-28 2001-11-21 Memquest Ltd Method of writing data to non-volatile memory
US20030079216A1 (en) * 2001-10-18 2003-04-24 International Business Machines Corporation Apparatus and method of using a hybrid of fixed media data and network-based data to provide software changes
JP4279528B2 (en) * 2002-09-18 2009-06-17 株式会社ミクニ Water pump
JP2005135187A (en) * 2003-10-30 2005-05-26 Toshiba Corp Electronic apparatus, and method for updating incorporated software

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5481713A (en) * 1993-05-06 1996-01-02 Apple Computer, Inc. Method and apparatus for patching code residing on a read only memory device
US5675803A (en) * 1994-01-28 1997-10-07 Sun Microsystems, Inc. Method and apparatus for a fast debugger fix and continue operation
US5619698A (en) * 1995-05-05 1997-04-08 Apple Computer, Inc. Method and apparatus for patching operating systems
US6064815A (en) * 1996-06-03 2000-05-16 Sun Microsystems, Inc. System and method for generating fix-up code facilitating avoidance of an exception of a predetermined type in a digital computer system
US6938109B1 (en) * 1998-06-08 2005-08-30 Microsoft Corporation Method and system for updating software with smaller patch files
US6594822B1 (en) * 1999-02-19 2003-07-15 Nortel Networks Limited Method and apparatus for creating a software patch by comparing object files
US6434744B1 (en) * 1999-03-03 2002-08-13 Microsoft Corporation System and method for patching an installed application program
US6321380B1 (en) * 1999-06-29 2001-11-20 International Business Machines Corporation Method and apparatus for modifying instruction operations in a processor
US7032213B1 (en) * 1999-09-01 2006-04-18 Microsoft Corporation Fixing incompatible applications using a light debugger

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050139728A1 (en) * 2003-02-20 2005-06-30 General Electric Company Method and system for autonomously resolving a failure
US7133756B2 (en) * 2003-02-20 2006-11-07 General Electric Company Method and system for autonomously resolving a failure
US20050028031A1 (en) * 2003-07-28 2005-02-03 Matsushita Electric Industrial Co., Ltd. Data recovery method and data recording apparatus
US7234078B2 (en) * 2003-07-28 2007-06-19 Matsushita Electric Industrial Co., Ltd. Data recovery method and data recording apparatus
US20050066019A1 (en) * 2003-09-18 2005-03-24 International Business Machines Corporation Computer application and methods for autonomic upgrade maintenance of computer hardware, operating systems and application software
US7624393B2 (en) * 2003-09-18 2009-11-24 International Business Machines Corporation Computer application and methods for autonomic upgrade maintenance of computer hardware, operating systems and application software
US20050257208A1 (en) * 2004-05-11 2005-11-17 Microsoft Corporation Efficient patching
US8539469B2 (en) * 2004-05-11 2013-09-17 Microsoft Corporation Efficient patching
US9092301B2 (en) 2004-05-11 2015-07-28 Microsoft Technology Licensing, Llc Efficient patching
US20060136892A1 (en) * 2004-12-16 2006-06-22 Branch Robert A Embedded agent for self-healing software
US8347285B2 (en) * 2004-12-16 2013-01-01 Intel Corporation Embedded agent for self-healing software
US7761710B2 (en) * 2005-04-05 2010-07-20 Mcafee, Inc. Captive portal system and method for use in peer-to-peer networks
US20060251258A1 (en) * 2005-04-05 2006-11-09 Mcafee, Inc. System, method and computer program product for updating security criteria in wireless networks
US20060224885A1 (en) * 2005-04-05 2006-10-05 Mcafee, Inc. Remotely configurable bridge system and method for use in secure wireless networks
US7606370B2 (en) * 2005-04-05 2009-10-20 Mcafee, Inc. System, method and computer program product for updating security criteria in wireless networks
US20060233375A1 (en) * 2005-04-05 2006-10-19 Mcafee, Inc. Captive portal system and method for use in peer-to-peer networks
US7757274B2 (en) 2005-04-05 2010-07-13 Mcafee, Inc. Methods and systems for exchanging security information via peer-to-peer wireless networks
US7822972B2 (en) 2005-04-05 2010-10-26 Mcafee, Inc. Remotely configurable bridge system and method for use in secure wireless networks
US20060265692A1 (en) * 2005-05-20 2006-11-23 Mengjin Su Method, apparatus, and computer program product for code patching
US8320890B2 (en) 2005-12-31 2012-11-27 Adobe Systems Incorporated Interrupting and resuming a media player
US8249569B1 (en) 2005-12-31 2012-08-21 Adobe Systems Incorporated Using local codecs
US8565739B2 (en) 2005-12-31 2013-10-22 Adobe Systems Incorporated Interrupting and resuming a media player
US9164963B2 (en) 2006-12-05 2015-10-20 Adobe Systems Incorporated Embedded document within an application
US9582478B2 (en) 2006-12-05 2017-02-28 Adobe Systems Incorporated Embedded document within an application
US10163088B2 (en) 2006-12-05 2018-12-25 Adobe Systems Incorporated Embedded document within an application
US8533820B2 (en) * 2006-12-12 2013-09-10 International Business Machines Corporation Reserved write positions on install media
US20080141291A1 (en) * 2006-12-12 2008-06-12 Johnny Meng-Han Shieh Reserved write positions on install media
US20100012732A1 (en) * 2007-01-24 2010-01-21 Giesecke & Devrient Gmbh Installing a patch in a smart card module
US8443299B1 (en) * 2007-02-01 2013-05-14 Adobe Systems Incorporated Rendering text in a brew device
US8589779B2 (en) 2007-03-08 2013-11-19 Adobe Systems Incorporated Event-sensitive content for mobile devices
US20080222520A1 (en) * 2007-03-08 2008-09-11 Adobe Systems Incorporated Event-Sensitive Content for Mobile Devices
US20090031301A1 (en) * 2007-05-24 2009-01-29 D Angelo Adam Personalized platform for accessing internet applications
US9128800B2 (en) * 2007-05-24 2015-09-08 Facebook, Inc. Personalized platform for accessing internet applications
US20090100159A1 (en) * 2007-10-16 2009-04-16 Siemens Aktiengesellschaft Method for automatically modifying a program and automation system
US8245215B2 (en) * 2007-10-16 2012-08-14 Siemens Aktiengesellschaft Method for automatically modifying a program and automation system
US9058230B1 (en) * 2008-05-27 2015-06-16 Symantec Operating Corporation Online expert system guided application installation
US20110107070A1 (en) * 2008-06-23 2011-05-05 Grig Barbulescu Patching of a read-only memory
US8918774B2 (en) 2008-09-04 2014-12-23 International Business Machines Corporation Updating a computer system
US8930930B2 (en) * 2008-09-04 2015-01-06 International Business Machines Corporation Updating a computer system
US20100058313A1 (en) * 2008-09-04 2010-03-04 Uwe Hansmann Updating a computer system
US20100180104A1 (en) * 2009-01-15 2010-07-15 Via Technologies, Inc. Apparatus and method for patching microcode in a microprocessor using private ram of the microprocessor
US20100235824A1 (en) * 2009-03-16 2010-09-16 Tyco Telecommunications (Us) Inc. System and Method for Remote Device Application Upgrades
US9104521B2 (en) * 2009-03-16 2015-08-11 Tyco Electronics Subsea Communications Llc System and method for remote device application upgrades
US11288090B1 (en) 2009-04-22 2022-03-29 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for injecting code into embedded devices
US10055251B1 (en) * 2009-04-22 2018-08-21 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for injecting code into embedded devices
US9075692B2 (en) * 2010-02-11 2015-07-07 Huawei Technologies Co., Ltd. Method, device and system for activating on-line patch
US20120102476A1 (en) * 2010-02-11 2012-04-26 Yu Jiaqiang Method, device and system for activating on-line patch
US9392017B2 (en) 2010-04-22 2016-07-12 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for inhibiting attacks on embedded devices
US10341378B2 (en) 2010-04-22 2019-07-02 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for inhibiting attacks on embedded devices
US10887340B2 (en) 2012-02-15 2021-01-05 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for inhibiting attacks on embedded devices
US9547489B2 (en) * 2014-03-31 2017-01-17 Qualcomm Incorporated System and method for modifying a sequence of instructions in a read-only memory of a computing device
US20150277894A1 (en) * 2014-03-31 2015-10-01 Qualcomm Incorporated System and Method for Modifying Firmware Used to Initialize a Computing Device
US10657262B1 (en) * 2014-09-28 2020-05-19 Red Balloon Security, Inc. Method and apparatus for securing embedded device firmware
US11361083B1 (en) 2014-09-28 2022-06-14 Red Balloon Security, Inc. Method and apparatus for securing embedded device firmware
US11669621B2 (en) * 2020-06-16 2023-06-06 Bank Of America Corporation Custom patching automation with machine learning integration
US20230259634A1 (en) * 2020-06-16 2023-08-17 Bank Of America Corporation Custom Patching Automation with ML integration
US11900106B2 (en) 2022-03-02 2024-02-13 International Business Machines Corporation Personalized patch notes based on software usage

Also Published As

Publication number Publication date
KR20040022451A (en) 2004-03-12
WO2003009136A1 (en) 2003-01-30
JP2004536405A (en) 2004-12-02
US20030084434A1 (en) 2003-05-01
EP1410181A1 (en) 2004-04-21
CN1529847A (en) 2004-09-15
US6760908B2 (en) 2004-07-06
US20050063242A1 (en) 2005-03-24

Similar Documents

Publication Publication Date Title
US6760908B2 (en) Embedded software update system
AU768774B2 (en) Method for processing messages in a cellular base station system
US7171606B2 (en) Software download control system, apparatus and method
US5699275A (en) System and method for remote patching of operating code located in a mobile unit
WO1997016938A1 (en) Upgrading software in a mobile telephone
CN108804118B (en) Firmware upgrading method, device and storage medium
CN101610499A (en) The upgrade method of wireless data card and system
US7340736B2 (en) Electronic device with an update agent that employs preprocessing techniques for update
US20050005198A1 (en) Parallel text execution on low-end emulators and devices
KR100651539B1 (en) Method for updaing for function in mobile phone
US20050216537A1 (en) Dynamic addressing (DA) using a centralized DA manager
CN106020882A (en) Application upgrading method, intelligent terminal and upgrading system
CN110851163A (en) Software updating method compatible with multi-device platform based on CAN communication
CN109819562B (en) System for wirelessly upgrading DMX lamp by computer
CN102065411A (en) Method for dynamically updating wireless sensor network
CN113138788A (en) Air conditioner program upgrading method and air conditioner system
CN111880827B (en) Embedded software upgrading method
US20060111084A1 (en) System and method for over-the-air update of wireless communication devices
CN113885926A (en) Operating system online upgrading method based on security chip
CN113535558A (en) Software version transmission method and device
EP1100282A1 (en) Transparent access to remote devices
US20050159183A1 (en) Remote application correction
US6779173B1 (en) Control system with an embedded microcomputer
CN111198687A (en) Compiling method of android system application program
CN110874226A (en) Android system function upgrading method

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION