KR20060072686A - Method for camera driving and display control in the mobile communication terminal - Google Patents

Method for camera driving and display control in the mobile communication terminal Download PDF

Info

Publication number
KR20060072686A
KR20060072686A KR1020040111395A KR20040111395A KR20060072686A KR 20060072686 A KR20060072686 A KR 20060072686A KR 1020040111395 A KR1020040111395 A KR 1020040111395A KR 20040111395 A KR20040111395 A KR 20040111395A KR 20060072686 A KR20060072686 A KR 20060072686A
Authority
KR
South Korea
Prior art keywords
task
priority
graph
camera
mobile communication
Prior art date
Application number
KR1020040111395A
Other languages
Korean (ko)
Inventor
김은정
Original Assignee
주식회사 팬택
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 주식회사 팬택 filed Critical 주식회사 팬택
Priority to KR1020040111395A priority Critical patent/KR20060072686A/en
Publication of KR20060072686A publication Critical patent/KR20060072686A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

본 발명은 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 이동통신 단말기에서 카메라 모드 운영시 촬영 순간부터 영상 인코딩 완료 시점까지만 UI 타스크보다 그래프 타스크의 우선순위를 낮게 함으로써 정상적인 촬영 영상 업데이트가 이루어지도록 한 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법에 관한 것이다.In the present invention, a mobile communication terminal using the MSM chipset equipped with a Qcamera module lowers the priority of the graph task from the UI task only from the moment of shooting to the completion of image encoding when the camera mode is operated. The present invention relates to a camera driving method and a display control method.

본 발명은 이동통신 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하고, 카메라 모드로 운영될 때에 사진 촬영 순간부터 촬영 영상 인코딩 완료 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경함으로써, 그래프 타스크에 의해 생성된 뷰파인더 데이터가 UI 타스크의 데이터와 충돌하는 문제가 발생하지 않게 되고, 이에 따라 그래프 타스크에서 LCD 화면에 디스플레이 하고자 하는 뷰파인더 데이터를 생성할 때에 UI 타스크에 의한 데이터 처리 이벤트가 발생하더라도 카메라 촬영 영상을 정상적으로 LCD 화면에 디스플레이 할 수 있게 된다.The present invention sets the priority of the graph task related to driving the camera when the mobile terminal is booted higher than the priority of the UI task, and sets the priority of the graph task only from the moment of photographing to the completion of encoding of the captured image when operating in the camera mode. By changing the UI task lower than the priority of the UI task, the viewfinder data generated by the graph task does not conflict with the data of the UI task. Therefore, the view task data to be displayed on the LCD screen is generated by the graph task. In this case, even if a data processing event occurs due to a UI task, the camera captured image can be displayed on the LCD screen normally.

이동통신 단말기, 카메라, Qcamera, MSM 칩셋, 그래프 타스크, UI 타스크, 우선순위, 사진 촬영, LCD 업데이트Mobile Terminal, Camera, Qcamera, MSM Chipset, Graph Tasks, UI Tasks, Priorities, Photo Shooting, LCD Update

Description

이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법{Method For Camera Driving And Display Control In The Mobile Communication Terminal}Method for camera driving and display control in the mobile communication terminal

도 1은 본 발명에 따른 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 동작을 도시한 순서도.1 is a flowchart illustrating a camera driving and display control operation in a mobile communication terminal according to the present invention.

본 발명은 이동통신 단말기에서의 카메라 구동 및 디스플레이에 관한 것으로, 특히 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 이동통신 단말기에서 카메라 모드 운영시 촬영 순간부터 영상 인코딩 완료 시점까지만 UI 타스크보다 그래프 타스크의 우선순위를 낮게 함으로써 정상적인 촬영 영상 업데이트가 이루어지도록 한 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법에 관한 것이다.The present invention relates to a camera driving and display in a mobile communication terminal, and in particular, in a mobile communication terminal using an MSM chipset equipped with a Qcamera module, the priority of the graph task over the UI task only from the moment of shooting to the completion of image encoding in the camera mode operation. The present invention relates to a camera driving and display control method in a mobile communication terminal to update the captured image by lowering.

최근 이동통신 단말기(휴대폰, PCS, PDA, 차량용 전화, 노트북, MP3 등)는 전자부품의 고감도 소형화 및 경량화와 더불어 그 크기가 점차적으로 소형화되었고, 소비자의 욕구에 따라 단순한 통화 기능 이외에도 다양한 부가 기능 예컨대, 라디오 청취나 TV 시청, MP3 재생 등과 같은 기능들이 복합된 이동통신 단말기가 개발되었으며, 특히 이동통신 단말기에 카메라 기능을 추가한 카메라폰이 개발되어 널리 사용되고 있다.Recently, mobile communication terminals (mobile phones, PCS, PDAs, car phones, laptops, MP3s, etc.) have been gradually reduced in size with high sensitivity miniaturization and light weight of electronic components, and various additional functions such as simple call function according to the needs of consumers. Mobile communication terminals have been developed that combine functions such as listening to radio, watching TV, and playing MP3. In particular, camera phones having camera functions added to mobile communication terminals have been developed and widely used.

이러한 카메라폰 즉, 이동통신 단말기에서 카메라를 구동하기 위해서는 베이스밴드 칩(Baseband Chip)을 이용하거나, 컬컴(Qualamn)사에서 제공하는 Qcamera 모듈(MSM 칩셋에 탑재)을 이용하게 되는데, 전자의 경우 속도 및 작업의 편이성에 비해서 가격이 비싸다는 단점이 있고, 후자의 경우 전반적인 성능은 떨어져도 가격면에서는 저렴하다는 장점이 있다.In order to drive the camera in such a camera phone, that is, a mobile communication terminal, a baseband chip is used, or a Qcamera module (mounted in the MSM chipset) provided by Cullam (Qualamn) is used. And there is a disadvantage that the price is expensive compared to the ease of operation, the latter has the advantage that the price is cheap in terms of overall performance.

그런데, 종래에 Qcamera 모듈을 이용하여 카메라를 구동시키는 이동통신 단말기의 경우 그 Qcamera 모듈의 개발이 지연되고 있으며, 또한 카메라 구동과 관련하여 많은 오류들이 발생되는 문제점이 있다.However, in the conventional mobile communication terminal for driving a camera using a Qcamera module, the development of the Qcamera module is delayed, and there is a problem that many errors are generated in connection with driving the camera.

즉, Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 이동통신 단말기는 다수의 쓰레드(thread) 즉, 타스크(task)가 존재하고, 이들 타스크 간의 유기적인 통신에 의하여 구동되는데, 이러한 타스크들은 생성되면서 각기 고유의 우선순위가 결정되고, 모든 타스크의 스케쥴은 그 우선순위를 근거로 하여 스위칭이 일어나면서 구동한다. 따라서, 호 처리 작업과 같은 우선순위가 높은 타스크가 처리하는 작업이 발생하는 경우 현재 수행중인 작업을 중지하고 해당 호 처리 작업을 수행하도록 되어 있다. 즉, 각 타스크는 자신보다 높은 우선순위를 갖는 타스크가 소정의 작업을 처리할 동안 그 보다 하위의 우선순위를 갖는 타스크는 자신의 작업을 처리할 수 없도록 되어 있다.That is, a mobile communication terminal using the MSM chipset equipped with the Qcamera module has a large number of threads, or tasks, and is driven by organic communication between these tasks. Priority is determined, and the schedules of all tasks are driven based on the priority of the switching. Therefore, when a task processed by a high priority task such as a call processing task occurs, the current task is stopped and the corresponding call processing task is performed. That is, each task is designed such that a task having a lower priority cannot process its own work while a task having a higher priority than its own process a given work.

이와 관련하여, 종래의 MSM 칩셋을 이용하는 이동통신 단말기의 경우 카메라 구동을 위해서 기존에 존재하지 않던 그래프 타스크(Graph Task)를 새로 생성하게 되었는데, 그래프 타스크는 사운드 타스크(Sound Task) 및 UI 타스크(User Interface Task)보다 우선순위가 낮게 설정(사운드 타스크 >> UI 타스크 >> 그래프 타스크)되어 있는 바, 그래프 타스크에 의해 생성된 카메라의 뷰파인더(Viewfinder) 데이터가 LCD 화면에 디스플레이 되고 있는 상태에서 UI 타스크가 소정의 데이터를 LCD 화면에 출력하게 되면, UI 타스크의 우선순위가 그래프 타스크의 우선순위보다 높기 때문에 그래프 타스크가 생성하는 뷰파인더 데이터가 - UI 타스크의 데이터와 서로 충돌하여 - 깨지는 현상이 발생하고, 이렇게 깨진 뷰파인더 데이터가 LCD 화면에 디스플레이 되기 때문에 치명적인 오류가 발생하는 문제점이 있었다.In this regard, in the case of a mobile communication terminal using a conventional MSM chipset, a new graph task has not been created to drive a camera, and the graph task includes a sound task and a UI task (User). It has a lower priority than Interface Tasks (Sound Tasks >> UI Tasks >> Graph Tasks), and the UI task is performed when the viewfinder data of the camera generated by the Graph task is displayed on the LCD screen. Outputs certain data on the LCD screen, the view task data generated by the graph task collides with the data of the UI task because the UI task has a higher priority than the graph task. , Fatal error because such broken viewfinder data is displayed on the LCD screen There are problems that occur.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 이동통신 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하고, 카메라 모드로 운영될 때에 사진 촬영 순간부터 촬영 영상 인코딩 완료 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경함으로써, 그래프 타스크에 의해 생성된 뷰파인더 데이터가 UI 타스크의 데이터와 충돌하는 문제를 발생하지 않도록 하고, 또한 그래프 타스크에서 LCD 화면에 디스플레이 하고자 하는 뷰파인더 데이터를 생성할 때에 UI 타스크 에 의한 데이터 처리 이벤트가 발생하더라도 카메라 촬영 영상을 정상적으로 LCD 화면에 디스플레이 할 수 있도록 하는데 있다.
SUMMARY OF THE INVENTION The present invention has been made to solve the problems described above, and an object thereof is to set a priority of a graph task related to driving a camera when the mobile terminal is booted higher than a priority of a UI task, and take a picture when operating in a camera mode. By changing the priority of the graph task to be lower than the priority of the UI task only from the moment to the completion of encoding of the captured image, the viewfinder data generated by the graph task does not cause a conflict with the data of the UI task. When creating viewfinder data to be displayed on the LCD screen in a task, even if a data processing event occurs by the UI task, the camera captured image can be displayed on the LCD screen normally.

상술한 바와 같은 목적을 해결하기 위한 본 발명의 특징은, 이동통신 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하는 과정과; 상기 이동통신 단말기가 카메라 모드로 운영될 때에 사진 촬영 요청이 있는 경우 사진 촬영 순간에 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경하는 과정과; 카메라 센서에 의해 촬영된 영상에 대한 디지털 신호 처리 및 인코딩 처리를 수행하여 촬영 영상 데이터를 생성한 후에 상기 그래프 타스크의 우선순위를 복원시키는 과정과; 상기 그래프 타스크의 우선순위가 복원되어 그래프 타스크의 우선순위가 UI 타스크의 우선순위보다 높게 전환된 상태에서 상기 촬영 영상 데이터를 LCD 화면에 디스플레이 해 주는 과정을 포함하는 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법을 구현하는데 있다.A feature of the present invention for solving the above object comprises the steps of setting the priority of the graph task associated with driving the camera at the time of booting the mobile communication terminal higher than the priority of the UI task; Changing the priority of the graph task to be lower than the priority of the UI task at the moment of taking the picture when the mobile communication terminal is operating in the camera mode; Restoring the priority of the graph task after generating the captured image data by performing digital signal processing and encoding processing on the image captured by the camera sensor; And displaying the captured image data on an LCD screen in a state in which the priority of the graph task is restored so that the priority of the graph task is higher than the priority of the UI task. To implement the control method.

여기서, 상기 이동통신 단말기는, 카메라 구동을 위한 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 단말기로서, WIPI 플랫폼 환경에서 Qcamera 모듈이 이용되고, 사용자 인터페이스(UI)의 경우 자체 제조사에서 사용하는 스펙이 적용되는 단말기인 것을 특징으로 한다.Here, the mobile communication terminal is a terminal using the MSM chipset equipped with a Qcamera module for driving the camera, the Qcamera module is used in the WIPI platform environment, the user interface (UI) is applied to the specifications used by its own manufacturer Characterized in that the terminal.

상술한 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법은, 상 기 이동통신 단말기가 카메라 모드로 운영될 때에 사진 촬영 요청이 없는 상태에서 카메라 센서를 통해 소정의 영상이 입력되는 경우 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 유지한 상태에서 입력되는 영상에 대한 뷰파인더 데이터를 생성하여 LCD 화면에 디스플레이 해 주는 과정을 더 포함하는 것을 특징으로 한다.The camera driving and display control method in the above-described mobile communication terminal is prioritized in a graph task when a predetermined image is input through a camera sensor without a picture taking request when the mobile communication terminal is operated in a camera mode. It is characterized in that it further comprises the step of generating the viewfinder data for the input image in the state of maintaining a higher than the priority of the UI task to display on the LCD screen.

또한, 상술한 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법은, 상기 이동통신 단말기가 카메라 모드로 운영될 때에 연속 촬영 요청이 있는 경우 연속 촬영되는 각 프레임 영상의 촬영 순간부터 그 프레임 영상에 대한 인코딩 처리를 완료하여 뷰파인더 데이터를 생성하기까지 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경하고, 상기 연속 촬영이 진행되는 도중에 촬영되는 각 프레임 영상에 대한 뷰파인더 데이터를 LCD 화면에 디스플레이 해 주는 순간에는 그래프 타스크의 우선순위를 복원시켜 상기 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 전환해 주는 과정을 더 포함하는 것을 특징으로 한다.In addition, the camera driving and display control method in the above-described mobile communication terminal, when the continuous communication request when the mobile communication terminal is operating in the camera mode, the encoding of the frame image from the moment of shooting each frame image to be taken continuously Change the priority of the graph task to be lower than the priority of the UI task until the processing is completed and the viewfinder data is generated, and the viewfinder data for each frame image taken during the continuous shooting is displayed on the LCD screen. The method may further include the step of restoring the priority of the graph task to convert the priority of the graph task higher than the priority of the UI task.

이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서는 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 이동통신 단말기에서 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하고, 카메라 촬영 순간부터 촬영 영상 인코딩 완료 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경함으로 써, 그래프 타스크에 의해 생성된 뷰파인더 데이터가 UI 타스크의 데이터에 영향받지 않고 정상적으로 LCD 화면에 디스플레이 시키게 되는데, 이러한 일련의 카메라 구동 및 디스플레이 동작은 MSM 칩셋에 의해 제어된다.In the present invention, in the mobile communication terminal using the MSM chipset equipped with the Qcamera module, the priority of the graph task related to driving the camera when the terminal is booted is set higher than the priority of the UI task, and the graph only from the moment of camera shooting to the completion of encoding of the captured image. By changing the priority of the task to be lower than the priority of the UI task, the viewfinder data generated by the graph task is displayed normally on the LCD screen without being influenced by the data of the UI task. Is controlled by the MSM chipset.

즉, 본 발명에 따른 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 동작을 첨부한 도면 도 1을 참조하여 설명하면 다음과 같다.That is, the camera driving and display control operation in the mobile communication terminal according to the present invention will be described with reference to FIG. 1 as follows.

먼저, 본 발명에서 이동통신 단말기는 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 단말기로서, Qcamera 모듈은 WIPI 플랫폼 환경에서 이용되고, 사용자 인터페이스(UI)는 자체 제조사에서 사용하는 스펙을 따른다.First, in the present invention, the mobile communication terminal is a terminal using the MSM chipset equipped with the Qcamera module, the Qcamera module is used in the WIPI platform environment, and the user interface (UI) follows the specification used by its own manufacturer.

이러한 이동통신 단말기가 초기 부팅을 하게 되면, 단말기의 중앙 처리부에 해당하는 MSM 칩셋에서는 각종 타스크를 생성하게 되고, 각 타스크의 우선순위를 결정하여 그 타스크 우선순위를 설정해 주게 되는데, 이때 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하게 된다. 예를 들어, 단말기 부팅시 사운드 타스크와 그래프 타스크 및 UI 타스크를 생성한다고 가정할 때, 사운드 타스크의 우선순위를 가장 높게 설정하고, UI 타스크의 우선순위를 가장 낮게 설정함으로써 그래프 타스크의 우선순위를 UI 타스크보다 높게 설정(사운드 타스크 >> 그래프 타스크 >> UI 타스크)하게 된다(스텝 S11).When the mobile terminal initially boots, the MSM chipset corresponding to the central processing unit of the terminal generates various tasks, determines the priority of each task, and sets the task priority. The priority of the graph task is set higher than that of the UI task. For example, suppose you create a sound task, a graph task, and a UI task when the device boots up. The priority of the graph task is set by setting the priority of the sound task to the highest and the UI task to the lowest priority. It is set higher than the task (sound task >> graph task >> UI task) (step S11).

이렇게 하여 이동통신 단말기에서의 타스크 생성 및 그 타스크 우선순위가 설정되고 나면, 그 이동통신 단말기는 대기 상태로 천이하여 이벤트가 발생되기를 기다리게 된다.After the task generation and the task priority are set in the mobile communication terminal in this way, the mobile communication terminal transitions to the standby state and waits for an event to occur.

이러한 대기 상태에서 단말기 사용자가 일련의 버튼 조작 등을 통해 카메라 모드 전환을 요청하게 되면, MSM 칩셋에서는 그 버튼 조작 이벤트를 감지하여 카메라 모드 전환 요청임을 인식하게 되고, 이에 따라 UI 타스크를 동작시켜 카메라 센서를 구동시키게 된다(스텝 S12).When the terminal user requests camera mode switching through a series of button manipulations in such a standby state, the MSM chipset detects the button manipulation event and recognizes the camera mode switching request. Accordingly, the UI task operates the camera sensor. Is driven (step S12).

이후, 카메라 센서가 구동되면, MSM 칩셋에 의해 그래프 타스크가 동작하게 되고, 이때 그래프 타스크는 카메라 센서를 통해 입력되는 영상에 대한 디지털 신호 처리 및 영상 인코딩 처리를 수행하여 일련의 뷰파인더 데이터를 생성하게 되며(스텝 S13), LCD 모듈은 그래프 타스크에 의해 생성되는 뷰파인더 데이터를 LCD 화면에 업데이트 즉, 디스플레이 해 주게 된다(스텝 S14). 이때, 본 발명에서는 단말기 부팅시 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정했기 때문에 UI 타스크에 의해 뷰파인더 데이터가 깨지는 현상은 발생하지 않게 된다.Then, when the camera sensor is driven, the graph task is operated by the MSM chipset, and the graph task generates a series of viewfinder data by performing digital signal processing and image encoding processing on an image input through the camera sensor. (Step S13), the LCD module updates, or displays, the viewfinder data generated by the graph task on the LCD screen (Step S14). At this time, in the present invention, since the priority of the graph task is set higher than the priority of the UI task when the terminal is booted, the viewfinder data is not broken by the UI task.

그리고, 그래프 타스크에 의해 생성되는 뷰파인더 데이터가 LCD 화면에 디스플레이되고 있는 상태에서 즉, 이동통신 단말기가 대기 모드에서 카메라 모드 전환되면서 카메라 센서를 통해 입력되는 영상에 대한 뷰파인더 데이터가 그래프 타스크에 의해 생성되어, 그 뷰파인더 데이터가 LCD 화면에 디스플레이 즉, 업데이트 되고 있는 상태에서 MSM 칩셋은 단말기 사용자에 의한 사진 촬영 요청이 있는지를 확인하게 된다(스텝 S15).In addition, while the viewfinder data generated by the graph task is displayed on the LCD screen, that is, the viewfinder data for the image input through the camera sensor is displayed by the graph task while the mobile communication terminal is switched from the standby mode to the camera mode. When the viewfinder data is generated and displayed, i.e., updated on the LCD screen, the MSM chipset checks whether there is a request for photographing by the terminal user (step S15).

이때, 단말기 사용자가 소정의 버튼 조작을 통해 사진 촬영을 요청함에 따라 MSM 칩셋에서 그 버튼 조작을 감지하여 사진 촬영 요청임을 인식하게 되면, 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경(그래프 타스크 << UI 타스크)함으로써 사진 촬영 순간에 카메라 센서에 의해 캡쳐된 영상이 LCD 화면에 정 상적으로 디스플레이 되도록 제어하게 된다(스텝 S16).At this time, when the terminal user requests to take a picture through a predetermined button operation, when the MSM chipset detects the button operation and recognizes that the picture is a photo request, the priority of the graph task is changed to be lower than that of the UI task. By performing the task << UI task, the image captured by the camera sensor at the moment of photographing is controlled so as to be normally displayed on the LCD screen (step S16).

이러한 사진 촬영 순간에 MSM 칩셋은 카메라 센서를 제어하여 그 카메라 센서를 통해 임의의 영상을 캡쳐함으로써 사진 촬영을 수행하게 되며, 그래프 타스크는 카메라 센서에 의해 캡쳐된 영상 즉, 단말기 사용자의 요청에 따라 카메라 센서에 의해 촬영된 영상에 대하여 디지털 신호 처리 및 영상 인코딩 처리를 수행하여 일련의 뷰파인더 데이터를 생성한 후에 그 뷰파인더 데이터를 LCD 모듈로 전달해 주게 되며(스텝 S17), 이때 MSM 칩셋은 촬영 영상에 대한 인코딩 처리를 완료하여 일련의 뷰파인더 데이터를 생성한 후에는 그래프 타스크의 우선순위를 다시 복원시킴으로써 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 다시 높게 전환(그래프 타스크 >> UI 타스크)하게 된다(스텝 S18).At the moment of photography, the MSM chipset controls the camera sensor to capture a random image through the camera sensor, and the graph task performs the picture capture by the camera sensor. Digital signal processing and image encoding processing are performed on the image captured by the sensor to generate a series of viewfinder data, and then the viewfinder data is transferred to the LCD module (step S17). After the encoding process is completed and a series of viewfinder data is generated, the graph task's priority is converted back to higher than that of the UI task (Graph Task >> UI Task) by restoring the graph task's priority again. (Step S18).

이후, LCD 모듈에서 그래프 타스크에 의해 생성된 뷰파인더 데이터 즉, 현재 촬영된 영상을 LCD 화면에 업데이트 즉, 디스플레이 해 줌으로써, 해당되는 사진 촬영을 종료하게 된다(스텝 S19).Thereafter, the LCD module updates, or displays, the viewfinder data generated by the graph task, that is, the currently photographed image, on the LCD screen, thereby terminating the corresponding photographing (step S19).

이와 같이, 본 발명에서는 사진 촬영 순간부터 촬영 영상 인코딩 완료 시점 즉, 카메라 센서로 영상을 촬영하는 시점부터 그 촬영 영상에 대한 뷰파인더 데이터를 생성하는 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경(그래프 타스크 << UI 타스크)함으로써, 그래프 타스크에 의해 생성된 촬영 영상에 대한 뷰파인더 데이터가 UI 타스크의 데이터와 충돌하지 않고 오류없이 정상적으로 LCD 화면에 디스플레이 되도록 할 수 있게 된다.As described above, in the present invention, the priority of the graph task is the priority of the UI task only from the moment of photographing the photographed image to the time of encoding the captured image, that is, the time of capturing the image with the camera sensor to the time of generating viewfinder data for the captured image. By changing lower (graph task << UI task), the viewfinder data for the captured image generated by the graph task can be displayed on the LCD screen normally without errors without colliding with the data of the UI task.

또한, 본 발명에 따른 실시예는 상술한 것으로 한정되지 않고, 본 발명과 관 련하여 통상의 지식을 가진자에게 자명한 범위내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있는데, 예를 들어, 단말기 사용자가 카메라 모드에서 소정의 버튼 조작을 통해 연속 촬영을 요청한 경우에는 카메라 센서에 의해 순차적으로 연속 촬영되는 각 프레임 영상의 촬영 순간부터 그 각각의 프레임 영상에 대한 인코딩 처리를 완료하는 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 순간적으로 낮게 변경(그래프 타스크 << UI 타스크)하고, 실제 카메라 센서에 의해 연속 촬영이 진행되는 도중에 그 연속 촬영된 각각의 프레임 영상을 LCD 화면에 업데이트 즉, 디스플레이 하는 순간에는 그래프 타스크의 우선순위를 복원시켜 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 다시 높게 전환해 주게 된다.In addition, the embodiment according to the present invention is not limited to the above, but can be carried out by various alternatives, modifications and changes within the scope obvious to those skilled in the art in connection with the present invention, for example For example, when the terminal user requests continuous shooting through a predetermined button operation in the camera mode, only the shooting moment of each frame image sequentially shot by the camera sensor until the completion of the encoding process for the respective frame image is performed. Change the priority of the graph task to instantaneously lower than the priority of the UI task (Graph Task << UI Task), and update each successive frame image on the LCD screen during continuous shooting by the actual camera sensor. That is, at the moment of display, the priority of the graph task is restored by restoring the priority of the graph task. It is granted to switch back to the higher priority than the priority of the UI task.

그리고, 카메라 센서의 연속 촬영에 의해 다음 프레임 영상을 촬영하는 순간에 다시 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경하고, 그 프레임 영상에 대한 인코딩 처리를 완료하게 되면, 다시 그래프 타스크의 우선순위를 복원시켜 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 전환해 줌으로써, LCD 모듈에서 연속 촬영된 각 프레임 영상을 LCD 화면에 정상적으로 업데이트 즉, 디스플레이 해 줄 수 있게 된다.When the next frame image is taken by the continuous shooting of the camera sensor, the priority of the graph task is changed again to be lower than the priority of the UI task, and when the encoding process for the frame image is completed, the graph task is again executed. By restoring the priority, the priority of the graph task is changed to be higher than the priority of the UI task, so that each frame image continuously shot by the LCD module can be normally updated or displayed on the LCD screen.

이상과 같이, 본 발명은 이동통신 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하고, 카메라 모드로 운영될 때에 사진 촬영 순간부터 촬영 영상 인코딩 완료 시점까지만 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경함으로써, 그래프 타스크에 의해 생성된 뷰파인더 데이터가 UI 타스크의 데이터와 충돌하는 문제가 발생하지 않게 되고, 이에 따라 그래프 타스크에서 LCD 화면에 디스플레이 하고자 하는 뷰파인더 데이터를 생성할 때에 UI 타스크에 의한 데이터 처리 이벤트가 발생하더라도 카메라 촬영 영상을 정상적으로 LCD 화면에 디스플레이 할 수 있게 된다.As described above, the present invention sets the priority of the graph task related to driving the camera when the mobile terminal is booted higher than the priority of the UI task, and when the graph task is operated in the camera mode, only the graph task from the moment of photographing to the time of encoding the captured image is completed. By changing the priority of the value lower than the priority of the UI task, the viewfinder data generated by the graph task does not collide with the data of the UI task. Therefore, the view to be displayed on the LCD screen in the graph task is prevented. When generating finder data, even if a data processing event by a UI task occurs, the camera photographed image can be displayed normally on the LCD screen.

Claims (4)

이동통신 단말기 부팅시 카메라 구동과 관련된 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 설정하는 과정과;Setting a priority of the graph task related to driving the camera when the mobile terminal is booted higher than the priority of the UI task; 상기 이동통신 단말기가 카메라 모드로 운영될 때에 사진 촬영 요청이 있는 경우 사진 촬영 순간에 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경하는 과정과;Changing the priority of the graph task to be lower than the priority of the UI task at the moment of taking the picture when the mobile communication terminal is operating in the camera mode; 카메라 센서에 의해 촬영된 영상에 대한 디지털 신호 처리 및 인코딩 처리를 수행하여 촬영 영상 데이터를 생성한 후에 상기 그래프 타스크의 우선순위를 복원시키는 과정과;Restoring the priority of the graph task after generating the captured image data by performing digital signal processing and encoding processing on the image captured by the camera sensor; 상기 그래프 타스크의 우선순위가 복원되어 그래프 타스크의 우선순위가 UI 타스크의 우선순위보다 높게 전환된 상태에서 상기 촬영 영상 데이터를 LCD 화면에 디스플레이 해 주는 과정을 포함하는 것을 특징으로 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법.And displaying the captured image data on an LCD screen in a state in which the priority of the graph task is restored and the priority of the graph task is higher than the priority of the UI task. Driving and display control method. 제 1항에 있어서,The method of claim 1, 상기 이동통신 단말기는, 카메라 구동을 위한 Qcamera 모듈이 탑재된 MSM 칩셋을 이용하는 단말기로서, WIPI 플랫폼 환경에서 Qcamera 모듈이 이용되고, 사용자 인터페이스(UI)의 경우 자체 제조사에서 사용하는 스펙이 적용되는 단말기인 것 을 특징으로 하는 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법.The mobile communication terminal is a terminal using an MSM chipset equipped with a Qcamera module for driving a camera, a Qcamera module is used in a WIPI platform environment, and a user interface (UI) is a terminal to which a specification used by its own manufacturer is applied. Camera driving and display control method in a mobile communication terminal, characterized in that. 제 1항에 있어서,The method of claim 1, 상기 이동통신 단말기가 카메라 모드로 운영될 때에 사진 촬영 요청이 없는 상태에서 카메라 센서를 통해 소정의 영상이 입력되는 경우 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 유지한 상태에서 입력되는 영상에 대한 뷰파인더 데이터를 생성하여 LCD 화면에 디스플레이 해 주는 과정을 더 포함하는 것을 특징으로 하는 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법.When a predetermined image is input through a camera sensor when there is no request to take a picture when the mobile communication terminal is operated in a camera mode, the priority of the graph task is higher than that of the UI task. And generating a viewfinder data and displaying the same on a LCD screen. 제 1항에 있어서,The method of claim 1, 상기 이동통신 단말기가 카메라 모드로 운영될 때에 연속 촬영 요청이 있는 경우 연속 촬영되는 각 프레임 영상의 촬영 순간부터 그 프레임 영상에 대한 인코딩 처리를 완료하여 뷰파인더 데이터를 생성하기까지 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 낮게 변경하고, 상기 연속 촬영이 진행되는 도중에 촬영되는 각 프레임 영상에 대한 뷰파인더 데이터를 LCD 화면에 디스플레이 해 주는 순간에는 그래프 타스크의 우선순위를 복원시켜 상기 그래프 타스크의 우선순위를 UI 타스크의 우선순위보다 높게 전환해 주는 과정을 더 포함하는 것을 특징으로 하는 이동통신 단말기에서의 카메라 구동 및 디스플레이 제어 방법.When the mobile communication terminal is operated in the camera mode, when there is a continuous shooting request, the priority of the graph task is changed from the moment of capturing each frame image that is continuously shot to the completion of encoding processing for the frame image to generate viewfinder data. The priority of the graph task is restored by changing the lower than the priority of the UI task and restoring the priority of the graph task at the moment of displaying the viewfinder data for each frame image photographed during the continuous shooting on the LCD screen. The method of driving a camera and display control in a mobile communication terminal, characterized in that it further comprises the step of switching to higher than the priority of the UI task.
KR1020040111395A 2004-12-23 2004-12-23 Method for camera driving and display control in the mobile communication terminal KR20060072686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040111395A KR20060072686A (en) 2004-12-23 2004-12-23 Method for camera driving and display control in the mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040111395A KR20060072686A (en) 2004-12-23 2004-12-23 Method for camera driving and display control in the mobile communication terminal

Publications (1)

Publication Number Publication Date
KR20060072686A true KR20060072686A (en) 2006-06-28

Family

ID=37165843

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040111395A KR20060072686A (en) 2004-12-23 2004-12-23 Method for camera driving and display control in the mobile communication terminal

Country Status (1)

Country Link
KR (1) KR20060072686A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313402B2 (en) 2013-06-20 2016-04-12 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313402B2 (en) 2013-06-20 2016-04-12 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof
US9591209B2 (en) 2013-06-20 2017-03-07 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof
US10148886B2 (en) 2013-06-20 2018-12-04 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof

Similar Documents

Publication Publication Date Title
AU2018415738B2 (en) Photographing Mobile Terminal
US9547434B2 (en) Image pickup device and image pickup method
EP2657809A1 (en) Portable electronic equipment with automatic control to keep display turned on and method
JP6250844B2 (en) Power consumption control method, apparatus, program, and recording medium
US20050231604A1 (en) Portable terminal device
JP2001086393A (en) Mobile object communications equipment
RU2701057C1 (en) Method and device for displaying time on a mobile device
WO2017173585A1 (en) Photographing method and terminal
TW201404133A (en) Automatic photographing device and method
KR101712762B1 (en) Method and device for loading theme application
US9445000B2 (en) Communication apparatus, control method therefor, and program
CN111651441B (en) Data processing method and device and computer storage medium
CN108289171A (en) A kind of photographic method of terminal, terminal and computer-readable medium
KR20210138438A (en) electronic device having camera device
CN116708958B (en) Motor control method and electronic equipment
KR20060072686A (en) Method for camera driving and display control in the mobile communication terminal
CN116820634A (en) Application processing device, control method, electronic device, and storage medium
US8504104B2 (en) Portable electronic device, serial transmission interface of portable electronic device and data transmission method thereof
JP2003008945A (en) Camera
KR100513053B1 (en) Auto controlling method for previewing image data
US11798516B2 (en) Method and device for adjusting display brightness, mobile terminal and storage medium
JP2004236310A (en) Electronic apparatus user interface for maintaining setting
CN114363500A (en) Photographing method, electronic device and computer-readable storage medium
CN117632314A (en) Interface display method and device, electronic equipment and storage medium
CN114428563A (en) Method and device for determining display frame rate and touch sampling rate and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application