JP5282640B2 - Data processing apparatus, data processing method, and data processing program - Google Patents

Data processing apparatus, data processing method, and data processing program Download PDF

Info

Publication number
JP5282640B2
JP5282640B2 JP2009101569A JP2009101569A JP5282640B2 JP 5282640 B2 JP5282640 B2 JP 5282640B2 JP 2009101569 A JP2009101569 A JP 2009101569A JP 2009101569 A JP2009101569 A JP 2009101569A JP 5282640 B2 JP5282640 B2 JP 5282640B2
Authority
JP
Japan
Prior art keywords
data
conversion
cad
cad data
converted
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
JP2009101569A
Other languages
Japanese (ja)
Other versions
JP2010250713A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2009101569A priority Critical patent/JP5282640B2/en
Publication of JP2010250713A publication Critical patent/JP2010250713A/en
Application granted granted Critical
Publication of JP5282640B2 publication Critical patent/JP5282640B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本開示技術は、データを処理するデータ処理装置、データ処理方法、およびデータ処理プログラムに関する。   The present disclosure relates to a data processing device, a data processing method, and a data processing program for processing data.

所望の構成単位で指定された変換元CAD(Computer Aided Design)データを変換、保存し、且つその変換結果から構成単位での整合性を検証し、結合可能なら個々の変換データを結合したデータを生成する技術がある(たとえば、下記特許文献1を参照。)。   Converts and saves the conversion source CAD (Computer Aided Design) data specified in the desired structural unit, verifies the consistency in the structural unit from the conversion result, and combines the individual converted data if possible. There is a technique to generate (see, for example, Patent Document 1 below).

特開2007‐179264号公報JP 2007-179264 A

しかしながら、CADデータからモックアップデータに変換をする際に、複数の部品から構成される製品全体を変換しようとする場合、コンピュータのリソース不足で変換ができないことがあるという問題があった。   However, when converting from CAD data to mock-up data, when trying to convert an entire product composed of a plurality of parts, there is a problem that conversion may not be possible due to a shortage of computer resources.

この場合、いくつかの部品部分に分割して、分割した部分をモックアップデータに変換して、それらを組み合わせることで、製品全体のモックアップデータを作る必要がある。その際に、どの程度のサイズなら一括で変換できるか、どの程度を超えると分割する必要があるか、を判断することが困難であるという問題があった。   In this case, it is necessary to divide into several parts, convert the divided parts into mockup data, and combine them to create mockup data for the entire product. At that time, there is a problem that it is difficult to determine what size the batch can be converted in, and how much the size needs to be divided.

本開示技術は、上述した従来技術による問題点を解消するため、資源不足による変換ミスを防止することにより、データ変換の効率性の向上を図るデータ処理装置、データ処理方法、およびデータ処理プログラムを提供することを目的とする。   In order to solve the above-described problems caused by the prior art, the present disclosure provides a data processing apparatus, a data processing method, and a data processing program for improving the efficiency of data conversion by preventing a conversion error due to lack of resources. The purpose is to provide.

上述した課題を解決し、目的を達成するため、本開示技術は、階層構造を持つCADデータ群のうち変換対象のCADデータについてよりデータサイズが小さいモックアップデータへのデータ変換の成否を取得し、取得されたデータ変換の成否が変換失敗である場合、前記変換対象のCADデータのデータサイズをデータベースに登録し、変換候補となるCADデータを指定し、前記データベースを参照して、前記指定手段によって指定された変換候補のCADデータのデータサイズがデータ変換に失敗したデータサイズ以上であるか否かを判断し、判断された判断結果に基づいて、前記変換対象のCADデータを決定し、決定された決定結果を前記変換対象のCADデータの変換先に出力することを要件とする。   In order to solve the above-described problems and achieve the object, the present disclosure acquires success or failure of data conversion to mock-up data having a smaller data size with respect to CAD data to be converted among CAD data groups having a hierarchical structure, When the success or failure of the acquired data conversion is a conversion failure, the data size of the CAD data to be converted is registered in a database, CAD data as a conversion candidate is designated, the database is referred to, and the designation means It is determined whether or not the data size of the designated conversion candidate CAD data is equal to or larger than the data size for which data conversion has failed, and the CAD data to be converted is determined based on the determined determination result. It is a requirement to output the determined result to the conversion destination of the CAD data to be converted.

本データ処理装置、データ処理方法、およびデータ処理プログラムによれば、資源不足による変換ミスを防止することにより、データ変換の効率性の向上を図ることができるという効果を奏する。   According to the present data processing device, data processing method, and data processing program, it is possible to improve the efficiency of data conversion by preventing conversion errors due to lack of resources.

実施の形態にかかるデータ処理の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the data processing concerning embodiment. アセンブリツリーを示す説明図である。It is explanatory drawing which shows an assembly tree. 実施の形態にかかるデータ処理装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the data processing apparatus concerning embodiment. 失敗事例データベース(DB)の記憶内容を示す説明図である。It is explanatory drawing which shows the memory content of failure example database (DB). データ処理システムの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a data processing system. 本実施の形態にかかるデータ処理装置によるデータ処理手順を示すフローチャート(その1)である。It is a flowchart (the 1) which shows the data processing procedure by the data processing apparatus concerning this Embodiment. 本実施の形態にかかるデータ処理装置によるデータ処理手順を示すフローチャート(その2)である。It is a flowchart (the 2) which shows the data processing procedure by the data processing apparatus concerning this Embodiment.

以下に添付図面を参照して、本開示技術のデータ処理装置、データ処理方法、およびデータ処理プログラムの好適な実施の形態を詳細に説明する。本実施の形態では、変換前のデータをCADデータとし、変換後のデータをモックアップデータとする。モックアップデータとは、ポリゴンで構成された形状データであり、CADデータを簡略化したデータである。モックアップデータは、CADデータに比べデータサイズが小さくなる。   Exemplary embodiments of a data processing device, a data processing method, and a data processing program according to the present disclosure will be described below in detail with reference to the accompanying drawings. In this embodiment, data before conversion is CAD data, and data after conversion is mock-up data. The mock-up data is shape data composed of polygons, and is simplified data of CAD data. Mock-up data has a smaller data size than CAD data.

(データ処理の概要)
図1は、実施の形態にかかるデータ処理の概要を示す説明図である。(A)は、変換対象としてノートパソコンのCADデータ100からモックアップデータ110への変換失敗例を示している。(A)のケースでは、既存のデータ変換ツールにより、CADデータ100からモックアップデータ110への変換を試みたが、メモリ不足により、途中で異常終了している。すなわち、データ変換を失敗したこととなる。
(Outline of data processing)
FIG. 1 is an explanatory diagram of an outline of data processing according to the embodiment. (A) shows an example of failure in conversion from CAD data 100 of the notebook personal computer to mock-up data 110 as a conversion target. In the case of (A), an attempt was made to convert the CAD data 100 to the mock-up data 110 using an existing data conversion tool, but the process ended abnormally due to a lack of memory. That is, the data conversion has failed.

(B)は、(A)などの過去の失敗事例を参照して、(A)でのデータ変換を実行する前に、ノートパソコンのCADデータ100を下位階層のCADデータ群101〜106に分割する。そして、それぞれのCADデータ101〜106を、データ変換ツールによりモックアップデータ111〜116に変換する。   (B) refers to past failure cases such as (A), and divides the CAD data 100 of the notebook personal computer into CAD data groups 101 to 106 in the lower hierarchy before executing the data conversion in (A). To do. Then, the respective CAD data 101 to 106 are converted into mockup data 111 to 116 by a data conversion tool.

本例では、個々のCADデータ101〜106のデータサイズが小さくなったため、メモリ不足に陥ることなくデータ変換が成功している。最終的に、変換後のモックアップデータ群111〜116を、既存の結合ツールにより結合することで、ノートパソコンのCADデータ100に対応するノートパソコンのモックアップデータ110を生成する。   In this example, since the data sizes of the individual CAD data 101 to 106 are reduced, the data conversion is successful without falling into a memory shortage. Finally, the mock-up data groups 111 to 116 after conversion are combined by an existing combining tool, thereby generating the mock-up data 110 of the notebook computer corresponding to the CAD data 100 of the notebook computer.

(アセンブリツリー)
図2は、アセンブリツリーを示す説明図である。アセンブリツリーATは変換元となるデータ(図1の例では、ノートパソコンのCADデータ100)の階層構造をあらわした情報である。図2中の各楕円は、アセンブリAijを示す。Aijのiは、階層番号を示しており、jは第i階層でのアセンブリAij固有の番号とする。第1階層のアセンブリA11をトップアセンブリともいう。各アセンブリAijは座標位置を有する。また、末端のアセンブリAijはCADデータDijに関連付けされている。たとえば、アセンブリA34は、CADデータD34と関連付けされている。
(Assembly tree)
FIG. 2 is an explanatory diagram showing an assembly tree. The assembly tree AT is information representing the hierarchical structure of data to be converted (in the example of FIG. 1, CAD data 100 of a notebook personal computer). Each ellipse in FIG. 2 represents an assembly Aij. I in Aij indicates a hierarchy number, and j is a number unique to the assembly Aij in the i-th hierarchy. The first level assembly A11 is also referred to as a top assembly. Each assembly Aij has a coordinate position. The end assembly Aij is associated with the CAD data Dij. For example, assembly A34 is associated with CAD data D34.

また、第i階層のアセンブリAijは、子となる第(i+1)階層のアセンブリA(i+1)jを組み合わせたアセンブリとなる。第1階層と第2階層に着目すると、トップアセンブリA11は、アセンブリA21〜A26により構成されていることとなる。換言すれば、アセンブリA21〜A26を組み合わせることで、アセンブリA11が構築される。したがって、子となる第(i+1)階層のアセンブリは、親となる第i階層のアセンブリよりも必然的にデータサイズが小さいこととなる。   The assembly Aij in the i-th layer is an assembly that is a combination of the assembly A (i + 1) j in the (i + 1) -th layer as a child. If attention is paid to the first hierarchy and the second hierarchy, the top assembly A11 is composed of assemblies A21 to A26. In other words, the assembly A11 is constructed by combining the assemblies A21 to A26. Therefore, the assembly of the (i + 1) th hierarchy as a child necessarily has a smaller data size than the assembly of the ith hierarchy as a parent.

また、末端以外のアセンブリAijはCADデータに関連付けされていないが、末端のアセンブリAijを組み合わせることでCADデータの集合体となる。たとえば、アセンブリA22は、アセンブリA34のCADデータD34、アセンブリA35のCADデータD35、アセンブリA36のCADデータD36を組み合わせたCADデータとなる。   Further, the assembly Aij other than the end is not associated with the CAD data, but a combination of the end assemblies Aij becomes a collection of CAD data. For example, the assembly A22 is CAD data obtained by combining the CAD data D34 of the assembly A34, the CAD data D35 of the assembly A35, and the CAD data D36 of the assembly A36.

ここで、図1のノートパソコンのCADデータ100をトップアセンブリA11とすると、液晶ユニットのCADデータ101がアセンブリA21、キーボードユニットのCADデータ102がアセンブリA22、本体ユニットのCADデータ103がアセンブリA23、ハードディスクユニットのCADデータ104がアセンブリA24、バッテリユニットのCADデータ105がアセンブリA25、フロッピーユニットのCADデータ106がアセンブリA26となる。   1 is the top assembly A11, the liquid crystal unit CAD data 101 is the assembly A21, the keyboard unit CAD data 102 is the assembly A22, the main unit CAD data 103 is the assembly A23, and the hard disk. The unit CAD data 104 is assembly A24, the battery unit CAD data 105 is assembly A25, and the floppy unit CAD data 106 is assembly A26.

(データ処理装置のハードウェア構成)
図3は、実施の形態にかかるデータ処理装置のハードウェア構成を示すブロック図である。図3において、データ処理装置は、CPU(Central Processing Unit)301と、ROM(Read‐Only Memory)302と、RAM(Random Access Memory)303と、磁気ディスクドライブ304と、磁気ディスク305と、光ディスクドライブ306と、光ディスク307と、ディスプレイ308と、I/F(Interface)309と、キーボード310と、マウス311と、スキャナ312と、プリンタ313と、を備えている。また、各構成部はバス300によってそれぞれ接続されている。
(Hardware configuration of data processor)
FIG. 3 is a block diagram of a hardware configuration of the data processing apparatus according to the embodiment. In FIG. 3, the data processing device includes a CPU (Central Processing Unit) 301, a ROM (Read-Only Memory) 302, a RAM (Random Access Memory) 303, a magnetic disk drive 304, a magnetic disk 305, and an optical disk drive. 306, an optical disk 307, a display 308, an I / F (Interface) 309, a keyboard 310, a mouse 311, a scanner 312, and a printer 313. Each component is connected by a bus 300.

ここで、CPU301は、データ処理装置の全体の制御を司る。ROM302は、ブートプログラムなどのプログラムを記憶している。RAM303は、CPU301のワークエリアとして使用される。磁気ディスクドライブ304は、CPU301の制御にしたがって磁気ディスク305に対するデータのリード/ライトを制御する。磁気ディスク305は、磁気ディスクドライブ304の制御で書き込まれたデータを記憶する。   Here, the CPU 301 controls the entire data processing apparatus. The ROM 302 stores a program such as a boot program. The RAM 303 is used as a work area for the CPU 301. The magnetic disk drive 304 controls the reading / writing of the data with respect to the magnetic disk 305 according to control of CPU301. The magnetic disk 305 stores data written under the control of the magnetic disk drive 304.

光ディスクドライブ306は、CPU301の制御にしたがって光ディスク307に対するデータのリード/ライトを制御する。光ディスク307は、光ディスクドライブ306の制御で書き込まれたデータを記憶したり、光ディスク307に記憶されたデータをコンピュータに読み取らせたりする。   The optical disk drive 306 controls the reading / writing of the data with respect to the optical disk 307 according to control of CPU301. The optical disk 307 stores data written under the control of the optical disk drive 306, and causes the computer to read data stored on the optical disk 307.

ディスプレイ308は、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する。このディスプレイ308は、たとえば、CRT、TFT液晶ディスプレイ、プラズマディスプレイなどを採用することができる。   The display 308 displays data such as a document, an image, and function information as well as a cursor, an icon, or a tool box. As this display 308, for example, a CRT, a TFT liquid crystal display, a plasma display, or the like can be adopted.

インターフェース(以下、「I/F」と略する。)309は、通信回線を通じてLAN(Local Area Network)、WAN(Wide Area Network)、インターネットなどのネットワーク314に接続され、このネットワーク314を介して他の装置に接続される。そして、I/F309は、ネットワーク314と内部のインターフェースを司り、外部装置からのデータの入出力を制御する。I/F309には、たとえばモデムやLANアダプタなどを採用することができる。   An interface (hereinafter abbreviated as “I / F”) 309 is connected to a network 314 such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet through a communication line, and the other via the network 314. Connected to other devices. The I / F 309 serves as an internal interface with the network 314 and controls data input / output from an external device. For example, a modem or a LAN adapter can be adopted as the I / F 309.

キーボード310は、文字、数字、各種指示などの入力のためのキーを備え、データの入力をおこなう。また、タッチパネル式の入力パッドやテンキーなどであってもよい。マウス311は、カーソルの移動や範囲選択、あるいはウィンドウの移動やサイズの変更などをおこなう。ポインティングデバイスとして同様に機能を備えるものであれば、トラックボールやジョイスティックなどであってもよい。   The keyboard 310 includes keys for inputting characters, numbers, various instructions, and the like, and inputs data. Moreover, a touch panel type input pad or a numeric keypad may be used. The mouse 311 performs cursor movement, range selection, window movement, size change, and the like. A trackball or a joystick may be used as long as they have the same function as a pointing device.

スキャナ312は、画像を光学的に読み取り、データ処理装置内に画像データを取り込む。なお、スキャナ312は、OCR(Optical Character Reader)機能を持たせてもよい。また、プリンタ313は、画像データや文書データを印刷する。プリンタ313には、たとえば、レーザプリンタやインクジェットプリンタを採用することができる。   The scanner 312 optically reads an image and takes in the image data into the data processing apparatus. The scanner 312 may have an OCR (Optical Character Reader) function. The printer 313 prints image data and document data. As the printer 313, for example, a laser printer or an ink jet printer can be employed.

(失敗事例DBの記憶内容)
図4は、失敗事例DBの記憶内容を示す説明図である。図4において、失敗事例DB400は、ファイル名項目とデータサイズ項目とを有し、ファイル単位でレコード化されている。失敗事例DB400にレコードとしてエントリされているファイルは、データ変換に失敗したCADデータである。
(Memory contents of failure case DB)
FIG. 4 is an explanatory diagram showing the contents stored in the failure case DB. In FIG. 4, the failure example DB 400 has a file name item and a data size item, and is recorded in units of files. The file entered as a record in the failure case DB 400 is CAD data that has failed in data conversion.

たとえば、一行目のレコードは、ファイル名:ノートパソコンであるアセンブリA11のCADデータ100のデータサイズが2500[Mbyte]であるため、データ変換に失敗したことを示している。二行目のレコードは、ファイル名:液晶ユニットであるアセンブリA21のCADデータ101のデータサイズが700[Mbyte]であるため、データ変換に失敗したことを示している。失敗事例DB400にエントリされていないCADデータは、データ変換に成功したか、データ変換をまだ実行していないCADデータとなる。   For example, the record on the first line indicates that the data conversion failed because the data size of the CAD data 100 of the assembly A11 which is a file name: notebook computer is 2500 [Mbytes]. The record on the second line indicates that the data conversion failed because the data size of the CAD data 101 of the assembly A21 which is the file name: liquid crystal unit is 700 [Mbytes]. CAD data that has not been entered in the failure case DB 400 is CAD data that has been successfully converted or has not yet been converted.

図4の例では、変換候補となるCADデータのデータサイズが700[Mbyte]未満であれば、変換候補のCADデータをそのままモックアップデータにデータ変換してもよいこととなる。一方、変換候補となるCADデータのデータサイズが700[Mbyte]以上であれば、変換候補のCADデータであるアセンブリAijを下位階層のアセンブリA(i+1)jに分割することとなる。そして、分割されたアセンブリA(i+1)jを変換候補として失敗事例DB400と比較することとなる。なお、データ変換に失敗した場合、失敗したCADデータのファイル名とデータサイズが登録されることとなる。   In the example of FIG. 4, if the data size of CAD data that is a conversion candidate is less than 700 [Mbyte], the conversion candidate CAD data may be directly converted into mockup data. On the other hand, if the data size of the CAD data that is the conversion candidate is 700 [Mbyte] or more, the assembly Aij that is the CAD data of the conversion candidate is divided into the assembly A (i + 1) j in the lower hierarchy. Then, the divided assembly A (i + 1) j is compared with the failure case DB 400 as a conversion candidate. If the data conversion fails, the file name and data size of the failed CAD data are registered.

なお、図4に示した失敗事例DB400は、データ処理装置と同一コンピュータ内に組み込まれていてもよく、ネットワークを介して他のコンピュータに組み込まれていてもよい。また、失敗事例DB400は、具体的には、たとえば、図3に示したROM302、RAM303、磁気ディスク305などの記憶装置によりその機能を実現する。   The failure case DB 400 shown in FIG. 4 may be incorporated in the same computer as the data processing apparatus, or may be incorporated in another computer via a network. Further, the failure example DB 400 specifically realizes its function by a storage device such as the ROM 302, the RAM 303, and the magnetic disk 305 shown in FIG.

(データ処理システムの機能的構成)
図5は、データ処理システムの機能的構成を示すブロック図である。データ処理システム500は、データ処理装置501と変換部502と結合部503とを含む構成である。変換部502は、データ処理装置501と同一コンピュータ内に組み込まれていてもよく、ネットワークを介して他のコンピュータに組み込まれていてもよい。結合部503についても同様である。
(Functional configuration of data processing system)
FIG. 5 is a block diagram showing a functional configuration of the data processing system. The data processing system 500 includes a data processing device 501, a conversion unit 502, and a combining unit 503. The conversion unit 502 may be incorporated in the same computer as the data processing apparatus 501 or may be incorporated in another computer via a network. The same applies to the coupling portion 503.

データ処理装置501は、取得部511と登録部512と指定部513と判断部514と決定部515と出力部516とを備える。取得部511〜出力部516、上述した変換部502および結合部503は、具体的には、たとえば、図3に示したROM302、RAM303、磁気ディスク305などの記憶装置に記憶されたプログラムをCPU301に実行させることにより、または、I/F309により、その機能を実現する。   The data processing device 501 includes an acquisition unit 511, a registration unit 512, a designation unit 513, a determination unit 514, a determination unit 515, and an output unit 516. Specifically, the acquisition unit 511 to the output unit 516, the conversion unit 502, and the coupling unit 503 described above store, for example, programs stored in a storage device such as the ROM 302, the RAM 303, and the magnetic disk 305 illustrated in FIG. The function is realized by executing or by the I / F 309.

変換部502は、変換対象となるデータをモックアップデータに変換する機能を有する。変換部502は、既存のデータ変換ツールにより実現される。また、変換部502は、変換対象となるCADデータのアセンブリ名(ファイル名に相当)、当該CADデータからモックアップデータへのデータ変換が成功したか失敗したかという情報、失敗した場合には当該CADデータのデータサイズを、データ処理装置501に出力する。   The conversion unit 502 has a function of converting data to be converted into mockup data. The conversion unit 502 is realized by an existing data conversion tool. Also, the conversion unit 502 displays the assembly name (corresponding to the file name) of the CAD data to be converted, information on whether the data conversion from the CAD data to the mock-up data has succeeded or failed, and if it fails, the CAD The data size of the data is output to the data processing device 501.

結合部503は、各モックアップデータに関連付けされているアセンブリツリーATのアセンブリにより、モックアップデータ群を結合する。結合部503も、既存のデータ結合ツールにより実現される。   The combining unit 503 combines the mockup data groups by the assembly of the assembly tree AT associated with each mockup data. The combining unit 503 is also realized by an existing data combining tool.

取得部511は、変換対象についてより小さいデータサイズへのデータ変換の成否を取得する機能を有する。取得部511では、変換対象となるCADデータのアセンブリ名(ファイル名に相当)、当該CADデータからモックアップデータへのデータ変換が成功したか失敗したかという情報、失敗した場合には当該CADデータのデータサイズを取得することとなる。   The acquisition unit 511 has a function of acquiring success or failure of data conversion to a smaller data size for the conversion target. In the acquisition unit 511, the assembly name (corresponding to the file name) of the CAD data to be converted, information on whether the data conversion from the CAD data to the mock-up data has succeeded, and in the case of failure, the CAD data You will get the data size.

登録部512は、取得部511によって取得されたデータ変換の成否が変換失敗である場合、変換対象のデータサイズをDBに登録する機能を有する。具体的には、たとえば、データ変換が失敗である場合には、取得されたアセンブリ名およびデータサイズを新規レコードとして失敗事例DB400に追加登録する。   The registration unit 512 has a function of registering the data size to be converted in the DB when the success or failure of the data conversion acquired by the acquisition unit 511 is conversion failure. Specifically, for example, if data conversion fails, the acquired assembly name and data size are additionally registered in the failure case DB 400 as a new record.

指定部513は、変換候補となるデータを指定する機能を有する。具体的には、たとえば、アセンブリツリーATの最上位階層であるトップアセンブリA11から下位の階層へ順次アセンブリAijを指定する。このように、上位階層から指定することで、そのあたりのデータサイズまでなら一括変換できるかを確認することができる。したがって、できる限り大きなデータサイズでデータ変換することによりデータ変換回数の低減化を図るとともに、変換できない場合には、アセンブリAijを下位に落とすことで、変換失敗回数の低減化を図ることができる。   The designation unit 513 has a function of designating conversion candidate data. Specifically, for example, the assemblies Aij are sequentially specified from the top assembly A11 which is the highest hierarchy of the assembly tree AT to the lower hierarchy. In this way, by designating from the upper hierarchy, it is possible to confirm whether batch conversion is possible up to the data size around that. Therefore, the number of data conversions can be reduced by converting the data with as large a data size as possible, and if the conversion cannot be performed, the number of conversion failures can be reduced by lowering the assembly Aij.

判断部514は、DBを参照して、指定部513によって指定された変換候補のデータサイズがデータ変換に失敗したデータサイズ以上であるか否かを判断する機能を有する。具体的には、たとえば、失敗事例DB400を参照して、変換候補となるアセンブリAijのデータサイズが失敗事例DB400に記録されているデータサイズ以上か否かを判断する。ここで、変換候補のアセンブリAijのデータサイズの比較対象となる失敗事例DB400のデータサイズは、失敗事例DB400の中で最小のデータサイズを用いるのが、変換失敗防止の観点から好ましい。   The determination unit 514 has a function of referring to the DB to determine whether or not the data size of the conversion candidate specified by the specifying unit 513 is equal to or larger than the data size for which data conversion has failed. Specifically, for example, with reference to the failure case DB 400, it is determined whether or not the data size of the assembly Aij as a conversion candidate is equal to or larger than the data size recorded in the failure case DB 400. Here, as the data size of the failure case DB 400 to be compared with the data size of the conversion candidate assembly Aij, the smallest data size in the failure case DB 400 is preferably used from the viewpoint of preventing conversion failure.

また、データ処理装置501のリソースが時系列的に増減する場合、失敗事例DB400のレコード中、現在時刻から所定時間前までのレコードのみを対象としてもよい。この場合は、失敗事例DB400に登録時のタイムスタンプも記憶しておくこととなる。このように、対象とするレコードを絞ることで、データ処理装置501の使用状況に応じた判断をおこなうことができる。   Further, when the resource of the data processing device 501 increases or decreases in time series, only records from the current time to a predetermined time before among the records in the failure case DB 400 may be targeted. In this case, the time stamp at the time of registration is also stored in the failure case DB 400. Thus, by narrowing down the target records, it is possible to make a determination according to the usage status of the data processing device 501.

決定部515は、判断部514によって判断された判断結果に基づいて、変換対象を決定する機能を有する。具体的には、データ変換に失敗したデータサイズ以上であると判断された場合、変換候補の構成要素となる下位のデータを変換候補に決定する。たとえば、変換候補のアセンブリAijのデータサイズをSijとし、失敗事例DB400の中で最小のデータサイズをSfとすると、Sij≧Sfのとき、アセンブリAijについてはデータ変換を実行させない。この場合、アセンブリAijから1つ階層を落としたアセンブリA(i+1)jを変換候補として、再度判断部514に判断させる。   The determination unit 515 has a function of determining a conversion target based on the determination result determined by the determination unit 514. Specifically, when it is determined that the data size is equal to or greater than the data size that failed in data conversion, lower-order data that is a component of the conversion candidate is determined as the conversion candidate. For example, if the data size of the conversion candidate assembly Aij is Sij and the minimum data size in the failure case DB 400 is Sf, data conversion is not executed for the assembly Aij when Sij ≧ Sf. In this case, the assembly A (i + 1) j, which is one level lower than the assembly Aij, is caused to determine again as the conversion candidate as the conversion candidate.

一方、決定部515は、データ変換に失敗したデータサイズ以上でないと判断された場合、変換候補を変換対象に決定する。たとえば、Sij≧Sfでないとき、アセンブリAijを変換対象のCADデータに決定する。   On the other hand, if the determination unit 515 determines that the data size is not equal to or larger than the data size for which data conversion has failed, the determination unit 515 determines a conversion candidate as a conversion target. For example, when Sij ≧ Sf, the assembly Aij is determined as CAD data to be converted.

出力部516は、決定部515によって決定された決定結果を変換対象の変換先に出力する機能を有する。具体的には、たとえば、決定部515により決定されたアセンブリAijを変換部502に渡す。変換部502では、渡されたアセンブリAijをCADデータからモックアップデータに変換することとなる。   The output unit 516 has a function of outputting the determination result determined by the determination unit 515 to a conversion target conversion destination. Specifically, for example, the assembly Aij determined by the determination unit 515 is passed to the conversion unit 502. The conversion unit 502 converts the passed assembly Aij from CAD data to mockup data.

(データ処理手順)
図6および図7は、本実施の形態にかかるデータ処理装置501によるデータ処理手順を示すフローチャートである。図6において、まず、取得部511により、CADデータおよびアセンブリツリーATを取得する(ステップS601)。つぎに、i=1(ステップS602)、j=1とし(ステップS603)、i>Nであるか否かを判断する(ステップS604)。すなわち、第i階層が末端の第N階層であるか否かを判断する。
(Data processing procedure)
6 and 7 are flowcharts showing a data processing procedure by the data processing apparatus 501 according to the present embodiment. In FIG. 6, first, the acquisition unit 511 acquires CAD data and the assembly tree AT (step S601). Next, i = 1 (step S602), j = 1 (step S603), and it is determined whether i> N is satisfied (step S604). That is, it is determined whether or not the i-th layer is the terminal N-th layer.

i>Nである場合(ステップS604:Yes)、ステップS611に移行する。一方、i>Nでない場合(ステップS604:No)、j>Miであるか否かを判断する(ステップS605)。Miは、第i階層の総アセンブリ数である。すなわち、第i階層のすべてのアセンブリAijの確認が終了したか否かを判断する。   If i> N (step S604: Yes), the process proceeds to step S611. On the other hand, if i> N is not satisfied (step S604: No), it is determined whether j> Mi is satisfied (step S605). Mi is the total number of assemblies in the i-th layer. That is, it is determined whether or not the confirmation of all assemblies Aij in the i-th layer has been completed.

j>Miである場合(ステップS605:Yes)、第i階層のアセンブリAijはすべて確認済みとなったため、iをインクリメントして下位階層とし(ステップS606)、ステップS603に戻る。一方、j>Miでない場合(ステップS605:No)アセンブリAijのデータサイズSijを検出し(ステップS607)、失敗事例DB400にアクセスする(ステップS608)。そして、Sij≧Sfであるか否かを判断する(ステップS609)。   If j> Mi (step S605: Yes), all the assemblies Aij in the i-th hierarchy have been confirmed, so i is incremented to a lower hierarchy (step S606), and the process returns to step S603. On the other hand, if j> Mi is not satisfied (step S605: No), the data size Sij of the assembly Aij is detected (step S607), and the failure case DB 400 is accessed (step S608). Then, it is determined whether or not Sij ≧ Sf (step S609).

Sij≧Sfでない場合(ステップS609:No)、図7のステップS701に移行する。一方、Sij≧Sfである場合(ステップS609:Yes)、jをインクリメントして(ステップS610)、ステップS605に戻る。これにより、第i階層のアセンブリAijを網羅的に確認することができる。   If Sij ≧ Sf is not satisfied (step S609: NO), the process proceeds to step S701 in FIG. On the other hand, if Sij ≧ Sf (step S609: Yes), j is incremented (step S610), and the process returns to step S605. Thereby, the assembly Aij in the i-th hierarchy can be comprehensively confirmed.

また、ステップS604において、i>Nである場合(ステップS604:Yes)、すべてのアセンブリAijについて確認したこととなるため、変換部502により未変換アセンブリAijがあるか否かを判断する(ステップS611)。未変換アセンブリAijがない場合(ステップS611:No)、一連の処理を終了する。この場合は、結合部503において、変換されたモックアップデータの結合処理が実行される。一方、未変換アセンブリAijがある場合(ステップS611:Yes)、結合部503による結合処理が実行できないため、エラー出力をおこなう(ステップS612)。   In step S604, if i> N (step S604: Yes), since all the assemblies Aij have been confirmed, the conversion unit 502 determines whether there is an unconverted assembly Aij (step S611). ). When there is no unconverted assembly Aij (step S611: No), a series of processing is ended. In this case, the combining unit 503 executes the combined process of the converted mockup data. On the other hand, when there is an unconverted assembly Aij (step S611: Yes), since the joining process by the joining unit 503 cannot be executed, an error is output (step S612).

Sij≧Sfでない場合(ステップS609:No)、図7のステップS701において、決定部515により、アセンブリAijを変換対象に決定する(ステップS701)。そして、出力部516により、決定結果、たとえば、変換対象に決定されたアセンブリAijのデータ変換指示を出力する(ステップS702)。このあと、変換部502により、変換対象に決定されたアセンブリAijのデータ変換処理が実行される。   When Sij ≧ Sf is not satisfied (step S609: No), the determination unit 515 determines the assembly Aij as a conversion target in step S701 in FIG. 7 (step S701). Then, the output unit 516 outputs a determination result, for example, a data conversion instruction for the assembly Aij determined to be converted (step S702). Thereafter, the conversion unit 502 executes data conversion processing of the assembly Aij determined as the conversion target.

そして、取得部511により、変換部502から変換成否が取得されるのを待ち受ける(ステップS703:No)。変換成否が取得された場合(ステップS703:Yes)、変換失敗であるか否かを判断する(ステップS704)。失敗でない(データ変換成功)場合(ステップS704:No)、ステップS610に移行する。一方、失敗である場合(ステップS704:Yes)、登録部512により、失敗事例DB400にデータサイズを登録する(ステップS705)。このあと、階層番号iをインクリメントして(ステップS706)、図6のステップS603に戻る。   Then, the acquisition unit 511 waits for acquisition of conversion success / failure from the conversion unit 502 (step S703: No). When the conversion success / failure is acquired (step S703: Yes), it is determined whether or not the conversion has failed (step S704). When it is not failure (data conversion success) (step S704: No), the process proceeds to step S610. On the other hand, if it is a failure (step S704: Yes), the registration unit 512 registers the data size in the failure case DB 400 (step S705). Thereafter, the hierarchy number i is incremented (step S706), and the process returns to step S603 in FIG.

このように、本実施の形態では、失敗事例DB400にデータ変換を失敗したデータサイズを登録しておき、変換候補のアセンブリAijのデータサイズSijと比較することで、アセンブリAijのデータ変換に先だって、アセンブリAijのデータ変換が成功するか失敗するかを予測することができる。これにより、成功すると予測された場合には、データ変換を実行させることで、データ変換回数の低減化を図ることができる。   As described above, in the present embodiment, by registering the data size in which the data conversion has failed in the failure example DB 400 and comparing it with the data size Sij of the conversion candidate assembly Aij, prior to the data conversion of the assembly Aij, It can be predicted whether the data conversion of the assembly Aij will succeed or fail. As a result, when it is predicted that the data conversion is successful, the number of data conversions can be reduced by executing the data conversion.

一方、失敗すると予測された場合には、アセンブリAijよりもデータサイズが小さい下位階層のアセンブリA(i+1)jをあらたに変換候補とし、再度データ変換を失敗したデータサイズと比較する。これにより、データ変換失敗を未然防止することができ、変換失敗回数の低減化を図ることができる。   On the other hand, if it is predicted to fail, an assembly A (i + 1) j of a lower hierarchy whose data size is smaller than that of the assembly Aij is newly set as a conversion candidate, and again compared with the data size for which data conversion has failed. Thereby, data conversion failure can be prevented and the number of conversion failures can be reduced.

以上のことから、本実施の形態では、資源不足による変換ミスを防止することにより、データ変換の効率性の向上を図ることができるという効果を奏する。   From the above, this embodiment has an effect that the efficiency of data conversion can be improved by preventing a conversion error due to resource shortage.

なお、本実施の形態で説明したデータ処理方法は、予め用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。本データ処理プログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また本データ処理プログラムは、インターネット等のネットワークを介して配布してもよい。   The data processing method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. The data processing program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The data processing program may be distributed via a network such as the Internet.

400 失敗事例DB
500 データ処理システム
501 データ処理装置
502 変換部
503 結合部
511 取得部
512 登録部
513 指定部
514 判断部
515 決定部
516 出力部
400 Failure case DB
500 data processing system 501 data processing device 502 conversion unit 503 combination unit 511 acquisition unit 512 registration unit 513 designation unit 514 determination unit 515 determination unit 516 output unit

Claims (5)

階層構造を持つCADデータ群のうち変換対象のCADデータについてよりデータサイズが小さいモックアップデータへのデータ変換の成否を取得する取得手段と、
前記取得手段によって取得されたデータ変換の成否が変換失敗である場合、前記変換対象のCADデータのデータサイズをデータベースに登録する登録手段と、
変換候補となるCADデータを指定する指定手段と、
前記データベースを参照して、前記指定手段によって指定された変換候補のCADデータのデータサイズがデータ変換に失敗したデータサイズ以上であるか否かを判断する判断手段と、
前記判断手段によって判断された判断結果に基づいて、前記変換対象のCADデータを決定する決定手段と、
前記決定手段によって決定された決定結果を前記変換対象のCADデータの変換先に出力する出力手段と、
を備えることを特徴とするデータ処理装置。
Acquisition means for acquiring success or failure of data conversion to mock-up data having a smaller data size with respect to CAD data to be converted in a CAD data group having a hierarchical structure;
If the success or failure of the data conversion acquired by the acquisition means is a conversion failure, registration means for registering the data size of the CAD data to be converted in a database;
A specifying means for specifying CAD data as a conversion candidate;
Determining means for referring to the database to determine whether or not the data size of the CAD data of the conversion candidate specified by the specifying means is equal to or larger than the data size that failed in data conversion;
A determination unit that determines the CAD data to be converted based on the determination result determined by the determination unit;
An output unit that outputs a determination result determined by the determination unit to a conversion destination of the CAD data to be converted;
A data processing apparatus comprising:
前記決定手段は、
データ変換に失敗したデータサイズ以上であると判断された場合、前記変換候補のCADデータの構成要素となる下位のCADデータを前記変換候補に決定することを特徴とする請求項1に記載のデータ処理装置。
The determining means includes
2. The data according to claim 1, wherein if it is determined that the data size is not less than the data size that failed in data conversion, lower-order CAD data that is a component of the CAD data of the conversion candidate is determined as the conversion candidate. Processing equipment.
前記決定手段は、
データ変換に失敗したデータサイズ以上でないと判断された場合、前記変換候補のCADデータを前記変換対象のCADデータに決定することを特徴とする請求項1または2に記載のデータ処理装置。
The determining means includes
3. The data processing apparatus according to claim 1, wherein if it is determined that the data size is not equal to or larger than the data size that failed in data conversion, the CAD data as the conversion candidate is determined as the CAD data to be converted.
データベースにアクセス可能なコンピュータが、
階層構造を持つCADデータ群のうち変換対象のCADデータについてよりデータサイズが小さいモックアップデータへのデータ変換の成否を取得する取得工程と、
前記取得工程によって取得されたデータ変換の成否が変換失敗である場合、前記変換対象のCADデータのデータサイズをデータベースに登録する登録工程と、
変換候補となるCADデータを指定する指定工程と、
前記データベースを参照して、前記指定工程によって指定された変換候補のCADデータのデータサイズがデータ変換に失敗したデータサイズ以上であるか否かを判断する判断工程と、
前記判断工程によって判断された判断結果に基づいて、前記変換対象のCADデータを決定する決定工程と、
前記決定工程によって決定された決定結果を前記変換対象のCADデータの変換先に出力する出力工程と、
を実行することを特徴とするデータ処理方法。
A computer that can access the database
An acquisition step of acquiring success or failure of data conversion to mock-up data having a smaller data size with respect to CAD data to be converted in a CAD data group having a hierarchical structure;
If the success or failure of the data conversion acquired by the acquisition step is a conversion failure, a registration step of registering the data size of the CAD data to be converted in a database;
A designation step for designating CAD data as a conversion candidate;
A determination step of referring to the database to determine whether or not the data size of the CAD data of the conversion candidate specified by the specifying step is equal to or larger than the data size of the data conversion failure;
A determination step of determining the CAD data to be converted based on the determination result determined by the determination step;
An output step of outputting the determination result determined in the determination step to a conversion destination of the CAD data to be converted;
The data processing method characterized by performing.
データベースにアクセス可能なコンピュータを、
階層構造を持つCADデータ群のうち変換対象のCADデータについてよりデータサイズが小さいモックアップデータへのデータ変換の成否を取得する取得手段、
前記取得手段によって取得されたデータ変換の成否が変換失敗である場合、前記変換対象のCADデータのデータサイズをデータベースに登録する登録手段、
変換候補となるCADデータを指定する指定手段、
前記データベースを参照して、前記指定手段によって指定された変換候補のCADデータのデータサイズがデータ変換に失敗したデータサイズ以上であるか否かを判断する判断手段、
前記判断手段によって判断された判断結果に基づいて、前記変換対象のCADデータを決定する決定手段、
前記決定手段によって決定された決定結果を前記変換対象のCADデータの変換先に出力する出力手段、
として機能させることを特徴とするデータ処理プログラム。
A computer that can access the database
Acquisition means for acquiring success or failure of data conversion to mock-up data having a smaller data size with respect to CAD data to be converted in a CAD data group having a hierarchical structure;
If the success or failure of the data conversion acquired by the acquisition means is a conversion failure, a registration means for registering the data size of the CAD data to be converted in a database;
A designation means for designating CAD data as a conversion candidate;
Determining means for referring to the database to determine whether or not the data size of the CAD data of the conversion candidate specified by the specifying means is greater than or equal to the data size that failed in data conversion;
A determination unit that determines the CAD data to be converted based on the determination result determined by the determination unit;
An output unit that outputs a determination result determined by the determination unit to a conversion destination of the CAD data to be converted;
A data processing program characterized by functioning as
JP2009101569A 2009-04-20 2009-04-20 Data processing apparatus, data processing method, and data processing program Expired - Fee Related JP5282640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009101569A JP5282640B2 (en) 2009-04-20 2009-04-20 Data processing apparatus, data processing method, and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009101569A JP5282640B2 (en) 2009-04-20 2009-04-20 Data processing apparatus, data processing method, and data processing program

Publications (2)

Publication Number Publication Date
JP2010250713A JP2010250713A (en) 2010-11-04
JP5282640B2 true JP5282640B2 (en) 2013-09-04

Family

ID=43312941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009101569A Expired - Fee Related JP5282640B2 (en) 2009-04-20 2009-04-20 Data processing apparatus, data processing method, and data processing program

Country Status (1)

Country Link
JP (1) JP5282640B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5636888B2 (en) 2010-11-09 2014-12-10 ソニー株式会社 Information processing apparatus, program, and command generation method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11259542A (en) * 1998-03-09 1999-09-24 Fujitsu Ltd Method for preparing analyzing model and storage medium stored with program therefor
JP2001357088A (en) * 2000-06-16 2001-12-26 Denso Corp Three-dimensional modeling system having parametric function, and parameter editing method by the same
JP2002222217A (en) * 2001-01-24 2002-08-09 Denso Corp Data conversion device from 3d-cad data into viewer data
JP2007179264A (en) * 2005-12-27 2007-07-12 Canon Inc Data conversion device, data conversion method and control program

Also Published As

Publication number Publication date
JP2010250713A (en) 2010-11-04

Similar Documents

Publication Publication Date Title
TWI582616B (en) Formatting data by example
US5233513A (en) Business modeling, software engineering and prototyping method and apparatus
US6012075A (en) Method and system for background grammar checking an electronic document
US20070226718A1 (en) Method and apparatus for supporting software tuning for multi-core processor, and computer product
JP4972866B2 (en) Conversion program
JP4314233B2 (en) Design support apparatus, design support method, design support program, and recording medium
US8161399B2 (en) Automated learning system for improving graphical user interfaces
KR20060047996A (en) Aligned behavior in templated lists
WO2010056444A2 (en) Automatic designation of footnotes to fact data
US20110225160A1 (en) Computer product, operation and management support apparatus and method
JP5282640B2 (en) Data processing apparatus, data processing method, and data processing program
JP5038036B2 (en) Test execution system, test execution apparatus, information processing apparatus, test execution method, program, and storage medium
JP3920308B2 (en) Verification support device, verification support method, verification support program, and recording medium
US20210397635A1 (en) Information processing device, information processing system, and computer-readable recording medium storing information processing program
JP5359972B2 (en) Drawing annotation creation support device
JP3943582B2 (en) Bilingual text matching device
US20240119224A1 (en) Table cell splitting in an online document editor
JP2008004024A (en) Layout design program, recording medium for recording the program, layout design apparatus, and layout design method
CN100504849C (en) Data conversion method and device
JP2014164336A (en) Model analysis device, model analysis method and model analysis program
JP4324122B2 (en) Design rule verification program, recording medium recording the program, and design rule verification device
JP6425672B2 (en) Design document input / output device, design document input / output system and design document input / output method
JP5968186B2 (en) Program creation support apparatus and program
JP2011175343A (en) Apparatus, method and program for processing data
JP4895374B2 (en) Software product generation method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120828

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: 20130430

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130513

R150 Certificate of patent or registration of utility model

Ref document number: 5282640

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees