JP5130839B2 - Image information compression and transfer method and image transfer apparatus - Google Patents

Image information compression and transfer method and image transfer apparatus Download PDF

Info

Publication number
JP5130839B2
JP5130839B2 JP2007238405A JP2007238405A JP5130839B2 JP 5130839 B2 JP5130839 B2 JP 5130839B2 JP 2007238405 A JP2007238405 A JP 2007238405A JP 2007238405 A JP2007238405 A JP 2007238405A JP 5130839 B2 JP5130839 B2 JP 5130839B2
Authority
JP
Japan
Prior art keywords
image
drawing command
rectangles
rectangle
divided
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
JP2007238405A
Other languages
Japanese (ja)
Other versions
JP2009070178A (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 JP2007238405A priority Critical patent/JP5130839B2/en
Publication of JP2009070178A publication Critical patent/JP2009070178A/en
Application granted granted Critical
Publication of JP5130839B2 publication Critical patent/JP5130839B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本発明は、CADシステムで作成された設計情報の転送方法に係り、特に、電気通信装置などの複雑で大量の配線情報を有するCADの画像データを効率良く圧縮し、転送する方法及び画像転送装置に関するものである。   The present invention relates to a method for transferring design information created by a CAD system, and more particularly, a method and an image transfer device for efficiently compressing and transferring CAD image data having complicated and large amount of wiring information such as a telecommunication device. It is about.

機械製品や装置の開発において、現在CAD(Computer Aided Design)システムは必要不可欠なものである。このCADを利用する形態として、近年CAD−ASP(CAD−Application Service Providing)の形態が利用されてきている。これは、設計データ(画像データ)の作成・編集・シミュレーション等の処理をCADシステムセンタのサーバで行い、ネットワークで接続されたクライアントはクライアント端末でマウス操作や表示のみを行うものである。一方、Unix(登録商標)系での画像のアプリケーション処理は、個々の画像要素を分割したコマンド(描画コマンド:線分描画、円周描画、矩形描画)等により画像データの処理が行なわれる。先ず、発明の前提となる画像の描画コマンドについて説明する。   Currently, a CAD (Computer Aided Design) system is indispensable in the development of mechanical products and devices. As a form of using this CAD, a form of CAD-ASP (CAD-Application Service Providing) has been used in recent years. In this method, design data (image data) creation / editing / simulation is performed by a server of a CAD system center, and a client connected via a network only performs mouse operation and display at a client terminal. On the other hand, application processing of images in the Unix (registered trademark) system is performed on image data by a command (drawing command: line drawing, circumferential drawing, rectangular drawing) or the like obtained by dividing individual image elements. First, an image drawing command as a premise of the invention will be described.

図7は画像要素と描画コマンド例を示す図である。画像を構成する画像要素とその描画コマンドの例を示している。描画コマンドは描画要素と1対1に対応している。一例として、線分、矩形、円弧について説明する。
1)線分:(X1,Y1,X2,Y2)
画像原点からの座標(X1,Y1)、(X2,Y2)を結ぶ線分であり、その描画コマンドは(X1,Y1,X2,Y2)で記述する。
2)矩形:(X,Y,幅,高さ)
画像基準点からの座標(X,Y)と矩形の幅、高さで矩形を表現し、描画コマンドを(X,Y,幅,高さ)で記述する。
3)円弧:(X,Y,幅,高さ,角度1,角度2)
画像基準点からの座標(X,Y)を中心とする円弧を幅、高さと角度1、角度2に分解し、描画コマンドとして(X,Y,幅,高さ,角度1,角度2)で記述する。
FIG. 7 is a diagram illustrating image elements and drawing command examples. An example of an image element constituting an image and its drawing command is shown. The drawing command has a one-to-one correspondence with the drawing element. As an example, a line segment, a rectangle, and an arc will be described.
1) Line segment: (X1, Y1, X2, Y2)
A line segment connecting the coordinates (X1, Y1) and (X2, Y2) from the image origin, and the drawing command is described by (X1, Y1, X2, Y2).
2) Rectangle: (X, Y, width, height)
A rectangle is expressed by coordinates (X, Y) from the image reference point and the width and height of the rectangle, and a drawing command is described by (X, Y, width, height).
3) Arc: (X, Y, width, height, angle 1, angle 2)
An arc centered at coordinates (X, Y) from the image reference point is decomposed into a width, a height and an angle 1 and an angle 2, and (X, Y, width, height, angle 1 and angle 2) are used as drawing commands. Describe.

図6は本発明対象のシステム構成と従来の描画情報転送方法を示す図である。CADシステムセンタのサーバ4は通信ネットワーク5を介して複数のクライアント端末6(複数のクライアント端末を6で代表して記述)に描画データを転送する。サーバ4で画像のシミュレーション、画像編集(描画分解)などの画像処理を実行し、クライアント端末6で表示部に画像を表示してマウス操作を実行する。本発明の対象となる描画コマンドの転送に係る事項の説明を行なう。
1)サーバ4はCAD処理のアプリケーションプログラムにより画像を分解する。図6の「A」の画像は3つの線分、1つの矩形に分解される。「B」はその描画コマンドである。例えば、線分a1のコマンドCa1は、線分の両端の座標(6,6),(10,20)よりCa1=(6,6,10,20)となり、同様に矩形b1の描画コマンドはCb1=(0,10,20,7)で表現される。
2)分解されたコマンドは個々の画像処理アプリケーションプログラムの優先順位で決まる順番でクライアント端末6に転送される。例えば、Ca1、Cb1の順番で転送される。
3)クライアント端末6は受信した描画コマンドよりアプリケーションプログラムにより画像を復号し表示部し、マウス操作などを行なう。
FIG. 6 is a diagram showing a system configuration of the present invention and a conventional drawing information transfer method. The CAD system center server 4 transfers drawing data to a plurality of client terminals 6 (a plurality of client terminals are represented by 6) via the communication network 5. The server 4 executes image processing such as image simulation, image editing (drawing decomposition), and the client terminal 6 displays an image on the display unit and executes a mouse operation. A description will be given of matters relating to transfer of a drawing command which is an object of the present invention.
1) The server 4 decomposes the image by a CAD processing application program. The image “A” in FIG. 6 is decomposed into three line segments and one rectangle. “B” is the drawing command. For example, the command Ca1 for the line segment a1 is Ca1 = (6, 6, 10, 20) from the coordinates (6, 6), (10, 20) at both ends of the line segment. Similarly, the drawing command for the rectangle b1 is Cb1. = (0, 10, 20, 7).
2) The decomposed commands are transferred to the client terminal 6 in the order determined by the priority order of each image processing application program. For example, the data is transferred in the order of Ca1 and Cb1.
3) The client terminal 6 decodes and displays the image by the application program from the received drawing command, and performs a mouse operation and the like.

画像処理の方法として、描画コマンドによる方法はビットマップ型の画像処理方法に対し、ズーミングにより情報が落ちない利点がある反面、クライアントのディスプレイ装置の解像度とは無関係に画像データが莫大なものとなる欠点がある。このため、サーバ、クライアント端末間の描画データ容量は膨大になり、レスポンス時間が多く掛かり、アプリケーションプログラムの実行に時間が掛かる問題がある。   As an image processing method, the drawing command method has an advantage that information is not lost by zooming compared to the bitmap type image processing method, but the image data becomes enormous regardless of the resolution of the client display device. There are drawbacks. For this reason, the drawing data capacity between the server and the client terminal becomes enormous, and there is a problem that it takes a long response time and it takes a long time to execute the application program.

特許文献1には処理すべき画像を記憶装置に保持し、所定時間内では所定の処理を行い、所定時間を経過した場合は予め設定した画素の間引き率に従い圧縮処理して送信する技術が開示されている。   Patent Document 1 discloses a technique in which an image to be processed is held in a storage device, a predetermined process is performed within a predetermined time, and a compression process is performed according to a preset pixel thinning rate when the predetermined time has elapsed. Has been.

特許文献2には最初は大まかな全体像を送信し、徐々にきめ細かな画像を送信し、受信側で画質が必要な品質に達したとき送信を停止する技術が開示されている。
特開平05−22577号公報 特開平04−103257号公報
Patent Document 2 discloses a technique in which a rough whole image is transmitted at first, a fine image is gradually transmitted, and transmission is stopped when the image quality reaches a required quality on the receiving side.
JP 05-22777 A Japanese Patent Laid-Open No. 04-103257

本発明の課題は、CADシステムのセンタのサーバで処理された電気通信装置などの配線情報に係る画像データ(描画コマンド)を通信ネットワークを介して接続されたクライアント端末に転送に際し、描画コマンドの転送時間が掛かる問題である。   An object of the present invention is to transfer a drawing command when transferring image data (drawing command) related to wiring information of a telecommunication device or the like processed by a server of a CAD system center to a client terminal connected via a communication network. This is a time consuming problem.

本発明の目的は、Unix(登録商標)系の描画コマンドの特性を有効活用し、描画コマンドの間引きにより描画データの転送容量の圧縮を行ない、サーバ、クライアント間の描画コマンドの転送時間を短くし、効率よく画像処理のアプリケーションを実行できる画像情報の圧縮方法及び画像転送装置を提供することを目的とする。   An object of the present invention is to effectively utilize the characteristics of a Unix (registered trademark) drawing command, compress the drawing data transfer capacity by thinning out the drawing command, and shorten the drawing command transfer time between the server and the client. An object of the present invention is to provide an image information compression method and an image transfer apparatus capable of efficiently executing an image processing application.

第1の発明は、画像を画像要素に分解し、前記分解した画像要素を表現する描画コマンドをCADシステムより受信し、前記受信した描画コマンドをクライアント端末に圧縮して転送する画像情報圧縮転送方法である。 According to a first aspect of the present invention, there is provided an image information compression and transfer method for decomposing an image into image elements, receiving a drawing command representing the decomposed image element from a CAD system, and compressing and transferring the received drawing command to a client terminal. It is.

前記CADシステムより画像の描画コマンドを受信し、画像を矩形に分解し、前記分割矩形毎に前記分割矩形を交差する描画コマンドの数を算出し、前記CADシステムより受信した描画コマンドの受信順番で前記分割矩形毎に、多くとも前記算出した前記各分割矩形を交差する数の描画コマンドを前記クライアント端末に転送する。 An image drawing command is received from the CAD system, the image is decomposed into rectangles, the number of drawing commands intersecting the divided rectangles for each divided rectangle is calculated, and the drawing commands received from the CAD system are received in the order of reception. For each of the divided rectangles, at most, the drawing commands that intersect the calculated divided rectangles are transferred to the client terminal.

第1の発明により、CADシステムより受信した描画コマンドの間引きを行い、クライアント端末に転送する描画コマンドの数を交差数で制約し、圧縮してクライアント端末に転送でき、画像転送を高速化できる。 According to the first invention, the drawing commands received from the CAD system are thinned out, the number of drawing commands to be transferred to the client terminal is restricted by the number of intersections, compressed and transferred to the client terminal, and the image transfer can be accelerated.

の発明は、画像を画像要素に分解し、前記分解した画像要素を表現する描画コマンドをCADシステムより受信し、前記受信した描画コマンドをクライアント端末に圧縮して転送する画像転送装置である。 A second invention is an image transfer apparatus that decomposes an image into image elements, receives a drawing command representing the decomposed image element from a CAD system, and compresses and transfers the received drawing command to a client terminal. .

前記画像転送装置は、前記画像処理システムより画像の描画コマンドを受信する手段、画像を矩形に分割し、前記分割した矩形に交差する前記受信描画コマンドの数を算出する手段、前記分割矩形毎に前記描画コマンドを送信する最大送信回数を設定する手段、前記画像処理システムより受信した描画コマンドの受信順番で前記設定した前記分割矩形毎に、多くとも最大送信送信回数、あるいは前記算出した交差数までの数の描画コマンドを前記クライアント端末に転送する手段を備える。   The image transfer device includes means for receiving an image drawing command from the image processing system, means for dividing the image into rectangles, calculating means for calculating the number of the received drawing commands intersecting the divided rectangles, and for each divided rectangle. Means for setting the maximum number of transmissions for transmitting the drawing command, up to the maximum number of transmissions or the calculated number of intersections for each of the set divided rectangles in the order of reception of the drawing commands received from the image processing system; Means for transferring a number of drawing commands to the client terminal.

第4の発明により、画像処理システムより受信した描画コマンドの間引きを行い、圧縮してクライアント端末に転送でき、画像転送を高速化できる画像転送装置を実現できる。   According to the fourth aspect of the present invention, it is possible to realize an image transfer apparatus that can thin out drawing commands received from the image processing system, compress them and transfer them to the client terminal, and increase the image transfer speed.

本発明により、サーバ、クライアント端末間で通信ネットワークを介して、描画コマンドによる画像データの処理の実行において、描画コマンドの特性を有効活用し、サーバ、クライアント端末間での描画コマンド転送時間を短縮し、効率的に画像処理のアプリケーションプログラムを実行できる。   According to the present invention, in the execution of image data processing by a drawing command via a communication network between a server and a client terminal, the characteristics of the drawing command are effectively used, and the drawing command transfer time between the server and the client terminal is shortened. The application program for image processing can be executed efficiently.

(実施例1)
図1は本発明の一実施形態の画像転送装置ブロック構成を示す図である。CADシステムは画像転送装置1とサーバ2と複数のクライアント端末3(ここでは代表して1つのクライアント端末を表示)間で通信ネットワーク(図示せず)を介して接続され、CADアプリケーションプログラムにより画像処理を行なうシステムである。
Example 1
FIG. 1 is a diagram showing a block configuration of an image transfer apparatus according to an embodiment of the present invention. The CAD system is connected between the image transfer apparatus 1, the server 2, and a plurality of client terminals 3 (here, one client terminal is representatively displayed) via a communication network (not shown), and image processing is performed by a CAD application program. It is a system that performs.

CADシステムにおいて、画像転送装置1はサーバ2で処理された画像要素に分解され、転送順番付けられた描画コマンドを受信し、転送する描画コマンドの圧縮処理を実行してクライアント端末3に描画データを転送する装置である。画像転送装置1は、サーバとのインタフェースの入力インタフェース21、画像データの間引きによる圧縮処理を行なう交差解析・圧縮処理部22、描画情報を保持するメモリ23、通信ネットワークを介したクライアント端末3とのインタフェースの出力インタフェース23で構成する。また、画像表示部(図示せず)を備え、画像よりマニュアル判断により優先と判断する区域の描画コマンドを選択可能にする。なお、これらの画像処理及び、転送の制御等はCPU(図示せず)と併せて行なわれる。各部の処理内容について説明する。
1)入力インタフェース21
サーバ2とのインタフェースであり、サーバ2より描画コマンド番号、描画コマンド種別、描画色、塗りつぶしフラグ、描画コマンド(受信順番が優先順番となる)の描画情報を得る。
2)交差解析・圧縮処理部22
1画面の大きさ(既知)を矩形分割し、サーバ2からの描画コマンドの座標情報より、分割した各矩形を交差する描画コマンドの数を算出し、描画コマンドの間引き・圧縮処理を行なう。また、クライアント端末3への転送数の設定を行い、図2で説明する描画コマンドデータ、描画データのテーブルを作成し、メモリ23に保持する。
3)メモリ23
描画コマンドデータ、描画データのテーブルを保持する。
4)出力インタフェース24
交差解析・圧縮処理部22で間引き・圧縮処理された描画コマンドをクライアント端末3に転送する。
In the CAD system, the image transfer device 1 receives the drawing commands that have been decomposed into the image elements processed by the server 2 and assigned the transfer order, executes the compression processing of the drawing commands to be transferred, and sends the drawing data to the client terminal 3. It is a device to transfer. The image transfer apparatus 1 includes an input interface 21 serving as an interface with a server, a cross analysis / compression processing unit 22 that performs compression processing by thinning out image data, a memory 23 that holds drawing information, and a client terminal 3 via a communication network. An output interface 23 of the interface is used. Further, an image display unit (not shown) is provided, and a drawing command for an area determined to be prioritized by manual determination from an image can be selected. Note that these image processing, transfer control, and the like are performed together with a CPU (not shown). The processing content of each part is demonstrated.
1) Input interface 21
It is an interface with the server 2 and obtains drawing information such as a drawing command number, a drawing command type, a drawing color, a paint flag, and a drawing command (the reception order is a priority order) from the server 2.
2) Intersection analysis / compression processor 22
The size (known) of one screen is divided into rectangles, the number of drawing commands intersecting each divided rectangle is calculated from the coordinate information of the drawing commands from the server 2, and drawing command thinning / compression processing is performed. Further, the number of transfers to the client terminal 3 is set, and a drawing command data and drawing data table described in FIG. 2 is created and held in the memory 23.
3) Memory 23
Holds drawing command data and drawing data table.
4) Output interface 24
The drawing command subjected to the thinning / compression processing by the intersection analysis / compression processing unit 22 is transferred to the client terminal 3.

図2は本発明に適用する描画コマンドデータと描画データ例を示す図である。1)に描画コマンドデータ、2)に描画データを示す。2)は後述する図3、図4の手順と対応の説明のため、2−1)に図3の手順対応、2−2)に図4対応と分けて記述している。このテーブルの内容については図3、図4の描画情報圧縮手順のステップに併せて説明する。
1)描画コマンドデータ
描画コマンドデータは描画コマンド番号、描画コマンド種別、描画色、描画塗りつぶしフラグ、描画コマンド、処理フラグで構成する。サーバ2から描画情報として描画コマンド番号、描画コマンド種別、描画色、塗りつぶしフラグ、描画データを得て、圧縮処理に応じて記述する処理フラグを加えた描画コマンドデータテーブルを作成し、メモリに保持する。ここで、描画色は描画の色であり、また、塗りつぶしフラグはその描画を色で塗りつぶす場合のフラグである。
2−1)描画データ(図3の手順に対応)
矩形番号、交差する描画コマンド番号で構成する。1画面を矩形に分割し、描画コマンドにはサーバ2から受信した順番(優先順番)が分かるように作成する。
2−2)描画データ(図4の手順に対応)
矩形番号、最大送信回数、交差数、交差する描画コマンド番号で構成する。1画面を矩形に分割し、分割した矩形とその矩形を交差する交差数を算出して作成する。最大送信回数は分割矩形毎に設定する。
FIG. 2 is a diagram showing drawing command data and drawing data examples applied to the present invention. Drawing command data is shown in 1) and drawing data is shown in 2). 2) describes the correspondence with the procedures in FIGS. 3 and 4 described later, and 2-1) describes the correspondence with the procedure in FIG. 3 and 2-2) separately describes the correspondence with FIG. The contents of this table will be described in conjunction with the steps of the drawing information compression procedure of FIGS.
1) Drawing command data Drawing command data includes a drawing command number, a drawing command type, a drawing color, a drawing fill flag, a drawing command, and a processing flag. A drawing command number, a drawing command type, a drawing color, a paint flag, and drawing data are obtained from the server 2 as drawing information, and a drawing command data table to which a processing flag described according to compression processing is added is created and stored in a memory. . Here, the drawing color is a drawing color, and the fill flag is a flag when the drawing is filled with a color.
2-1) Drawing data (corresponding to the procedure in FIG. 3)
Consists of a rectangle number and intersecting drawing command numbers. One screen is divided into rectangles, and drawing commands are created so that the order received from the server 2 (priority order) can be understood.
2-2) Drawing data (corresponding to the procedure in FIG. 4)
It consists of a rectangle number, the maximum number of transmissions, the number of intersections, and the drawing command number that intersects. One screen is divided into rectangles, and the number of intersections between the divided rectangles and the rectangles is calculated and created. The maximum number of transmissions is set for each divided rectangle.

図3は描画情報圧縮手順(その1)を示す図である。サーバ2で処理した描画コマンドを圧縮する手順を示している。
S1:以下の初期設定を行ない、画面を矩形に分割する。
ア.画面を矩形に分割する分割数「L]
イ.矩形の最大送信回数「N」
S2:予め設定した順番(例.左上より右上を経て次ぎの段へ)の第一番目の矩形を選択し、以下を行なう。
ア.送信回数SNを「0」に設定する。(SN=0)
イ.処理矩形数Bkを「1」に設定する。(Bk=1)
S3:矩形内の最優先順位の描画データを取得する。
S4:取得した描画データの描画コマンドは送信済みか否か確認する。送信済みか否かの確認は図2の1)の処理フラグで確認する。
S5:取得した描画コマンドを送信先に送信し、次の演算を行なう。
ア.送信回数SNに「1」加える。(SN=SN+1)
S6:送信回数が「N」以下か判断し、「N」以下ならS7に進む。[N]を超えている場合はS9に進む。
S7:矩形内に描画データが有るか判断し、描画データがある場合はS8に進み、そうでない場合はS9に進む。
S8:次の優先順位の描画データを取得し、S4に戻る。
S9:Bk=Bk+1とする。
S10:処理した矩形の数が矩形の数「L」以内か判断し、未処理の矩形がある場合はS11に進み、そうでない場合は終了となる。
S11:k=k+1として次の矩形を取得し、S3に戻る。
FIG. 3 is a diagram showing a drawing information compression procedure (part 1). A procedure for compressing a drawing command processed by the server 2 is shown.
S1: The following initial settings are made and the screen is divided into rectangles.
A. Number of divisions to divide the screen into rectangles “L”
A. Maximum number of rectangular transmissions “N”
S2: Select the first rectangle in the preset order (eg, from the upper left to the next stage through the upper right) and do the following.
A. The number of transmissions SN is set to “0”. (SN = 0)
A. The processing rectangle number Bk is set to “1”. (Bk = 1)
S3: Obtain drawing data with the highest priority in the rectangle.
S4: It is confirmed whether or not the drawing command for the acquired drawing data has been transmitted. Whether or not the transmission has been completed is confirmed by the processing flag 1) in FIG.
S5: The acquired drawing command is transmitted to the transmission destination, and the next calculation is performed.
A. “1” is added to the number of transmissions SN. (SN = SN + 1)
S6: It is determined whether the number of transmissions is “N” or less. If “N” or less, the process proceeds to S7. If it exceeds [N], the process proceeds to S9.
S7: It is determined whether there is drawing data in the rectangle. If there is drawing data, the process proceeds to S8, and if not, the process proceeds to S9.
S8: The drawing data of the next priority is acquired, and the process returns to S4.
S9: Bk = Bk + 1.
S10: It is determined whether the number of processed rectangles is within the number of rectangles “L”. If there is an unprocessed rectangle, the process proceeds to S11, and if not, the process ends.
S11: The next rectangle is acquired as k = k + 1, and the process returns to S3.

上記の手順を図2の1)描画コマンドデータと2−1)描画データ(図3の手順に対応)の例で説明する。
1)最大送信回数を「N」を「3」とする。また、分割した矩形数はL1からL150となる。
2)分割矩形L1の描画コマンド番号C2、C3、C8、C6より、C2を取得し送信し、処理フラグを「済み」にする。
3)送信回数が最大送信回数「3」に満たないのでC3、C8を送信する。送信した処理フラグを「済み」にする。C6は送信しない。
4)次にL2となり、L2の描画コマンド番号C2、C5、C6よりL1で送信「未」のC5、C6を送信し、処理フラグを「済み」に更新する。この場合、L2の送信回数は「2」であり、描画コマンドC2が間引かれ、送信データ容量が圧縮される。
5)順次次ぎの分割矩形について送信処理を行なう。
The above procedure will be described with reference to examples of 1) drawing command data and 2-1) drawing data (corresponding to the procedure of FIG. 3) in FIG.
1) “N” is set to “3” as the maximum number of transmissions. The number of divided rectangles is from L1 to L150.
2) Obtain and transmit C2 from the drawing command numbers C2, C3, C8, and C6 of the divided rectangle L1, and set the processing flag to “completed”.
3) Since the number of transmissions is less than the maximum number of transmissions “3”, C3 and C8 are transmitted. Set the sent processing flag to “completed”. C6 is not transmitted.
4) Next, it becomes L2, and C5 and C6 that have not been transmitted in L1 are transmitted from the drawing command numbers C2, C5, and C6 of L2, and the processing flag is updated to “completed”. In this case, the number of transmissions of L2 is “2”, the drawing command C2 is thinned out, and the transmission data capacity is compressed.
5) The transmission process is sequentially performed on the next divided rectangle.

また、前述した画像転送装置に画像表示部を備え、図3のS1での画面を矩形に分割後、ユーザが分割矩形の送信順番を画像より判断を行い、分割矩形の送信回数、分割矩形の送信順番を決定し、該当矩形の描画コマンドを優先的に送信する。
(実施例2)
図4は描画情報圧縮手順(その2)を示す図である。実施例1に対し、交差数から転送回数を決定する方法を示している。
S21.以下以下の初期設定を行ない、画面を矩形に分割する。
ア.画面を矩形に分割する分割数「L]
イ.矩形毎の最大送信回数「Nk(k=1〜L)」を決定する。
S22:各矩形を交差する描画コマンドの数「Mk(k=1〜L)」を算出する。
S23:予め設定した順番(例.左上より右上を経て次ぎの段へ)の第一番目の矩形を選択し、以下を行なう。
ア.送信回数SNを「1」に設定する。(SN=1)
イ.処理矩形数BKを「1」に設定する。(Bk=1)
ウ.選択した矩形番号Lkを「1」とする。(k=1)
S24:矩形内の最優先順位の描画データを取得する。
S25:取得した描画データの描画コマンドは送信済みかを処理フラグで判断し、送信が行われていない場合はS26に進みそうでない場合はS27に進む。
S26:取得した描画コマンドを送信先に送信し、次の演算を行なう。
ア.送信回数SNに「1」加える。(SN=SN+1)
S27:SN≦N 及び SN≦Mkの場合はS28に進み、そうでない場合はS30に進む。
S28:矩形内に描画データが有るか判断し、描画データがある場合はS29に進みそうでない場合はS30に進む。
S29:次の優先順位の描画データを取得し、S25に戻る。
S30:Bk=Bk+1とする。
S31:処理した矩形の数が矩形の数「L」以内か判断し、未処理の矩形がある場合はS11に進み、そうでない場合は終了となる。
S32:k=k+1として次の矩形を取得し、S24に戻る。
Further, the image transfer device described above is provided with an image display unit, and after the screen in S1 of FIG. 3 is divided into rectangles, the user determines the transmission order of the divided rectangles from the images, the number of transmissions of the divided rectangles, The transmission order is determined and the drawing command for the corresponding rectangle is transmitted with priority.
(Example 2)
FIG. 4 is a diagram showing a drawing information compression procedure (part 2). For the first embodiment, a method for determining the number of transfers from the number of crossings is shown.
S21. Perform the following initial settings and divide the screen into rectangles.
A. Number of divisions to divide the screen into rectangles “L”
A. The maximum number of transmissions “Nk (k = 1 to L)” for each rectangle is determined.
S22: The number of drawing commands “Mk (k = 1 to L)” intersecting each rectangle is calculated.
S23: The first rectangle in the preset order (eg, from the upper left to the next stage through the upper right) is selected, and the following is performed.
A. The number of transmissions SN is set to “1”. (SN = 1)
A. The processing rectangle number BK is set to “1”. (Bk = 1)
C. The selected rectangle number Lk is set to “1”. (K = 1)
S24: The drawing data with the highest priority in the rectangle is acquired.
S25: It is determined from the processing flag whether the drawing command for the acquired drawing data has been transmitted. If transmission has not been performed, the process proceeds to S26. If not, the process proceeds to S27.
S26: The acquired drawing command is transmitted to the transmission destination, and the next calculation is performed.
A. “1” is added to the number of transmissions SN. (SN = SN + 1)
S27: If SN ≦ N and SN ≦ Mk, proceed to S28, otherwise proceed to S30.
S28: It is determined whether there is drawing data in the rectangle. If there is drawing data, the process proceeds to S29. If not, the process proceeds to S30.
S29: The drawing data of the next priority is acquired, and the process returns to S25.
S30: Bk = Bk + 1.
S31: It is determined whether the number of processed rectangles is within the number of rectangles “L”. If there is an unprocessed rectangle, the process proceeds to S11, and if not, the process ends.
S32: The next rectangle is acquired as k = k + 1, and the process returns to S24.

上記の手順を図2の1)描画コマンドデータと2−2)描画データ(図4の手順に対応)の例で説明する。
1)分割した矩形数はL1からL150となる。最大送信回数を分割矩形毎に設定し、表に加える。L1、L2、L3は「1」、L4は「2」である。
2)各矩形を交差する描画コマンド数を算出し、図2の3)の交差数の項目に記述する。図2の場合、例えば、L1、L2の交差数は各々「2」、「3」である。
3)分割矩形L1の描画コマンド番号C2、C3より、最大送信回数「1」よりC2を取得し送信し、処理フラグを「済み」にする。
4)次にL2となり、L2の描画コマンド番号C2、C4、C5より最大送信回数「1」なので、L1で送信「未」の中の優先順位の高いC4を送信し、C4の処理フラグを「済み」に更新する。
5)L3は交差数「0」なので送信処理は無い。
6)L4については最大送信回数「2」より、C1、C3を送信し、処理フラグを「済み」にする。
7)順次次ぎの分割矩形について送信処理を行なう。
The above procedure will be described with reference to examples of 1) drawing command data and 2-2) drawing data (corresponding to the procedure of FIG. 4) in FIG.
1) The number of divided rectangles is from L1 to L150. Set the maximum number of transmissions for each divided rectangle and add it to the table. L1, L2, and L3 are “1”, and L4 is “2”.
2) The number of drawing commands that intersect each rectangle is calculated and described in the item of the number of intersections in 3) of FIG. In the case of FIG. 2, for example, the numbers of intersections of L1 and L2 are “2” and “3”, respectively.
3) From the drawing command numbers C2 and C3 of the divided rectangle L1, C2 is acquired and transmitted from the maximum transmission count “1”, and the processing flag is set to “completed”.
4) Next, it becomes L2, and since the maximum number of transmissions is “1” from the drawing command numbers C2, C4, and C5 of L2, C4 having a high priority among the transmissions “not yet” is transmitted in L1, and the processing flag of C4 is set to “ To "Done".
5) Since L3 has the number of intersections “0”, there is no transmission processing.
6) For L4, C1 and C3 are transmitted from the maximum number of transmissions “2”, and the processing flag is set to “completed”.
7) The transmission process is sequentially performed on the next divided rectangle.

図5は分割矩形と描画コマンドの交差数例を説明する図である。画面には描画コマンドCc1、Cc2、Cc3、Cc4がある。矩形番号L1には描画コマンドCc2、Cc3が交差し、交差数は「2」となる。同様にL2はCc2、Cc3、Cc4の交差数3である。以下説明は省略する。   FIG. 5 is a diagram for explaining an example of the number of intersections between a divided rectangle and a drawing command. There are drawing commands Cc1, Cc2, Cc3, and Cc4 on the screen. Drawing commands Cc2 and Cc3 intersect the rectangle number L1, and the number of intersections is “2”. Similarly, L2 is the number of intersections 3 of Cc2, Cc3, and Cc4. The description is omitted below.

図1は本発明の一実施形態の画像転送装置ブロック構成を示す図である。FIG. 1 is a diagram showing a block configuration of an image transfer apparatus according to an embodiment of the present invention. 図2は本発明に適用する描画コマンドデータと描画データ例を示す図である。FIG. 2 is a diagram showing drawing command data and drawing data examples applied to the present invention. 図3は描画情報圧縮手順(その1)を示す図である。FIG. 3 is a diagram showing a drawing information compression procedure (part 1). 図4は描画情報圧縮手順(その2)を示す図である。FIG. 4 is a diagram showing a drawing information compression procedure (part 2). 図5は分割矩形と描画コマンドの交差数例を説明する図である。FIG. 5 is a diagram for explaining an example of the number of intersections between a divided rectangle and a drawing command. 図6は本発明対象のシステム構成と従来の描画情報転送方法を示す図である。FIG. 6 is a diagram showing a system configuration of the present invention and a conventional drawing information transfer method. 図7は画像要素と描画コマンド例を示す図である。FIG. 7 is a diagram illustrating image elements and drawing command examples.

符号の説明Explanation of symbols

1 画像転送装置
2 サーバ
3 クライアント端末
4 サーバ(従来例)
5 通信ネットワーク
6 クライアント端末(従来例)
21 入力インタフェース
22 交差解析圧縮処理部
23 メモリ
24 出力インタフェース
1 Image transfer device 2 Server 3 Client terminal 4 Server (conventional example)
5 Communication network 6 Client terminal (conventional example)
21 Input Interface 22 Cross Analysis Compression Processing Unit 23 Memory 24 Output Interface

Claims (2)

画像を画像要素に分解し、前記分解した画像要素を表現する描画コマンドをCADシステムより受信し、前記受信した描画コマンドをクライアント端末に圧縮して転送する画像情報圧縮転送方法であって、
前記CADシステムより画像の描画コマンドを受信し、
画像を矩形に分解し、
前記分割矩形毎に前記分割矩形を交差する描画コマンドの数を算出し、
前記CADシステムより受信した描画コマンドの受信順番で前記分割矩形毎に、多くとも前記算出した前記各分割矩形を交差する数の描画コマンドを前記クライアント端末に転送することを特徴とする画像情報圧縮転送方法。
An image information compression and transfer method for decomposing an image into image elements, receiving a drawing command representing the decomposed image element from a CAD system, and compressing and transferring the received drawing command to a client terminal,
An image drawing command is received from the CAD system,
Break the image into rectangles,
For each divided rectangle , calculate the number of drawing commands that intersect the divided rectangle,
The prior Symbol dividing each rectangular in reception order of the drawing commands received from the CAD system, most image information compression, which comprises transferring the drawing command of the number of crosses each divided rectangle the calculated to the client terminal Transfer method.
画像を画像要素に分解し、前記分解した画像要素を表現する描画コマンドをCADシステムより受信し、前記受信した描画コマンドをクライアント端末に圧縮して転送する画像転送装置であって、An image transfer device that decomposes an image into image elements, receives a drawing command representing the decomposed image element from a CAD system, and compresses and transfers the received drawing command to a client terminal,
前記画像転送装置は、The image transfer device includes:
前記CADシステムより画像の描画コマンドを受信する手段と、Means for receiving an image drawing command from the CAD system;
画像を矩形に分割し、前記分割した矩形に交差する前記受信描画コマンドの数を算出する手段と、Means for dividing an image into rectangles and calculating the number of received drawing commands that intersect the divided rectangles;
前記分割矩形毎に前記描画コマンドを送信する最大送信回数を設定する手段と、Means for setting a maximum number of transmissions for transmitting the drawing command for each of the divided rectangles;
を備え、With
前記CADシステムより受信した描画コマンドの受信順番で前記設定した前記分割矩形毎に、多くとも最大送信回数、あるいは前記算出した交差数までの数の描画コマンドを前記クライアント端末に転送することを特徴とする画像転送装置。For each of the set divided rectangles in the reception order of drawing commands received from the CAD system, at most the number of drawing commands or the number of drawing commands up to the calculated number of intersections are transferred to the client terminal. Image transfer device.
JP2007238405A 2007-09-13 2007-09-13 Image information compression and transfer method and image transfer apparatus Expired - Fee Related JP5130839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007238405A JP5130839B2 (en) 2007-09-13 2007-09-13 Image information compression and transfer method and image transfer apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007238405A JP5130839B2 (en) 2007-09-13 2007-09-13 Image information compression and transfer method and image transfer apparatus

Publications (2)

Publication Number Publication Date
JP2009070178A JP2009070178A (en) 2009-04-02
JP5130839B2 true JP5130839B2 (en) 2013-01-30

Family

ID=40606349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007238405A Expired - Fee Related JP5130839B2 (en) 2007-09-13 2007-09-13 Image information compression and transfer method and image transfer apparatus

Country Status (1)

Country Link
JP (1) JP5130839B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3780103B2 (en) * 1997-09-03 2006-05-31 キヤノン株式会社 Information processing apparatus, information processing method, storage medium, and printing system
JP2000316143A (en) * 1999-04-30 2000-11-14 Matsushita Electric Ind Co Ltd Picture data transmitting device and picture receiving device
JP2001293936A (en) * 2000-04-17 2001-10-23 Fuji Xerox Co Ltd Image information processor and method of processing image information
JP4100912B2 (en) * 2002-01-11 2008-06-11 キヤノン株式会社 Information processing apparatus, control method therefor, program, and storage medium
JP2005199485A (en) * 2004-01-14 2005-07-28 Canon Inc Image processor, image processing method and program for executing image processing method
JP2007108202A (en) * 2005-10-11 2007-04-26 Cad Center:Kk Ground image display system

Also Published As

Publication number Publication date
JP2009070178A (en) 2009-04-02

Similar Documents

Publication Publication Date Title
CN102413150B (en) Server and virtual desktop control method and virtual desktop control system
US5850226A (en) Method of transferring and displaying 3-D shape data
KR20090011574A (en) A apparatus and a method of graphic data processing
US10321009B2 (en) Protocol for communications between platforms and image devices
CN1239250A (en) Image delivery and display system
CN103858095B (en) A kind of method for displaying image and device
CA3098941C (en) Systems and methods for bandwidth reduction in video signal transmission
US20040104920A1 (en) Image display method for mobile terminal in image distribution system, and image conversion apparatus and mobile terminal using the method
CN107454455A (en) More video source image processing methods and device
CN110580678A (en) image processing method and device
CN111625211A (en) Screen projection method and device, android device and display device
CN103314394A (en) Three-dimensional earth-formulation visualization
CN106209523B (en) Screen sharing realization method and device and media terminal
US20150186095A1 (en) Inter-terminal image sharing method, terminal device, and communications system
CN109144443A (en) Electronic equipment multi-display method, electronic equipment and computer readable storage medium
JP5130839B2 (en) Image information compression and transfer method and image transfer apparatus
CN108780348A (en) Image transmission, image delivering system and the method for controlling image transmission
EP2972760B1 (en) Efficient screen image transfer
CN107423187A (en) A kind of screen monitor method, apparatus and system
JP5130891B2 (en) Data transmission apparatus and data transmission method
CN112565818B (en) Two-three-dimensional integrated operation station platform construction method and electronic equipment
US10372632B2 (en) Information processing system, information processing method and information processing device
JP4329429B2 (en) Image transfer apparatus, image transfer method, and image transfer program
CN103019641B (en) Remote control process transmits the Apparatus and method for of data
CN108874347B (en) Positioning identifier control method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120416

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121022

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5130839

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees