CN100459681C - Image sensing/playback apparatus, image data processing method, and data processing method - Google Patents

Image sensing/playback apparatus, image data processing method, and data processing method Download PDF

Info

Publication number
CN100459681C
CN100459681C CNB2005100915181A CN200510091518A CN100459681C CN 100459681 C CN100459681 C CN 100459681C CN B2005100915181 A CNB2005100915181 A CN B2005100915181A CN 200510091518 A CN200510091518 A CN 200510091518A CN 100459681 C CN100459681 C CN 100459681C
Authority
CN
China
Prior art keywords
task
mentioned
unit
data
priority
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.)
Expired - Fee Related
Application number
CNB2005100915181A
Other languages
Chinese (zh)
Other versions
CN1738401A (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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Publication of CN1738401A publication Critical patent/CN1738401A/en
Application granted granted Critical
Publication of CN100459681C publication Critical patent/CN100459681C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The image sensing/playback apparatus has an image sensing device that senses an image of an object and obtains electrical image data, an input/output I/F that inputs/outputs image data from/to an external storage medium, and a system controller that sequentially performs a plurality of tasks, exclusively controlling the input/output I/F and having respective priorities decided in advance, while giving an opportunity to switch between the plurality of tasks after processing of one unit data amount of data. The one unit data amount is one of the first unit data amount that is large and the second unit data amount that is smaller than the first unit data amount. If an instruction is given to perform the second task of the plurality of tasks while the first task, different from the second task, is performed to process the first unit data amount at a time, the system controller sets the unit data amount of one with a higher priority of the first and second tasks to the first unit data amount and the unit data amount of the other task with a lower priority to the second unit data amount to perform the tasks.

Description

Image sensing/playback apparatus, data processing method
Technical field
The present invention relates to the view data in image sensing/playback apparatus and the image sensing/playback apparatus and the processing method of non-picture data, particularly, relate to and to carry out the image sensing/playback apparatus of multitask and the processing method of view data in the image sensing/playback apparatus and non-picture data through common input/output interface as recording medium input and output view data.
Background technology
In general in the past image sensing/playback apparatus,, possess and carry out the recording medium of so-called input/output unit write data and read in data from to(for) recording medium for the image that the image of chronophotography and regeneration are write down.Its CPU controls to look like the so-called multitask of carrying out a plurality of processing simultaneously.When controlling with multitask like this, to visit in different tasks under the situation of common input/output unit, visit the task of input/output unit the earliest and use input/output unit, special-purpose arriving till its processing end.The input and output that will visit the task that the task of input/output unit formerly conducts interviews are later on handled and are through with, and input/output unit becomes idle condition and carries out input and output later on and handle.
In the access method for input/output unit as described above, even the high task requests of emergency is for the visit of input/output unit, but under the situation that conducting interviews earlier of task is arranged, owing to must wait until by finishing that this previous tasks is carried out for the visit of input/output unit, the problem that the processing that therefore exists the user to wish preferentially to carry out must be waited for.For above-mentioned problem, proposition adds sleep (sleep) in the low task of priority, not to handle but skip task in the sleep when the order of handling takes turns to it, the time that shortening is once visited in common equipment, make the high task of emergency preferentially to handle (for example, opening flat 10-283204 communique) with reference to the spy for joint equipment.
Yet, though the spy open put down in writing in the flat 10-283204 communique according to priority decision once access time and the main points of the length of one's sleep, if but according to such control, there be not the visit of request in the high task of priority for joint equipment, only be under the situation of the low task requests of priority for the visit of joint equipment, the time that all tasks all become sleep might take place.Under such situation, owing to without any task joint equipment is conducted interviews, so treatment effeciency is poor.
In addition, even realize the access time in certain moment between a plurality of tasks and the length of one's sleep high treatment effeciency, during for example some being through with in a plurality of tasks, owing to continue the identical access time and the length of one's sleep, therefore particularly in the high task termination of priority situation under, the task that the priority that might continue to handle is low all becomes the time of sleep, and treatment effeciency is poor.
And then, when a plurality of tasks are being visited joint equipment, when also having added the lower task of priority, the time that the low task of priority all becomes sleep does not take place in its result, in each access time that sets, separately, sequentially handle a plurality of tasks, thus the high task handling cost more time of priority.
Summary of the invention
The present invention finishes in view of above problem, its purpose is in the image sensing/playback apparatus under being in control tasks, when visiting common input/output unit, preferentially carry out the high task handling of priority, and improve overall efficiency for the processing of input/output unit.
The invention provides a kind of image sensing/playback apparatus, it is characterized in that having: subject is photographed, obtain the image unit of view data, this view data is a prints electrical image data; For external recording medium, comprise the input-output unit of input and output of the data of view data; Control unit, a plurality of tasks of priority have been predetermined for the quilt that above-mentioned input-output unit is exclusively controlled, the chance of task switching is provided between above-mentioned a plurality of tasks according to each processing unit of data, and order is carried out these a plurality of tasks, an above-mentioned processing unit is in a plurality of different data volume of carrying out in single treatment, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, above-mentioned control unit is that the maximum data volume of task setting that priority is the highest in these tasks is handled unit as one, for the data volume that the data volume of the low task setting of the priority task higher than priority is lacked is handled unit as one, to carry out a plurality of tasks.
The invention provides a kind of data processing method, this data processing method is used in image sensing/playback apparatus, and wherein, image sensing/playback apparatus has: subject is photographed, obtain the image unit of view data, this view data is a prints electrical image data; For external recording medium, comprise the input-output unit of input and output of the data of view data; Control unit, a plurality of tasks of priority have been predetermined for the quilt that above-mentioned input-output unit is exclusively controlled, the chance of task switching is provided between above-mentioned a plurality of tasks according to each processing unit of data, order is carried out these a plurality of tasks, it is characterized in that, this method may further comprise the steps: set step, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, for these tasks, above-mentioned control unit is that the maximum data volume of the highest task setting of priority is handled unit as one, for the data volume that the data volume of the low task setting of the priority task higher than priority is lacked is handled unit as one.
According to the present invention, a kind of image sensing/playback apparatus is provided, it is characterized in that having: subject is made a video recording, obtain the image unit of prints electrical image data; For external recording medium, comprise the input-output unit of input and output of the data of view data; Control unit, a plurality of tasks of priority have been predetermined for the quilt of the above-mentioned input-output unit of proprietary control, the chance of task switching is provided between above-mentioned a plurality of tasks in each processing unit of data, order is carried out these a plurality of tasks, an above-mentioned processing unit is in a plurality of different data volume of carrying out in single treatment, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, above-mentioned control unit, in these tasks, for the highest task of priority maximum data volumes is set at one and handles unit, the data volume of the data volume of the task higher than priority being lacked for the low task of priority is set at a processing unit, to carry out a plurality of tasks.
The invention provides a kind of data processing method, this data processing method is used in image sensing/playback apparatus, and wherein, image sensing/playback apparatus has photographs to subject, obtains the camera unit of prints electrical image data; For external recording medium, comprise the input-output unit of the data input and output of view data; Control unit, a plurality of tasks of priority have been predetermined for the quilt of the above-mentioned input-output unit of proprietary control, the chance of task switching is provided between above-mentioned a plurality of tasks in each processing unit of data, order is carried out these a plurality of tasks, it is characterized in that, the method comprising the steps of: set step, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, above-mentioned control unit, for these tasks, handle unit for the highest task of priority is set at one to maximum data volumes, the data volume of the data volume of the task higher than priority being lacked for the low task of priority is set at a processing unit.
Other features and advantages of the present invention are conspicuous in following and description that accompanying drawing is associated, wherein, identical reference number all accompanying drawing middle finger phasings with or similar part.
Description of drawings
Combining and constitute its a part of accompanying drawing with specification illustrates example of the present invention, and with describe one and be used from and explain principle of the present invention.
Fig. 1 is the block diagram of the structure of the image processing apparatus in expression the present invention the 1st example.
Fig. 2 illustrates the relation of the task in the present invention's the 1st example.
Fig. 3 is the flow chart of the photography order in explanation the present invention the 1st example.
Fig. 4 is the flow chart of the demonstration regeneration order in explanation the present invention the 1st example.
Fig. 5 is the flow chart of the write sequence in the photography order of explanation the present invention the 1st example.
Fig. 6 is the flow chart that reads in order in the regeneration DISPLAY ORDER of explanation the present invention the 1st example.
Fig. 7 is the flow chart of processing unit's setting order of the control task in explanation the present invention the 1st example.
Fig. 8 is the sequential chart of the task transfers in explanation the present invention the 1st example.
Fig. 9 illustrates the relation of the task in the present invention's the 2nd example.
Figure 10 is the flow chart of the non-picture data processing sequence in explanation the present invention the 2nd example.
Figure 11 is the flow chart of the write sequence in the photography order that illustrates in the present invention's the 2nd example.
Figure 12 is the flow chart that reads in order in the regeneration DISPLAY ORDER of explanation the present invention the 2nd example.
Figure 13 is the flow chart of the write sequence in the non-picture data processing sequence of explanation the present invention the 2nd example.
Figure 14 is the flow chart of processing unit's setting order of the control task in explanation the present invention the 2nd example.
The flow chart of the dispatching method of Figure 15 multitask that to be explanation the present invention the 2nd example undertaken by control task.
Figure 16 is the flow chart that the independent execution of the task 2 in explanation the present invention the 2nd example is handled.
Figure 17 is the flow chart that the independent execution of the task 3 in explanation the present invention the 2nd example is handled.
Figure 18 is the flow chart that the executed in parallel of task 1 in explanation the present invention the 2nd example and task 2 is handled.
Figure 19 is the flow chart that the executed in parallel of task 1 in explanation the present invention the 2nd example and task 3 is handled.
Figure 20 is the flow chart that the executed in parallel of task 2 in explanation the present invention the 2nd example and task 3 is handled.
Figure 21 is the flow chart that the executed in parallel of the task 1~task 3 in explanation the present invention the 2nd example is handled.
Figure 22 is the sequential chart of the task transfers in explanation the present invention the 2nd example.
Embodiment
With reference to accompanying drawing, describe example of the present invention in detail.
The 1st example
The structure of the image processing apparatus in the present invention's the 1st example at first, is described with reference to Fig. 1.
Among Fig. 1,100 is the image processing apparatus in the 1st example.Image processing apparatus 100 can be digital camera, Digital Video, have any of the portable terminal device of camera (comprising the portable phone that has camera).In the 1st example, illustrate that image processing apparatus 100 is situations of digital camera.
In image processing apparatus 100, the 10th, pick-up lens, the 11st, aperture, the 12nd, shutter, the 14th, optical imagery is transformed to the imaging apparatus of the signal of telecommunication, the 16th, the analog output signal of imaging apparatus 14 is transformed to the A/D converter of digital signal.
The 18th, supply with the timing generating circuit of clock signal or control signal respectively to imaging apparatus 14, A/D converter 16, indicative control unit 26, by memory control unit 22 and system control unit 50 controls.
The 20th, graphics processing unit, for from the view data of A/D converter 16 and the view data of memory control unit 22, according to the deal with data that is added in the view data, the pixel interpolating of being scheduled to is handled or the look conversion process.In addition, graphics processing unit 20 uses the calculation process of being scheduled to from the view data of A/D converter 16 outputs, according to resulting operation result, system control unit 50 is for fast door control unit 34, aperture control unit 40 and range finding control unit 42, and the automatic focus (AF) of carrying out TTL (through-the-lens) mode is handled, automatic exposure (AE) is handled, flash of light luminous in advance (EF) is handled.And then graphics processing unit 20 uses the calculation process of being scheduled to from the view data of A/D converter 16 outputs, according to resulting operation result, also carries out the Automatic white balance (AWB) of TTL mode and handles.
The 22nd, memory control unit, control A/D converter 16, timing generating circuit 18, graphics processing unit 20, image display controller 24, indicative control unit 26, memory 30, compression expanding element 32.View data process graphics processing unit 20 and memory control unit 22 from 16 outputs of A/D converter perhaps only pass through memory control unit 22, are written in image display-memory 24 or the memory 30.
The 24th, image display-memory, the 26th, indicative control unit, the 28th, image-display units with TFTLCD (LCD).The view data that is written to the demonstration usefulness in the image display-memory 24 shows on image-display units 28 through indicative control unit 26.
Shot image data then can realize electronics getter function if use image-display units 28 orders to show.In addition, image-display units 28 can make to show ON (opening) or OFF (closing) according to the indication of system control unit 50.Under the situation of the demonstration OFF that makes image-display units 28, can reduce the power consumption of image processing apparatus 100 significantly.In addition, image-display units 28 is according to the indication from system control unit 50, relevant information such as the posture of demonstration and focusing, hand, shutter speed, f-number, exposure correction.
The 30th, be used to preserve the rest image of shooting or the memory of live image, possess the rest image that is used to preserve predetermined number or the sufficient memory capacity of the live image of the scheduled time.Thus, even under the situation of continuous shooting of taking many rest images continuously or pan-shot, also can be written in the memory 30 at high speed and great amount of images.In addition, memory 30 can also use as the operation area of system control unit 50.And then, view data is being read into the memory 30 from recording medium described later, carry out view data is written to processing in the image display-memory 24 through graphics processing unit 20 or memory control unit 22, under situation about showing on the image-display units 28, also use memory 30 by indicative control unit 26.
The 32nd, (for example have the predetermined picture of deferring to compression method, adaptive discrete cosine transform (ADCT) etc.) the view data image compression of reading from memory 30 is for example jpeg data, the view data of having carried out image compression be written in the memory 30 function and the view data expansion of reading from memory 30, the view data of having expanded is written to the compression expanding element of the function in the memory 30.
The 34th, the fast door control unit of control shutter 12, the 40th, the aperture control unit of control aperture 11.The 42nd, the range finding control unit of the focusing of control pick-up lens 10, the 46th, photoflash lamp, the 48th, the luminous photoflash lamp control unit of control photoflash lamp 46.
The 50th, the system control unit of the integral body of control image processing apparatus 100.The 52nd, the memories such as ROM of the constant of the action usefulness of storage system control unit 50, variable, program etc., in memory 52 record make a video recording the program of handling, the program of carrying out image processing, the image file data that is generated is recorded program in the recording medium, reads the various programs such as program of image file data from recording medium, and the various programs etc. of OS etc. that realize and carry out the multitask structure of said procedure.Generate message for each program and insert signal, insert in the signal FIFO storing message (first-in first-out) in message, by carrying out the visit of message, each program of Collaborative Control is carried out the control of above-mentioned each function between each program.
60, the 62,64, the 66th, be used for the operating unit of the exercises indication of input system control unit 50, by switch or rotating disk (dial), touch-screen, based on single or a plurality of the constituting of the indicating device of line-of-sight detection, voice recognition device etc.
Here, carry out specifying of these operating units.
The 60th, pattern rotating disk (mode dial) switch, can switch and set power source ON (opening)/OFF (closing), regeneration mode, automatic photography pattern, program photograph mode, Shutter speed priority photograph mode, aperture priority photograph mode, manually set each functional mode such as pattern, task photograph mode, landscape photography pattern, close-perspective recording photograph mode, motion photography pattern, night scene photograph mode, regeneration mode, many picture regeneration/removing patterns, PC connection mode.
The 62nd, release-push SW1 becomes ON in the operating process of not shown release-push, and the action that indication beginning AF (automatic focus) handles, AE (automatic exposure) handles, AWB (Automatic white balance) handles, EF (photoflash lamp is luminous in advance) handles begins.
The 64th, release-push SW2, when the EO of not shown release-push, become ON, the indication beginning is signal process A/D converter 16 and the memory control unit 22 read from imaging apparatus 14, view data is written to exposure-processed in the memory 30, has used the video picture of the computing in graphics processing unit 20 or the memory control unit 22 to handle, read view data from memory 30, in compression expanding element 32, compress expansion, in storage medium 200, write the action that record image data is handled so a series of processing.
The 66th, the menu operation switch by not shown Menu key, constituting of key, numerical key etc. is set, can the limit watches image-display units 28 limits to carry out the change of various settings such as the photography conditions of camera or video picture condition.
The 80th, power control unit, constitute by DC-DC converter, the switching circuit etc. that switches the parts of energising, whether the detection of battery, battery variety, battery allowance is installed, indication according to testing result and system control unit 50, control DC-DC converter is supplied with necessary voltage to the each several part that comprises recording medium in the time of necessity.
The 90th, with the interface of recording mediums such as memory card or hard disk, the 92nd, with the connector that is connected of recording mediums such as memory card or hard disk.
In addition, in the 1st example, has interface that recording medium is installed and the situation of connector describes as a system.Certainly, the interface of recording medium and connector also can adopt and possess single or a plurality of structures that wait any system's number.Can also adopt in addition and possess the structure that the interface of different size and connector are combined.
As interface and connector, can use with the parts of specifications such as pcmcia card or dense flash memory (login trade mark) card to constitute as benchmark.Constitute under the situation of interface 90 and connector 92 at the parts that in order to specifications such as pcmcia card or CF cards are benchmark, by connecting various communication cards such as communication card such as LAN card or nextport modem card NextPort, USB card, IEEE1394 card, P1284 card, SCSI card, PHS, and between the peripheral equipments such as other computer or printer, transmitted image data or be attached to the management information of view data mutually.
The 200th, recording mediums such as memory card or hard disk.Recording medium 200 possess the record cell 202 that constitutes by semiconductor memory or disk etc., with the interface 204 of image processing apparatus 100, the connector 206 that is connected with image processing apparatus 100.
Secondly, various tasks are described.In this 1st example, be conceived to be used for the Imagery Data Recording that is arranged in memory 30 that generates by photograph processing to the task that writes of storage medium 200, the view data that is recorded in storage medium 200 is read into the task of reading in of memory 30, the control task relation of totally three tasks of controlling these two tasks, Fig. 2 illustrates its relation.In this 1st example, after the view data of having photographed temporarily is kept in the memory 30,,, make the priority ratio of the task of reading in write the task height in view of user's operability in order to be written in the recording medium 200.
Control task is that control writes task and the task of reading in task, for writing task and reading in task, carries out the switching that writes the HILOW setting of handling unit described later.In the 1st example, because the priority of reading in task is than the priority height that writes task, so control task writes task handling unit by switching, controls preferentially specific record medium of the feasible task of reading in.
Fig. 3 is that explanation begins to the flow chart of view data to a series of orders of recording medium 200 records from photography.In step S301, at first as narrating in the explanation of Fig. 1, response constitutes the SW1 (62) of not shown release-push, the operation of SW2 (64), proceed to a series of photograph processing of AF processing, AE processing, exposure-processed, the view data that photography is obtained temporarily is kept in the memory 30.Then, then transfer to image and write processing (step S302).Write in the processing at image, carry out view data, narrate its detailed process in the back with reference to Fig. 5 to the writing of recording medium 200.Carry out a series of photography action like this.
Fig. 4 is that explanation is read in view data from recording medium 200, to the flow chart of a series of orders that show on image-display units 109.In step S401, whether judgment model rotating disk 60 is set at regeneration mode.If be set at regeneration mode, then in step S402, transfer to image and read in processing.Read in the processing at image, carry out view data being read into processing the memory 30, narrate its detailed process in the back with reference to Fig. 6 from recording medium 200.Transfer to then and show processing (step S403).Handle owing to be well-known about showing, therefore do not describe especially, carry out the processing that the view data that reads in the memory 30 is shown on image-display units 28 by indicative control unit 26.Carry out a series of regeneration like this and show processing.
Secondly, with reference to the flow chart of Fig. 5, illustrate that being used for of carrying out writes processing (task) to Imagery Data Recording to recording medium 200 in the step S302 of Fig. 3.
At first, in step S501, judge to write and handle whether unit is HI.What is called writes processing unit, is the maximum amount of data of write-once can specific record medium 200 time, is set by above-mentioned control task.In this 1st example, if establishing the view data that generates by photograph processing is tens of MB (Mbytes), it then not the processing that writes of once carrying out tens of MB, but the data block (processing unit) of view data as number MB~number KB write, carry out repeatedly this action repeatedly, write a view data.
If the HI setting (among the step S501 " be "), then transfer to step S502, be set at HI writing the processing unit.In the 1st example, be taken as 2MB handling unit.If not HI (among the step S501 " deny "), then transfer to step S503, handle unit and be set at LOW writing.In the 1st example, be taken as 1KB.Transfer to step S504 then, handle unit by each that sets and in recording medium 200, write.If handle writing of unit part and be through with for one, judge then whether writing of all data is through with, if writing of all data is through with then stops, if same processing is carried out in not end then turn back to step S501 repeatedly.Thus, write task by write processing to recording medium write data during, do not have the specific record medium.
Secondly with reference to the flow chart of Fig. 6, illustrate and in the step S402 of Fig. 4, carried out from what recording medium 200 was read view data reading in processing (task).
At first, in step S601, judge to read in and handle whether unit is HI.What is called is read in processing unit, be can specific record medium 200 write-onces maximum amount of data, set by above-mentioned control task.In the 1st example, if establishing the view data of reading in from recording medium is tens of MB (Mbytes), it then not the processing of reading in of once carrying out tens of MB, but view data is read in the data block (processing unit) of counting MB~number KB formation, carry out repeatedly this action repeatedly, a view data is read in the memory 30.
If the HI setting (among the step S601 " be "), then transfer to step S602, be set at HI reading in the processing unit.In the 1st example, be set at 2MB handling unit.If not HI (among the step S601 " deny "), then transfer to step S603, handle unit and be set at LOW reading in.In the 1st example, be set at 1KB.Transfer to step S604 then, handle unit with each that sets and read in from recording medium 200.If handle reading in of unit part and be through with for one, judge then whether reading in of all data is through with, if reading in of all data is through with then stops, if same processing is carried out in not end then turn back to step S601 repeatedly.Thus, read in task by read in processing read in from recording medium data during, do not have the specific record medium.
Secondly, with reference to the flow chart of Fig. 7, the control task meter is described, and you think the control of those a plurality of task handling units.Among Fig. 7, establishing task 1 is the task higher than the priority of task 2.In the above-mentioned task that writes and reading in the task, therefore the priority of task is high is equivalent to task 1 owing to read in, and it is corresponding with task 2 to write task.
At first, in step S701, judge whether to execute the task 1, under situation about carrying out, in step S702, the processing unit of task 1 is set at HI.For task 1, be that benchmark is carried out repeated treatments with the processing unit of the HI that here sets.In step S703, after the processing of a processing unit part having carried out task 1, in step S704, judge at this and handle in the unit processing execution process partly whether indicated and executed the task 2.Being judged as under the situation of having indicated execution, enter into step S705.Being judged as under the situation that does not have indication, judge in step S705 whether task 1 is through with, if do not finish then turn back to step S703, if be through with then end process.
On the other hand, in step S701, be judged as under 1 the situation of not executing the task, enter into step S706, judge whether to execute the task 2, under situation about not carrying out, direct end process, under situation about carrying out, in step S707, the processing unit of task 2 is set at HI.For task 2, be that benchmark is carried out repeated treatments with the processing unit of the HI that here sets.In step S708, after the processing of a processing unit part having carried out task 2, in step S709, judge in the processing execution process of this processing unit whether indicated and executed the task 1.Being judged as under the situation of having indicated execution, in step S711, the processing unit of task 1 is set at HI, enter into step S712.Being judged as under the situation that does not have indication, judge in step S710 whether task 2 is through with, if do not finish then turn back to step S708, if be through with then end process.
In step S712,, therefore the processing unit of task 2 is set at LOW because task 1 and task 2 become the state that indication is handled simultaneously.
And in step S713, whether one of judgement task 1 execution action of handling unit is through with in equipment one side (in the task that writes of above-mentioned view data and read in the task handling, be equivalent to recording medium one side).Promptly, each is handled by constituting in the processing of system control unit one side execution and the processing of carrying out in equipment one side, owing to carry out under the state of handling in equipment one side, produce richly in system control unit one side, the processing that each that therefore should eligible task 2 handled unit judges whether the wait state that is through with for the processing in equipment one side.
In step S713, be judged as under the situation of the state that one of task 1 processing that is treated to waiting facilities one side of handling the unit part finishes, judge in step S714 whether task 2 is through with, if be through with then turn back to step S713.
If do not finish, then in step S715, to carry out by execute the task 2 processing of system control unit, each of carrying out task 2 handled the execution of the processing of unit and prepared.Turn back to step S713 then, judge whether it is the wait state of task 1 once more in the processing end of equipment one side.
If the processing of equipment one side is through with in step S713, then enter into step S716, judge whether it is a standby condition of handling the processing execution of unit part of next task 1.That is, the processing of task 1 finishes by carrying out the processing unit repeatedly, needs certain warming-up exercise sometimes between this processing unit and processing unit, is carrying out under the state of this warming-up exercise, owing to do not use equipment therefore to judge this standby condition.Being judged as in step S716 is under the situation of standby condition of processing execution of task 1, in step S717, judges whether task 2 finishes, if be through with then transfer to step S705.
If do not finish, then enter into step S718, control the task 2 of handling the unit part of carrying out that makes.In addition, task 2 processing unit is set at LOW in step S712 here.More particularly, the warming-up exercise that the equipment that front task 1 is used is accompanied by task 1 becomes task 2 uses, executes the task 2.
Handle the processing of unit part then turn back to step S716 for one of task 2 if be through with, judge whether it is the processing execution standby condition of task 1 once more.Thereby, according to circumstances, can execute the task 2 repeatedly with the processing unit of LOW.
In step S716, not standby condition if be judged as the processing execution of task 1, then in step S719, judge whether task 1 is through with, if also do not finish, then in step S721, control the task 1 of handling the unit part of carrying out that makes.In addition, the processing unit of task 1 is set at HI here.If in step S721, carry out a task 1 of handling the unit part, then turn back to step S713.
Be through with if in step S719, be judged as task 1, then this moment owing to only execute the task 2, therefore in step S720, the processing unit of task 2 is set at HI, enter into step S710.
Handle unit by such change, when carrying out two tasks, reduce the low task handling unit of priority, can handle the high task of priority more at high speed, simultaneously, when only carrying out a task, by handling unit, the task in the processing execution at high speed with the irrelevant increasing of order of quality.
Secondly, an example as above-mentioned control, Fig. 8 is illustrated in and carries out beginning to view data to read in view data from identical recording medium 200, the order when showing to a series of order of recording medium 200 record the time on image-display units 28 from photography.
At first, in t1, control task writes for recording medium 200 to writing the task indication.At this moment, write the processing unit and in step S708, be set at HI.Then, if by pattern rotary disk shutter 60 indication regeneration modes, then because the indication of reading in for the task of reading at t3 (among the step S709 " be " state), make and read in priority of task ground specific record medium 200, therefore before reading in indication, the processing unit that writes that writes task is changed to LOW (step S712) at t2.The processing unit that reads in that reads in task is set at HI in step S711.Handle unit and read in processing unit by controlling so respectively to write, because the size that the task of reading in is once read in is HI, therefore read at long time specific record medium 200, and owing to the size that writes the task write-once is LOW, therefore only write at very short time specific record medium 200.
Under the situation of this figure, read in task the processing unit of each HI need later on the scheduled time warming-up exercise (among the step S713 " be " state), carry out write-once task (carrying out step S718 one time) in this time with the processing unit of LOW.But, read under the situation of task in continuous processing unit's execution with HI, handle between unit and the processing unit, be that warming-up exercise is extremely lacked (perhaps not needing), might not carry out the processing unit of the LOW of the task of writing, otherwise because time is long, the processing unit that then might carry out the LOW that repeatedly writes task.
Allly if be through with read in processing (among the step S719 " be "), then control task is handled unit and is set at HI (step S720) writing writing of task at t4, and the task that writes can write quickly at long time specific record medium 200.
In addition, in the 1st example, change under the situation of photograph mode from regeneration mode in operation by pattern rotary disk shutter 60, (become ON among the step S704 owing to read in task termination before the task that writes of recording medium 200 at the actual Imagery Data Recording obtain of photographing of starting handle, in step S705, become " be "), therefore can not become multi-task state.
As described above, if according to this 1st example, then write task and read under the situation of task parallel, by control task the lower task handling unit that writes of priority is set at LOW, can shorten and write task specific record medium, carry out the time of write-once, and wish the task of reading in of priority treatment can be in long time the specific record medium, read in.In addition, in high the reading under the situation that action or not of priority,, can improve the efficient of task by handling unit and switch to HI writing.
In addition, if handle the LOW of unit be set at one handle the processing of unit part during task do not carry out time to the visit of recording medium, even then carry out the higher task of reading in of priority during, owing in the time of not carrying out, can write processing, therefore can more effectively carry out the task of reading in and write task to the visit of recording medium.
In addition, in above-mentioned the 1st example, the priority of the task of reading in is set at than writing the task height, and also can sets on the contrary.In addition, under the little situation of the capacity self of memory 30 or the idle capacity of memory 30 than predetermined volumes (for example, be used to store an about necessary capacity of image) under the few situation, can make to write priority of task according to condition reprioritize arbitrarily certainly.
In addition, in above-mentioned the 1st example, handle unit and be set at the some of HI and LOW, and the present invention is not limited to this situation, can also set according to access speed and handle unit, make for example under the fast situation of the access speed of employed recording medium, to strengthen and handle unit, reduce the unit of processing under the slow situation.At this moment, keep a plurality of processing units in advance, therefrom select suitable unit.In addition, the processing unit of HI and LOW also to be not limited to certainly be 20MB and 1KB.
In addition, in above-mentioned the 1st example, having used recording medium as input/output unit, and made input/output unit have communication function, also is effective when carrying out the input and output for long-range huge storage capacity recording medium.
The 2nd example
Secondly, the 2nd example of the present invention is described.In addition, owing to also use the image processing apparatus that in above-mentioned the 1st example, illustrated, therefore omit explanation here in the 2nd example with reference to Fig. 1.
At first, various tasks are described.In this 2nd example, be conceived to be used for the Imagery Data Recording that is arranged in memory 30 that generates by photograph processing to the view data of recording medium 200 write task, the non-picture data that is used for the non-picture data beyond the view data is recorded recording medium 200 writes task, the view data that is used for the view data that is recorded in recording medium 200 is read into memory 30 is read in task, the control task of controlling these three tasks relation of totally four tasks, Fig. 9 represents its relation.In this 2nd example, because view data of having photographed and non-picture data are written in the recording medium 200 after temporarily being kept in the memory 30, therefore in view of the operability of using, if the priority that view data is read in task writes the task that the writes height that task and non-picture data write task than view data, according to priority order from high to low, set view data and read in that task, view data write task, non-picture data writes task.
Control task is that the control view data writes task, non-picture data and writes the task that task, view data are read in task, for each task, be set in time of arbitrary decision described later can end process processing unit.In this 2nd example, owing to read in the priority of task than the priority height that writes task, therefore view data writes task to control task and non-picture data writes task handling unit by switching, and controls to make view data read in priority of task ground specific record medium.
In above-mentioned four tasks, data write task and data, and to read in task identical with the processing that illustrated with reference to Fig. 3 and Fig. 4 in above-mentioned the 1st example, therefore omits explanation here.Wherein, the image that the image of the step S302 of Fig. 3 writes the step S402 of processing (view data writes processing) and Fig. 4 reads in the action in the processing (view data is read in processing) because the situation of the explanation in the 1st example is different with reference Fig. 5 and Fig. 6, so narrates its detailed process respectively in the back with reference to Figure 11 and Figure 12.
Figure 10 is the flow chart that illustrates to a series of orders of non-picture data till recording medium 200 writes down.In step S1001, the view data that removing photographs obtains generates the non-picture data of wishing to record in the recording medium 200 in addition, and the non-picture data that is generated temporarily is kept in the memory 30.As an example of said non-picture data here, can consider DPOF file data etc., and be not particularly limited about the kind of data.Then, transfer to non-picture data and write processing (step S1002).Write in the processing at non-picture data, the non-image processing that is kept in the memory 30 writes to recording medium 200, narrates in the back with reference to Figure 13 about its detailed process.Carry out a series of non-picture data write activity like this.
Secondly, with reference to the flow chart of Figure 11, illustrate that being used for of carrying out writes processing (task) to the Imagery Data Recording of this 2nd example to the view data in the recording medium 200 in the step S302 of Fig. 3.
At first, in step S1301, reference writes processing unit by the view data that processing determined of the control task that reference Figure 15~Figure 21 narrates in the back.So-called view data writes processing unit, be can specific record medium 200 write-onces the maximum image data volume.
Then, in step S1302, write processing unit, be set in step S1301 with reference to the processing unit of crossing as view data.Transfer to step S1303 then, write to recording medium 200 in the processing unit of each setting.If handle writing of unit part and be through with for one, then carry out the judgement that whether is through with that writes of all images data, if writing of all images data is through with then stops, if same processing is carried out in not end then turn back to step S1301 repeatedly.Thus, view data write task write according to view data processing to recording medium write view data during, do not have the specific record medium.
Secondly, with reference to the flow chart of Figure 12, illustrate that the view data of reading view data from recording medium 200 in basis the 2nd example that carries out is read in processing (task) in the step S402 of Fig. 4.
At first, in step S1401, read in processing unit with reference to the view data that processing determined of the control task of narrating in the back by reference Figure 15~Figure 21.So-called view data is read in processing unit, is the maximum amount of data that can specific record medium 200 once reads in.
Then, in step S1402, read in processing unit, be set in step S1401 with reference to the processing unit of crossing as view data.Transfer to step S1403 then, read in from recording medium 200 in the processing unit of each setting.If handle reading in of unit part and be through with for one, judge then whether reading in of all images data is through with, if reading in of all images data is through with then stops, if not end then turns back to step S1401 and carries out same processing repeatedly.Thus, view data read in task read in by view data processing read in from recording medium data during, do not have the specific record medium.
Secondly, with reference to the flow chart of Figure 13, illustrate that the non-picture data that being used for of carrying out record non-picture data recording medium 200 writes processing (task) in the step S1002 of Figure 10.
At first, in step S1501, reference writes processing unit by the non-picture data that processing determined of the control task that reference Figure 15~Figure 21 narrates in the back.So-called non-picture data writes to be handled unit and view data to write the processing unit identical, be can specific record medium 200 write-onces maximum amount of data.
Then, in step S1502, write processing unit, be set in step S1501 with reference to the processing unit of crossing as non-picture data.Transfer to step S1503 then, write to recording medium 200 in the processing unit of each setting.If handle writing of unit part and be through with for one, judge then whether writing of all non-picture datas is through with, if writing of all non-picture datas is through with then stops, if not end then turns back to step S1501 and carries out same processing repeatedly.Thus, non-picture data write task write by non-picture data processing to recording medium write data during, do not have the specific record medium.
In this 2nd example, under the situation that a plurality of tasks in parallel of indication are carried out, order is carried out the corresponding processing of the task with indicated in the processing of step S1501~S1503 of processing, Figure 13 of step S1401~S1403 of processing, Figure 12 of step S1301~S1303 of Figure 11.
Secondly, the control of the control unit of a plurality of tasks of being undertaken by control task with reference to the flow chart of Figure 14, explanation.In addition, in the following description, begin as task 1~3 from the high task of priority, thereby in this 2nd example, task 1 becomes image and reads in task, task 2 becomes image and writes task, and task 3 becomes the non-image task that writes.
At first, in step S1601, judge the access speed of recording medium 200 through input/output interface 90.Then, in step S1602, the processing unit that decision can finish in the time arbitrarily according to access speed.In this 2nd example, as the time be maximum time set 200msec, the processing unit that in 200msec, finishes as the maximum unit of processing.In addition, be minimum time set 10msec, the processing unit that in 10msec, finishes as minimum treat unit.Like this, from maximum unit and the minimum treat unit of handling of access speed decision, be kept in the memory 30.
Then, if in step S1603, the control of some at least tasks of beginning task 1, task 2, task 3, then enter into step S1604, carry out scheduling described later, in step S1604, continue to dispatch, till all controls that in step S1605, are judged as the task of being through with 1, task 2 and task 3.
Secondly, with reference to the flow chart of Figure 15, the method for the scheduling of carrying out is described in the step S1604 of Figure 14.
At first, in step S1701, judge whether to execute the task 1, under situation about carrying out, in step S1702, the processing unit of task 1 is set at the maximum unit that handles.Then, in step S1703, judge whether to execute the task 2, under situation about carrying out, enter into step S1707, judge whether to execute the task 3.Under situation about not carrying out, executing tasks parallelly 1 and task 2 (Figure 18) in step S1708, under situation about carrying out, executing tasks parallelly 1~3 (Figure 21) in step S1809.
On the other hand, under 2 the situation of in step S1703, not executing the task, in step S1704, judge whether to execute the task 3, under situation about carrying out, enter into step S1706, executing tasks parallelly 1 and task 3 (Figure 19).Under situation about not carrying out, by executing the task 1 separately, when handling unit, one of each execution enters into step S1705, judge whether task 1 is through with, if do not finish then turn back to step S1703, if be through with then turn back to Figure 14, in step S1605, become " be ", processing finishes.
On the other hand, in step S1701, under 1 the situation of not executing the task, enter into step S1710, judge whether to execute the task 2, under situation about carrying out, enter into step S1711, judge whether to execute the task 3.Under 3 the situation of not executing the task, enter into step S1712 2 (Figure 19) that execute the task separately, under 3 the situation of executing the task, in step S1713, in task 2, set maximum the processing after the unit, enter into step S1714, executing tasks parallelly 2 and task 3 (Figure 20).
In addition, under 2 the situation of in step S1710, not executing the task, in step S1715, judge whether to execute the task 3, enter into step S1716 under situation about carrying out, 3 (Figure 17) that execute the task separately are under situation about not carrying out, since do not execute the task 1~3 any, therefore turn back to Figure 14, in step S1605, become " be ", processing finishes.
Secondly, the executed in parallel of the executed in parallel of the executed in parallel of the independent execution of the independent execution of the order explanation task 2 of carrying out in step S1712 etc. the task 3 of handling, carrying out in step S1716 etc. task 1 of handling, carrying out in step S1708 etc. and task 2 task 1 of handling, carrying out in step S1706 etc. and task 3 task 2 of handling, carrying out in step S1714 etc. and task 3 is handled and the executed in parallel of the task 1~3 of carrying out in step S1709 etc. is handled.
Figure 16 is the flow chart that the independent execution of explanation task 2 is handled.At first, in step S2001, task 2 is set at the maximum unit that handles.Then, in step S2002, judge whether to execute the task 1, under situation about carrying out, in step S2005 task 1 be set at maximum handle unit after, enter into step S2007, executing tasks parallelly 1 and task 2 (Figure 18).Under 1 the situation of not executing the task, in step S2003, judge whether to execute the task 3, under situation about carrying out, enter into step S2006, executed in parallel task 2 described later and task 3 (Figure 20).Under 3 the situation of not executing the task, judge in step S2004 whether task 2 is through with, if do not finish then turn back to step S2002, carry out above-mentioned processing repeatedly, if be through with then turn back to Figure 14, in step S1605 owing to become " be ", so processing finishes.
Figure 17 is the flow chart that the independent execution of explanation task 3 is handled.At first, in step S2101, task 3 is set at the maximum unit that handles.Then, in step S2102, judge whether to execute the task 1, under situation about carrying out, in step S2105 task 1 be set at maximum handle unit after, enter into step S2108, executing tasks parallelly 1 and task 3 (Figure 19).Under 1 the situation of not executing the task, in step S2103, judge whether to execute the task 2, under situation about carrying out, enter into step S2106, in task 2, set maximum the processing after the unit, enter into step S2107, executed in parallel task 2 described later and task 3 (Figure 20).Under 2 the situation of not executing the task, judge in step S2104 whether task 3 is through with, if do not finish then turn back to step S2102, carry out above-mentioned processing repeatedly, if be through with then turn back to Figure 14, in step S1605 owing to become " be ", so processing finishes.
Figure 18 is the flow chart that the executed in parallel of explanation task 1 and task 2 is handled.At first, in step S1801, task 2 is set at minimum treat unit.Then, in step S1802, judge whether to execute the task 3, under situation about carrying out, enter into step S1806 executing tasks parallelly 1~3 (Figure 21).Under 3 the situation of not executing the task, judge in step S1803 whether task 1 is through with, and enters into step S1805 if task 1 is through with, 2 (Figure 19) execute the task separately.If task 1 does not finish then judges in step S1804 whether task 2 is through with, if do not finish then turn back to step S1802, carry out above-mentioned processing repeatedly, if be through with then turn back to Figure 14, owing in step S1605, become " be ", so processing finishes.
Figure 19 is the flow chart that the executed in parallel of explanation task 1 and task 3 is handled.At first, in step S1901, task 3 is set at minimum treat unit.Then, in step S1902, judge whether to execute the task 2, under situation about carrying out, enter into step S1906 executing tasks parallelly 1~3 (Figure 21).Under 2 the situation of not executing the task, judge in step S1903 whether task 1 is through with, and enters into step S1905 if task 1 is through with, 3 (Figure 17) execute the task separately.If task 1 does not finish then judges in step S1904 whether task 3 is through with, if do not finish then turn back to step S1902, carry out above-mentioned processing repeatedly, if be through with then turn back to Figure 14, owing in step S1605, become " be ", so processing finishes.
Figure 20 is the flow chart that the executed in parallel of explanation task 2 and task 3 is handled.At first, in step S2001, task 3 is set at minimum treat unit.Then, in step S2002, judge whether to execute the task 1, under situation about carrying out, enter into step S2205, the processing unit of task 1 be set at maximum handle unit after, executing tasks parallelly 1~3 (Figure 21) in step S2207.Under 1 the situation of not executing the task, judge in step S2203 whether task 2 is through with, and enters into step S2206 if task 2 is through with, 3 (Figure 17) execute the task separately.If task 2 does not finish then judges in step S2204 whether task 3 is through with, if do not finish then turn back to step S2202, carry out above-mentioned processing repeatedly, if be through with then turn back to Figure 14, owing in step S1605, become " be ", so processing finishes.
Figure 21 is that the parallel place of explanation task 1~task 3 carries out the flow chart of handling.At first, the A of dividing processing unit and the B of dividing processing unit that have obtained after calculating and decision have been cut apart minimum treat unit according to the task 2 and the ratio of the relative importance value of task 3 in step S2301.
Minimum treat unit=the B of A+ dividing processing unit of dividing processing unit
The A of dividing processing unit: the relative importance value of the B=of dividing processing unit task 1: the relative importance value of task 2
Then, in step S230, the processing unit of task 2 is set at the A of dividing processing unit, same, in step S2303, the processing unit of task 3 is set at the B of dividing processing unit.
Judge in step S2304 whether task 1 is through with,, enter into step S2309, executing tasks parallelly 2 and task 3 (Figure 20) if be through with then in step S2307, in task 2, set after the maximum processing unit.If task 1 does not finish then judges in step S2305 whether task 2 is through with, if be through with, then enters into step S2308, executing tasks parallelly 1 and task 3 (Figure 19).If task 2 does not finish, judge in step S2306 then whether task 3 is through with, if do not finish then turn back to step S2304, if be through with then enter into step S2310, executing tasks parallelly 1 and task 2 (Figure 18).
Handle unit by such change, when carrying out more than or equal to two tasks, reduce the low task handling unit of priority, when can handle the high task of priority more at high speed, when only carrying out a task, by handling unit, the task in the processing execution at high speed with the irrelevant increasing of priority.
Secondly, an example as above-mentioned control, Figure 22 illustrates the limit and write non-picture data in recording medium 200, the limit carries out beginning to view data when a series of order of recording medium 200 record from photography, and then read in view data from identical recording medium 200, the order when on display unit 28, showing.
At first, writing task in the t1 control task to non-picture data indicates the data for recording medium 200 to write.At this moment, non-picture data writes the processing unit and be set at maximum processing unit (the step S2101 of Figure 17) when task 3 is carried out processing separately.If then photograph, then write the task indication and write for recording medium 200 to view data.At this moment, owing to write tasks in parallel with non-picture data, the carries out image data write task (among the step S2103 of Figure 17 " be " state), therefore in order to make view data write priority of task ground specific record medium 200, at t2 view data is write the processing unit and be set at the maximum unit (the step S2106 of Figure 17) that handles, then transfer to view data and write and handle and executed in parallel that non-picture data writes processing is handled (Figure 20), at t3 non-picture data is write the processing unit and change to minimum treat unit (the step S2201 of Figure 20).
Then, if by pattern rotating disk 60 indication regeneration modes (among the step S2202 of Figure 20 " be " state), then read in the task indication to view data and read at t4.At this moment, because the executed in parallel view data writes task, non-picture data writes task and view data is read in task, therefore to read in priority of task ground specific record medium 200 in order making, view data to be read in the processing unit be set at the maximum unit (the step S2205 of Figure 20) that handles.Then, Figure 21 is transferred in processing, in step S2301, calculate and cut apart the value that minimum treat unit obtains with the ratio that view data writes the relative importance value of task according to write task with data, at t5, t6, view data is write task and non-picture data write task handling unit and be set at A of dividing processing unit and the B of dividing processing unit (the step S2302 of Figure 21 and S2303) respectively.Non-picture data writes the processing unit, view data writes the processing unit and view data is read in processing unit by controlling so respectively, because the size that the highest view data of the priority task of reading in is once read in is maximum, therefore read at long time specific record medium 200, and because data write size that task and view data write task is big a small amount of smaller or equal to minimum, therefore only write at very short time specific record medium 200.
If all view data read in and handle and to be through with (among the step S2304 of Figure 21 " be " state), then the control task processing unit that in t7 view data write Processing tasks is set at maximum the processing after the unit (the step S2307 of Figure 21), transfer to view data and write the parallel processing (Figure 20) that task and non-picture data write task, in t8, non-picture data write and handle unit and be set at minimum treat unit (the step S2201 of Figure 20).Thus, because view data writes the size maximum that task is once read in, therefore at long time specific record medium 200, non-picture data writes the size of task owing to be minimal size, therefore only at very short time specific record medium 200, writes.
If all view data write and handle and to be through with (among the step S2203 of Figure 20 " be " state), then transfer to the independent execution processing (Figure 17) that view data writes task, control task writes task handling unit to the data in t8 and is set at the maximum unit (the step S2101 of Figure 17) that handles in t9, data write task at long time specific record medium 200, can write quickly.
As described above, if according to this 2nd example, then carry out parallel that view data writes task, non-picture data writes task and view data is read under the situation of task, by control task the minimum non-picture data of priority write task, view data writes task handling unit and is set at very little, can shorten writing the time that task specific record medium carries out write-once, wish that the view data task of reading in of priority treatment can be read at long time specific record medium.In addition, do not have in the high view data task of reading in of priority to switch to maximum by view data is write task handling unit under the situation of action, non-picture data is write task handling unit switch to minimum, can improve the efficient of task.And then, read in task and view data in the high view data of priority and write task and all do not have to switch to maximum by non-picture data is write task handling unit under the situation of action, can improve the efficient of task.
In addition, the situation of maximum three tasks of parallel processing has been described more than, even and task more than or equal to three situation under, by identical processing, also can execute the task effectively according to priority.
In addition, view data writes task, non-picture data and writes task and view data and read in the priority of task and be not limited to above-mentioned example, also can suitably be altered to certainly to make ease of use good.
Other example
By the software program of the function that realizes above-mentioned example is provided to system or device directly or indirectly, read and the executive program code also can be realized the present invention by the computer of system or device.In this case, as long as system or equipment have the function of program, then the pattern of Shi Xianing does not just need to depend on program.
Thereby because function of the present invention is by computer realization, therefore the program code self that is installed in the computer is also realized the present invention.In other words, claim of the present invention also covers the computer program that intention realizes function of the present invention.
In this case, as long as system or equipment have the function of program, then program just can be carried out with form arbitrarily, for example, and program code, by the program of interpreter execution or be provided to the ephemeral data of operating system.
The example that can be used in the storage medium that program is provided is floppy disk, hard disk, CD, photomagneto disk, CD-ROM, CD-R, CD-RW, tape, non-volatile storage card, ROM and DVD (DVD-ROM and DVD-R).
As for the method that program is provided, client computer can use the browser of client computer to connect Web website on the Internet, and can download to the compressed file of computer program of the present invention or the program that can install automatically for example in the recording medium such as hard disk.And then, can provide program of the present invention by the program code of constructing program is divided in a plurality of files and from different website file in download.In other words, WWW (World Wide Web (WWW)) server that is downloaded to several users by computer realization functional programs file of the present invention is also covered by claim of the present invention.
In addition, can also and for example be stored in the storage medium such as CD-ROM program encryption of the present invention, storage medium is distributed to the user, allow some user who needs through the Internet from Web website download decryption key information, and allow these users use the key information decrypt encrypted the program in the computer of being installed in.
In addition, compare corresponding to the situation of the function of example with the program realization of reading by the computer execution, Yun Hang operating system etc. can be finished all or part of of actual treatment on computers, thereby also can realize the function of above-mentioned example by this processing.
In addition, the program of reading from storage medium be written to the expansion board that is inserted in the computer or with the memory that functional expansion unit possessed that computer is connected in after, be installed in CPU in expansion board or the functional expansion unit etc. and finish the whole or a part of of actual treatment, thereby can realize the function of above-mentioned example by this processing.
Under the situation that does not break away from the spirit and scope of the present invention, can be obviously and produce a large amount of different examples of the present invention widely, the present invention removes beyond the definition in the claims, is not subjected to the qualification of these special examples, and this point is very clear and definite.

Claims (26)

1. image sensing/playback apparatus is characterized in that having:
Subject is photographed, obtain the image unit of view data, this view data is a prints electrical image data;
For external recording medium, comprise the input-output unit of input and output of the data of view data;
Control unit, a plurality of tasks of priority have been predetermined for the quilt that above-mentioned input-output unit is exclusively controlled, each processing unit according to data provides the chance of task switching between above-mentioned a plurality of tasks, also order is carried out these a plurality of tasks
An above-mentioned processing unit is in a plurality of different data volume of carrying out in single treatment, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, above-mentioned control unit is that the maximum data volume of task setting that priority is the highest in these tasks is handled unit as one, for the data volume that the data volume of the low task setting of the priority task higher than priority is lacked is handled unit as one, to carry out a plurality of tasks.
2. image sensing/playback apparatus according to claim 1 is characterized in that:
An above-mentioned processing unit is that the 1st many processing unit of data volume and data volume are handled the 2nd one of handling in the unit that unit lacks than the 1st, in the process of carrying out the first task in above-mentioned a plurality of task with above-mentioned the 1st processing unit, indicated and carried out under the situation of second task different with above-mentioned first task, above-mentioned control unit is set at the above-mentioned the 1st to the high task handling unit of priority and handles unit, the low task handling unit of priority is set at the above-mentioned the 2nd handles unit, carry out a plurality of tasks.
3. image sensing/playback apparatus according to claim 2 is characterized in that:
Handling in the process of the high task of unit execution priority with the above-mentioned the 1st, the high task of above-mentioned priority does not have under the situation of special-purpose above-mentioned input-output unit between the 1st processing unit of front and back, handles unit with the above-mentioned the 2nd and carries out the low task of above-mentioned priority.
4. according to claim 2 or 3 described image sensing/playback apparatus, it is characterized in that:
In the process of carrying out the above-mentioned first task and second task, task termination and the priority low task high in priority do not have under the situation of end, and above-mentioned control unit changes to the above-mentioned the 1st to the low task handling unit of above-mentioned priority and handles unit.
5. according to claim 2 or 3 described image sensing/playback apparatus, it is characterized in that:
In the time of one in the above-mentioned a plurality of tasks of independent execution, above-mentioned control unit is handled unit with the above-mentioned the 1st and is executed the task.
6. according to claim 2 or 3 described image sensing/playback apparatus, it is characterized in that:
Above-mentioned a plurality of task comprise the view data that obtains by above-mentioned image unit output to the said external recording medium the output task, read in the incoming task that is recorded in the view data in the said external recording medium.
7. image sensing/playback apparatus according to claim 6 is characterized in that:
The task that above-mentioned priority is high is above-mentioned incoming task, and the task that above-mentioned priority is low is above-mentioned output task.
8. image sensing/playback apparatus according to claim 6 is characterized in that:
Also have the view data that temporary transient storage is obtained by above-mentioned image unit, and the internal storage medium of the temporary transient storage view data of reading from the said external recording medium,
Under the situation of idle capacity greater than predetermined volumes of above-mentioned internal storage medium, above-mentioned control unit makes the priority of above-mentioned incoming task than above-mentioned output task height, under the situation of idle capacity smaller or equal to predetermined volumes of above-mentioned internal storage medium, the priority that makes above-mentioned output task is than above-mentioned incoming task height.
9. image sensing/playback apparatus according to claim 2 is characterized in that:
Also have the judging unit of judgement for the access speed of said external recording medium,
Above-mentioned control unit is set the above-mentioned the 1st and is handled unit, makes under the fast situation of above-mentioned access speed, and the above-mentioned the 1st data volume of handling unit of comparing with slow situation increases.
10. image sensing/playback apparatus according to claim 1 is characterized in that:
Also have the generation unit that generates view data non-picture data in addition,
The data that comprise above-mentioned view data comprise the non-picture data that is generated by above-mentioned generation unit, and above-mentioned control unit is set the priority of the task of reading in of above-mentioned view data than the task that the writes height of above-mentioned non-picture data.
11. image sensing/playback apparatus according to claim 1 is characterized in that also having:
Handle unit and obtain the unit, obtain access speed,, obtain a plurality of data volumes that can finish in the given time as a plurality of processing units according to obtained access speed for the said external recording medium.
12., it is characterized in that according to claim 1,10, each described image sensing/playback apparatus of 11:
During a plurality of tasks of execution, under the situation that at least one task executions is through with, above-mentioned control unit is that the above-mentioned maximum data volume of task setting that priority is the highest in the task of not having to finish is handled unit as one, and handles unit for the low task of priority resets the data volume that the task higher than priority lack as one.
13. image sensing/playback apparatus according to claim 10 is characterized in that:
Above-mentioned a plurality of task comprises: the view data that obtains by above-mentioned image unit output to the said external recording medium image output task, read in the image incoming task of the view data that is recorded in the said external recording medium, the non-picture data by above-mentioned generation unit generation outputed to the non-image output task of said external recording medium.
14. a data processing method, this data processing method is used in image sensing/playback apparatus, and wherein, image sensing/playback apparatus has: subject is photographed, obtain the image unit of view data, this view data is a prints electrical image data; For external recording medium, comprise the input-output unit of input and output of the data of view data; Control unit, a plurality of tasks of priority have been predetermined for the quilt that above-mentioned input-output unit is exclusively controlled, the chance of task switching is provided between above-mentioned a plurality of tasks according to each processing unit of data, order is carried out these a plurality of tasks, it is characterized in that this method may further comprise the steps:
Set step, indicated under the situation of carrying out another task during at least one task in carrying out above-mentioned a plurality of tasks, for these tasks, above-mentioned control unit is that the maximum data volume of the highest task setting of priority is handled unit as one, for the data volume that the data volume of the low task setting of the priority task higher than priority is lacked is handled unit as one.
15. data processing method according to claim 14 is characterized in that:
An above-mentioned processing unit is that the 1st many processing unit of data volume and data volume are handled the 2nd one of handling in the unit that unit lacks than the 1st, in the process of carrying out the first task in above-mentioned a plurality of task with above-mentioned the 1st processing unit, indicated and carried out under the situation of second task different with above-mentioned first task, the high task handling unit of priority is set at the above-mentioned the 1st handles unit, the low task handling unit of priority is set at the above-mentioned the 2nd handles unit, to carry out a plurality of tasks.
16. data processing method according to claim 15 is characterized in that also having:
Handling in the process of the high task of unit execution priority with the above-mentioned the 1st, the high task of above-mentioned priority does not have under the situation of special-purpose above-mentioned input-output unit between the 1st processing unit of front and back, handles the step that unit carries out the low task of above-mentioned priority with the above-mentioned the 2nd.
17., it is characterized in that also having according to claim 15 or 16 described data processing methods:
In the process of carrying out the above-mentioned first task and second task, task termination and the priority low task high in priority do not have under the situation of end, the low task handling unit of above-mentioned priority are changed to the step of above-mentioned the 1st processing unit.
18., it is characterized in that having according to claim 15 or 16 described data processing methods:
In the time of one in the above-mentioned a plurality of tasks of independent execution, handle the step that unit executes the task with the above-mentioned the 1st.
19., it is characterized in that according to claim 15 or 16 described data processing methods:
Above-mentioned a plurality of task comprise the view data that obtains by above-mentioned image unit output to the said external recording medium the output task, read in the incoming task that is recorded in the view data in the said external recording medium.
20. data processing method according to claim 19 is characterized in that:
The task that above-mentioned priority is high is above-mentioned incoming task, and the task that above-mentioned priority is low is above-mentioned output task.
21. data processing method according to claim 19 is characterized in that:
Above-mentioned image sensing/playback apparatus also has the view data that temporary transient storage is obtained by above-mentioned image unit, and the internal storage medium of the temporary transient storage view data of reading from the said external recording medium,
This data processing method has following steps, under the situation of idle capacity greater than predetermined volumes of above-mentioned internal storage medium, the priority that makes above-mentioned incoming task is than above-mentioned output task height, under the situation of idle capacity smaller or equal to predetermined volumes of above-mentioned internal storage medium, the priority that makes above-mentioned output task is than above-mentioned incoming task height.
22. data processing method according to claim 15 is characterized in that:
Also have the step of judgement for the access speed of said external recording medium,
Have and set above-mentioned the 1st processing unit, make under the fast situation of above-mentioned access speed the step that the above-mentioned the 1st data volume of handling unit of comparing with slow situation increases.
23. data processing method according to claim 14 is characterized in that: also have
Generate the generation step of view data non-picture data in addition,
The data that comprise above-mentioned view data are included in the non-picture data that generates in the above-mentioned generation step, before data volume being set at a step of handling unit, the priority of the task of reading in of above-mentioned view data is set highlyer than the task that writes of above-mentioned non-picture data step.
24. data processing method according to claim 14 is characterized in that also having:
Obtain access speed,, obtain a plurality of data volumes that can finish in the given time and obtain step as the processing unit of a plurality of processing units according to obtained access speed for the said external recording medium.
25., it is characterized in that also having following steps according to claim 14,23, each described data processing method of 24:
During a plurality of tasks of execution, under the situation that at least one task executions is through with, by above-mentioned control unit is that the above-mentioned maximum data volume of task setting that priority is the highest in the task of not having to finish is handled unit as one, and handles unit for the low task of priority resets the data volume that the task higher than priority lack as one.
26. data processing method according to claim 23 is characterized in that:
Above-mentioned a plurality of task comprises: the view data that obtains by above-mentioned image unit output to the said external recording medium image output task, read in the image incoming task of the view data that is recorded in the said external recording medium, the non-picture data by above-mentioned generation step generation outputed to the non-image output task of said external recording medium.
CNB2005100915181A 2004-08-18 2005-08-18 Image sensing/playback apparatus, image data processing method, and data processing method Expired - Fee Related CN100459681C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004238628 2004-08-18
JP2004238628 2004-08-18
JP2005141831 2005-05-13

Publications (2)

Publication Number Publication Date
CN1738401A CN1738401A (en) 2006-02-22
CN100459681C true CN100459681C (en) 2009-02-04

Family

ID=36081032

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100915181A Expired - Fee Related CN100459681C (en) 2004-08-18 2005-08-18 Image sensing/playback apparatus, image data processing method, and data processing method

Country Status (2)

Country Link
JP (1) JP4975152B2 (en)
CN (1) CN100459681C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7446899B2 (en) 2020-04-15 2024-03-11 キヤノン株式会社 Recording/playback device and method for controlling the recording/playback device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5349656A (en) * 1990-11-28 1994-09-20 Hitachi, Ltd. Task scheduling method in a multiprocessor system where task selection is determined by processor identification and evaluation information
JPH0854956A (en) * 1994-08-10 1996-02-27 Yamaha Corp Processor with throughput varying function
JPH10283204A (en) * 1997-04-04 1998-10-23 Konica Corp Multi-task processing method, multi-task processor and recording medium recording task
CN1263418A (en) * 1999-02-08 2000-08-16 三洋电机株式会社 Moving image recording device and digital code camera
JP2002131811A (en) * 2000-10-19 2002-05-09 Canon Inc Camera
JP2003161992A (en) * 2001-11-29 2003-06-06 Canon Inc Motor driving controller and camera

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049388A (en) * 1996-08-02 1998-02-20 Fuji Xerox Co Ltd Input and output controller
JP4164202B2 (en) * 1998-10-08 2008-10-15 キヤノン株式会社 Electronic device, driving method of electronic device, and computer-readable storage medium
JP2001202258A (en) * 2000-01-20 2001-07-27 Yaskawa Electric Corp Rear time processor
JP3750462B2 (en) * 2000-02-22 2006-03-01 コニカミノルタフォトイメージング株式会社 Digital camera and recording medium
JP3541837B2 (en) * 2002-01-30 2004-07-14 ミノルタ株式会社 Digital camera
JP4313051B2 (en) * 2002-02-27 2009-08-12 株式会社リコー Image forming apparatus, accounting counter, image forming method, accounting method, image forming program, and accounting program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5349656A (en) * 1990-11-28 1994-09-20 Hitachi, Ltd. Task scheduling method in a multiprocessor system where task selection is determined by processor identification and evaluation information
JPH0854956A (en) * 1994-08-10 1996-02-27 Yamaha Corp Processor with throughput varying function
JPH10283204A (en) * 1997-04-04 1998-10-23 Konica Corp Multi-task processing method, multi-task processor and recording medium recording task
CN1263418A (en) * 1999-02-08 2000-08-16 三洋电机株式会社 Moving image recording device and digital code camera
JP2002131811A (en) * 2000-10-19 2002-05-09 Canon Inc Camera
JP2003161992A (en) * 2001-11-29 2003-06-06 Canon Inc Motor driving controller and camera

Also Published As

Publication number Publication date
JP2010259122A (en) 2010-11-11
CN1738401A (en) 2006-02-22
JP4975152B2 (en) 2012-07-11

Similar Documents

Publication Publication Date Title
JP4590304B2 (en) Image photographing / reproducing apparatus and data processing method
JP2921879B2 (en) Image data processing device
US5867214A (en) Apparatus and method for increasing a digital camera image capture rate by delaying image processing
US7272641B2 (en) Image information managing system
US20050129385A1 (en) Intelligent portable memory device with display
EP2192758A1 (en) Image file generation device, camera and image file generation method for splitting excessively large files comprising multiple images
JP2001502511A (en) System and method for correlating processed data with image data in a digital camera device
WO2007067373A1 (en) Transferring of digital images
CN101094285B (en) Image processing apparatus and control method therefor
CN101150661B (en) Image processing apparatus, image capture apparatus and control method therefor
KR20040053296A (en) Image-pickup apparatus, image recording apparatus, image-pickup control program, image recording program, image-pickup method and image recording method
CN100459681C (en) Image sensing/playback apparatus, image data processing method, and data processing method
US8077221B2 (en) Image capturing apparatus and control method therefor with determination whether storage medium is limited-rewriteable storage medium
CN101221513A (en) Equipment, method computer program and recording medium for processing information
KR100756155B1 (en) Image processing apparatus, control method thereof and storage medium
CN100409667C (en) Image pickup apparatus, control method therefor
JP2007036581A (en) Information management apparatus and method
CN1251475C (en) Acoustic processor, processing method, computer program and storage media
JP2003078798A (en) Digital camera and image server
JP2012109991A (en) Electronic apparatus
CN100458546C (en) Image sensing apparatus and control method therefor
JP4817634B2 (en) Data storage
WO2007119602A1 (en) Data processing apparatus and method thereof, and information processing apparatus and method thereof
JP4434333B2 (en) Electronic device and control method thereof
JP2003101987A (en) Program providing device and image pickup system

Legal Events

Date Code Title Description
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
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: 20090204

Termination date: 20170818