JP3867911B2 - State transition type communication processing apparatus and processing method - Google Patents
State transition type communication processing apparatus and processing method Download PDFInfo
- Publication number
- JP3867911B2 JP3867911B2 JP2002297189A JP2002297189A JP3867911B2 JP 3867911 B2 JP3867911 B2 JP 3867911B2 JP 2002297189 A JP2002297189 A JP 2002297189A JP 2002297189 A JP2002297189 A JP 2002297189A JP 3867911 B2 JP3867911 B2 JP 3867911B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- module
- state
- state transition
- transfer
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Communication Control (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、通信処理装置における通信プロトコル処理などの複雑な処理に使用する状態遷移処理装置および方法に関する。
【0002】
【従来の技術】
データ通信における端末インタフェースには、たとえば、モデム・インタフェースと呼ばれるアナログ・データ伝送用のVシリーズ・インタフェースがある(CCITT標準)。
【0003】
Vシリーズ勧告には複数の通信方式が勧告化されている。たとえば、V.21、V.22、V.22bis、V.32、V.32bis、V.34、V.90、V.92などがあげられる。これらの通信方式は、接続時に端末同士で通信方式を決定できるように工夫されているが、その決定方法は複雑で煩雑な手順を必要とする。FSK、BPSK、QAMなどの変復調信号処理やトーン検出用信号処理などを並列処理またはスイッチング処理しながら、相手モデムと接続確立に必要なデータの受け渡しを行い、通信方式を決定する。
【0004】
これらの通信処理プログラムは、各種の変復調処理などの信号処理プログラム以外に、上記の煩雑な接続処理などを行うシーケンス処理プログラムで構成されている。通信方式をサポートすることで、シーケンス処理プログラム容量が肥大する。
また、相手モデムとの接続性で一番重要なのが、このシーケンス処理である。シーケンス上で問題が発生すると、タイミング等の再調整を行うこととなり、プログラム変更が必要となる。
【0005】
近年、半導体の微細化が進み、大規模システムLSIを製造できるようになった。そのため、通信処理用LSIにも大容量のRAM・ROMを搭載することが可能となった。
しかし、コスト面から考えるとできるだけLSIのサイズを小さく設計する必要がある。そのため、内蔵メモリはできるだけ小さくする必要がある。
また、内蔵ROMの場合、プログラムの変更ができないので、プログラム改変のたびにLSIのマスクを改訂しなければならず、コストアップになってしまう。
通常、通信処理LSIは、主に信号処理を行うために高速なCPUもしくはDSP(ディジタル・シグナル・プロセッサ)で実現され、外部にROMやRAMを配置したのでは、バススピードが間に合わない。従って、メモリを外部に配置することでLSIサイズを小さくするということはできない。
【0006】
マスク改訂を避けてプログラム改訂を容易にするには、内蔵ROMにエンベデットFlashROMなどの書き換え可能ROMを使用することもできる。しかし、MaskROMに比べるとコストアップになってしまう場合が多い。また、プログラムを外部に設置し、初期化時に内部RAMにプログラムをダウンロードして、内部RAMを使ってプログラムを実行する方法が考えられるが、大容量のプログラムサイズ分のRAMをLSI内部に持たせることとなり、これもコストアップとなる。
【0007】
以上のように通信処理LSIを構成する上でプログラムメモリをどのように扱うかは、コストやコード改訂の面で非常に重要な要素であり、内部メモリをできるだけ小さくし、外部に変更可能なプログラムメモリを配置することが重要な課題となる。
【0008】
通信処理装置のプロトコル処理において上記の問題を解決する従来方法として、唯一、特開平05−048669号公報の技術で、上記の課題の対策を講じている。
ただし、この方法では通信方式毎にプログラムをスイッチングするため十分なメモリ削減にならない。
また、Vシリーズのように接続シーケンス中に通信方式を決定するような場合には適応が難しい。
【0009】
【特許文献1】
特開平05−048669号公報
【0010】
【発明が解決しようとする課題】
本発明の目的はこれらの課題を解決するために、通信処理の各状態毎に必要となるモジュールのみ内部RAMに転送して動作させるようにして、コスト安で柔軟にプログラム変更可能な状態遷移型通信処理装置および方法を実現することである。
【0011】
【課題を解決するための手段】
上記目的を達成するため、本発明に係る状態遷移型通信処理装置は、内部RAMにロードされるプログラムサイズを、全シーケンスのなかで各状態に関連したモジュールのみに限るようにして、大容量の通信処理プログラムを外部に配置することと、また外部メモリに変更可能なメモリを使用し、シーケンス関連プログラムを配置することを特徴とする。
【0012】
【発明の実施の形態】
以下、本発明の原理と実施形態を図面により説明する。
【0013】
(原理)
相手通信装置との接続において、接続シーケンス中に複数の通信プロトコルのうちから一つを決定するプロセスは、トーン検出や各種変復調処理及びそれに関連する機能の動作または停止を制御して、規格化されたタイミングで相手通信装置と信号の送受を行う処理である。このとき、接続過程には様々な状態が存在し、シーケンスプログラムはこの状態遷移を制御するものであるが、状態遷移処理は、このほかにも、通信途中での再接続や速度再設定、パワー検出など、様々な制御で適応されている。
【0014】
これらの状態遷移をプログラムする方法の一つとして、状態遷移テーブルを用いる方法がある。
【0015】
図1は状態遷移モデルの例である。このように各状態毎にモジュール番号で管理された入場処理、退場処理、通常処理、イベント処理、アクション処理を定義する。
【0016】
状態遷移テーブルは、各状態毎にその処理内容をリストしたものである。ここで、入場処理とは、次状態に入場する場合に行う処理、退場処理とは、現在の状態から退場する場合に行う処理、通常処理とは、状態が遷移しない場合に、その状態において毎回実行される処理、イベント処理とは、遷移条件を満足するかを調査する処理、アクション処理とは、状態が遷移する際に処理される処理のことである。シーケンス処理は、シンボル周波数単位など、あらかじめ定義された時間間隔で、状態遷移テーブルにリストされた各状態の処理を実行する。
【0017】
通常、この処理はテーブルも含めすべてROM化されるが、本発明では状態遷移テーブルと状態遷移テーブルから呼ばれるすべてのモジュールを外部メモリに格納し、起動時に状態遷移テーブルと初期状態に関連するモジュールのみ内部RAMにDMA転送し、RAM上で状態遷移処理プログラムを実行する。そしてイベント発生により状態が次状態へと遷移する度に、次状態でアクセスするモジュールのみ内部RAMにDMA転送し、RAM上で状態遷移処理プログラムを実行する。
【0018】
このようにある時点での状態に関連したモジュールのみ内部RAMに転写するため、内部に少量のメモリを搭載するだけで膨大なシステムを実現できる。
一回にダウンロードするプログラムサイズも少なくすむので、DMA転送を使えば、状態遷移処理がシンボル周期など十分な時間間隔で処理されるため、次状態処理が開始するまでに内部RAMに転送が終了するので、メインの信号処理が必要とするCPUまたはDSP処理時間を占有せずにすむ。
【0019】
このような方式を使えば、大容量の通信処理プログラムを外部メモリに配置する事が可能となる。その結果、通信処理LSI内部メモリを削減する事ができ、さらに外部メモリに変更可能なメモリを使用することで、プログラム変更にも柔軟に対応できる。
従って、コスト安で柔軟にプログラム変更可能な通信処理装置を実現できる。
【0020】
(実施例)
図4は本発明に係る通信処理装置の構成例を示す図である。
通信処理装置は端末I/F404、411、公衆回線I/F412、1チップ通信処理LSI403、ならびにフラッシュROMなどのメモリで構成されている。1チップ通信処理LSI403のシステムバスには内部RAM409、内部ROM410及び外部ROM408が接続されている。なお、401は端末、402は通信処理装置、405、407はI/O、406はDSPである。
【0021】
内部RAM409はワーク用メモリ、内部ROM410は信号処理などのプログラムモジュールが格納されている。また、外部ROM408には、状態遷移テーブルとシーケンス処理プログラムモジュールなどが格納されている。
状態遷移テーブルは、図1のようにモデル化された状態遷移モデルに対し、図3のように構成する。
【0022】
まず、システム起動時の初期化処理として、状態遷移テーブルを外部メモリ408から内部RAM409に転送する。また、初期状態を状態ID=1とすると、状態ID=1の入場処理1を内部RAM409に転送し、転送後に入場処理1を実行する。さらにシーケンス初期状態(ID=1)に関連するモジュールを内部RAM409に転送する。
【0023】
転送するモジュールは状態ID=1の通常処理1、退場処理1。さらに、例の状態ID=1の場合、遷移条件は1つなので遷移に関係するモジュールのイベント処理1、アクション処理1。そして、遷移先である状態ID=2の入場処理2を内部RAM409に転送しておく。
【0024】
以後、シーケンス処理はあらかじめ設定した時間間隔で処理される。設定時間としては、シンボル時間やA/D取り込みの数サンプル時間を設定すればよい。たとえば、サンプリング周波数が8kHzの場合、125μsec間隔で変復調などの信号処理が行われるが、シーケンス処理はそれほど頻繁に処理する必要がないため、数msec単位で十分である。
【0025】
図2は本発明に係る状態遷移における処理過程図である。
初期化処理後、最初のシーケンス処理タイミングでは、図2に示すように、まず状態1のイベント処理1が処理される。そこで遷移条件が一致しなかった場合、通常処理1が処理され、シーケンス処理は次のシーケンス処理タイミングまで待機する。以降、シーケンス処理タイミング毎に上記の処理を繰り返す。
【0026】
図3は、本発明に係る状態遷移テーブル図である。
以下、図1を基にして説明する。次に、図3に示すように、イベント処理1で遷移条件が一致した場合は、図2に示すようにアクション処理1、退場処理1を施し、最後に入場処理2を実行する。そして次に遷移する状態(例ではID=2)で使用する関連モジュールを内部RAM409に展開する。例の場合、通常処理2、退場処理2、イベント処理2−1、イベント処理2−2、アクション処理2−1、アクション処理2−2、そして遷移先である状態ID=3の入場処理3と状態ID=1の入場処理1となる。
【0027】
以降は上記の処理を繰り返し実行する。
【0028】
このように、内部RAM409にロードされるプログラムサイズは、全シーケンスモジュールのなかで各状態に関連したモジュールのみに限られるため、少ないメモリ消費で実現することができ、また、外部メモリにシーケンス関連プログラムを配置することで、プログラム変更にも柔軟に対応できるシステムを実現することができる。
【0029】
また、外部メモリから内部メモリにモジュールをダウンロードする場合に、CPU(またはDSP)によるデータの読み書き操作で一度にプログラム転送を行うと、変復調処理などの信号処理を転送終了まで待機させる必要が生じるため、プログラム転送にはDMA制御を使用する。
【0030】
バックグラウンド転送することで、メモリ転送処理の間中、A/Dサンプリング間隔で変復調信号処理を行なうことができる。
【0031】
このとき、転送する各モジュールは連続したアドレス空間に配置されないため、DMA転送をモジュール毎に処理する必要が生じる。バックグラウンドですべてのDMA転送を完了するには問題となるが、この問題は、DMA転送終了割り込み機能を持たせることで、解決される。割り込み処理でモジュール毎にDMA転送を開始するようにすれば、変復調処理に対するCPU負荷とならない。
【0032】
また、モジュールが外部メモリから内部RAM409に転送されるため、プログラムリク時に実行用モジュールアドレスを決定できない。
【0033】
転送用のモジュール格納アドレスと、実行用のモジュール実行アドレスを使い分ける必要があり、さらに、内部RAM409に展開されるモジュールのアドレスはプログラムリンク時に確定できないため、動的にモジュール実行アドレスを決定する手法が必要となる。
【0034】
図5は、モジュール番号に対するメモリ転送用モジュールアドレステーブルの例である。
この問題を解決するために、リンク時は外部メモリに配置したモジュールアドレスでリンクし、リンク時に図5のようなモジュール番号(Number)に対するメモリ転送用モジュールアドレステーブルを作成し、ROM410に格納する。モジュール転送時には状態遷移テーブルに格納されたモジュール番号(Number)とメモリ転送用モジュールアドレステーブルからモジュールアドレス(Address)を取得し、テーブル内のモジュールサイズ分だけ、そのアドレス(Address)からDMA転送する。
【0035】
図6は、実行用モジュールアドレステーブルの例である。
そして、DMA転送後、内部RAM409内に図6のようなモジュール番号(Number)と転送されたモジュールのアドレス(Address)を格納した実行用モジュールアドレス(Address)テーブルを生成し、モジュール実行時は生成された実行用モジュールアドレステーブルを使用する。このようにすることで、モジュール番号(Number)に対するモジュールアドレス(Address)を転送時の静的アドレス(Address)と実行時の動的アドレス(Address)で、それぞれ確定することが可能となる。
【0036】
【発明の効果】
以上、詳細に説明したように、本発明によれば、通信装置を行なうLSIの外部に設けたメモリ内に各プロトコルに必要なシーケンスプログラムを記憶するとともに、全通信プロトコルで共通に利用する処理部分を前記LSI内のCPUバスに接続されたROMに格納した通信装置で、ある通信プロトコルのある状態の時に必要なシーケンスプログラムのみを前記外部メモリから前記LSI内のRAMに転送するようにすることによって、転送するプログラムが少なくてすむため、転送処理時間が短く、転送先内部RAMメモリサイズを小さくできるという効果を有する。
【図面の簡単な説明】
【図1】本発明に係る状態遷移のモデル例図である。
【図2】本発明に係る状態遷移における処理過程図である。
【図3】本発明に係る状態遷移テーブル図である。
【図4】本発明に係る通信処理装置の構成例図である。
【図5】モジュール番号に対するメモリ転送用モジュールアドレステーブルの例である。
【図6】実行用モジュールアドレステーブルの例である。
【符号の説明】
401 端末
402 通信処理装置
403 通信処理LSI
404、411 回線I/F
412 公衆回線
405、407 I/O
406 DSP
408、410 ROM
409 RAM[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a state transition processing apparatus and method used for complicated processing such as communication protocol processing in a communication processing apparatus.
[0002]
[Prior art]
A terminal interface in data communication includes, for example, a V series interface for analog data transmission called a modem interface (CCITT standard).
[0003]
A plurality of communication methods are recommended in the V series recommendation. For example, V. 21, V.R. 22, V.R. 22bis, V.M. 32, V.I. 32bis, V.M. 34, V.I. 90, V.I. 92 and the like. These communication methods are devised so that the communication methods can be determined between terminals at the time of connection, but the determination method requires a complicated and complicated procedure. While performing modulation / demodulation signal processing such as FSK, BPSK, and QAM, tone detection signal processing, and the like in parallel or switching, data necessary for establishing connection with the other modem is transferred and the communication method is determined.
[0004]
These communication processing programs are configured by a sequence processing program that performs the above-described complicated connection processing in addition to various signal processing programs such as modulation / demodulation processing. Supporting the communication method increases the capacity of the sequence processing program.
In addition, this sequence processing is the most important for connectivity with the partner modem. When a problem occurs in the sequence, the timing and the like are readjusted, and the program must be changed.
[0005]
In recent years, semiconductor miniaturization has progressed, and large-scale system LSIs can be manufactured. Therefore, it is possible to mount a large capacity RAM / ROM in the communication processing LSI.
However, considering the cost, it is necessary to design the LSI as small as possible. Therefore, it is necessary to make the built-in memory as small as possible.
In the case of the built-in ROM, since the program cannot be changed, the LSI mask must be revised each time the program is modified, resulting in an increase in cost.
Usually, a communication processing LSI is realized by a high-speed CPU or DSP (digital signal processor) mainly for signal processing, and if a ROM or RAM is arranged outside, the bus speed is not in time. Therefore, the LSI size cannot be reduced by arranging the memory outside.
[0006]
In order to avoid the mask revision and facilitate the program revision, a rewritable ROM such as an embedded flash ROM can be used as the built-in ROM. However, there are many cases where the cost is increased as compared with Mask ROM. A method of installing a program externally, downloading the program to the internal RAM at the time of initialization, and executing the program using the internal RAM is conceivable. However, a large-capacity program size RAM is provided inside the LSI. This also increases the cost.
[0007]
As described above, how to handle the program memory in configuring the communication processing LSI is a very important factor in terms of cost and code revision, and the program that can be changed externally with the internal memory as small as possible Arranging the memory is an important issue.
[0008]
As a conventional method for solving the above problem in the protocol processing of the communication processing apparatus, the technique of Japanese Patent Laid-Open No. 05-048669 is the only countermeasure for the above problem.
However, in this method, since the program is switched for each communication method, the memory cannot be reduced sufficiently.
Further, adaptation is difficult when the communication method is determined during the connection sequence as in the V series.
[0009]
[Patent Document 1]
Japanese Patent Laid-Open No. 05-048669
[Problems to be solved by the invention]
In order to solve these problems, the object of the present invention is to transfer only the modules required for each state of communication processing to the internal RAM and operate them, so that the state transition type can be flexibly changed at low cost. It is to realize a communication processing apparatus and method.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, the state transition type communication processing device according to the present invention has a large capacity so that the program size loaded in the internal RAM is limited to only modules related to each state in the entire sequence. The communication processing program is arranged outside, and a sequence-related program is arranged using a changeable memory as an external memory.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
The principles and embodiments of the present invention will be described below with reference to the drawings.
[0013]
(principle)
In the connection with the other communication device, the process of determining one of a plurality of communication protocols during the connection sequence is standardized by controlling the operation or stop of tone detection, various modulation / demodulation processes and related functions. This is a process of transmitting / receiving a signal to / from the other communication device at the same timing. At this time, there are various states in the connection process, and the sequence program controls this state transition, but the state transition process also includes reconnection, speed reset, power It is applied by various controls such as detection.
[0014]
One method for programming these state transitions is to use a state transition table.
[0015]
FIG. 1 is an example of a state transition model. In this way, entry processing, exit processing, normal processing, event processing, and action processing managed by module numbers are defined for each state.
[0016]
The state transition table lists the processing contents for each state. Here, the entrance process is a process performed when entering the next state, the exit process is a process performed when exiting from the current state, and the normal process is a normal process every time the state does not change. The process to be executed and the event process are processes to check whether the transition condition is satisfied, and the action process is a process to be processed when the state transitions. The sequence processing executes processing of each state listed in the state transition table at a predefined time interval such as a symbol frequency unit.
[0017]
Normally, all of this processing, including the table, is stored in ROM, but in the present invention, all modules called from the state transition table and the state transition table are stored in the external memory, and only the modules related to the state transition table and the initial state at startup DMA transfer to the internal RAM and the state transition processing program is executed on the RAM. Each time the state transitions to the next state due to the occurrence of an event, only the module accessed in the next state is DMA-transferred to the internal RAM, and the state transition processing program is executed on the RAM.
[0018]
As described above, since only the modules related to the state at a certain point in time are transferred to the internal RAM, a huge system can be realized only by mounting a small amount of memory inside.
Since the program size to be downloaded at one time can be reduced, if DMA transfer is used, the state transition process is processed at a sufficient time interval such as a symbol cycle, so the transfer to the internal RAM is completed before the next state process starts. Therefore, the CPU or DSP processing time required for the main signal processing can be saved.
[0019]
If such a method is used, a large-capacity communication processing program can be arranged in the external memory. As a result, it is possible to reduce the internal memory of the communication processing LSI, and it is possible to flexibly cope with program changes by using a memory that can be changed as an external memory.
Therefore, it is possible to realize a communication processing device that can be changed in program flexibly at a low cost.
[0020]
(Example)
FIG. 4 is a diagram showing a configuration example of a communication processing apparatus according to the present invention.
The communication processing apparatus includes terminal I /
[0021]
The
The state transition table is configured as shown in FIG. 3 with respect to the state transition model modeled as shown in FIG.
[0022]
First, as an initialization process at the time of system startup, the state transition table is transferred from the
[0023]
The modules to be transferred are the
[0024]
Thereafter, the sequence processing is performed at a preset time interval. As the set time, a symbol time or several sample times for A / D acquisition may be set. For example, when the sampling frequency is 8 kHz, signal processing such as modulation / demodulation is performed at intervals of 125 μsec. However, since the sequence processing does not need to be performed so frequently, a unit of several msec is sufficient.
[0025]
FIG. 2 is a process diagram in the state transition according to the present invention.
After the initialization processing, at the first sequence processing timing,
[0026]
FIG. 3 is a state transition table according to the present invention.
Hereinafter, a description will be given with reference to FIG. Next, as shown in FIG. 3, when the transition conditions match in
[0027]
Thereafter, the above process is repeated.
[0028]
Thus, since the program size loaded into the
[0029]
In addition, when a module is downloaded from an external memory to the internal memory, if program transfer is performed at once by a data read / write operation by the CPU (or DSP), it is necessary to wait for signal processing such as modulation / demodulation processing until the end of the transfer. DMA control is used for program transfer.
[0030]
By performing background transfer, modulation / demodulation signal processing can be performed at A / D sampling intervals throughout the memory transfer processing.
[0031]
At this time, since the modules to be transferred are not arranged in a continuous address space, it is necessary to process the DMA transfer for each module. Completing all DMA transfers in the background poses a problem, but this problem can be solved by providing a DMA transfer end interrupt function. If the DMA transfer is started for each module in the interrupt process, the CPU load for the modulation / demodulation process is not caused.
[0032]
Further, since the module is transferred from the external memory to the
[0033]
It is necessary to use the module storage address for transfer and the module execution address for execution separately, and furthermore, since the address of the module developed in the
[0034]
FIG. 5 is an example of a memory transfer module address table for module numbers.
In order to solve this problem, at the time of linking, linking is performed with the module address arranged in the external memory. At the time of linking, a memory transfer module address table for the module number (Number) is created as shown in FIG. At the time of module transfer, the module address (Address) is obtained from the module number (Number) stored in the state transition table and the module address table for memory transfer, and DMA transfer is performed from the address (Address) by the module size in the table.
[0035]
FIG. 6 is an example of an execution module address table.
Then, after DMA transfer, an execution module address (Address) table in which the module number (Number) and the transferred module address (Address) as shown in FIG. 6 are stored in the
[0036]
【The invention's effect】
As described above in detail, according to the present invention, the sequence program necessary for each protocol is stored in a memory provided outside the LSI that performs the communication device, and the processing part is commonly used in all communication protocols. Is stored in a ROM connected to a CPU bus in the LSI, and only a sequence program necessary when a certain communication protocol is in a certain state is transferred from the external memory to the RAM in the LSI. Since the program to be transferred is small, the transfer processing time is short and the transfer destination internal RAM memory size can be reduced.
[Brief description of the drawings]
FIG. 1 is a model diagram of a state transition according to the present invention.
FIG. 2 is a process diagram in a state transition according to the present invention.
FIG. 3 is a state transition table according to the present invention.
FIG. 4 is a configuration example diagram of a communication processing apparatus according to the present invention.
FIG. 5 is an example of a module address table for memory transfer with respect to a module number.
FIG. 6 is an example of an execution module address table.
[Explanation of symbols]
404, 411 Line I / F
412
406 DSP
408, 410 ROM
409 RAM
Claims (4)
公衆電話回線に接続し、該電話回線を介して相手通信装置とデータ通信をする回線インターフェースと、
起動時に外部メモリに格納されている状態遷移テーブルと初期状態に関連するモジュールのみが転送される内部RAMと、
該内部RAMへの転送が行われると、通信プログラムを実行し、複数の通信プロトコルのうち一つの相手通信装置との接続シーケンス中に決定するマイクロプロセッサと、
該マイクロプロセッサに結合されたシステムバスに接続されたリードオンリーメモリおよびランダムアクセスメモリなどを一チップ上に集積し、前記外部メモリから前記内部RAMへのデータ転送に対してダイレクト・メモリアクセス制御を行うDMA制御手段を有するLSIと、
該LSIに接続された通信処理用プログラムが格納されたROMとを有することを特徴とする状態遷移型通信処理装置。A terminal interface for sending and receiving data to and from the terminal;
A line interface for connecting to a public telephone line and performing data communication with a partner communication device via the telephone line;
A state transition table stored in the external memory at the time of startup and an internal RAM to which only modules related to the initial state are transferred ;
When the transfer to the internal RAM is performed, a microprocessor that executes a communication program and determines during a connection sequence with one partner communication device among a plurality of communication protocols;
The microprocessor coupled to a read only memory and random access memory connected to the system bus was integrated on a single chip, perform direct memory access control for data transfer from the external memory to the internal RAM An LSI having DMA control means;
A state transition type communication processing apparatus comprising: a ROM storing a communication processing program connected to the LSI.
該マイクロプロセッサは、プログラム開始時に、状態遷移番号で管理された各状態に対して、状態の入場処理、定常処理、退場処理、複数の遷移処理の各処理のプログラムモジュール番号をリストアップした状態遷移テーブルを、前記外部メモリから内部RAMに転送し、
該状態遷移テーブルを用いて、変復調のシンボルタイミングなどの時間間隔をトリガとしてシーケンス処理を行い、
遷移条件が一致した場合には、次の遷移先に遷移するように動作し、
状態を遷移する度毎に、次状態の入場処理を行った後、次状態の通常処理、退場処理、複数の遷移処理の全ての関連モジュールを前記外部メモリから前記内部RAMにダウンロードして、プログラムを展開する
ことを特徴とする状態遷移型通信処理方法。 The microprocessor of the programs, the sequence processor to an external memory, the other processing unit in the LSI ROM, stores respectively,
At the start of the program, the microprocessor makes a state transition that lists the program module number of each process of the state entry process, steady process, exit process, and multiple transition processes for each state managed by the state transition number Transferring the table from the external memory to the internal RAM;
Using the state transition table , sequence processing is performed with a time interval such as a symbol timing of modulation / demodulation as a trigger,
When the transition condition matches , it operates to transition to the next transition destination,
To degrees every time a state transition, after the entry process of the next state, the normal processing of the next state, exit processing, download all relevant modules of the plurality of transition process from the external memory to the internal RAM, and program A state transition type communication processing method, characterized by:
前記マイクロプロセッサは、DMA転送終了割り込み機能を有することで、前記外部メモリから前記内部RAMにモジュールをダウンロードする場合には、変復調処理などの信号処理を実行し、
モジュール毎にDMA転送を用いてバックグラウンド処理することで、メモリ転送処理の間、変復調処理を停スすることなく、次のシーケンス処理タイミングまでに転送を終了させることを特徴とする状態遷移型通信処理方法。 In the state transition type communication processing method according to claim 2,
The microprocessor to have a DMA transfer end interrupt function, when downloading the module to the internal RAM from the external memory, performs signal processing such as modulation and demodulation processing,
State-transition-type communication characterized in that by performing background processing using DMA transfer for each module, the transfer is completed by the next sequence processing timing without stopping the modulation / demodulation processing during the memory transfer processing Processing method.
前記マイクロプロセッサは、前記状態遷移テーブルで使用するモジュール番号に対して、モジュール格納アドレスとモジュールサイズが記憶されたメモリ転送用モジュールアドレステーブルを有することで、モジュールを内部RAMに転送した後、モジュール番号と転送先のモジュール実行アドレスが記憶された実行用モジュールアドレステーブルを該内部RAM内に生成し、
メモリ転送時とモジュール実行時に、該テーブルを切り替え、モジュールアドレスを動的に変更することを特徴とする状態遷移型通信処理方法。 In the state transition type communication processing method according to claim 2,
The microprocessor, to the module number to be used in the state transition table, that module storage address and the module size is have a memory transfer module address table stored, after transferring the module to the internal RAM, and modules Generate an execution module address table in which the number and transfer destination module execution address are stored in the internal RAM,
At the time of memory transfer and the module executes, it switches the 該Te Buru, stateful communication processing method characterized by dynamically changing the module address.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002297189A JP3867911B2 (en) | 2002-10-10 | 2002-10-10 | State transition type communication processing apparatus and processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002297189A JP3867911B2 (en) | 2002-10-10 | 2002-10-10 | State transition type communication processing apparatus and processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004135030A JP2004135030A (en) | 2004-04-30 |
| JP3867911B2 true JP3867911B2 (en) | 2007-01-17 |
Family
ID=32286954
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002297189A Expired - Fee Related JP3867911B2 (en) | 2002-10-10 | 2002-10-10 | State transition type communication processing apparatus and processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3867911B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9940273B2 (en) * | 2014-11-19 | 2018-04-10 | Texas Instruments Incorporated | Dynamic RAM sharing in software-defined TDD communication |
-
2002
- 2002-10-10 JP JP2002297189A patent/JP3867911B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004135030A (en) | 2004-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2930257B2 (en) | Portable electronic devices | |
| CN113485754B (en) | Chip startup method, device and electronic equipment | |
| US20040064606A1 (en) | Memory system allowing fast operation of processor while using flash memory incapable of random access | |
| CN111752582A (en) | Software updating method and device in local area network and electronic equipment | |
| Bender et al. | Unix for nomads: Making unix support mobile computing | |
| FI112301B (en) | Extension short | |
| JP3867911B2 (en) | State transition type communication processing apparatus and processing method | |
| EP1428119A1 (en) | Task switching system, task switching method and dsp modem | |
| US20020078339A1 (en) | Booting system and booting method for an assistant operation system | |
| US20020095437A1 (en) | Information processing apparatus, method for utilizing the same and program for information processing apparatus | |
| KR20030028095A (en) | MEGACO Version Management Method Between The Media Gateway And Media Gateway Controller | |
| JP2930258B2 (en) | Portable electronic devices | |
| WO2002075568A1 (en) | A method and a single chip system capable of loading and running specific operating system | |
| US20010052068A1 (en) | Method of transferring program to internal memory from external memory and microcomputer using the same | |
| JP2001297006A (en) | Semiconductor integrated circuit device and information processing system | |
| JP4451558B2 (en) | Modem using DSP signal processor | |
| JP2002099517A (en) | Starting method of slave microcomputer and microcomputer device | |
| KR100429258B1 (en) | Structure and Method of Configuration Saving of Extendable Memory Interface in the Router | |
| EP1365327B1 (en) | A method and a network device having a flexible EEPROM for setting configuration settings | |
| KR20040051276A (en) | Method for downloading and supporting nfs for uia boot loader | |
| US7143212B1 (en) | Modem data transfer function wherein code is downloaded during inactivity intervals wherein data transfer function is suspended | |
| CN118338388A (en) | A communication method, control device, electronic device and storage medium | |
| KR20020012448A (en) | Modem and Method for update the same | |
| KR100367345B1 (en) | Device for controlling processor in imt-2000 communication board | |
| CN100407130C (en) | Method for constructing a program-controlled circuit arrangement and circuit arrangement for implementing the method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050314 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060704 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060904 |
|
| 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: 20060922 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061005 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101020 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111020 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121020 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131020 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |