CN1404292A - Mutual data transmission method between digital camera and portable electronic communication equipment - Google Patents

Mutual data transmission method between digital camera and portable electronic communication equipment Download PDF

Info

Publication number
CN1404292A
CN1404292A CN 01126631 CN01126631A CN1404292A CN 1404292 A CN1404292 A CN 1404292A CN 01126631 CN01126631 CN 01126631 CN 01126631 A CN01126631 A CN 01126631A CN 1404292 A CN1404292 A CN 1404292A
Authority
CN
China
Prior art keywords
digital camera
data
electronic communication
communication equipment
image 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.)
Granted
Application number
CN 01126631
Other languages
Chinese (zh)
Other versions
CN1168280C (en
Inventor
蔡世光
韩巍
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.)
Inventec Appliances Shanghai Corp
Original Assignee
Inventec Group Shanghai Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Group Shanghai Electronic Technology Co Ltd filed Critical Inventec Group Shanghai Electronic Technology Co Ltd
Priority to CNB011266317A priority Critical patent/CN1168280C/en
Publication of CN1404292A publication Critical patent/CN1404292A/en
Application granted granted Critical
Publication of CN1168280C publication Critical patent/CN1168280C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Communication Control (AREA)

Abstract

The present invention provides a method of data mutual transmitting between the digital camera and the portable electronic communication device, which utilizes a self-defined image data communication protocol to send a command packet created by the portable electronic communication device to the digital camera to let the camera convert the image data stored on it to be at least above one rollback packets according to this command packet by utifizing this communication protocol, and then to transmit them back to the electronic communication device to let the electronic communication device carry out the error checking for the checking column position contained in the rollback packet by utilizing this communication protocol to ensure the electronic communication device receiving the correct image data from the digital camera.

Description

The method of mutual data transmission between digital camera and portable electronic communication equipment
Technical field
The present invention relates to the method for mutual data transmission between a kind of digital camera and portable electronic communication equipment, relate in particular to a kind of between digital camera and portable electronic communication equipment, utilize an image data communications protocol of definition voluntarily, to the image data in the transmission course, carry out the verification of error in data, make this electronic communication equipment receive accurate image data from this digital camera.
Background technology
In recent years, because communication industry is flourish, the price of mobile phone is more and more cheap, and then more and more many people use mobile phone, especially, the design of mobile phone and development are not only towards compact market trend, the big step strides forward, the planning of its function and purposes, the popular demand of more satisfied consumption, and constantly promote, as in this mobile phone, the transmission and the reception of default various news in brief or data so that no matter where the user is in, all can be passed through this mobile phone, the outer abnormal type of generally conversing is linked up, for people and the human world bringing communication way very easily.
At present, the transmission capacity of tradition mobile phone all belongs to narrow frequency scope, when excessive as if the capacity of data, these data are in transmission and receiving course, very easily be subjected to the start signal of its inner member, or the interference of outside other telecommunication signals, data transmission fault caused, especially, in the transmission or receiving course of data, because of the check mechanism without any signal coding, the situation of data transmission fault takes place very easily; In addition, because between general digital camera and computer, it is wire transmission mode with high power capacity, carry out data and transmit and receive, data can't be subjected to the interference of start signal or outside other telecommunication signals of its inner member in transmission and receiving course, the transmission of its data and reception situation are very stable, so the data between general digital camera and computer transmit and receive,, still can finish tens of transfer of data easily to hundreds of K (thousand) bit group though do not add the check mechanism of other signal codings.
Because, on traditional mobile phone, and can't directly utilize high power capacity transmission means between general digital camera and computer, if desire increases the function that receives image data from digital camera, be necessary problem in fact at transmission data between digital camera and mobile phone, further investigate, the important topic with effective solution transmission high power capacity image data makes mobile phone meet the target of multi-functional development.
Summary of the invention
Because between traditional mobile phone and digital camera, can't utilize the high power capacity transmission between general digital camera and computer, carry out the shortcoming of image data transmission, the inventor is through the permanent research and experiment of making great efforts, finally development and Design goes out the method for mutual data transmission between digital camera of the present invention and portable electronic communication equipment, the image data communications protocol that this method utilization defines voluntarily, with the order package that portable electronic communication equipment produced, be sent to digital camera, make this digital camera order package according to this, with image data stored on it, utilize this communications protocol, convert at least more than one response packet to, pass this electronic communication equipment again back, make this telecommunications dress can utilize this communications protocol,, carry out error checking the verification field that is comprised in this response packet.
A purpose of the present invention is to be provided with a verification field in this order package or response packet, in order to store the whether correct checking parameter of these packages of verification, this verification field mainly comprises a data length field, in order to the length of whole data in the data field that stores this package respectively; One data summation field is in order to store the summation of whole data value in this data field; An and packet header summation field, summation in order to each field value in the head (header) that stores these packages (packet), with as the parameter value that these packages are tested, make this electronic communication equipment or the digital camera can be at stored parameters value in this verification field, carry out verification, to judge the content of this order package or response packet, whether any mistake takes place in the process of transmission, if judge stored parameters value in this verification field, when not being inconsistent with the packet data of actual reception, a message that retransfers these packages will be sent, to corresponding digital camera or electronic communication equipment, in the order package or response packet that receives up to checking out, stored parameters value in this verification field, when conforming to, just carry out subsequent treatment, receive accurate image data from this digital camera to guarantee this telecommunications dress with these packet datas.
Another object of the present invention is to this electronic communication equipment before receiving the image data that this digital camera transmits, can be earlier with in its buffer, the image data of former storage, full scale clearance, after waiting this electronic communication equipment to receive this image data, utilize a coding checkout mechanism again, check the image data in this buffer, whether be whole identical codings, if, represent that then these data make a mistake, this electronic communication equipment will send an order package to this digital camera, require this digital camera response packet that retransfers, image data in checking out this buffer, behind the non-all identical coding, just carry out subsequent treatment, receive accurate image data to guarantee this electronic communication equipment.
For ease of to purpose of the present invention, shape, constructing apparatus feature and effect thereof, do further understanding and understanding, for the embodiment conjunction with figs., be described in detail as follows now:
Description of drawings
Fig. 1 is the structural representation of ordering package and response packet among the present invention.
Fig. 2 is that this digital camera receives process chart behind the order package that this electronic communication equipment sends among the present invention.
Fig. 3 is the flow chart that this electronic communication equipment receives image data among the present invention.
Embodiment
The present invention is the method for mutual data transmission between a kind of digital camera and portable electronic communication equipment, the image data communications protocol that this method utilization defines voluntarily, with the order package that this portable electronic communication equipment produced, be sent to a digital camera, make this digital camera order package according to this, with image data stored on it, utilize this communications protocol, convert at least more than one response packet to, be transmitted back to this electronic communication equipment again, make this telecommunications dress can utilize this communications protocol, to at least one verification field that is comprised in this response packet, carry out error checking, receive accurate image data from this digital camera to guarantee this telecommunications dress.So, can avoid in the process of transmission image data,, cause this electronic communication equipment and receive wrong image data, and it correctly can't be shown from this digital camera because of making a mistake.
In the present invention,, mainly comprise following field, consult shown in Figure 1 according to defined order package of this image data communications protocol or response packet:
(1) initial field 3 is in order to store the initial address of package, when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can judge the initial address of these packages according to stored parameter value in this initial field 3;
(2) identification field 2, be in order to store the identification parameter of this digital camera or this electronic communication equipment, when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can discern stored parameter value in the field 2 according to this, judge these packages and whether sent by compatible digital camera or electronic communication equipment;
(3) whether correct the verification field 1, be in order to storing these packages of verification checking parameter, and this verification field 1 mainly comprises following three fields:
A) data length (length of data field) field 10 is the length in order to whole data in the storage data field 5;
B) data summation (summation of data field) field 12 is the summations in order to whole data value in the storage data field 5;
C) packet header summation (summation of packet hrader) field 14, it is summation in order to each field value in the head (header) that stores these packages (packet), with as the parameter value that these packages are tested, each field of this head comprises this identification field 2, data length field 10 and data summation field 12, for the order package, each field of this head still comprises at least one parameter field (not shown) relevant with the order of being assigned;
(4) finish field 4, be in order to store the end address of package (packet) head (header), when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can finish stored parameter value in the field 4, judge the end address in packet header according to this;
(5) the data field 5, are the data of transmitting in order to storage (as: image data and relevent information thereof), and this data system is divided into several blocks, can be stored in regular turn in a plurality of fields that comprised in this data field 5 in order to do these blocks.
In the present invention, after this digital camera receives the order package that this electronic communication equipment sends, this digital camera will be carried out a signal test instruction, an archives move instruction and image information instruction in regular turn, and utilize the defined package form of this communications protocol, the response packet that this test instruction produced will be carried out, be sent to this electronic communication equipment, make this electronic communication equipment can determine and this digital camera between keep normal communication state; With carrying out the response packet that this image move instruction is produced, be sent to this electronic communication equipment, can receive the image data that this digital camera is spread out of to make this electronic communication equipment; And will carry out the response packet that the instruction of this image information is produced, be sent to this electronic communication equipment, with the relevent information of the image data that makes this electronic communication equipment confirm being received (as: this image wide, high ... Deng).
Because, in general wireless transmission process, the situation that the transmission data make a mistake, nothing more than following two kinds:
(1) data are omitted;
(2) data content mistake;
So, if can take precautions against above-mentioned two kinds of situations in advance, can be in data transmission procedure, it is minimum to make mistake reduce to.In the present invention, for solving the situation of aforementioned generation error in data, mainly be to make this electronic communication equipment or the digital camera can be at stored parameters value in this verification field, carry out verification, to judge the content of this order package or response packet, whether any mistake takes place in the process of transmission, if judge stored parameters value in this verification field, when not being inconsistent with the packet data of actual reception, a message that retransfers these packages will be sent, to corresponding digital camera or electronic communication equipment, in the order package or response packet that receives up to checking out, stored parameters value in this verification field is when conforming to these packet datas, just carry out subsequent treatment, receive accurate image data from this digital camera to guarantee this telecommunications dress.
General speech, the image data of digital camera all is made up of digital signal (as: with 0 or 1), this digital signal is under extreme situation, it all is 0 or 1 that its content is, and all be preset with several screening-modes on the general digital camera, make it under various shooting state, can be respectively with the screening-mode of correspondence, to scenery, take, to capture best digital image data, so under normal condition, 0 or 1 state content should be unlikely appear and all be in the digital image data that digital camera captured.
In the present invention, for solving the situation that transfer of data makes a mistake, this electronic communication equipment is before the image data that receives this digital camera, earlier in the buffer with this electronic communication equipment, the image data full scale clearance of former storage, wait this electronic communication equipment after receiving the image data that this digital camera transmits, utilize a coding checkout mechanism again, check the data in this buffer, judge whether all to be the state of same-code, if then represent this data content mistake, at this moment, this electronic communication equipment will transmit an order package again to this digital camera, require this digital camera image data that retransfers, and judge the non-all identical codings of the data that received up to this electronic communication equipment, beginning is confirmed to receive correct image data, and then intactly presents this image data on the display of this communication device.
In preferred embodiment of the present invention, see also shown in Figure 2ly, after this digital camera receives the order package that this electronic communication equipment sends, handle according to the following step:
(201) at first, read the stored parameters value of this verification field in the order package that this electronic communication equipment sends;
(202) then, judge the stored parameters value of this verification field, whether do not conform to the packet data of actual reception; If the parameters value is consistent with the packet data of actual reception, continue step (203); Otherwise, carry out step (206);
(203) read data in this order package;
(204) then, judge whether to receive complete data; If receive complete data, then continue step (205); Otherwise, carry out step (206);
(205), carry out subsequent treatment according to the instruction that is comprised in these data;
(206) produce a response packet, require this electronic communication equipment this order package that retransfers, and carry out step (201), continue this order package that is received is carried out verification, till affirmation receives correct order package.
In this embodiment, this electronic communication equipment then is according to the following step, sees also shown in Figure 3ly, receives and image data that verification is transmitted by this digital camera:
(301) at first, this electronic communication equipment is after sending an order package to this digital camera, requiring this digital camera to transmit image data, with the former image data of removing in its buffer;
(302) then, receive each response packet that this digital camera sends, and read respectively the stored parameters value of this verification field in this response packet respectively;
(303) judge the stored parameters value of this verification field, whether do not conform to the image data of actual reception; If the parameters value is consistent with the image data of actual reception, continue step (304); Otherwise, carry out step (308);
(304) read image data in this response packet respectively;
(305) then, judge that whether this image data belongs to all is zero data; If received data are not all to be zero, then continue step (306); Otherwise,, then carry out step (308) if received data all are zero;
(306) judge whether to read whole image data; If read whole image data, then continue step (307); Otherwise, carry out step (304), continue to read the image data in the response packet;
(307) this image data is stored in the storage device set in this electronic communication equipment;
(308) produce an order package, require this digital camera respectively this response packet that retransfers, and carry out step (301), continue respectively this response packet that is received is carried out verification, up to confirming till this digital camera receives accurate image data.
Press, the above only is the specific embodiment of the best of the present invention, and structural feature of the present invention is not limited thereto, and anyly is familiar with present technique field person, in field of the present invention, can think easily and variation or modification, all can be encompassed in the claim of following this case.

Claims (12)

1, the method of mutual data transmission between a kind of digital camera and portable electronic communication equipment, this method is utilized an image data communications protocol that defines voluntarily, with the order package that this portable electronic communication equipment produced, be sent to a digital camera, make this digital camera order package according to this, with image data stored on it, utilize this communications protocol, convert at least more than one response packet to, be transmitted back to this electronic communication equipment again, make this telecommunications dress can utilize this communications protocol, to at least one verification field that is comprised in this response packet, carry out error checking, receive accurate image data from this digital camera to guarantee this telecommunications dress.
2, the method for claim 1 is characterized in that, according to the defined package of this image data communications protocol, mainly comprises following field:
One initial field is in order to store the initial address of package, when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can judge the initial address of these packages according to stored parameter value in this initial field;
One identification field, be in order to store the identification parameter of this digital camera or this electronic communication equipment, when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can discern stored parameter value in the field according to this, judge these packages and whether sent by compatible digital camera or electronic communication equipment;
Whether correct a plurality of verification fields be in order to store these packages of verification checking parameter;
One finishes field, is in order to store the end address of package head, when making this digital camera or this electronic communication equipment utilize this communications protocol to read these packages, can finish stored parameter value in the field according to this, to judge the end address in packet header;
A plurality of data fields are data of transmitting in order to storage, and this data system is divided into several blocks, can be stored in regular turn respectively in this data field in order to do these blocks.
3, method as claimed in claim 2 is characterized in that, these verification fields comprise following three fields respectively:
One data length field is the length in order to whole data in the storage data field;
One data summation field is the summation in order to whole data value in the storage data field;
One packet header summation field is the summation in order to each field value in the head that stores these packages, and with as the parameter value that these packages are tested, each field of this head comprises this identification field, data length field and data summation field.
4, method as claimed in claim 3 is characterized in that, each field of the head of this order package also comprises at least one parameter field relevant with the order of being assigned.
5, the method for claim 1 is characterized in that, this digital camera is after receiving the order package that this electronic communication equipment sends, and this digital camera will be carried out following instruction in regular turn, and produces corresponding response packet:
One signal test instruction, and utilize the defined package form of this communications protocol with carrying out the response packet that this test instruction produced, is sent to this electronic communication equipment, make this electronic communication equipment can determine and this digital camera between keep normal communication state;
One archives move instruction, and utilize the defined package form of this communications protocol, with carrying out the response packet that this image move instruction is produced, be sent to this electronic communication equipment, can receive the image data that this digital camera is spread out of to make this electronic communication equipment;
One image information instruction, and utilize the defined package form of this communications protocol with carrying out the response packet that this image information instruction is produced, is sent to this electronic communication equipment, with the relevent information of the image data that makes this electronic communication equipment confirm being received.
6, the method of claim 1, it is characterized in that, this electronic communication equipment or digital camera can be at stored parameters values in this verification field, carry out verification, to judge the content of this order package or response packet, whether any mistake takes place in the process of transmission, if judge stored parameters value in this verification field, when not being inconsistent with the packet data of actual reception, a message that retransfers these packages will be sent, to corresponding digital camera or electronic communication equipment, in the order package or response packet that receives up to checking out, stored parameters value in this verification field is when conforming to these packet datas, just carry out subsequent treatment, receive accurate image data from this digital camera to guarantee this telecommunications dress.
7, the method of claim 1, it is characterized in that, this electronic communication equipment is before the image data that receives this digital camera, earlier in the buffer with this electronic communication equipment, the image data full scale clearance of former storage, wait this electronic communication equipment after receiving the image data that this digital camera transmits, utilize a coding checkout mechanism again, check the data in this buffer, judge whether all to be the state of same-code, if, then represent this data content mistake, this electronic communication equipment will transmit an order package again to this digital camera, require this digital camera image data that retransfers, judge the non-all identical codings of the data that received up to this electronic communication equipment, the beginning confirms to receive correct image data.
8, the method for claim 1 is characterized in that, this digital camera is to handle according to the following step after receiving the order package that this electronic communication equipment sends:
At first, the stored parameters value of this verification field in the order package that reads this electronic communication equipment and sent;
Then, judge the stored parameters value of this verification field, whether do not conform to the packet data of actual reception;
If the parameters value is consistent with the packet data of actual reception, then read the data in this order package;
Then, judge whether to receive complete data;
If receive complete data,, carry out subsequent treatment then according to the instruction that is comprised in these data.
9, method as claimed in claim 8, it is characterized in that, when judging the stored parameters value of this verification field, do not conform to the packet data of actual reception, or when not receiving complete data, this digital camera will produce a response packet, require this electronic communication equipment this order package that retransfers, and continue this order package that is received is carried out verification, till confirming to receive correct order package.
10, the method for claim 1 is characterized in that, this electronic communication equipment receives the image data that also verification is transmitted by this digital camera according to the following step:
At first, this electronic communication equipment is after sending an order package to this digital camera, requiring this digital camera to transmit image data, with the former image data of removing in its buffer;
Then, receive each response packet that this digital camera sends, and read respectively the stored parameters value of this verification field in this response packet respectively;
Judge the stored parameters value of this verification field, whether do not conform to the image data of actual reception;
If the parameters value is consistent with the image data of actual reception, then read the image data in this response packet respectively;
Then, judge that more whether this image data belongs to all is identical data;
If received data are not all identical, judge whether to have read whole image data again;
If read whole image data, then this image data is stored in the storage device set in this electronic communication equipment.
11, method as claimed in claim 10 is characterized in that, if do not run through whole image data as yet, then continues to read the image data in the response packet.
12, method as claimed in claim 11, it is characterized in that, if the stored parameters value of this verification field, do not conform to the image data of actual reception, or received data, all identical, then produce an order package, require this digital camera respectively this response packet that retransfers, and continue respectively this response packet that is received is carried out verification, up to confirming till this digital camera receives accurate image data.
CNB011266317A 2001-09-05 2001-09-05 Mutual data transmission method between digital camera and portable electronic communication equipment Expired - Fee Related CN1168280C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011266317A CN1168280C (en) 2001-09-05 2001-09-05 Mutual data transmission method between digital camera and portable electronic communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011266317A CN1168280C (en) 2001-09-05 2001-09-05 Mutual data transmission method between digital camera and portable electronic communication equipment

Publications (2)

Publication Number Publication Date
CN1404292A true CN1404292A (en) 2003-03-19
CN1168280C CN1168280C (en) 2004-09-22

Family

ID=4666641

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011266317A Expired - Fee Related CN1168280C (en) 2001-09-05 2001-09-05 Mutual data transmission method between digital camera and portable electronic communication equipment

Country Status (1)

Country Link
CN (1) CN1168280C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089830B (en) * 2006-06-16 2010-06-09 亮发科技股份有限公司 Memory device and its operation method
TWI489803B (en) * 2010-09-01 2015-06-21 Litepoint Corp Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089830B (en) * 2006-06-16 2010-06-09 亮发科技股份有限公司 Memory device and its operation method
TWI489803B (en) * 2010-09-01 2015-06-21 Litepoint Corp Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics

Also Published As

Publication number Publication date
CN1168280C (en) 2004-09-22

Similar Documents

Publication Publication Date Title
CN109524015B (en) Audio coding method, decoding method, device and audio coding and decoding system
CN1100421C (en) Protocol interface gateway
CN1242339C (en) Flash madium read fetch unit system capable of repositioning
CN1738464A (en) The data sending and receiving device and the method for digital mobile station
US7983301B2 (en) Method for extended transmission capabilities of short message service
CN1780390A (en) Picture taking system and method for mobile communication terminal for displaying site of taking pictures
RU2000114894A (en) DEVICE AND METHOD FOR TRANSMITTING IMAGES APPLICABLE TO COMMUNICATION TERMINAL
CN1404292A (en) Mutual data transmission method between digital camera and portable electronic communication equipment
CN106452483A (en) Method and apparatus for information interaction
JPH0567009A (en) File transfer processing system
CN113507530B (en) Data forwarding method, related system and device and storage medium
CN101056321A (en) A method for improving the performance of the radio application protocol gateway
CN114625580A (en) Single-wire debugging system and method based on ARM SWD debugging protocol
US6910176B2 (en) Method for communicating data between digital camera and portable electronic communication device
CN113492890A (en) Data acquisition and storage method for central control system and central control system
CN1310490C (en) A network digital camera system and method thereof
CN114172897B (en) Method and system for transmitting files of PC (personal computer) end and Android end
CN2676520Y (en) A network digital camera
CN2634746Y (en) Network digital camera system
CN100464511C (en) Ether net communication system and method
CN102637153B (en) Coupling device for e.g. data processing arrangement, has cache memory receiving and storing data received in serial data format via serial interface, and transmitting data stored in cache memory to parallel interface
KR100614807B1 (en) Image transmission apparatus of internet image phone using list queue for image media and image transmission method thereof
WO2006080403A1 (en) Communication device, communication system, communication method, communication program, and communication circuit
CN202513989U (en) Mobile terminal pick-up device with two-dimensional code hardware decoding recognition
CN1113640A (en) Selective calling receiver

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: INVENTEC APPLIANCES (SHANGHAI) ELECTRONICS CO., LT

Free format text: FORMER NAME OR ADDRESS: SHANGHAI ELECTRONIC TECHNOLOGY CO., LTD., YINGYEDA GROUP

CP01 Change in the name or title of a patent holder

Address after: 200233 Shanghai City Guiqin Road No. 7

Patentee after: Inventec (Shanghai) Electronics Co., Ltd.

Address before: 200233 Shanghai City Guiqin Road No. 7

Patentee before: Inventec Group (Shanghai) Electronic Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040922

Termination date: 20200905