CN102117252A - Portable electronic equipment, serial transmission interface and data transmission method thereof - Google Patents

Portable electronic equipment, serial transmission interface and data transmission method thereof Download PDF

Info

Publication number
CN102117252A
CN102117252A CN 201010128091 CN201010128091A CN102117252A CN 102117252 A CN102117252 A CN 102117252A CN 201010128091 CN201010128091 CN 201010128091 CN 201010128091 A CN201010128091 A CN 201010128091A CN 102117252 A CN102117252 A CN 102117252A
Authority
CN
China
Prior art keywords
module
wire harness
image sensing
image data
control module
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.)
Pending
Application number
CN 201010128091
Other languages
Chinese (zh)
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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN 201010128091 priority Critical patent/CN102117252A/en
Publication of CN102117252A publication Critical patent/CN102117252A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a serial transmission interface for portable electronic equipment. The portable electronic equipment comprises a control module, a display module and an image sensing module. The serial transmission interface comprises a first wire bundle coupled between the control module and the image sensing module, and a second wire bundle coupled among the control module, the display module and the image sensing module; wherein when the control module sets the image sensing module to be in a master control mode through the first wire bundle, the image sensing module can transmit captured image data to the display module through the second wire bundle. The invention further provides portable electronic equipment and a data transmission method for the serial transmission interface of the portable electronic equipment. The serial transmission interface and the data transmission method can enable the portable electronic equipment to provide image data directly from the image sensing module to the display module when providing an image preview service, and further reduce processing loads for a fundamental frequency circuit or a controller, and other related control units.

Description

Portable electronic devices and serial transmission interface thereof and data transmission method
Technical field
The present invention relates to a kind of serial transmission system, serial transmission interface and data transmission method thereof between particularly a kind of image sensing module, control module and display module that is applied to portable electronic devices.
Background technology
Image sensing module has been widely used in various portable electronic devices at present, for example notebook computer and mobile phone.In existing serial transmission system, when user's desire is utilized the instant video that display module preview image sensing module captured, image sensing module institute picked image data all are transferred into processing unit in advance, after for example baseband circuit (Baseband Circuit) or central processing unit (CPU) for example carry out repeatedly image processing such as figure, this processing unit again with preview must image data provide to display module and show, therefore this processing unit need spend many job costs so that the instant preview service to be provided, and may cause this processing unit can't handle other instant incidents immediately; For example, when the baseband circuit of mobile phone carrying out take a picture before during preview function taken most processing resource owing to handle the preview image, thus possible can't receiving unit note or incoming information.
In view of this, be necessary to propose a kind of data transmission interface and data transmission method that reduces the processing load of processing unit when the image preview mode of portable electronic devices, with effectively avoid portable electronic devices when the real time operation the misoperation that may occur.
Summary of the invention
The present invention proposes the serial transmission interface and the data transmission method thereof of a kind of portable electronic devices, portable electronic devices, it has two kinds of control models reducing processing unit occupied processing resource when the preview image, and then the misoperation when avoiding real time operation.
The invention provides a kind of serial transmission interface of portable electronic devices, described portable electronic devices comprises control module, display module and image sensing module.Described serial transmission interface comprises first wire harness, is coupled between described control module and the image sensing module; And second wire harness, be coupled between described control module, display module and the image sensing module; Wherein, when described control module was in the main control pattern by the first wire harness setting of image sensing module, image sensing module directly transferred to display module with institute's picked image data by second wire harness constantly and shows.
The present invention provides a kind of portable electronic devices in addition, comprises image sensing module, display module, control module and serial transmission interface.Described image sensing module is in order to pick-up image and export first image data and second image data.Described display module is in order to show first image data.Described control module is exported first image data or second image data in order to control described image sensing module, and forbids that display module receives second image data.Described serial transmission interface comprises first wire harness and second wire harness.Described first wire harness is coupled between control module and the image sensing module.Described second wire harness is coupled between control module, display module and the image sensing module; Wherein, when described control module was exported first image data by first wire harness control image sensing module, this first image data was directly transferred to display module by second wire harness; When described control module was exported second image data by first wire harness control image sensing module, this second image data was transferred to control module by second wire harness, and this control module forbids that display module receives second image data.
The present invention provides a kind of data transmission method of serial transmission interface of portable electronic devices in addition.Described portable electronic devices comprises control module, display module, image sensing module, first wire harness and second wire harness.Described data transmission method comprises the following steps: that control module sets this image sensing module by first wire harness and be in the main control pattern; And image sensing module directly transmits first image data to display module by second wire harness.
The data transmission method of another embodiment of the present invention comprises the following steps: that also control module passes through second wire harness and transmit reset control signal to display module, with the index location of replacement display module; And image sensing module transmits synchronizing signal to control module by first wire harness, makes this control module transmit described reset control signal to display module when image sensing module has captured an image frame at every turn.
The data transmission method of another embodiment of the present invention comprises the following steps: that in addition control module is in from control model by the first wire harness setting of image sensing module.
The data transmission method of another embodiment of the present invention comprises the following steps: also that in from control model the time control module passes through second wire harness and transmit disable signal to display module, receives second image data to forbid this display module; And image sensing module transmits second image data to control module by second wire harness.
In the various embodiments of the present invention, described first image data is RGB data (for example, the word length of 2 bytes), and described second image data is yuv data (for example, the word length of 1 byte).
Serial transmission interface of the present invention and data transmission method thereof can make portable electronic devices directly provide image data to display module by image sensing module when image preview service is provided, and then reduce the processing load of relevant control modules such as baseband circuit or controller.
Serial transmission interface of the present invention and data transmission method thereof can make portable electronic devices operate on main control pattern (Master Mode) according to behaviour in service operation image sensing module or from control model (Slave Mode).During the main control pattern, image sensing module directly carries out instant playback with institute's picked image data transmission to display module; During from control model, image sensing module is stored institute's picked image data transmission to control module or other aftertreatments.
Description of drawings
Fig. 1 has shown the calcspar of serial transmission system of the portable electronic devices of the embodiment of the invention.
Fig. 2 has shown the process flow diagram of data transmission method of serial transmission interface of the portable electronic devices of the embodiment of the invention.
Fig. 3 has shown that the serial transmission interface of the portable electronic devices of the embodiment of the invention works in the process flow diagram of main control pattern.
Fig. 4 has shown that the serial transmission interface of the portable electronic devices of the embodiment of the invention works in the process flow diagram from control model.
The main element symbol description
1 portable electronic devices, 100 control modules
200 image sensing modules, 300 display modules
420 first wire harness, 440 second wire harness
S10~S13 step S20~S22 step
Embodiment
For allow above-mentioned and other purposes of the present invention, feature and advantage can be more obvious, hereinafter will cooperate appended diagram, be described in detail below.In addition, in explanation of the present invention, identical member is with identical symbolic representation, in this close chat earlier bright.
The present invention relates to a kind of serial transmission system, particularly be applied to serial transmission interface and data transmission method thereof between image sensing module, control module and the display module of portable electronic devices.This portable electronic devices is the electronic installation with camera function.
Please refer to shown in Figure 1ly, it has shown the calcspar of serial transmission system of the portable electronic devices 1 of an embodiment of the present invention; Described portable electronic devices 1 for example can be notebook computer, mobile phone or personal digital assistant (PDA), but is not limited to this.Described portable electronic devices 1 comprises control module 100, image sensing module 200, display module 300 and serial transmission interface, and this serial transmission interface comprises first wire harness 420 and second wire harness 440.Described image sensing module 200 for example comprises CCD image sensor or CMOS image sensor, with pick-up image and export first image data and second image data.Described display module 300 for example comprises LCD or other kinds class display, with 200 picked image data of the described image sensing module of instant playback.Be understandable that described portable electronic devices 1 also comprises other elements, and these elements are not shown among Fig. 1.
When described portable electronic devices 1 was notebook computer, described control module 100 can be central processing unit (CPU); When described portable electronic devices was mobile phone, described control module 100 can be baseband circuit.In addition, the present invention also can be applicable on other electronic products with the function of taking pictures.
Described serial transmission interface is in order to provide the transmission of control signal, clock signal and image data between control module 100, image sensing module 200 and the display module 300.Described first wire harness 420 is coupled between control module 100 and the image sensing module 200, control signal to image sensing module 200 so that control module 100 can provide via this first wire harness 420, and make this image sensing module 200 provide frame synchronizing signal to control module 100 via this first wire harness 420.Described second wire harness 440 is coupled between described control module 100, image sensing module 200 and the display module 300, transmits in order to image data transmission and the control signal between control module 100 and the display module 300 between image sensing module 200 and the display module 300 to be provided.
Described serial transmission interface can be Serial Peripheral Interface (SPI) (Serial Peripheral Interface, SPI) or UART Universal Asynchronous Receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART), also can utilize USB (universal serial bus) (Universal Serial Bus, USB) or mobile industry processor interface (Mobile Industry Processor Interface MIPI) realizes.In addition, described first wire harness 420 can utilize internal integrate circuit bus (Inter-IC BUS, I2C) enforcement.
Described image sensing module 200 is used for continuous pick-up image frame, and then the function that provides the user to take a picture.Before photograph, image sensing module 200 also can provide the instant video preview by display module 300, so that the user can be according to time, direction and the position etc. of preview image decision photograph.
Be understandable that described preview image can be the operating mode that directly enters when system opens, or push the operating mode that just enters after the specific keys on the portable electronic devices via the user.
Please refer to shown in Figure 2ly, it has shown the process flow diagram of data transmission method of serial transmission interface of the portable electronic devices of the embodiment of the invention.Serial transmission system 1 of the present invention comprises main control pattern (Master Mode) and from control model (Slave Mode).The data transmission method of described serial transmission interface comprises the following steps: that described control module 100 is in main control pattern (step S10) by first wire harness, 420 setting of image sensing modules 200; And described control module 100 is in from control model (step S20) by first wire harness, 420 setting of image sensing modules 200.Among a kind of embodiment, described main control pattern for example is the image preview mode, and described for example is Photographing Mode from control model.
Please refer to shown in Figure 3, it has shown that the serial transmission interface of the portable electronic devices of the embodiment of the invention works in the process flow diagram of main control pattern, comprise the following steps: that control module 100 transmits reset control signal to display module 300, with its index location (step S11) of resetting by second wire harness 440; Image sensing module 200 directly transmits first image data to image display module 300 (step S12) by second wire harness 440; And image sensing module 200 transmits synchronizing signal to control module 100 (step S13) by first wire harness 420.
When carrying out the image preview mode, described control module 100 can be set at main control pattern (step S10) with image sensing module 200 by first wire harness 420.At this moment, described control module 100 transmits reset control signal to display module 300 via second wire harness 440 earlier, to set index location to a preset of this display module 300, and for example coordinate (0,0) or (1,1) (step S11).By this, the normal instant video data that sent of show image sensing module 200 of described display module 300.Under the main control pattern, described image sensing module 200 can initiatively directly transfer to display module 300 with first image data that is captured by second wire harness 440 and show, and need not handle in advance through control module 100 (step S12); Wherein said first image data for example is the RGB data.By this, by entering the main control pattern, can effectively reduce the processing resource of control module 100.
Under the main control pattern, image sensing module 200 carries out the instant video preview except on one's own initiative institute's picked image data directly being offered display module 300, this image sensing module 200 can transmit frame synchronizing signal to control module 100 (step S13) by first wire harness 420 at every turn when having captured an image frame (Frame).By this, the image data that has transmitted an image frame in each image sensing module 200 is to behind the display module 300, the index location that control module 100 can be upgraded (Refresh) display module 300 once again makes the normally next image frame of show image sensing module 200 transmission of display module 300 to the preset.
Please refer to shown in Figure 3, it has shown that the serial transmission interface of the portable electronic devices of the embodiment of the invention works in the process flow diagram from control model, comprise the following steps: that control module 100 transmits disable signal (disable signal) to display module 300 by second wire harness 440, receives second image data (step S21) to forbid it; Control module 100 is by first wire harness, 420 notice image sensing modules, 200 output second image datas (step S22); And image sensing module 200 transmits second image data to control module 100 (step S23) by second wire harness 440.
For the action of taking a picture, control module 100 can be set to image sensing module 200 from control model by first wire harness 420.For example control module 100 is for example pressed shutter according to user's operation, thereby transmits the acquisition signal of taking a picture to image sensing module 200 by first wire harness 420, makes image sensing module 200 output second image datas (step S20).From control model, for fear of display module 300 because of receiving the situation that mistake appears showing in second image data, control module 100 transmits disable signal to display module 300, to forbid that it receives second image data (step S21), for example make the input impedance of display module 300 form high impedance to forbid the input of second image data.Among a kind of embodiment, after display module 300 received described disable signal, this display module 300 can repeat to show an image frame that receives first shown before this disable signal image data.When control module 100 setting of image sensing modules 200 enter from control model, control module 100 may just be busy with handling other information or data and can't handle second image data immediately, 200 of image sensing modules wait for that the notices of control module 100 just begin to transmit second image data, and image sensing module 200 is in waiting time image output data not.When control module 100 had the free time can handle second image data, control module 100 was by first wire harness, 420 notice image sensing modules, 200 output second image datas (step S22).Then, image sensing module 200 is stored by second wire harness 440 transmission, second image data to control modules 100 or is carried out other aftertreatments (step S23).
Combine it, during main control pattern (for example picture preview), image sensing module 200 can directly provide the image data of rgb format to display module 300 via second wire harness 440, show that in order to this display module 300 wherein the data of RGB image for example are the word length (16-bitswords) of 2 bytes.During from control model (for example taking a picture), image sensing module 200 can provide the image data of yuv format to control module 100 via second wire harness 440, do actions such as subsequent pictures compression and storage in order to this control module 100, wherein the data of YUV image for example are the word length (8-bits words) of 1 byte.
In sum, because in the serial transmission system of existing portable electronic devices, image sensing module institute picked image data all are transferred into processing unit in advance and handle, thereby can take the processing resource of this processing unit.The present invention proposes a kind of portable electronic devices (Fig. 1) and serial transmission interface and data transmission method (Fig. 2 to Fig. 4) thereof in addition, it can select the main control pattern so that image sensing module institute picked image data directly transfer to the display module demonstration and anticipate without control module, use the running load that reduces control module, thereby reduce the generation of misoperation.
Though the present invention is disclosed by the foregoing description, yet the foregoing description is not that any the technical staff in the technical field of the invention without departing from the spirit and scope of the present invention, should do various changes and modification in order to qualification the present invention.Therefore protection scope of the present invention should be as the criterion with the scope that appended claims was defined.

Claims (10)

1. the serial transmission interface of a portable electronic devices, described portable electronic devices comprises control module, display module and image sensing module, described serial transmission interface comprises:
First wire harness is coupled between described control module and the described image sensing module; And
Second wire harness is coupled between described control module, described display module and the described image sensing module;
Wherein, when described control module was set described image sensing module and is in the main control pattern by described first wire harness, described image sensing module directly transferred to described display module with institute's picked image data by described second wire harness.
2. serial transmission interface according to claim 1, wherein, described serial transmission interface is Serial Peripheral Interface (SPI) or UART Universal Asynchronous Receiver Transmitter; Described first wire harness is an internal integrate circuit bus.
3. serial transmission interface according to claim 1, wherein, when described control module is set described image sensing module and is in from control model by described first wire harness, described image sensing module is subjected to the control of described control module, so that institute's picked image data are transferred to described control module by described second wire harness.
4. portable electronic devices, this device comprises:
Image sensing module is in order to pick-up image and export first image data and second image data;
Display module is in order to show described first image data;
Control module is exported described first image data or described second image data in order to control described image sensing module, and is forbidden that described display module receives described second image data; And
Serial transmission interface, this serial transmission interface comprises:
First wire harness is coupled between described control module and the described image sensing module; And
Second wire harness is coupled between described control module, described display module and the described image sensing module;
Wherein, when described control module was controlled described image sensing module and exported described first image data by described first wire harness, described first image data was directly transferred to described display module by described second wire harness; When described control module is controlled described image sensing module and is exported described second image data by described first wire harness, this second image data is transferred to described control module by described second wire harness, and described control module forbids that described display module receives described second image data.
5. portable electronic devices according to claim 4, wherein, described portable electronic devices is a notebook computer, described control module is the central processing unit of described notebook computer; Perhaps described portable electronic devices is a mobile phone, and described control module is the baseband circuit of described mobile phone.
6. portable electronic devices according to claim 4, wherein, described first image data is the RGB image data, described second image data is the YUV image data.
7. portable electronic devices according to claim 4, wherein, described serial transmission interface is Serial Peripheral Interface (SPI) or UART Universal Asynchronous Receiver Transmitter; Described first wire harness is an internal integrate circuit bus.
8. the data transmission method of the serial transmission interface of a portable electronic devices, described portable electronic devices comprises control module, display module, image sensing module, first wire harness and second wire harness, described data transmission method comprises the following steps:
Described control module is set described image sensing module by described first wire harness and is in the main control pattern; And
Described image sensing module by described second wire harness directly first image data that captured of transmission to described display module.
9. data transmission method according to claim 8, this method also comprises the following steps:
To described display module, described control module transmits extremely described display module of reset control signal by described second wire harness, with the index location of the described display module of resetting at a image frame that described image sensing module transmits described first image data; And
When described image sensing module had captured image frame of described first image data, described image sensing module transmitted synchronizing signal to described control module by described first wire harness.
10. data transmission method according to claim 8, this method comprise that also described control module sets described image sensing module by described first wire harness and be in from control model, are also comprising the following steps: from data transmission method described in the control model
Described control module transmits disable signal to described display module by described second wire harness, receives second image data to forbid this display module;
Described control module notifies described image sensing module to export described second image data by described first wire harness; And
Described image sensing module transmits described second image data to described control module by described second wire harness.
CN 201010128091 2010-01-06 2010-03-08 Portable electronic equipment, serial transmission interface and data transmission method thereof Pending CN102117252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010128091 CN102117252A (en) 2010-01-06 2010-03-08 Portable electronic equipment, serial transmission interface and data transmission method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010002211 2010-01-06
CN201010002211.0 2010-01-06
CN 201010128091 CN102117252A (en) 2010-01-06 2010-03-08 Portable electronic equipment, serial transmission interface and data transmission method thereof

Publications (1)

Publication Number Publication Date
CN102117252A true CN102117252A (en) 2011-07-06

Family

ID=44216029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010128091 Pending CN102117252A (en) 2010-01-06 2010-03-08 Portable electronic equipment, serial transmission interface and data transmission method thereof

Country Status (1)

Country Link
CN (1) CN102117252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107318037A (en) * 2016-04-26 2017-11-03 宏碁股份有限公司 Electronic installation and image transmission control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780359A (en) * 2004-11-18 2006-05-31 北京大学 CMOS imaging and information processing system for unmanned apparatus remote platform
WO2009152605A1 (en) * 2008-06-18 2009-12-23 Ati Technologies Ulc Graphics multi-media ic and method of its operation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780359A (en) * 2004-11-18 2006-05-31 北京大学 CMOS imaging and information processing system for unmanned apparatus remote platform
WO2009152605A1 (en) * 2008-06-18 2009-12-23 Ati Technologies Ulc Graphics multi-media ic and method of its operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107318037A (en) * 2016-04-26 2017-11-03 宏碁股份有限公司 Electronic installation and image transmission control method

Similar Documents

Publication Publication Date Title
KR102170781B1 (en) Electronic device and method for processing image
CN101237548B (en) Image pickup apparatus and control method, image display apparatus and control method
WO2015126224A1 (en) Method of providing preview image regarding display setting for device
WO2015122616A1 (en) Photographing method of an electronic device and the electronic device thereof
KR20110069271A (en) Imaging device and method for sharing memory among chips
US20050101343A1 (en) Mobile phone device with video output
EP3128435A2 (en) Interface circuit, method and device for state switching
US20070200917A1 (en) Methods and systems for image transmission
US9485402B2 (en) Imaging apparatus, operation control terminal device, operation control system and computer readable medium for operation control
CN107317687B (en) Remote control method, equipment and system
EP2012535B1 (en) Direct interface of camera module to general purpose i/o port of digital baseband processor
CN112506460A (en) Screen control authority sharing method and device, terminal and storage medium
CN102117252A (en) Portable electronic equipment, serial transmission interface and data transmission method thereof
CN101202880A (en) Mobile terminal with camera shooting function
CN111062224A (en) Content transmission method and terminal equipment
US8504104B2 (en) Portable electronic device, serial transmission interface of portable electronic device and data transmission method thereof
CN113873158A (en) Electronic equipment and control method thereof
CN108108620B (en) Method and system for controlling remote electronic device
JP4773533B2 (en) System and method enabling high-speed extraction of interleaved video data
CN106649174B (en) USB device and USB communication method
CN109951676B (en) Picture transmission method and camera device
TWI402679B (en) Portable electronic device, serial transmission interface of portable electronic device and data transmission method thereof
KR101286328B1 (en) Multimedia storage card system
WO2024109087A1 (en) Command processing method and apparatus
WO2015152664A1 (en) Method and electronic device for dispersing noise signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110706