JPH01225265A - Communication processor - Google Patents

Communication processor

Info

Publication number
JPH01225265A
JPH01225265A JP63049750A JP4975088A JPH01225265A JP H01225265 A JPH01225265 A JP H01225265A JP 63049750 A JP63049750 A JP 63049750A JP 4975088 A JP4975088 A JP 4975088A JP H01225265 A JPH01225265 A JP H01225265A
Authority
JP
Japan
Prior art keywords
protocol data
log
communication
data
information
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.)
Pending
Application number
JP63049750A
Other languages
Japanese (ja)
Inventor
Akira Sugiyama
明 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP63049750A priority Critical patent/JPH01225265A/en
Publication of JPH01225265A publication Critical patent/JPH01225265A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To record only necessary protocol data by providing a designating means to designate the necessary protocol data as log information at the time of data transmitting and receiving. CONSTITUTION:At first, when there is the instruction of communication log sampling, the protocol data to be recorded to a log area 34 are announced to respective control tasks. In the control task under a control task 22, the header of the protocol data is analyzed from a low order layer and when the designating information of a log is detected based on an analyzed result, a log writing macro-call is executed in order to write the protocol data to the log area 34. On the other hand, when the transmission of the protocol data is executed according to a request from a high order layer, at first, the assembly of the protocol data is executed based on the protocol data in a communication buffer 33. Next, it is decided whether the assembled protocol data include the designating information or not. When the data include the information, the log writing macro-call is executed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は通信処理装置に関し、例えば階層構造を持つ通
信プロトコルによってデータ通信を行う通信処理装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication processing device, and more particularly, to a communication processing device that performs data communication using a communication protocol having a hierarchical structure.

[従来の技術] 本来、この種の装置においては、公衆データ網において
、通信プロトコルの構成として下位階層側より、物理レ
イヤ・データリンクレイヤ・ネットワークレイヤ・トラ
ンスポートレイヤ・セツションレイヤ・プレゼンテーシ
ョンレイヤ・アプリケーションレイヤの順に重なってい
る。
[Prior Art] Originally, in this type of device, in a public data network, the communication protocol structure consists of a physical layer, a data link layer, a network layer, a transport layer, a session layer, a presentation layer, and a lower layer. They are layered in the order of application layers.

−例として、CCITT勧告(国際電信電話諮問委員会
)に基づいてG4ファクシミリが挙げられる。
- An example is G4 facsimile according to the CCITT recommendations (International Telegraph and Telephone Consultative Committee).

ところが、上述した従来例では、通信中のログ動作とし
て、例えば最低位層のレイヤで送受信を行ったプロトコ
ルデータについてはすべてを記録するようにしている。
However, in the conventional example described above, as a log operation during communication, for example, all protocol data transmitted and received at the lowest layer is recorded.

従って04フアクシミリ等のように大量の通信用データ
を扱った送受信の瑞合には、プロトコルデータ等のログ
情報を記録しようとしても記録容量が足りないために、
ログ領域なオーバーフローする問題点がある。または大
量なデータのためにログ領域をオーバーラツプしてしま
い、最初の方に記録されていたログ情報を消失してしま
う問題点もある。
Therefore, when sending and receiving data such as 04 facsimile, which handles a large amount of communication data, even if you try to record log information such as protocol data, there is insufficient storage capacity.
There is a problem with the log area overflowing. Another problem is that the large amount of data may cause the log areas to overlap, causing log information recorded at the beginning to be lost.

従って、本発明は上述した従来例の問題点に鑑みてなさ
れたものであり、その目的とするところは、例えば階層
構造を有する通信プロトコルによってデータ通信を行う
場合において、効率的にログ情報の記録を行う通信処理
装置を提供する点にある。
Therefore, the present invention has been made in view of the problems of the prior art described above, and its purpose is to efficiently record log information when performing data communication using a communication protocol having a hierarchical structure, for example. The object of the present invention is to provide a communication processing device that performs the following.

[課題を解決するための手段] 上述した問題点を解決し、目的を達成するため、本発明
に係わる通信処理装置は通信プロトコルに階層構造を設
け、該階層構造に基づいてデータ送信/受信するときに
プロトコルデータなログ情報として記録する通信処理装
置において、ログ情報として必要なプロトコルデータな
指定する指定手段と、該指定手段の指定したプロトコル
データな記録する記録手段とを備えることを特徴とする
[Means for Solving the Problems] In order to solve the above-mentioned problems and achieve the purpose, a communication processing device according to the present invention provides a hierarchical structure in a communication protocol, and transmits/receives data based on the hierarchical structure. A communication processing device that sometimes records protocol data as log information, characterized by comprising a specifying means for specifying necessary protocol data as log information, and a recording means for recording the protocol data specified by the specifying means. .

[作用] 以上の構成によれば、指定手段は階層構造に基づいてデ
ータ送信/受信するときにログ情報として必要なプロト
コルデータを指定し、この指定されたプロトコルデータ
を記録手段は記録する。このように必要なプロトコルデ
ータのみ記録することができる。
[Operation] According to the above configuration, the designation means designates necessary protocol data as log information when transmitting/receiving data based on the hierarchical structure, and the recording means records the designated protocol data. In this way, only necessary protocol data can be recorded.

[実施例] 以下添付図面を参照して、本発明に係る好適な実施例を
詳細に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本実施例による通信処理装置の構成を示す概略
ブロック図である。
FIG. 1 is a schematic block diagram showing the configuration of a communication processing device according to this embodiment.

図において、1は本実施例によるグループ4機のデジタ
ルファクシミリ装置(以下、ファクシミリ装置という)
である、2はファクシミリ装置1全体の制御を行うマイ
クロプロセッシングユニット(以下、rMPUJという
)、3は制御プログラム、エラー処理用のプログラム、
後述の第4図−(a)、(b)、(c)のフローチャー
トに従った動作を実行させるプログラム等を格納したR
OMである。4はROM3に格納した各種プログラムの
ワークエリア及びエラー処理時の一時退避エリアとして
用いるRAMである。尚、ROM3及びRAM4の詳細
な内容については後述する。
In the figure, 1 is a group of four digital facsimile machines (hereinafter referred to as facsimile machines) according to this embodiment.
2 is a microprocessing unit (hereinafter referred to as rMPUJ) that controls the entire facsimile machine 1; 3 is a control program; an error handling program;
R that stores programs, etc. that execute operations according to the flowcharts in Figure 4-(a), (b), and (c), which will be described later.
It's OM. 4 is a RAM used as a work area for various programs stored in the ROM 3 and a temporary save area during error processing. Note that detailed contents of the ROM 3 and RAM 4 will be described later.

そして、5は送受信における情報を入力する各種キーを
備えた入力部、6は原稿画像等の入力情報をイメージと
して読み込むイメージスキャナ部である。7は入力部5
から入力した入力情報或はイメージスキャナ部6から入
力した画像情報を表示する表示部、8は表示部7に表示
した画像情報或は受信した画像情報を記録紙に印刷する
印刷部である。
Reference numeral 5 denotes an input unit equipped with various keys for inputting information for transmission and reception, and 6 an image scanner unit that reads input information such as a document image as an image. 7 is input section 5
A display section 8 displays input information input from the image scanner section 6 or image information input from the image scanner section 6, and a printing section 8 prints the image information displayed on the display section 7 or received image information on recording paper.

また、9は外部の通信媒体と送受信する通信制御装置(
以下、CCUという)であり、公衆データ回線10に接
続されている。
In addition, 9 is a communication control device (
(hereinafter referred to as CCU), and is connected to the public data line 10.

次に、上述したROM3及びRAM4について第2図、
第3図を用いて説明する。
Next, FIG. 2 shows the above-mentioned ROM3 and RAM4.
This will be explained using FIG.

第2図は本実施例のROM2に格納されるファームウェ
アの要部を示す概略ブロック図である。
FIG. 2 is a schematic block diagram showing the main parts of the firmware stored in the ROM 2 of this embodiment.

図において、21は各種タスクの管理及びメモリの管理
等を行−うマルチタスクモニタ、22はファクシミリ装
置1本体からの指示に基づいて後述の制御タスクを管理
する管理タスクである。
In the figure, 21 is a multitask monitor that manages various tasks and memory, and 22 is a management task that manages control tasks to be described later based on instructions from the main body of the facsimile machine 1.

また、23はCCITT(7)勧告X、25(7)デー
タリンクレイヤのデータリンク制御(LAPB)等のデ
ータリンクプロトコルの制御を行うデータリンク制御タ
スク、24はCCITTの勧告X。
Further, 23 is CCITT (7) Recommendation

25レベル3等のネットワークプロトコルの制御を行う
ネットワーク制御タスクである。25はCCITTの勧
告T、70等のトランスポートプロトコルの制御を行う
トランスポート制御タスク、26はCCITTのT、6
2等のセツションプロトコルの制御を行うセツション制
御タスクである。
This is a network control task that controls network protocols such as V.25 Level 3. 25 is a transport control task that controls transport protocols such as CCITT Recommendation T, 70, and 26 is CCITT's T, 6.
This is a session control task that controls session protocols such as 2nd class.

そして、27はマルチタスクモニタ21の下で動作する
すべてのタスクが待機中の場合に、この空き時間を利用
して動作するダミータスクである。
A dummy task 27 operates using this free time when all the tasks operating under the multitask monitor 21 are on standby.

また、第3図は本実施例のRAM4における領域のテー
ブル状態を示す図である。
Further, FIG. 3 is a diagram showing a table state of areas in the RAM 4 of this embodiment.

図において、31は各種プログラムのワークエリア及び
エラー処理時のデータ退避エリア等として利用する作業
領域、32はマルチタスクモニタ21のシステム立ち上
げ時に所定量の通信バッファを割り当てる通信バッファ
領域である。この通信バッファ領域32において、33
は各種タスクに利用する通信バッファ、34は指定され
たプロトコルデータのみ記録するログ領域である。
In the figure, 31 is a work area used as a work area for various programs and a data saving area during error processing, and 32 is a communication buffer area to which a predetermined amount of communication buffer is allocated when the system of the multitasking monitor 21 is started up. In this communication buffer area 32, 33
34 is a communication buffer used for various tasks, and a log area 34 records only specified protocol data.

次に、上述した通信バッファ領域32に格納されるデー
タフォーマットについて第4図(a)。
Next, FIG. 4(a) shows the data format stored in the communication buffer area 32 mentioned above.

(b)を用いて説明する。This will be explained using (b).

第4図(a)は本実施例の通信バッファの内容を示す図
、同図(b)はログ領域の内容を示す図である。
FIG. 4(a) is a diagram showing the contents of the communication buffer of this embodiment, and FIG. 4(b) is a diagram showing the contents of the log area.

第4図(a)、(b)において、通信バッファ33には
予めバッファに格納されるデータの長さ、指定されたプ
ロトコルデータか否かを識別する指定情報、そしてプロ
トコルデータ夕等を格納する。またログ領域34にはロ
グ情報にログ番号、送信・受信時の識別子(ID)、プ
ロトコルデータの長さ、そしてプロトコルデータな含ん
でいる。尚、ログ情報の上には所定のログ情報骨のデー
タ長が記録されている。
In FIGS. 4(a) and 4(b), the communication buffer 33 stores in advance the length of data to be stored in the buffer, designation information for identifying whether or not the data is designated protocol data, and the length of the protocol data. . Further, the log area 34 includes log information such as a log number, an identifier (ID) at the time of transmission/reception, a length of protocol data, and protocol data. Incidentally, above the log information, a data length of a predetermined log information bone is recorded.

次に、上述した構成から成る本実施例による通信制御方
法について第5図(a)、(b)。
Next, FIGS. 5(a) and 5(b) show a communication control method according to this embodiment having the above-described configuration.

(C)を用いて説明する。This will be explained using (C).

第5図(a)、(b)、(c)は本実施例のログ処理を
含む通信処理を示すフローチャートである。
FIGS. 5(a), 5(b), and 5(c) are flowcharts showing communication processing including log processing in this embodiment.

まず、システム立上げ時においてマルチタスクモニタ2
1はRAMJ上の通信バッファ領域32に通信バッファ
を割り付ける(ステップS1)。
First, when starting up the system, check the multitasking monitor 2.
1 allocates a communication buffer to the communication buffer area 32 on RAMJ (step S1).

このときファクシミリ装置1本体より通信時のログ情報
の採取を指示する命令があれば、通信バッファ領域32
の一部に第3図で示した如くログ領域33を確保する(
ステップS2、ステップS3)。、このようにして管理
タスクの実行に移1テ4る(ステップS4)。
At this time, if there is a command to collect log information during communication from the main body of the facsimile machine 1, the communication buffer area 32
As shown in FIG. 3, a log area 33 is secured in a part of the
Step S2, Step S3). In this way, the process moves to execution of the management task (step S4).

次に、上述したステップS4の管理タスクの動作を説明
する。
Next, the operation of the management task in step S4 mentioned above will be explained.

まず、通信ログ採取の指示があれば、ログ領域34に記
録するプロトコルデータなそれぞれの制御タスクに通知
する。尚、ログ領域34に記録するログ指定のないプロ
トコルデータにおいては通信バッファ33に格納する処
理のみ行われる。
First, if there is an instruction to collect a communication log, each control task is notified of the protocol data to be recorded in the log area 34. Note that for protocol data that does not have a log specification recorded in the log area 34, only the process of storing it in the communication buffer 33 is performed.

次に、データ通信を行うべきそれぞれのタスクが待機中
であれば、LED (発光ダイオード)の点燈等のダミ
ータスクを実行する(ステップ5101、ステップ51
02)。またデータ通信が開始されるならば、送信或は
受信のデータ処理を行う(ステップ5103)、尚、こ
の送受信処理においては後述する。このようにして通信
処理動作が終了するまでは、上述のダミータスク或は送
受信を繰り返す。
Next, if each task to perform data communication is on standby, a dummy task such as lighting an LED (light emitting diode) is executed (step 5101, step 51).
02). Further, if data communication is started, data processing for transmission or reception is performed (step 5103).This transmission and reception processing will be described later. In this way, the above-described dummy task or transmission/reception is repeated until the communication processing operation is completed.

また、上述のステップ5103における送受信処理につ
いて説明する。
Also, the transmission and reception processing in step 5103 described above will be explained.

まず、管理タスク22下の制御タスクにおいて、下位レ
イヤよりプロトコルデータの受信が通知されると、受信
したプロトコルデータのヘッダを解析する(ステップ5
200、ステップ5201)、そしてヘッダの解析結果
に基づいて、ログの指定情報が検出されるとプロトコル
データなログ領域34に書き込むためのログ書込みマク
ロコールを行う(ステップ5202、ステップ5203
)。
First, when the control task under the management task 22 is notified of the reception of protocol data from the lower layer, it analyzes the header of the received protocol data (step 5).
200, step 5201), and when log specification information is detected based on the header analysis result, a log write macro call is made to write protocol data to the log area 34 (steps 5202, 5203).
).

一方、上位レイヤからの要求によりプロトコルデータの
送信を行う場合には、まず通信バッファ33中のプロト
コルデータに基づいて、第4図(b)に示すログ情報の
ようにプロトコルデータの組み立てを行う(ステップ5
204)。次に組み立てたプロトコルデータが指定情報
を含むか否かを判定する(ステップ5205)、もし指
定されたものであればログ書込みマクロコールな行い、
ログ情報をログ領域34に記録する(ステップS)。
On the other hand, when transmitting protocol data in response to a request from an upper layer, the protocol data is first assembled as shown in the log information shown in FIG. 4(b) based on the protocol data in the communication buffer 33. Step 5
204). Next, it is determined whether the assembled protocol data includes specified information (step 5205), and if it is specified, a log write macro call is executed.
Log information is recorded in the log area 34 (step S).

以上の説明により本実施例によれば、データ通信時のロ
グ情報の記録をそれぞれのレイヤより指定されたときに
のみを記録するので、ログ情報を効率的に記録できこと
は勿論、このように少ないログ情報であっても十分にデ
ータ通信時の手順を把握できる。
As explained above, according to this embodiment, log information during data communication is recorded only when specified by each layer, so it goes without saying that log information can be efficiently recorded. Even with a small amount of log information, it is possible to fully understand the procedure during data communication.

さて、本実施例においてはファクシミリ装置1(G4機
)のようなプロトコルデータな大量に扱う通信処理装置
を説明したが、本発明はこれに限定されるものではなく
、例えばCCITT勧告に限らずISO規格(国際標準
化機構)に基づいたデータ通信に用いても良く、このよ
うにレイヤに基づいたデータ通信であれば良い。。
Now, in this embodiment, a communication processing device that handles a large amount of protocol data, such as facsimile device 1 (G4 machine), has been described, but the present invention is not limited to this. It may be used for data communication based on standards (International Organization for Standardization), as long as it is data communication based on layers like this. .

[発明の効果] 以上の説明により本発明によれば、データ送信/受信時
のログ情報には指定されたプロトコルデータのときにの
み採取されて記録されるので、ログ情報を効率的に記録
することができると共に、このように少ないプロトコル
データから成るログ情報であっても十分に通信時の手順
を把握できる通信処理装置を提供できる。
[Effects of the Invention] As described above, according to the present invention, log information at the time of data transmission/reception is collected and recorded only when specified protocol data is used, so log information can be efficiently recorded. In addition, it is possible to provide a communication processing device that can sufficiently grasp communication procedures even with log information consisting of such a small amount of protocol data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本実施例による通信処理装置の構成を示す概略
ブロック図、 第2図は本実施例のROM2に格納されるファームウェ
アの要部を示す概略ブロック図、第3図は本実施例のR
AM4における領域のテーブル状態を示す図、 第4図(a)は本実施例の通信バッファの内容を示す図
、同図(b)はログ領域の内容を示す図、 第5図(a)、(b)、(C)は本実施例のログ処理を
含む通信処理を示すフローチャートである。 図中、1・・・ファクシミリ装置、2・・・MPU。 3・・・ROM、4・・・RAM、5・・・入力部、6
・・・イメージスキャナ部、7・・・表示部、8・・・
印刷部、9・・・CCU、10・・・公衆データ回線、
21・・・マルチタスクモニタ、22・・・管理タスク
、23・・・データリンク制御タスク、24・・・ネッ
トワーク制御タスク、25・・・トランスポート制御タ
スク、26・・・セツション制御タスク、27・・・ダ
ミータスク、31・・・作業領域、32・・・通信バッ
ファ領域、33・・・通信バッファ、34・・・ログ領
域である。 第3図 第4図 (b) 第5図(a) 第5図(b)
FIG. 1 is a schematic block diagram showing the configuration of a communication processing device according to this embodiment, FIG. 2 is a schematic block diagram showing the main part of firmware stored in ROM 2 of this embodiment, and FIG. R
A diagram showing the table state of the area in AM4, FIG. 4(a) is a diagram showing the contents of the communication buffer of this embodiment, FIG. 4(b) is a diagram showing the contents of the log area, FIG. 5(a), (b) and (C) are flowcharts showing communication processing including log processing in this embodiment. In the figure, 1...facsimile device, 2...MPU. 3...ROM, 4...RAM, 5...input section, 6
...Image scanner section, 7...Display section, 8...
Printing department, 9...CCU, 10...Public data line,
21... Multitask monitor, 22... Management task, 23... Data link control task, 24... Network control task, 25... Transport control task, 26... Session control task, 27 ... dummy task, 31... work area, 32... communication buffer area, 33... communication buffer, 34... log area. Figure 3 Figure 4 (b) Figure 5 (a) Figure 5 (b)

Claims (1)

【特許請求の範囲】 通信プロトコルに階層構造を設け、該階層構造に基づい
てデータ送信/受信するときにプロトコルデータをログ
情報として記録する通信処理装置において、 ログ情報として必要なプロトコルデータを指定する指定
手段と、該指定手段の指定したプロトコルデータを記録
する記録手段とを備えることを特徴とする通信通信装置
[Claims] In a communication processing device that provides a hierarchical structure in a communication protocol and records protocol data as log information when transmitting/receiving data based on the hierarchical structure, necessary protocol data is specified as the log information. 1. A communication device comprising a specifying means and a recording means for recording protocol data specified by the specifying means.
JP63049750A 1988-03-04 1988-03-04 Communication processor Pending JPH01225265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63049750A JPH01225265A (en) 1988-03-04 1988-03-04 Communication processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63049750A JPH01225265A (en) 1988-03-04 1988-03-04 Communication processor

Publications (1)

Publication Number Publication Date
JPH01225265A true JPH01225265A (en) 1989-09-08

Family

ID=12839858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63049750A Pending JPH01225265A (en) 1988-03-04 1988-03-04 Communication processor

Country Status (1)

Country Link
JP (1) JPH01225265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04217046A (en) * 1990-02-23 1992-08-07 Internatl Business Mach Corp <Ibm> Method for maintaining activity record in data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04217046A (en) * 1990-02-23 1992-08-07 Internatl Business Mach Corp <Ibm> Method for maintaining activity record in data processing system

Similar Documents

Publication Publication Date Title
US7612902B2 (en) Data processing apparatus and method of controlling an image processing mode
CN1770773B (en) Network system, directory server and terminal device
JPH03206768A (en) Facsimile equipment
CN100544394C (en) Image processing system and image read-out
JPH01225265A (en) Communication processor
JPH0965041A (en) Facsimile communication system
JPH01164167A (en) Facsimile equipment
JP3421171B2 (en) Combined printing device
CN101127812B (en) Image processing system and image reading apparatus
JP3780005B2 (en) Facsimile apparatus and control method thereof
JP2895069B2 (en) Facsimile machine
JP3527049B2 (en) Facsimile machine
JPS6253558A (en) Communication equipment
JP2610457B2 (en) Facsimile connection device
JP2572033B2 (en) Facsimile machine
JP3735955B2 (en) Image reading apparatus and image reading method
JP2956517B2 (en) Communication device
JPH04269069A (en) Facsimile equipment
JPH08115287A (en) Server device
JP2939291B2 (en) Facsimile machine
JPH07336471A (en) Facsimile
JP2000022873A (en) Composite function device
JPH04165754A (en) Facsimile equipment and method of transmitting data to the facsimile equipment
JPH0530319A (en) Facsimile equipment
JPH04367153A (en) Communication equipment