JP2011053852A - Portable terminal - Google Patents

Portable terminal Download PDF

Info

Publication number
JP2011053852A
JP2011053852A JP2009201203A JP2009201203A JP2011053852A JP 2011053852 A JP2011053852 A JP 2011053852A JP 2009201203 A JP2009201203 A JP 2009201203A JP 2009201203 A JP2009201203 A JP 2009201203A JP 2011053852 A JP2011053852 A JP 2011053852A
Authority
JP
Japan
Prior art keywords
time
data
turned
estimated
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009201203A
Other languages
Japanese (ja)
Other versions
JP5343767B2 (en
Inventor
Yasuki Mori
泰樹 森
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.)
Denso Wave Inc
Original Assignee
Denso Wave 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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2009201203A priority Critical patent/JP5343767B2/en
Publication of JP2011053852A publication Critical patent/JP2011053852A/en
Application granted granted Critical
Publication of JP5343767B2 publication Critical patent/JP5343767B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable terminal capable of performing data relocation processing to a recording device in optimal timing. <P>SOLUTION: In a memory 35, an on-time when a power supply is turned on, an off-time when the power supply is turned off, and an amount of used data and an amount of deleted data at the on-time or the off time are successively recorded. When the power supply is turned off, based on the off-time and a plurality of the on-times and the off-times recorded in the memory 35, a succeeding on-time, an off-time ΔT, and a succeeding off-time are estimated. When the power supply is turned off, based on the amount of used data and the amount of deleted data matching the estimated succeeding on-time and those matching the estimated off-time, an amount of data planned to be used from the succeeding on-time to the succeeding off-time is estimated. At the turn-off of the power supply, when the off-time ΔT is a predetermined time ΔTo or longer, defragmentation processing is carried out on the memory 35 to secure only the estimated amount of data planned to be used. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、記録装置に対するデータの再配置処理を行う携帯端末に関するものである。   The present invention relates to a portable terminal that performs data rearrangement processing on a recording apparatus.

従来、記録装置に対するデータの再配置処理、すなわち、記録装置の削除状態のデータを未使用状態にするとともに不連続に記録されたデータを連続なデータに再配置する処理(デフラグ処理)を行う携帯端末に関する技術として、下記特許文献1に示す記録装置としてのHDD内蔵カメラ付携帯電話機が知られている。この携帯電話機は、デフラグの自動実行が有効である場合に、携帯電話機本体がクレードルに接続(載置)され、かつ常時電源が供給され、かつHDD(記録装置)の断片化率が一定以上であると、自動でHDDに対するデフラグ処理を行う。   Conventionally, portable data relocation processing for a recording device, that is, processing for deallocating data in a deleted state of the recording device to a unused state and relocating discontinuously recorded data to continuous data (defragmentation processing). As a technique relating to a terminal, a mobile phone with a camera with a built-in HDD as a recording apparatus shown in Patent Document 1 below is known. In this mobile phone, when automatic defragmentation is effective, the mobile phone body is connected (placed) to the cradle, is always supplied with power, and the fragmentation rate of the HDD (recording device) is above a certain level. If there is, it automatically performs defragmentation processing on the HDD.

特開2005−242717号公報JP 2005-242717 A

ところで、記録装置に対するデータの再配置処理は、この処理を実行するCPU等にとって負荷が高く処理時間が長くなるため、他の演算処理と並列して実行させることが困難である。一方、データの再配置処理が実施されないことから、記録装置のデータ領域のうち使用できない削除状態のデータ領域が増加し未使用状態のデータ領域が減少するなどして、この記録装置に対するアクセス速度が遅くなると、他の演算処理が遅くなってしまうという問題がある。特に、携帯端末では、定置式の端末と異なり小型軽量化を図るために記録装置の容量が限られることから、データの再配置処理が実施されないと記録装置に対するアクセス速度が遅くなりやすい。   By the way, the data rearrangement process with respect to the recording apparatus is difficult to be performed in parallel with other arithmetic processes because the processing load is high and the processing time is long for the CPU or the like executing this process. On the other hand, since the data rearrangement process is not performed, the unusable deleted data area increases and the unused data area decreases among the data areas of the recording apparatus. When it becomes slow, there is a problem that other arithmetic processing becomes slow. In particular, unlike a stationary terminal, a portable terminal has a limited capacity of a recording device in order to reduce the size and weight. Therefore, if data relocation processing is not performed, the access speed to the recording device tends to be slow.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、記録装置に対するデータの再配置処理を最適なタイミングで実施し得る携帯端末を提供することにある。   SUMMARY An advantage of some aspects of the invention is that it provides a portable terminal capable of performing data rearrangement processing on a recording apparatus at an optimal timing.

上記目的を達成するため、特許請求の範囲に記載の請求項1の携帯端末では、取得したデータが記録される記録装置であって、電源オン時のオン時刻および電源オフ時のオフ時刻とこれらオン時刻またはオフ時刻において当該記録装置に記録されているデータのうち使用状態の使用データ量および削除状態の削除データ量とが逐次記録される記録装置と、前記記録装置の削除状態のデータを未使用状態にするとともに不連続に記録されたデータを連続なデータに再配置する再配置処理を実施可能な再配置手段と、を備える携帯端末であって、電源オフになると、このオフ時刻と前記記録装置に記録される複数の前記オン時刻および前記オフ時刻とに基づいて、次回のオン時刻と当該電源オフから前記次回のオン時刻までのオフ時間と次回のオフ時刻とを推定する第1推定手段と、電源オフになると、前記第1推定手段により推定される前記次回のオン時刻に対応して前記記録装置に記録される複数の前記使用データ量および前記削除データ量と、前記第1推定手段により推定される前記次回のオフ時刻に対応して前記記録装置に記録される複数の前記使用データ量および前記削除データ量とに基づいて、前記次回のオン時刻から前記次回のオフ時刻までに使用される使用予定データ量を推定する第2推定手段と、を備え、前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が所定の時間以上である場合に、前記第2推定手段により推定される前記使用予定データ量を少なくとも確保するように前記記録装置に対して前記再配置処理を実施することを特徴とする。   In order to achieve the above object, the portable terminal according to claim 1 is a recording device in which acquired data is recorded, and includes an on time when the power is turned on and an off time when the power is turned off. Of the data recorded in the recording device at the on-time or off-time, a recording device in which used data amount in use state and deleted data amount in deletion state are sequentially recorded, and deletion state data of the recording device is not recorded A mobile terminal comprising a rearrangement unit capable of performing a rearrangement process in which the data recorded in a discontinuous manner is rearranged into continuous data, and when the power is turned off, Based on the plurality of ON times and OFF times recorded in the recording device, the next ON time, the OFF time from the power OFF to the next ON time, and the next ON time are displayed. First estimation means for estimating the time, and when the power is turned off, the plurality of used data amounts recorded in the recording device and the deletion corresponding to the next on time estimated by the first estimation means Based on a data amount and a plurality of used data amounts and deleted data amounts recorded in the recording device in correspondence with the next off time estimated by the first estimating means, the next on time Second estimation means for estimating the scheduled data amount to be used from the first time to the next off time, and the rearrangement means is turned off and the off time estimated by the first estimation means is estimated. Performing the rearrangement process on the recording apparatus so as to secure at least the scheduled use data amount estimated by the second estimation means when it is equal to or longer than a predetermined time. And butterflies.

請求項2の発明は、請求項1に記載の携帯端末において、前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が前記所定の時間以上である場合に、前記第2推定手段により推定される前記使用予定データ量のみを確保するように前記記録装置に対して前記再配置処理を実施することを特徴とする。   According to a second aspect of the present invention, in the mobile terminal according to the first aspect, when the relocation unit is turned off and the off time estimated by the first estimation unit is equal to or longer than the predetermined time, The rearrangement process is performed on the recording apparatus so as to secure only the scheduled use data amount estimated by the second estimation unit.

請求項3の発明は、請求項1または2に記載の携帯端末において、前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が前記所定の時間以上である場合には、前記記録装置の全領域に対して前記再配置処理を実施し、当該オフ時間が前記所定の時間未満の場合には、前記記録装置に対して前記使用予定データ量を確保するように前記再配置処理を実施することを特徴とする。   According to a third aspect of the present invention, in the mobile terminal according to the first or second aspect, the relocation unit is powered off and the off time estimated by the first estimation unit is equal to or longer than the predetermined time. The rearrangement process is performed on the entire area of the recording apparatus, and when the off time is less than the predetermined time, the scheduled data amount is secured for the recording apparatus. The rearrangement process is performed.

請求項4の発明は、請求項1〜3のいずれか一項に記載の携帯端末において、当該携帯端末が充電状態であるか否かを判定する判定手段を備え、前記再配置手段は、さらに、前記判定手段により充電状態であると判定される場合に前記記録装置に対して前記再配置処理を実施することを特徴とする。   Invention of Claim 4 is provided with the determination means which determines whether the said portable terminal is a charge state in the portable terminal as described in any one of Claims 1-3, The said rearrangement means is further The relocation process is performed on the recording apparatus when the determination unit determines that the battery is in a charged state.

請求項5の発明は、請求項4に記載の携帯端末において、前記再配置手段は、前記再配置処理の実施中に前記判定手段により充電状態でないと判定されると、当該再配置処理を中断することを特徴とする。   According to a fifth aspect of the present invention, in the portable terminal according to the fourth aspect, the relocation means interrupts the relocation process when the determination means determines that the battery is not in a charged state during the reallocation process. It is characterized by doing.

請求項6の発明は、請求項1〜5のいずれか一項に記載の携帯端末において、前記再配置手段は、前記再配置処理の実施中に電源オンになると、当該再配置処理を中断することを特徴とする。   A sixth aspect of the present invention is the mobile terminal according to any one of the first to fifth aspects, wherein the rearrangement unit interrupts the rearrangement process when power is turned on during the rearrangement process. It is characterized by that.

請求項1の発明では、記録装置には、電源オン時のオン時刻および電源オフ時のオフ時刻と、これらオン時刻またはオフ時刻における使用データ量および削除データ量と、が逐次記録される。そして、電源オフになると、第1推定手段により、このオフ時刻と記録装置に記録される複数のオン時刻およびオフ時刻とに基づいて、次回のオン時刻とオフ時間と次回のオフ時刻とが推定される。また、電源オフになると、第2推定手段により、第1推定手段により推定される次回のオン時刻および次回のオフ時刻にそれぞれ対応する使用データ量および削除データ量に基づいて、次回のオン時刻から次回のオフ時刻までに使用される使用予定データ量が推定される。そして、電源オフになり第1推定手段により推定されるオフ時間が所定の時間以上である場合に、再配置手段により、第2推定手段により推定される使用予定データ量を少なくとも確保するように記録装置に対して再配置処理が実施される。   According to the first aspect of the present invention, the recording device sequentially records the on time when the power is turned on and the off time when the power is turned off, and the used data amount and the deleted data amount at the on time or the off time. When the power is turned off, the first estimation means estimates the next on time, the off time, and the next off time based on the off time and a plurality of on times and off times recorded in the recording device. Is done. Further, when the power is turned off, the second estimation means starts from the next on time based on the use data amount and the deletion data amount respectively corresponding to the next on time and the next off time estimated by the first estimation means. The amount of data scheduled to be used before the next off time is estimated. Then, when the power is turned off and the off time estimated by the first estimating means is equal to or longer than a predetermined time, the relocation means records so as to secure at least the scheduled data amount estimated by the second estimating means. A relocation process is performed on the device.

このように、電源オフになった時刻に応じてオフ時間を推定し、このオフ時間が所定の時間、例えば、再配置処理を実施するために十分な時間以上である場合に、使用予定データ量を少なくとも確保するように記録装置に対して再配置処理(デフラグ処理)が自動的に実施される。これにより、記録装置に対するデータの再配置処理を実際の作業を考慮した最適なタイミングで自動実施することができる。   In this way, when the power-off time is estimated, the off time is estimated, and when the off time is a predetermined time, for example, sufficient time for performing the rearrangement process, the amount of data scheduled to be used A relocation process (defragment process) is automatically performed on the recording apparatus so as to secure at least the above. Thereby, the data rearrangement process with respect to the recording apparatus can be automatically performed at the optimum timing in consideration of the actual work.

請求項2の発明では、電源オフになり第1推定手段により推定されるオフ時間が所定の時間以上である場合に、第2推定手段により推定される使用予定データ量のみを確保するように記録装置に対して再配置処理が実施される。これにより、記録装置に対して必要と推定されるデータ量だけ再配置処理が実施されるので、再配置処理を高頻度で実施することによる記録装置の寿命の低下を抑制することができる。   According to a second aspect of the present invention, when the power is turned off and the off time estimated by the first estimating means is equal to or longer than a predetermined time, the recording is performed so as to secure only the scheduled data amount estimated by the second estimating means A relocation process is performed on the device. Thereby, since the rearrangement process is performed by the amount of data estimated to be necessary for the recording apparatus, it is possible to suppress a decrease in the life of the recording apparatus due to the frequent execution of the rearrangement process.

請求項3の発明では、再配置手段により、電源オフになり第1推定手段により推定されるオフ時間が所定の時間以上である場合には、記録装置の全領域に対して再配置処理が実施され、当該オフ時間が所定の時間未満の場合には、記録装置に対して使用予定データ量を確保するように再配置処理が実施される。これにより、オフ時間が所定の時間未満であっても、使用予定データ量を確保するための再配置処理を実施することができる。   In the invention of claim 3, when the power is turned off by the rearrangement means and the off time estimated by the first estimation means is equal to or longer than a predetermined time, the rearrangement process is performed on the entire area of the recording apparatus. If the off-time is less than the predetermined time, the rearrangement process is performed so as to ensure the amount of data scheduled to be used for the recording apparatus. Thereby, even if the off time is less than the predetermined time, the rearrangement process for securing the scheduled data amount can be performed.

請求項4の発明では、再配置手段は、さらに、判定手段により充電状態であると判定される場合に、記録装置に対して再配置処理を実施するので、再配置処理の自動実施に起因する電池切れをなくすことができる。   In the invention of claim 4, the rearrangement unit further performs the rearrangement process on the recording apparatus when the determination unit determines that the battery is in the charged state. It is possible to eliminate battery exhaustion.

請求項5の発明では、再配置手段は、再配置処理の実施中に判定手段により充電状態でないと判定されると、当該再配置処理を中断するので、再配置処理の自動実施に起因する電池切れを確実になくすことができる。   In the invention of claim 5, the relocation means interrupts the relocation process when the determination means determines that it is not in the charged state during the execution of the relocation process, so the battery resulting from the automatic execution of the relocation process. Cuts can be reliably eliminated.

請求項6の発明では、再配置手段は、再配置処理の実施中に電源オンになると当該再配置処理を中断するので、電源オン直後に使用者の指示に応じた演算処理等が実行される場合でも、この処理が再配置処理のために遅延等することもない。   In the invention of claim 6, since the rearrangement means interrupts the rearrangement process when the power is turned on during the execution of the rearrangement process, an arithmetic process or the like according to a user instruction is executed immediately after the power is turned on. Even in this case, this process is not delayed due to the rearrangement process.

第1実施形態に係るバーコードリーダ20の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the barcode reader 20 which concerns on 1st Embodiment. 第1実施形態における最適化処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the optimization process in 1st Embodiment. メモリ35に採取ログとして逐次記録されるオン時刻およびオフ時刻と使用データ量および削除データ量とを示す説明図である。It is explanatory drawing which shows the ON time and OFF time, the amount of used data, and the amount of deletion data recorded sequentially as a collection log in the memory 35. 各時刻において推定される電源のオンオフ状態を示すタイミングチャートである。It is a timing chart which shows the ON / OFF state of the power source estimated at each time. 図5(A)は、推定される次回のオン時刻における使用データ量および削除データ量を例示する概念図であり、図5(B)は、推定される次回のオフ時刻における使用データ量および削除データ量を例示する概念図である。FIG. 5A is a conceptual diagram illustrating the estimated use data amount and deletion data amount at the next on-time, and FIG. 5B is an estimated use data amount and deletion at the next off time. It is a conceptual diagram which illustrates data amount. 第2実施形態における最適化処理の流れを例示するフローチャートの一部である。It is a part of flowchart which illustrates the flow of the optimization process in 2nd Embodiment. 第2実施形態における最適化処理の流れを例示するフローチャートの一部である。It is a part of flowchart which illustrates the flow of the optimization process in 2nd Embodiment.

[第1実施形態]
以下、本発明の携帯端末をバーコードリーダに適用した第1実施形態について、図面を参照して説明する。
図1に示すように、バーコードリーダ20は、主に、照明光源21、受光センサ28、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示器46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、図略のプリント配線板に実装あるいは図略のハウジング内に内装されている。
[First Embodiment]
Hereinafter, a first embodiment in which a portable terminal of the present invention is applied to a barcode reader will be described with reference to the drawings.
As shown in FIG. 1, the barcode reader 20 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 28, and an imaging lens 27, a memory 35, a control circuit 40, an operation switch 42, a liquid crystal display 46, and the like. And a power source system such as a power switch 41 and a battery 49. These are mounted on a printed wiring board (not shown) or housed in a housing (not shown).

光学系の照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本第1実施形態では、受光センサ28を挟んだ両側に照明光源21が設けられており、図略のハウジングの読取口を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rは、例えば、包装容器や包装用紙あるいはラベルといった表示媒体に相当するもので、その表面にはバーコードBが印刷されている。   The optical illumination light source 21 functions as an illumination light source capable of emitting illumination light Lf, and includes, for example, a red LED and a diffusing lens, a condensing lens, and the like provided on the emission side of the LED. . In the first embodiment, illumination light sources 21 are provided on both sides of the light receiving sensor 28, and configured to irradiate the illumination light Lf toward the reading object R through a reading port of a housing (not shown). ing. This reading object R corresponds to a display medium such as a packaging container, packaging paper, or label, for example, and a barcode B is printed on the surface thereof.

受光センサ28は、読取対象物RやバーコードBに照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子を一次元に配列したラインセンサ、或いは2次元に配列したエリアセンサが、これに相当する。この受光センサ28は、結像レンズ27を介して入射する入射光をこの受光面28aで受光可能に図略のプリント配線板に実装されている。   The light receiving sensor 28 is configured to receive the reflected light Lr irradiated and reflected on the reading object R or the barcode B. For example, the light receiving sensor 28 is a primary element such as a C-MOS or CCD. A line sensor originally arranged or an area sensor arranged two-dimensionally corresponds to this. The light receiving sensor 28 is mounted on a printed wiring board (not shown) so that incident light incident through the imaging lens 27 can be received by the light receiving surface 28a.

結像レンズ27は、外部から読取口を介して入射する入射光を集光して受光センサ28の受光面28aに像を結像可能な結像光学系として機能する。本第1実施形態では、照明光源21から照射された照明光LfがバーコードBに反射して読取口に入射する反射光Lrを集光することにより、受光センサ28の受光面28aにバーコードBのコード画像を結像可能にしている。   The imaging lens 27 functions as an imaging optical system capable of condensing incident light incident from the outside through the reading port and forming an image on the light receiving surface 28 a of the light receiving sensor 28. In the first embodiment, the illumination light Lf emitted from the illumination light source 21 is reflected by the barcode B and condensed by the reflected light Lr incident on the reading port, whereby the barcode is applied to the light receiving surface 28a of the light receiving sensor 28. The code image of B can be imaged.

次に、マイコン系の構成概要を説明する。マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等から構成されている。このマイコン系は、その名の通り、マイコン(情報処理装置)として機能し得る制御回路40およびメモリ35と中心に構成されるもので、上述した光学系によって撮像されたバーコードBの画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。   Next, a configuration outline of the microcomputer system will be described. The microcomputer system includes an amplification circuit 31, an A / D conversion circuit 33, a memory 35, an address generation circuit 36, a synchronization signal generation circuit 38, a control circuit 40, an operation switch 42, an LED 43, a buzzer 44, a liquid crystal display 46, and a communication interface 48. Etc. As the name suggests, this microcomputer system is composed mainly of a control circuit 40 and a memory 35 that can function as a microcomputer (information processing device). The image signal of the barcode B imaged by the optical system described above is obtained. It can perform signal processing in terms of hardware and software.

光学系の受光センサ28から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力されると、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力されると、画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ28およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   The image signal (analog signal) output from the light receiving sensor 28 of the optical system is amplified by a predetermined gain by being input to the amplifier circuit 31, and then input from the analog signal when input to the A / D conversion circuit 33. Converted into a digital signal. When the digitized image signal, that is, image data (image information) is input to the memory 35, it is stored in the image data storage area. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 28 and the address generation circuit 36, and the address generation circuit 36 is based on the synchronization signal supplied from the synchronization signal generation circuit 38. Thus, the storage address of the image data stored in the memory 35 can be generated.

メモリ35は、半導体メモリ装置で、例えばフラッシュROM(EPROM、EEPROMなど)のデータ書換え可能なメモリがこれに相当する。このメモリ35には、上述した画像データ蓄積領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されるとともに、後述する最適化処理、読取処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ28等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。なお、メモリ35は、特許請求の範囲に記載の「記録装置」の一例に相当する。   The memory 35 is a semiconductor memory device, for example, a rewritable memory such as a flash ROM (EPROM, EEPROM, etc.). In addition to the image data storage area described above, the memory 35 is configured to be able to secure a work area and a reading condition table used by the control circuit 40 for each processing such as arithmetic operation and logical operation, as well as an optimum described later. In addition, a predetermined program that can execute the conversion process, the reading process, and the like, and a system program that can control each hardware such as the illumination light source 21 and the light receiving sensor 28 are stored in advance. The memory 35 corresponds to an example of a “recording device” described in the claims.

制御回路40は、バーコードリーダ20全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるもので、メモリ35とともに情報処理装置を構成し得るもので情報処理機能を有する。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)と接続可能に構成されており、本第1実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等が接続されている。   The control circuit 40 is a microcomputer that can control the entire barcode reader 20 and includes a CPU, a system bus, an input / output interface, and the like. The control circuit 40 can constitute an information processing apparatus together with the memory 35 and has an information processing function. The control circuit 40 is configured to be connectable to various input / output devices (peripheral devices) via a built-in input / output interface. In the case of the first embodiment, the power switch 41, the operation switch 42, An LED 43, a buzzer 44, a liquid crystal display 46, a communication interface 48, and the like are connected.

これにより、例えば、電源スイッチ41や操作スイッチ42の監視や管理、またインジケータとして機能するLED43の点灯・消灯、ビープ音やアラーム音を発生可能なブザー44の鳴動のオンオフ、さらには読み取ったバーコードBによるコード内容を画面表示可能な液晶表示器46の画面制御や外部装置とのシリアル通信を可能にする通信インタフェース48の通信制御等を可能にしている。   Thereby, for example, monitoring and management of the power switch 41 and the operation switch 42, turning on / off the LED 43 functioning as an indicator, turning on / off the buzzer 44 capable of generating a beep sound and an alarm sound, and further reading the barcode Screen control of the liquid crystal display 46 capable of displaying the code content by B, communication control of the communication interface 48 enabling serial communication with an external device, and the like are enabled.

電源系は、電源スイッチ41、電池49等により構成されており、制御回路40により管理される電源スイッチ41のオンオフによって、上述した各装置や各回路に、電池49から供給される駆動電圧の導通や遮断が制御されている。電池49は、図略の充電装置に電気的に接続されることで充電可能な二次電池であって、この電池49には充電状態であるか否かを検出する充電センサ50が設けられている。この充電センサ50は、その検出結果を出力可能に制御回路40に接続されている。   The power supply system includes a power switch 41, a battery 49, and the like. When the power switch 41 managed by the control circuit 40 is turned on and off, the conduction of the drive voltage supplied from the battery 49 to each device and each circuit described above is established. Or shut off is controlled. The battery 49 is a secondary battery that can be charged by being electrically connected to a charging device (not shown). The battery 49 is provided with a charge sensor 50 that detects whether or not the battery 49 is in a charged state. Yes. The charge sensor 50 is connected to the control circuit 40 so that the detection result can be output.

このようにバーコードリーダ20を構成することによって以下に示す読取処理がなされる。例えば、電源スイッチ41がオンされて所定の自己診断処理等が正常終了し、バーコードBの読み取りが可能な状態になると、照明光Lfの発光を指示する操作スイッチ42(例えばトリガースイッチ)の入力を受け付ける。これにより、作業者がトリガースイッチを押圧しオンにすることで、制御回路40が同期信号を基準に照明光源21に発光信号を出力するので、当該発光信号を受けた照明光源21は、LEDを発光させて照明光Lfを照射する。   By configuring the barcode reader 20 in this way, the following reading process is performed. For example, when the power switch 41 is turned on and a predetermined self-diagnosis process or the like is normally completed and the barcode B can be read, an operation switch 42 (for example, a trigger switch) that instructs to emit the illumination light Lf is input. Accept. As a result, when the operator presses the trigger switch to turn it on, the control circuit 40 outputs a light emission signal to the illumination light source 21 based on the synchronization signal, so that the illumination light source 21 that has received the light emission signal turns on the LED. Light is emitted to irradiate illumination light Lf.

すると、バーコードBに照射された照明光Lfが反射しその反射光Lrが読取口を介して結像レンズ27に入射するため、受光センサ28の受光面28aには、結像レンズ27によりバーコードBの像、つまりコード画像が結像される。これにより、受光面28aを構成する各受光素子が露光され、各受光素子から受光量に応じた信号がそれぞれ出力される。各受光素子から出力される信号は、バーコードBの画像データを構成するものであり、この画像データを2値化した後、所定のデコード処理を施すことによって、バーコードBとして符号化された文字データ等がデコードされてメモリ35に書き込まれることとなる。また、デコードされた内容は液晶表示器46に表示したり、通信インタフェース48を介してホストコンピュータに出力したりすることもできる。   Then, since the illumination light Lf irradiated to the barcode B is reflected and the reflected light Lr enters the imaging lens 27 through the reading port, a bar is formed on the light receiving surface 28a of the light receiving sensor 28 by the imaging lens 27. An image of code B, that is, a code image is formed. Thereby, each light receiving element which comprises the light-receiving surface 28a is exposed, and the signal according to the light reception amount is output from each light receiving element, respectively. The signal output from each light receiving element constitutes the image data of the barcode B. The image data is binarized and then encoded as the barcode B by performing a predetermined decoding process. Character data or the like is decoded and written into the memory 35. The decoded contents can be displayed on the liquid crystal display 46 or output to the host computer via the communication interface 48.

次に、本発明の特徴的部分である、制御回路40により実行されるメモリ35に対するデータの最適化処理について説明する。この最適化処理は、メモリ35に対するデータ(ファイル)の再配置処理、すなわち、メモリ35の削除状態のデータを未使用状態にするとともに不連続に記録されたデータを連続なデータに再配置する処理(以下、デフラグ処理ともいう)を最適なタイミングで実施するものである。
以下、最適化処理について図2のフローチャートを用いて詳細に説明する。
Next, a data optimization process for the memory 35 executed by the control circuit 40, which is a characteristic part of the present invention, will be described. This optimization process is a process of rearranging data (files) to the memory 35, that is, a process of placing data in a deleted state in the memory 35 in an unused state and rearranging discontinuously recorded data into continuous data. (Hereinafter also referred to as defragmentation processing) is performed at an optimal timing.
Hereinafter, the optimization process will be described in detail with reference to the flowchart of FIG.

まず、電源スイッチ41のオン操作がなされて電源オン状態になると、図2のステップS101においてオン状態記録処理がなされる。この処理では、現在時刻が電源オン時の時刻(以下、オン時刻という)としてメモリ35に記録されるとともに、このオン時刻においてメモリ35に記録されているデータのうちデータが存在する使用状態のクラスタの数量(以下、使用データ量という)およびデータが削除された削除状態のクラスタの数量(以下、削除データ量という)とが記録される。具体的には、例えば、図3に示す採取ログの最上段のデータのように、オン時刻(ON)が「08:00」、使用データ量(USE)が「200」、削除データ量(DEL)が「50」としてメモリ35に記録される。   First, when the power switch 41 is turned on and the power is turned on, an on-state recording process is performed in step S101 in FIG. In this processing, the current time is recorded in the memory 35 as the time when the power is turned on (hereinafter referred to as the “on time”), and the use state cluster in which data exists among the data recorded in the memory 35 at the on time. And the number of clusters in a deleted state from which data has been deleted (hereinafter referred to as deleted data amount) are recorded. Specifically, for example, as in the uppermost data of the collection log shown in FIG. 3, the ON time (ON) is “08: 0”, the used data amount (USE) is “200”, and the deleted data amount (DEL) ) Is recorded in the memory 35 as “50”.

このように電源オン状態になると、上述のような読取処理が実施されてメモリ35にデコード結果等が記録されるとともに所定の演算処理等がなされることで、メモリ35に記録されている使用データ量および削除データ量が変動する。   When the power is turned on in this way, the reading process as described above is performed, the decoding result or the like is recorded in the memory 35, and the predetermined calculation process or the like is performed, whereby the usage data recorded in the memory 35 is recorded. The amount and amount of deleted data vary.

そして、読取作業等を終えた作業者が電源スイッチ41のオフ操作をすると(S103でYes)、ステップS105においてオフ状態記録処理がなされる。この処理では、現在時刻が電源オフ時の時刻(以下、オフ時刻という)としてメモリ35に記録されるとともに、このオフ時刻においてメモリ35に記録されているデータのうちの使用データ量および削除データ量とが記録される。具体的には、例えば、図3に示す採取ログの2段目のデータのように、オフ時刻(OFF)が「10:00」、使用データ量(USE)が「300」、削除データ量(DEL)が「100」としてメモリ35に記録される。   When the operator who has finished the reading operation or the like turns off the power switch 41 (Yes in S103), an off state recording process is performed in step S105. In this process, the current time is recorded in the memory 35 as the time when the power is turned off (hereinafter referred to as the “off time”), and the used data amount and the deleted data amount among the data recorded in the memory 35 at the off time. Are recorded. Specifically, for example, as in the second stage data of the collection log shown in FIG. 3, the off time (OFF) is “10:00”, the used data amount (USE) is “300”, and the deleted data amount ( DEL) is recorded in the memory 35 as “100”.

上述のようなオン状態記録処理およびオフ状態記録処理が電源オンオフ毎になされることで、図3に示すように、オン時刻およびオフ時刻とこれらオン時刻またはオフ時刻における使用データ量および削除データ量とがメモリ35に採取ログとして逐次記録されることとなる。   By performing the on-state recording process and the off-state recording process as described above every time the power is turned on / off, as shown in FIG. 3, the on time and the off time, and the used data amount and the deleted data amount at the on time or the off time, as shown in FIG. Are sequentially recorded in the memory 35 as a collection log.

次に、ステップS107において、第1推定処理がなされる。この処理では、まず、今までメモリ35に逐次記録されている複数のオン時刻およびオフ時刻から、図4のタイミングチャートにて例示するように各時刻における電源のオンオフ状態が推定される。そして、この推定オンオフ状態とステップS105にて記録されたオフ時刻とに基づいて、次回のオン時刻と、当該オフ時刻(現在時刻に相当)から次回のオン時刻までの時間であるオフ時間ΔTと、次回のオフ時刻と、が推定される。   Next, in step S107, a first estimation process is performed. In this process, first, the on / off state of the power supply at each time is estimated from a plurality of on-times and off-times sequentially recorded in the memory 35 so far as illustrated in the timing chart of FIG. Then, based on the estimated on / off state and the off time recorded in step S105, the next on time, and the off time ΔT that is the time from the off time (corresponding to the current time) to the next on time, The next off time is estimated.

具体的には、例えば、図4に示す時刻Tで電源オフされると、時刻Tが次回のオン時刻として推定され、時刻Tから時刻Tまでの時間がオフ時間ΔTとして推定され、時刻Tが次回のオフ時刻として推定される。また、例えば、時刻T,時刻T,時刻Tで電源オフされると、業務中であると推定されて十分なオフ時間が期待できないことから、オフ時間ΔTが0(ゼロ)に設定される。なお、ステップS107を実行する制御回路40は、特許請求の範囲に記載の「第1推定手段」の一例に相当する。 Specifically, for example, when the power is turned off at time T 2, as shown in FIG. 4, the time T 4 is estimated as the next on-time, the time from time T 2, to the time T 4 is estimated as an off-time ΔT , time T 6 is estimated as the next off time. Also, for example, if the power is turned off at time T 1 , time T 4 , and time T 5 , it is estimated that the job is in progress and a sufficient off time cannot be expected, so the off time ΔT is set to 0 (zero). Is done. The control circuit 40 that executes step S107 corresponds to an example of “first estimation means” recited in the claims.

上述のように次回のオン時刻、オフ時間ΔTおよび次回のオフ時刻が推定されると、ステップS109において、第2推定処理がなされる。この処理では、次回のオン時刻における使用データ量および削除データ量と、次回のオフ時刻における使用データ量および削除データ量と、に基づいて、次回のオン時刻から次回のオフ時刻までに使用される使用予定データ量が推定される。   As described above, when the next on time, the off time ΔT, and the next off time are estimated, a second estimation process is performed in step S109. In this process, the data is used from the next on time to the next off time based on the used data amount and the deleted data amount at the next on time and the used data amount and the deleted data amount at the next off time. The amount of data scheduled to be used is estimated.

具体的には、例えば、次回のオン時刻が時刻T、次回のオフ時刻が時刻Tと推定されると、各オン時刻に対応して逐次記録されている複数の使用データ量および削除データ量のうち、次回のオン時刻(時刻T)に対して近い時刻に対応して記録された使用データ量の平均値と削除データ量の平均値とから、図5(A)に例示するように、次回のオン時刻における使用データ量(図5(A)中のDau)および削除データ量(図5(A)中のDad)が推定される。 Specifically, for example, when the next on-time is estimated to be time T 0 and the next off-time is estimated to be time T 2 , a plurality of use data amounts and deletion data sequentially recorded corresponding to each on-time Of the amounts, the average value of the used data amount and the average value of the deleted data amount recorded corresponding to the time close to the next on-time (time T 0 ) are exemplified in FIG. Then, the amount of used data (Dau in FIG. 5A) and the amount of deleted data (Dad in FIG. 5A) at the next ON time are estimated.

そして、各オフ時刻に対応して逐次記録されている複数の使用データ量および削除データ量のうち、次回のオフ時刻(時刻T)に対して近い時刻に対応して記録された使用データ量の平均値と削除データ量の平均値とから、図5(B)に例示するように、次回のオフ時刻における使用データ量(図5(B)中のDbu)および削除データ量(図5(B)中のDbd)が推定される。なお、図5(A),(B)は、各段がファイル領域の1セクタの状態を簡略化して概念的に例示したものであり、使用データ量および削除データ量以外の領域は未使用状態の領域を示す。 Then, among the plurality of use data amounts and deletion data amounts that are sequentially recorded corresponding to each off time, the use data amount recorded corresponding to a time close to the next off time (time T 2 ). As shown in FIG. 5B, the amount of used data (Dbu in FIG. 5B) and the amount of deleted data (FIG. Dbd) in B) is estimated. 5A and 5B conceptually illustrate the state of one sector of the file area in each stage, and areas other than the used data amount and the deleted data amount are unused. Indicates the area.

そして、上述のように推定された次回のオン時刻における使用データ量および削除データ量と、次回のオフ時刻における使用データ量および削除データ量と差、具体的には、図5(B)の太枠内の領域にて示すように、未使用状態が使用状態になったデータ量と使用状態が削除状態になったデータ量とに基づいて、使用予定データ量が推定される。なお、ステップS109を実行する制御回路40は、特許請求の範囲に記載の「第2推定手段」の一例に相当する。   Then, the difference between the use data amount and the deletion data amount at the next on time estimated as described above, and the use data amount and the deletion data amount at the next off time, specifically, the thick data in FIG. As shown by the area in the frame, the scheduled data amount is estimated based on the data amount in which the unused state is in the used state and the data amount in which the used state is in the deleted state. The control circuit 40 that executes Step S109 corresponds to an example of “second estimation means” recited in the claims.

上述のように使用予定データ量が推定されると、ステップS111において、オフ時間ΔTが所定の作業時間ΔTo以上であるか否かについて判定される。なお、所定の作業時間ΔToは、例えば、後述するデフラグ処理を実施するために十分な作業時間であって、本第1実施形態では、1時間に設定されている。なお、作業時間ΔToは、特許請求の範囲に記載の「所定の時間」の一例に相当する。   When the scheduled data amount is estimated as described above, it is determined in step S111 whether or not the off time ΔT is equal to or longer than the predetermined work time ΔTo. The predetermined work time ΔTo is, for example, a work time sufficient for performing a defragmentation process to be described later, and is set to 1 hour in the first embodiment. The work time ΔTo corresponds to an example of “predetermined time” described in the claims.

ここで、オフ時刻が、例えば、時刻Tであることからオフ時間ΔTが短い場合や、オフ時刻が時刻T,時刻T,時刻Tであることからオフ時間ΔTが0(ゼロ)に設定される場合には、オフ時間ΔTが所定の時間ΔTo未満になることから、ステップS111にてNoと判定される。これにより、デフラグ処理を実施するために十分なオフ時間が確保できないと判断されて、デフラグ処理を実施することなく、ステップS125にて電源オフ処理がなされて、電源がオフ状態になる。 Here, for example, when the off time ΔT is short because the off time is the time T 3 , or the off time ΔT is 0 (zero) because the off time is the time T 1 , the time T 4 , and the time T 5. In the case where the off time ΔT is less than the predetermined time ΔTo, it is determined No in step S111. As a result, it is determined that a sufficient off time for performing the defragmentation process cannot be secured, and the power off process is performed in step S125 without performing the defragmentation process, so that the power supply is turned off.

一方、オフ時刻が、例えば、時刻Tや時刻Tであることからオフ時間ΔTが長くなり、オフ時間ΔTが所定の時間ΔTo以上になると(S111でYes)、ステップS113にて、充電状態であるか否かについて判定される。ここで、充電センサ50の検出結果に応じて充電状態でないと判定されると(S113でNo)、デフラグ処理の自動実施に起因する電池切れをなくすために、デフラグ処理を実施することなく、ステップS125にて電源オフ処理がなされて、電源がオフ状態になる。なお、ステップS113および後述するステップS117を実行する制御回路40は、特許請求の範囲に記載の「判定手段」の一例に相当する。 On the other hand, when the off time is, for example, time T 6 or time T 7 , the off time ΔT becomes longer, and when the off time ΔT becomes equal to or longer than the predetermined time ΔTo (Yes in S111), the charging state is determined in step S113. It is determined whether or not. Here, if it is determined that the battery is not in the charged state according to the detection result of the charge sensor 50 (No in S113), the step without performing the defragmentation process is performed without the defragmentation process in order to eliminate the battery exhaustion caused by the automatic execution of the defragmentation process. In S125, a power-off process is performed, and the power is turned off. The control circuit 40 that executes step S113 and step S117 described later corresponds to an example of “determination unit” recited in the claims.

一方、ステップS113にて充電センサ50の検出結果に応じて充電状態であると判定されると(S113でYes)、ステップS115にてデフラグ処理がなされる。この処理では、上記ステップS109にて推定された使用予定データ量のみを確保するように、メモリ35の削除状態のデータが未使用状態にされるとともに、不連続に記録されたデータが連続なデータに再配置される。なお、ステップS115を実行する制御回路40は、特許請求の範囲に記載の「再配置手段」の一例に相当する。   On the other hand, if it is determined in step S113 that the battery is in a charged state according to the detection result of the charge sensor 50 (Yes in S113), a defragmentation process is performed in step S115. In this process, in order to secure only the estimated use data amount estimated in step S109, the data in the deleted state of the memory 35 is set to an unused state and the data recorded discontinuously is continuous data. Will be rearranged. The control circuit 40 that executes step S115 corresponds to an example of a “rearrangement unit” recited in the claims.

続いて、ステップS117にて充電状態であるか否かについて判定され、充電状態であれば(S117でYes)、ステップS119にて電源オンか否かについて判定され、電源スイッチ41がオン操作されるまでNoと判定される。そして、使用予定データ量が確保されておらずデフラグ処理が終了してない場合にはステップS121にてNoと判定されて、ステップS115からの処理が繰り返される。   Subsequently, in step S117, it is determined whether or not the battery is charged. If the battery is charged (Yes in S117), it is determined whether or not the power is turned on in step S119, and the power switch 41 is turned on. It is determined as No. If the scheduled use data amount is not secured and the defragmentation process is not completed, it is determined No in step S121, and the process from step S115 is repeated.

この繰り返し処理によりデフラグ処理が実施されている間に、充電が停止されるか(S117でNo)、電源スイッチ41がオン操作されると(S119でYes)、ステップS123にてデフラグ処理が中断され、ステップS125にて電源オフ処理がなされて電源がオフ状態になる。また、使用予定データ量が確保されたことによりデフラグ処理が終了すると(S121でYes)、ステップS125にて電源オフ処理がなされて電源がオフ状態になる。そして、このように電源がオフ状態になると、最適化処理が終了する。なお、上記ステップS109にて推定された使用予定データ量に相当する未使用状態のデータ量が既にある場合には、上記デフラグ処理を継続して実行することなくステップS121にてYesと判定されることとなる。   If the charging is stopped while the defragmentation process is being performed by this repetition process (No in S117) or the power switch 41 is turned on (Yes in S119), the defragmentation process is interrupted in Step S123. In step S125, the power is turned off and the power is turned off. Further, when the defragmentation process is completed when the scheduled use data amount is secured (Yes in S121), the power-off process is performed in step S125, and the power supply is turned off. Then, when the power is turned off in this way, the optimization process ends. If there is already an unused data amount corresponding to the estimated usage data amount estimated in step S109, it is determined Yes in step S121 without continuously executing the defragmentation process. It will be.

以上説明したように、本第1実施形態に係るバーコードリーダ20では、メモリ35には、電源オン時のオン時刻および電源オフ時のオフ時刻と、これらオン時刻またはオフ時刻における使用データ量および削除データ量と、が逐次記録される。そして、電源オフになると、このオフ時刻とメモリ35に記録される複数のオン時刻およびオフ時刻とに基づいて、次回のオン時刻とオフ時間ΔTと次回のオフ時刻とが推定される。また、電源オフになると、推定された次回のオン時刻および次回のオフ時刻にそれぞれ対応する使用データ量および削除データ量に基づいて、次回のオン時刻から次回のオフ時刻までに使用される使用予定データ量が推定される。そして、電源オフになりオフ時間ΔTが所定の時間ΔTo以上である場合に、推定された使用予定データ量のみを確保するようにメモリ35に対してデフラグ処理が実施される。   As described above, in the barcode reader 20 according to the first embodiment, the memory 35 stores the on time when the power is turned on and the off time when the power is turned off, the amount of used data at the on time or the off time, and The amount of deleted data is recorded sequentially. When the power is turned off, the next on time, off time ΔT, and next off time are estimated based on the off time and a plurality of on times and off times recorded in the memory 35. Also, when the power is turned off, based on the estimated amount of use and deleted data corresponding to the next turn-on time and the next turn-off time, the scheduled use will be used from the next turn-on time to the next turn-off time. The amount of data is estimated. Then, when the power is turned off and the off time ΔT is equal to or longer than the predetermined time ΔTo, a defragmentation process is performed on the memory 35 so as to ensure only the estimated use planned data amount.

このように、電源オフになった時刻に応じてオフ時間ΔTを推定し、このオフ時間ΔTが上述のように設定される所定の時間ΔTo以上である場合に、使用予定データ量のみを確保するようにメモリ35に対してデフラグ処理が自動的に実施される。これにより、メモリ35に対するデータのデフラグ処理を実際の作業を考慮した最適なタイミングで自動実施することができる。   In this way, the off time ΔT is estimated according to the time when the power is turned off, and when the off time ΔT is equal to or longer than the predetermined time ΔTo set as described above, only the scheduled data amount is secured. As described above, the defragmentation process is automatically performed on the memory 35. Thereby, the defragmentation process of the data with respect to the memory 35 can be automatically performed at the optimum timing in consideration of the actual work.

特に、メモリ35に対して必要と推定される使用予定データ量のみを確保するようにデフラグ処理が実施されるので、デフラグ処理を高頻度で実施することによるメモリ35の寿命の低下を抑制することができる。
なお、メモリ35の寿命に重点が置かれない場合には、電源オフになりオフ時間ΔTが所定の時間ΔTo以上である場合に、推定された使用予定データ量を少なくとも確保するようにメモリ35に対してデフラグ処理が実施されてもよい。
In particular, since the defragmentation process is performed so as to ensure only the amount of data scheduled to be used that is estimated to be necessary for the memory 35, it is possible to suppress a decrease in the lifetime of the memory 35 due to the frequent execution of the defragmentation process. Can do.
In the case where no emphasis is placed on the life of the memory 35, when the power is turned off and the off time ΔT is equal to or longer than the predetermined time ΔTo, the memory 35 is secured so as to secure at least the estimated scheduled data amount to be used. On the other hand, defragmentation processing may be performed.

また、本第1実施形態に係るバーコードリーダ20では、ステップS113にて充電状態であると判定される場合に、メモリ35に対してデフラグ処理を実施するので、デフラグ処理の自動実施に起因する電池切れをなくすことができる。   Further, in the barcode reader 20 according to the first embodiment, the defragmentation process is performed on the memory 35 when it is determined in step S113 that the battery is in the charged state, which results from the automatic execution of the defragmentation process. It is possible to eliminate battery exhaustion.

さらに、本第1実施形態に係るバーコードリーダ20では、デフラグ処理の実施中にステップS117にて充電状態でないと判定されると、当該デフラグ処理を中断するので、デフラグ処理の自動実施に起因する電池切れを確実になくすことができる。   Furthermore, in the barcode reader 20 according to the first embodiment, when it is determined that the battery is not in the charged state in step S117 during the defragmentation process, the defragmentation process is interrupted, resulting in the automatic execution of the defragmentation process. It is possible to reliably eliminate the battery exhaustion.

また、本第1実施形態に係るバーコードリーダ20では、デフラグ処理の実施中に電源オンになると当該デフラグ処理を中断するので、電源オン直後に使用者の指示に応じた演算処理等が実行される場合でも、この処理がデフラグ処理のために遅延等することもない。   Further, in the barcode reader 20 according to the first embodiment, when the power is turned on during the defragmentation process, the defragmentation process is interrupted, so that an arithmetic process or the like according to a user instruction is executed immediately after the power is turned on. Even in this case, this process is not delayed due to the defragmentation process.

[第2実施形態]
次に、本発明の携帯端末をバーコードリーダに適用した第2実施形態について、図面を参照して説明する。
本第2実施形態に係るバーコードリーダ20では、上述した最適化処理を図2に示すフローチャートに代えて図6および図7に示すフローチャートに基づいて演算処理している点が、上記第1実施形態に係るバーコードリーダと異なる。したがって、上述した第1実施形態のバーコードリーダと実質的に同一の構成部分には同一符号を付し、説明を省略する。
[Second Embodiment]
Next, a second embodiment in which the portable terminal of the present invention is applied to a barcode reader will be described with reference to the drawings.
In the barcode reader 20 according to the second embodiment, the above-described optimization processing is performed based on the flowcharts shown in FIGS. 6 and 7 instead of the flowchart shown in FIG. Different from the barcode reader according to the form. Therefore, substantially the same components as those of the barcode reader of the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

以下、本第2実施形態に係る制御回路40による最適化処理について、図6および図7のフローチャートを参照して説明する。
まず、電源スイッチ41のオン操作がなされて電源オン状態になると、図6のステップS201において、フラグFが0に設定されているか否かについて判定される。ここで、フラグFは、デフラグ処理の実行に関する状態を示し、具体的には、F=0はデフラグ処理を実行しない通常の処理状態を意味し、F=1またはF=2は自動起動後にデフラグ処理を実行する処理状態を意味する。デフラグ処理を自動実行しない通常の処理状態であることから、後述するようにF=0に設定されていると、ステップS201にてYesと判定される。
Hereinafter, optimization processing by the control circuit 40 according to the second embodiment will be described with reference to the flowcharts of FIGS. 6 and 7.
First, when the power switch 41 is turned on and the power is turned on, it is determined whether or not the flag F is set to 0 in step S201 in FIG. Here, the flag F indicates a state related to the execution of the defragmentation process. Specifically, F = 0 means a normal process state in which the defragmentation process is not performed, and F = 1 or F = 2 indicates the defragmentation after the automatic activation. It means the processing state to execute processing. Since it is a normal processing state in which the defragmentation process is not automatically executed, if F = 0 is set as will be described later, it is determined Yes in step S201.

次に、ステップS203において、上記ステップS101と同様にオン状態記録処理がなされ、読取作業等を終えた作業者が電源スイッチ41のオフ操作をすると(S205でYes)、ステップS207において、上記ステップS105と同様にオフ状態記録処理がなされる。続いて、ステップS209において、上記ステップS107と同様に第1推定処理がなされて、次回のオン時刻、オフ時間ΔTおよび次回のオフ時刻が推定される。そして、ステップS211において、上記ステップS109と同様に第2推定処理がなされて、使用予定データ量が推定される。   Next, in step S203, an on-state recording process is performed in the same manner as in step S101. When an operator who has finished the reading operation or the like turns off the power switch 41 (Yes in S205), in step S207, the above step S105 is performed. The off-state recording process is performed in the same manner as described above. Subsequently, in step S209, the first estimation process is performed in the same manner as in step S107, and the next on time, the off time ΔT, and the next off time are estimated. In step S211, the second estimation process is performed in the same manner as in step S109, and the scheduled data amount is estimated.

次に、ステップS213において、作業時間推定処理がなされる。この処理では、ステップS211にて推定された使用予定データ量から現時点での未使用状態のデータ量を除いた必要データ量を確保するためにデフラグ処理を実施する場合の作業時間ΔTaと、全データ領域に対してデフラグ処理を実施する場合の作業時間ΔTbと、がそれぞれ推定される。なお、作業時間ΔTa,ΔTbは、特許請求の範囲に記載の「所定の時間」の一例に相当する。   Next, in step S213, work time estimation processing is performed. In this process, the work time ΔTa for performing the defragmentation process to secure the necessary data amount obtained by subtracting the current unused data amount from the scheduled use data amount estimated in step S211, and all data The work time ΔTb when the defragmentation process is performed on the area is estimated. The work times ΔTa and ΔTb correspond to an example of “predetermined time” recited in the claims.

なお、本第2実施形態では、作業時間ΔTaは、1セクタ全てが削除クラスタであるセクタを全て消去することで得られる未使用状態のデータ量が必要データ量を超える場合には、この1セクタ全てが削除クラスタであるセクタを全て消去する場合の作業時間に設定される。1セクタに使用クラスタと削除クラスタが混在するセクタの削除クラスタを消去するには使用クラスタを別のセクタにコピーしてからセクタ消去するため、1セクタ全てが削除クラスタであるセクタを消去する方が作業時間が短くなるからである。一方、作業時間ΔTaは、1セクタ全てが削除クラスタであるセクタを全て消去することで得られる未使用状態のデータ量が必要データ量を超えない場合には、1セクタに使用クラスタと削除クラスタが混在するクラスタも含めて全てのセクタの削除クラスタを消去する場合の作業時間に設定される。   In the second embodiment, the work time ΔTa is set to one sector when the unused data amount obtained by erasing all sectors in which one sector is a deletion cluster exceeds the necessary data amount. It is set to the work time when all sectors that are all deleted clusters are erased. In order to erase a deleted cluster in which a used cluster and a deleted cluster coexist in one sector, it is better to copy a used cluster to another sector and then erase the sector. This is because the working time is shortened. On the other hand, if the unused data amount obtained by erasing all sectors in which one sector is a deletion cluster does not exceed the required data amount, the working time ΔTa indicates that the used cluster and the deletion cluster exist in one sector. It is set to the working time when deleting the deletion cluster of all sectors including the mixed cluster.

そして、ステップS215において、ステップS209にて推定されるオフ時間ΔTが作業時間ΔTa以上であるか否かについて判定される。ここで、オフ時間ΔTが短いことからデフラグ処理を実施しない場合には(S215でNo)、ステップS217にてフラグ=0に設定されて、上記ステップS125と同様に電源オフ処理がなされて電源がオフ状態になる。   In step S215, it is determined whether or not the off time ΔT estimated in step S209 is equal to or longer than the work time ΔTa. Here, when the defragmentation process is not performed because the off time ΔT is short (No in S215), the flag is set to 0 in step S217, and the power off process is performed in the same manner as in the above step S125. Turns off.

一方、オフ時間ΔTが作業時間ΔTa以上である場合には(S215でYes)、ステップS219にてオフ時間ΔTが作業時間ΔTb以上であるか否かについて判定される。ここで、オフ時間ΔTが作業時間ΔTb以上であり、全データ領域に対してデフラグ処理を実施する作業時間が十分にとれる場合には(S219でYes)、ステップS221において、フラグFが、自動起動後に全データ領域に対してデフラグ処理を実行する処理状態を意味するF=2に設定される。一方、オフ時間ΔTが作業時間ΔTb未満であり、全データ領域に対してデフラグ処理を実施する十分な作業時間がとれないが必要データ量を確保するためにデフラグ処理を実施する作業時間がとれる場合には(S219でNo)、ステップS223において、フラグFが、自動起動後に必要データ量を確保するためのデフラグ処理を実行する処理状態を意味するF=1に設定される。   On the other hand, when the off time ΔT is equal to or longer than the work time ΔTa (Yes in S215), it is determined in step S219 whether the off time ΔT is equal to or longer than the work time ΔTb. Here, when the off time ΔT is equal to or longer than the work time ΔTb and the work time for performing the defragmentation process on all the data areas is sufficient (Yes in S219), the flag F is automatically activated in step S221. F = 2, which means a processing state in which defragmentation processing is executed later on all data areas, is set. On the other hand, when the off time ΔT is less than the work time ΔTb and sufficient work time for performing the defragmentation process on all the data areas cannot be obtained, but the work time for performing the defragmentation process to secure the necessary data amount can be obtained. (No in S219), in step S223, the flag F is set to F = 1 which means a processing state in which a defragmentation process for securing a necessary data amount after automatic activation is executed.

そして、上述のようにフラグFがF=1またはF=2に設定されると、ステップS225にて自動起動処理がなされて、電源がオフ状態になって5分後に自動的に起動する処理がなされ、ステップS227にて電源オフ処理がなされて電源がオフ状態になる。   When the flag F is set to F = 1 or F = 2 as described above, an automatic activation process is performed in step S225, and a process of automatically starting 5 minutes after the power is turned off is performed. In step S227, the power is turned off and the power is turned off.

このような自動起動処理が実施されて電源オン状態になる場合では、フラグFがF=1またはF=2に設定されていることから、上記ステップS201にてNoと判定されて、図7のステップS229において、上記ステップS113と同様に充電状態か否かについて判定される。ここで、充電状態でなければ(S229でNo)、ステップS227にて電源オフ処理がなされて電源がオフ状態になる。   When such an automatic startup process is performed and the power is turned on, the flag F is set to F = 1 or F = 2, so that it is determined No in step S201, and FIG. In step S229, it is determined whether or not the battery is in the charged state, similar to step S113. If the battery is not charged (No in S229), a power-off process is performed in step S227 and the power is turned off.

一方、ステップS229にて充電状態であれば(S229でYes)、ステップS231において、フラグF=1に設定されているか否かについて判定される。ここで、全データ領域に対してデフラグ処理を実施する十分な作業時間がとれないが必要データ量を確保するためにデフラグ処理を実施する作業時間がとれると推定されることからフラグF=1に設定されている場合には(S231でYes)、ステップS233にて部分領域デフラグ処理がなされる。この処理では、ステップS211にて推定された必要データ量を確保するためのデフラグ処理が実施される。   On the other hand, if the battery is in the charged state in step S229 (Yes in S229), it is determined in step S231 whether or not the flag F = 1 is set. Here, since it is estimated that a sufficient work time for performing the defragmentation process for all the data areas cannot be taken but a work time for performing the defragmentation process for securing the necessary data amount can be taken, the flag F = 1 is set. If it is set (Yes in S231), the partial area defragmentation process is performed in step S233. In this process, a defragmentation process for securing the necessary data amount estimated in step S211 is performed.

一方、全データ領域に対してデフラグ処理を実施する作業時間が十分にとれると推定されることからF=2に設定されている場合には(S231でNo)、ステップS235にて全領域デフラグ処理がなされる。この処理では、全データ領域に対してデフラグ処理が実施される。   On the other hand, since it is estimated that the work time for performing the defragmentation process on the entire data area is sufficient, if F = 2 is set (No in S231), the entire area defragmentation process is performed in Step S235. Is made. In this processing, defragmentation processing is performed on all data areas.

ステップS233またはステップS235にてデフラグ処理が実施されると、ステップS237、S239、S241にて、上記ステップS117、S119、S121と同様の判定処理がなされる。そして、デフラグ処理が終了したと判断されるか(S241でYes)、ステップS243にてデフラグ中断処理がなされると、ステップS227にて電源オフ処理がなされて電源がオフ状態になり、最適化処理が終了する。   When the defragmentation process is performed in step S233 or step S235, the same determination process as in steps S117, S119, and S121 is performed in steps S237, S239, and S241. If it is determined that the defragmentation process is completed (Yes in S241) or if the defragmentation interrupt process is performed in Step S243, the power supply is turned off in Step S227 and the power supply is turned off. Ends.

以上説明したように、本第2実施形態に係るバーコードリーダ20では、使用予定データ量(必要データ量)に基づいて2つの作業時間ΔTa,ΔTbが推定される。そして、電源オフになりステップS209にて推定されるオフ時間ΔTが作業時間ΔTb以上である場合には、メモリ35の全領域に対してデフラグ処理が実施され、当該オフ時間ΔTが作業時間ΔTa以上かつ作業時間ΔTb未満の場合には、メモリ35に対して使用予定データ量(必要データ量)を確保するようにデフラグ処理が実施される。これにより、オフ時間ΔTが作業時間ΔTb未満であっても、使用予定データ量(必要データ量)を確保するためのデフラグ処理を実施することができる。   As described above, in the barcode reader 20 according to the second embodiment, the two work times ΔTa and ΔTb are estimated based on the scheduled use data amount (required data amount). When the power is turned off and the off time ΔT estimated in step S209 is equal to or longer than the work time ΔTb, the defragmenting process is performed on the entire area of the memory 35, and the off time ΔT is equal to or longer than the work time ΔTa. When the work time is less than ΔTb, the defragmentation process is performed so as to secure the scheduled data amount (necessary data amount) for the memory 35. Thereby, even if the off time ΔT is less than the work time ΔTb, the defragmentation process for securing the scheduled use data amount (required data amount) can be performed.

なお、本発明は上記各実施形態に限定されるものではなく、以下のように具体化してもよく、その場合でも、上記各実施形態と同等の作用・効果が得られる。
(1)ステップS113において、充電センサ50による検出結果に基づき充電状態である場合にデフラグ処理を実施することに限らず、電池49の電池残量を検出しこの電池残量が一定値以上である場合にデフラグ処理を実施してもよい。また、ステップS117,S229,S237においても同様に電池残量に基づいてデフラグ処理を実施してもよい。
The present invention is not limited to the above embodiments, and may be embodied as follows. Even in this case, the same operations and effects as those of the above embodiments can be obtained.
(1) In step S113, the battery remaining amount of the battery 49 is detected not only when the defragmentation process is performed based on the detection result by the charging sensor 50, but the remaining battery amount is equal to or greater than a certain value. In some cases, defragmentation processing may be performed. Similarly, in steps S117, S229, and S237, the defragmentation process may be performed based on the remaining battery level.

(2)上記実施形態では、本発明の携帯端末を、バーコードリーダ20に適用した例を説明したが、これに限ることなく、例えば、二次元コードを読取可能な二次元コードリーダや無線タグの情報を読取可能な無線タグリーダのように、外部から情報を取得してメモリ等に記録する情報読取装置に適用してもよい。 (2) In the above embodiment, an example in which the mobile terminal of the present invention is applied to the barcode reader 20 has been described. However, the present invention is not limited to this. For example, a two-dimensional code reader or a wireless tag capable of reading a two-dimensional code is used. The present invention may be applied to an information reading apparatus that acquires information from the outside and records it in a memory or the like, such as a wireless tag reader capable of reading the information.

20…バーコードリーダ(携帯端末)
35…メモリ(記録装置)
40…制御回路
41…電源スイッチ
49…電池
50…充電センサ
〜T…時刻
ΔT…オフ時間
ΔTa,ΔTb,ΔTo…作業時間(所定の時間)
20 ... Bar code reader (mobile terminal)
35 ... Memory (recording device)
40 ... control circuit 41 ... power switch 49 ... battery 50 ... charging sensor T 0 through T 7 ... time [Delta] T ... off time .DELTA.Ta, .DELTA.Tb, .DELTA.To ... working time (predetermined time)

Claims (6)

取得したデータが記録される記録装置であって、電源オン時のオン時刻および電源オフ時のオフ時刻とこれらオン時刻またはオフ時刻において当該記録装置に記録されているデータのうち使用状態の使用データ量および削除状態の削除データ量とが逐次記録される記録装置と、
前記記録装置の削除状態のデータを未使用状態にするとともに不連続に記録されたデータを連続なデータに再配置する再配置処理を実施可能な再配置手段と、
を備える携帯端末であって、
電源オフになると、このオフ時刻と前記記録装置に記録される複数の前記オン時刻および前記オフ時刻とに基づいて、次回のオン時刻と当該電源オフから前記次回のオン時刻までのオフ時間と次回のオフ時刻とを推定する第1推定手段と、
電源オフになると、前記第1推定手段により推定される前記次回のオン時刻に対応して前記記録装置に記録される複数の前記使用データ量および前記削除データ量と、前記第1推定手段により推定される前記次回のオフ時刻に対応して前記記録装置に記録される複数の前記使用データ量および前記削除データ量とに基づいて、前記次回のオン時刻から前記次回のオフ時刻までに使用される使用予定データ量を推定する第2推定手段と、
を備え、
前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が所定の時間以上である場合に、前記第2推定手段により推定される前記使用予定データ量を少なくとも確保するように前記記録装置に対して前記再配置処理を実施することを特徴とする携帯端末。
A recording device in which acquired data is recorded, which is on-use time when power is turned on, off time when power is turned off, and usage data in use state among data recorded on the recording device at these on-time or off-time A recording device for sequentially recording the amount and the amount of deleted data in the deleted state;
Relocation means capable of performing a relocation process for relocating discontinuously recorded data to continuous data while making the data in the deleted state of the recording device unused; and
A mobile terminal comprising:
When the power is turned off, based on the off time and the plurality of on times and off times recorded in the recording device, the next on time, the off time from the power off to the next on time, and the next time First estimation means for estimating the off time of
When the power is turned off, a plurality of used data amounts and deleted data amounts recorded in the recording device corresponding to the next on time estimated by the first estimating unit, and estimated by the first estimating unit Used from the next on-time to the next off-time based on the plurality of used data amounts and the deleted data amounts recorded in the recording device corresponding to the next off-time A second estimating means for estimating the amount of data scheduled to be used;
With
The rearrangement unit secures at least the scheduled data amount estimated by the second estimation unit when the power is turned off and the off time estimated by the first estimation unit is equal to or longer than a predetermined time. As described above, a mobile terminal that performs the rearrangement process on the recording apparatus.
前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が前記所定の時間以上である場合に、前記第2推定手段により推定される前記使用予定データ量のみを確保するように前記記録装置に対して前記再配置処理を実施することを特徴とする請求項1に記載の携帯端末。   The rearrangement means secures only the scheduled use data amount estimated by the second estimation means when the power is turned off and the off time estimated by the first estimation means is equal to or longer than the predetermined time. The mobile terminal according to claim 1, wherein the rearrangement process is performed on the recording apparatus. 前記再配置手段は、電源オフになり前記第1推定手段により推定される前記オフ時間が前記所定の時間以上である場合には、前記記録装置の全領域に対して前記再配置処理を実施し、当該オフ時間が前記所定の時間未満の場合には、前記記録装置に対して前記使用予定データ量を確保するように前記再配置処理を実施することを特徴とする請求項1または2に記載の携帯端末。   The rearrangement unit performs the rearrangement process on the entire area of the recording apparatus when the power is turned off and the off time estimated by the first estimation unit is equal to or longer than the predetermined time. 3. The relocation processing is performed according to claim 1, wherein when the off-time is less than the predetermined time, the rearrangement process is performed so as to ensure the amount of data to be used for the recording apparatus. Mobile devices. 当該携帯端末が充電状態であるか否かを判定する判定手段を備え、
前記再配置手段は、さらに、前記判定手段により充電状態であると判定される場合に前記記録装置に対して前記再配置処理を実施することを特徴とする請求項1〜3のいずれか一項に記載の携帯端末。
Determination means for determining whether or not the mobile terminal is in a charged state;
The said rearrangement means further implements the said rearrangement process with respect to the said recording apparatus, when it determines with a charging state being determined by the said determination means. The portable terminal as described in.
前記再配置手段は、前記再配置処理の実施中に前記判定手段により充電状態でないと判定されると、当該再配置処理を中断することを特徴とする請求項4に記載の携帯端末。   The mobile terminal according to claim 4, wherein the rearrangement unit interrupts the rearrangement process when the determination unit determines that it is not in a charged state during the execution of the rearrangement process. 前記再配置手段は、前記再配置処理の実施中に電源オンになると、当該再配置処理を中断することを特徴とする請求項1〜5のいずれか一項に記載の携帯端末。   The mobile terminal according to claim 1, wherein the rearrangement unit interrupts the rearrangement process when the power is turned on during the rearrangement process.
JP2009201203A 2009-09-01 2009-09-01 Mobile device Expired - Fee Related JP5343767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009201203A JP5343767B2 (en) 2009-09-01 2009-09-01 Mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009201203A JP5343767B2 (en) 2009-09-01 2009-09-01 Mobile device

Publications (2)

Publication Number Publication Date
JP2011053852A true JP2011053852A (en) 2011-03-17
JP5343767B2 JP5343767B2 (en) 2013-11-13

Family

ID=43942799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009201203A Expired - Fee Related JP5343767B2 (en) 2009-09-01 2009-09-01 Mobile device

Country Status (1)

Country Link
JP (1) JP5343767B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013187916A (en) * 2013-04-09 2013-09-19 Sharp Corp Data storage device and television receiver

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147784A (en) * 1999-11-19 2001-05-29 Victor Co Of Japan Ltd Automatic deflagging device
JP2003228700A (en) * 2002-02-05 2003-08-15 Toshiba Corp Image diagnostic device
JP2003283971A (en) * 2002-03-25 2003-10-03 Toshiba Corp Information recording apparatus and information recording method
JP2004012965A (en) * 2002-06-10 2004-01-15 Noritsu Koki Co Ltd Photographic processing apparatus
JP2005092484A (en) * 2003-09-17 2005-04-07 Funai Electric Co Ltd File recording apparatus
JP2007329623A (en) * 2006-06-07 2007-12-20 Access Co Ltd Portable terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147784A (en) * 1999-11-19 2001-05-29 Victor Co Of Japan Ltd Automatic deflagging device
JP2003228700A (en) * 2002-02-05 2003-08-15 Toshiba Corp Image diagnostic device
JP2003283971A (en) * 2002-03-25 2003-10-03 Toshiba Corp Information recording apparatus and information recording method
JP2004012965A (en) * 2002-06-10 2004-01-15 Noritsu Koki Co Ltd Photographic processing apparatus
JP2005092484A (en) * 2003-09-17 2005-04-07 Funai Electric Co Ltd File recording apparatus
JP2007329623A (en) * 2006-06-07 2007-12-20 Access Co Ltd Portable terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013187916A (en) * 2013-04-09 2013-09-19 Sharp Corp Data storage device and television receiver

Also Published As

Publication number Publication date
JP5343767B2 (en) 2013-11-13

Similar Documents

Publication Publication Date Title
US10296259B2 (en) Delayed trim of managed NAND flash memory in computing devices
CN103069380B (en) Memory control device, data archiving memory system and data access method
US20090043203A1 (en) Power management in portable ultrasound devices
JP4760800B2 (en) Mobile device
JP5343767B2 (en) Mobile device
RU99112484A (en) METHOD FOR STORING OFFICIAL INFORMATION
TW201331841A (en) Electronic apparatus and BIOS updating apparatus thereof
CN115039454A (en) Method and apparatus for streamlined battery replacement
CN210038735U (en) Projection lamp
US20220362418A1 (en) Information processing apparatus and method of controlling information processing apparatus
JP2006172884A (en) Charge device, and charge system
JP2004164142A (en) Optical coordinate input pen and coordinate input device
JP4066571B2 (en) Portable optical information reader
JP3839116B2 (en) Radiation measurement system
JP4438670B2 (en) Portable information reader
JP5240231B2 (en) Mobile device management system
JP2002312253A (en) Portable information terminal device
JP6859642B2 (en) Control devices, electronic clocks, processing control methods, and programs
CN111550929B (en) Water heater and display control device and method thereof
JP2005328452A (en) Information terminal device
JP6603091B2 (en) Mobile device and power supply control method for mobile device
JP3861616B2 (en) Power management device for portable terminal
JP4192360B2 (en) Optical information reader
JP2011061264A (en) Portable terminal and portable terminal system
CN1842760A (en) Data processing apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130327

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130729

R150 Certificate of patent or registration of utility model

Ref document number: 5343767

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees