# US 2003/0226099 A1 · Method for communicating data between digital camera and portable electronic communication device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0226099 A1
- Document ID: US20030226099A1
- Status: Published application
- Kind: A1
- Application number: 10/155,063
- Filed: 2002-05-28
- Published: 2003-12-04
- Earliest claimed: 2002-05-28
- Assignees: Inventec Appliances Corp.
- Inventors: Tony Tsai; Wei Han
- Web page: https://patentgrep.com/patent/US20030226099A1

## CPC

- H03M 13/00: Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes (error detection or error correction for analogue/digital, digital/analogue or code conversion H03M1/00 – H03M11/00; specially adapted for digital computers G06F11/08; for information storage based on relative movement between record carrier and transducer G11B, e.g. G11B20/18; for static stores G11C)
- H04L 1/0083: {Formatting with frames or packets; Protocol or part of protocol for error control}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The invention is to provide a method for communicating data between a digital camera and a portable electronic communication device comprising the processes of transmitting an instruction packet created by the electronic communication device to the digital camera for storage by means of a defined image data protocol; converting image data stored in the digital camera into at least one reply packet based on the instruction packet by performing the image data protocol by the digital camera and transmitting the reply packet back to the electronic communication device; and performing an error checking on at least one check field of the reply packet by the electronic communication device by means of the image data protocol so as to ensure that no erroneous image data being received.

## Claims

### Claim 1

A method for communicating data between a digital camera and a portable electronic communication device comprising the steps of:
transmitting an instruction packet created by the electronic communication device to the digital camera for storage by means of a defined image data protocol;
converting image data stored in the digital camera into at least one reply packet based on the instruction packet by performing the image data protocol by the digital camera, and transmitting the reply packet back to the electronic communication device; and
performing an error checking on at least one check field of the reply packet by the electronic communication device by means of the image data protocol so as to ensure that no erroneous image data transmitted from the digital camera is received by the electronic communication device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the packet defined by the image data protocol comprises:
a starting field for storing a starting address of the packet, which is used to determine the starting address of the packet based on a field value contained in the starting field while the digital camera or the electronic communication device read the packet by performing the image data protocol;
an identification (ID) field for storing an ID of the digital camera or the electronic communication device, which is used to determine whether the packet is transmitted from the compatible digital camera or the electronic communication device based on a field value contained in the ID field while the electronic communication device or the digital camera read the packet by performing the image data protocol;
a check field for storing a check parameter for checking whether the packet is correct;
an end field for storing an end address of the packet, which is used to determine the end address of the packet based on a field value contained in the end field while the digital camera or the electronic communication device read the packet by performing image data protocol; and
a plurality of data fields for storing data being transmitted wherein data is divided into a plurality of blocks being sequentially stored in the data fields.

### Claim 3 (depends on 2)

The method of claim 2, wherein the check field comprises:
a length of data field for storing a length of data contained in the data field;
a summation of data field for storing a sum of data contained in the data field; and
a summation of packet header field for storing a sum of values of fields in the header of the packet, the sum being used as a field value for checking the packet wherein the header of the packet comprise the ID field, the length of data field, and the summation of data field.

### Claim 4 (depends on 3)

The method of claim 3, wherein the header of the packet further comprises at least one parameter field associated with an issued instruction.

### Claim 5 (depends on 1)

The method of claim 1, while the digital camera received the instruction packet from the electronic communication device, the digital camera is capable of performing the following instruction:
a signal test instruction, wherein a reply packet created by executing the signal test instruction is transmitted to the electronic communication device by means of the instruction packet defined by the image data protocol so that the electronic communication device is capable of maintaining a normal communication with the digital camera;
a file transmission instruction, wherein a reply packet created by executing the file transmission instruction is transmitted to the electronic communication device by means of the instruction packet defined by the image data protocol so that the electronic communication device is capable of receiving an image data transmitted from the digital camera; and
an image data instruction, wherein a reply packet created by executing the image data instruction packet is transmitted to the electronic communication device by means of the instruction packet defined by the image data protocol so that the electronic communication device is capable of ascertaining information associated with the received image data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising the processes of:
commanding the electronic communication device or the digital camera to check the fields contained in the check field for determining whether there is any error occurred with respect to the content of the instruction packet or the reply packet during transmission;
issuing an instruction to the corresponding the electronic communication device or digital camera requesting a re-transmission of the packet if there is an inconsistency between one of the field values contained in the check field and the received data in the instruction packet or the reply packet; and
repeating the issuing step until there is no inconsistency between the field values contained in the check field and the received data in the instruction packet or the reply packet, thereby ensuring that no erroneous image data transmitted from the digital camera is received by the electronic communication device.

### Claim 7 (depends on 1)

The method of claim 1, wherein prior to receiving image data of the digital camera by the electronic communication device, image data previously stored in a buffer of the electronic communication device is cleared, in response, the electronic communication device begins to receive image data transmitted from the digital camera, carries out a check mechanism for encoding to check data contained in the buffer for determining whether data consists of a plurality of identical encoded values, and if the determination is positive, it means that data content is erroneous in response, the electronic communication device repeatedly issues an instruction packet to the digital camera requesting a retransmission of image data until the electronic communication device determines that data does not consist of the plurality of identical encoded values, thereby ensuring that all received image data is correct.

### Claim 8 (depends on 1)

The method of claim 1, wherein a checking process of receiving an instruction packet transmitted from the electronic communication device by the digital camera comprises the steps of:
(a) reading the field value contained in the check field of the instruction packet transmitted from the electronic communication device;
(b) determining whether there is an inconsistency between one of the field values contained in the check field and the received data in the instruction packet;
(c) if the determination in step (b) is negative, reading data contained in the instruction packet;
(d) determining whether a complete data is received; and
(e) if the determination in step (d) is positive, performing a subsequent processing based on an instruction contained in data of the instruction packet.

### Claim 9 (depends on 8)

The method of claim 8, wherein if the determination in step (b) is positive or if the determination in step (d) is negative, creating a reply packet requesting a re-transmission of the instruction packet from the electronic communication device by the digital camera and looping back to step (a) for continuation until it is ensured that the received instruction packet is correct.

### Claim 10 (depends on 1)

The method of claim 1, wherein a checking process of receiving image data transmitted from the digital camera by the electronic communication device comprises the steps of:
(f) commanding the electronic communication device to transmit an instruction packet to the digital camera for requesting it to clear image data previously stored in a buffer of the digital camera in response to an image data transmission by the digital camera;
(g) receiving the reply packet transmitted from the digital camera prior to reading the field value contained in the check field of the reply packet;
(h) determining whether there is an inconsistency between one of the field value contained in the check field of the reply packet and the received data in the reply packet;
(i) if the determination in step (h) is negative, reading image data contained in the reply packet;
(j) determining whether image data consists of a plurality of identical encoded values;
(k) if the determination in step (j) is negative, determining whether a complete image data has been read; and
(l) if the determination in step (k) is positive, storing image data in a memory of the electronic communication device.

### Claim 11 (depends on 10)

The method of claim 10, wherein if the determination in step (k) is negative, the method loops back to step (i) for reading image data contained in the reply packet.

### Claim 12 (depends on 11)

The method of claim 11, wherein if the determination in step (h) is positive or if the determination in step (j) is positive, creating an instruction packet requesting a re-transmission of the reply packet from the digital camera by the electronic communication device and looping back to step (f) for continuation until it is ensured that image data received from the digital camera is correct.
