Software update agent device and software patching method through the same
AssigneeKonamobility Company Limited
InventorsDong Soo Kang, Dong Hwan Lee, Tae Ho Lee, Seung Wook Baek
Life of this patent
Estimating the term…
Abstract
The present invention relates to a software update agent device and a patching method through the same, and provides a software update agent for patching software program and its related data on a client device such as an autonomous vehicle, a smartphone, and the like, thereby patching the software program used in the client device and its related data easily and quickly, based on the differential data between old and new versions of software data provided from remote software update management server.
Claims8
A method for patching software through a software update agent device, comprising:
- parsing software related information between old and new versions of a software data, and extracting difference related information for the old and new versions of the software data;
- identifying a partition and blocks in the partition from the extracted difference related information;
- and
- patching the old version of the software data in a client device with the new version of the software data by using the extracted difference related information of the old and new versions of the software data for the blocks in the identified partition,
- wherein the partition comprises one or more of the blocks and is distinguished according to a program, a kernel, or a filesystem,
- wherein each of the blocks is a data obtained by dividing all data of the partition by a predetermined block size, in case of the program or kernel, and each of the blocks is a data obtained by dividing each file data composed of the filesystem by the block size, in case of the filesystem,
- wherein the difference related information comprises a differential data stream generated for the one or more of the blocks with one of Equal, Insert or Mod as a sequence, determined by comparing each of corresponding blocks for the old and new versions of the software data, and
- wherein the patching comprises:
- generating the new version of the software data by reflecting the extracted difference related information to the old version of the software data, and
- extracting a compressed data stream from the difference related information and extracting the differential data stream from the compressed data stream,
- wherein extracting the differential data stream from the compressed data stream includes decompressing the compressed data stream through an opposite process of compressing the data stream,
- wherein the decompressing decompresses the compressed data stream, which is a lossless compressed data stream, and
- wherein the compressed data stream comprises compression information comprising conditions for creating the compressed data stream.
A software update agent device, comprising:
- a parser configured to parse software related information between old and new versions of a software data, and extract difference related information for the old and new versions of the software data;
- an information identifier configured to identify a partition and one or more blocks in the partition from the extracted difference related information;
- and
- a patch processor configured to generate a new version of the software data from the old version of the software data existing in a client device by using the extracted difference related information of the old and new versions of the software data for the one or more blocks in the identified partition,
- wherein, the partition comprises one or more of the blocks and is distinguished from a program, a kernel, or a filesystem, and each of the blocks is, in case of the program or kernel, a data obtained by dividing entire data of the partition by a predetermined block size, each of the blocks is, in case of the filesystem, the data obtained by dividing each file data composed of the filesystem by the block size, and
- wherein the difference related information comprises a differential data stream generated for the one or more of the blocks with one of Equal, Insert or Mod as a sequence, determined by comparing each of corresponding blocks for the old and new versions of the software data, and
- wherein the patch processor is further configured to:
- generate the new version of the software data by reflecting the extracted difference related information to old version of the software data, and
- extract a compressed data stream from the difference related information and extracting the differential data stream from the compressed data stream through a process of decompressing the compressed data stream through an opposite process of compressing the data stream,
- wherein the decompressing decompresses the compressed data stream, which is a lossless compressed data stream,
- wherein the compressed data stream comprises compression information comprising conditions for extracting the compressed data stream.
Dependencies are inferred from the claim text.