JP4153846B2 - Cyclic message transfer method and relay slave station - Google Patents
Cyclic message transfer method and relay slave station Download PDFInfo
- Publication number
- JP4153846B2 JP4153846B2 JP2003293027A JP2003293027A JP4153846B2 JP 4153846 B2 JP4153846 B2 JP 4153846B2 JP 2003293027 A JP2003293027 A JP 2003293027A JP 2003293027 A JP2003293027 A JP 2003293027A JP 4153846 B2 JP4153846 B2 JP 4153846B2
- Authority
- JP
- Japan
- Prior art keywords
- cyclic
- message
- cyclic message
- slave station
- relay
- 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
- Mobile Radio Communication Systems (AREA)
- Radio Relay Systems (AREA)
- Small-Scale Networks (AREA)
Description
広範囲にわたって点在する測定ポイントからのデータを、近距離通信手段を用いて多段中継して収集するデータ収集システムにおける巡回電文転送技術に関する。 The present invention relates to a cyclic message transfer technique in a data collection system that collects data from measurement points scattered over a wide range by multi-stage relay using short-range communication means.
広範囲にわたって点在する複数の測定ポイントからのデータを、小電力無線などの近距離通信手段を用いて多段中継して収集する多段中継データ収集システムの一形態として、経路指定局と複数の中継子局でシステムを構成することがある。 As one form of a multi-stage relay data collection system that collects data from a plurality of measurement points scattered over a wide range by multi-stage relay using short-range communication means such as low-power radio, a routing station and a plurality of relay elements The system may consist of stations.
このシステムでは、経路指定局が経路指定を含む指令電文を中継子局に転送し、中継子局は自局が測定ポイントであるならデータ収集を行うとともに収集したデータを指令電文に付加して、経路指定に従い他の中継子局に順次転送していく。 In this system, the routing station forwards the command message including the routing to the relay slave station, and if the relay slave station is a measurement point, it collects data and adds the collected data to the command message, It is sequentially transferred to other relay slave stations according to the route designation.
そして、その中継子局を巡回する指令電文が最終的に経路指定局に戻ってくることによりデータ収集が行われる。 Then, data collection is performed when a command message that circulates the relay slave station finally returns to the routing station.
多段中継データ収集システムにおける巡回経路としては、図5に示すように、経路指定局Cと複数の測定ポイント2,3,6,9(2重枠で表示)を含む中継子局1〜11をループ状に接続した巡回経路C→1→2→3→4→5→6→7→8→9→10→11→Cを想像しがちであるが、このような形態の巡回経路はまれである。
As shown in FIG. 5, as a cyclic route in the multistage relay data collection system,
例えば、図5において、中継子局4と中継子局6が通信可能であれば、中継子局5は不要であり、また、中継子局3と中継子局9が通信可能であれば中継子局7,8,10,11も不要となる。
For example, in FIG. 5, if the relay slave station 4 and the
したがって、上のような条件では、図6に示すように、C→1→2→3→9→3→4→6→4→3→2→1→Cの巡回経路とすればよく、このような経路構成をとることが中継子局数を減らして経済的に多段中継データ収集システムを構築する観点から一般的に行われる(例えば、特許文献1参照)。 Therefore, under the above conditions, as shown in FIG. 6, it may be a cyclic route of C → 1 → 2 → 3 → 9 → 3 → 4 → 6 → 4 → 3 → 2 → 1 → C. Such a path configuration is generally performed from the viewpoint of economically constructing a multistage relay data collection system by reducing the number of relay slave stations (see, for example, Patent Document 1).
図6を例にして説明すると、経路指定局Cが、各測定ポイント(中継子局2,3,6,9)からデータを収集するデータ転送要求と巡回経路C→1→2→3→9→3→4→6→4→3→2→1→Cの情報を含む巡回電文(指令電文)を、中継子局1に転送し、中継子局1は自局が測定ポイントでないので、経路指定情報に従い中継子局2に指令電文を転送する。
Referring to FIG. 6 as an example, the routing station C collects data from each measurement point (
中継子局2は、自局が測定ポイントであるのでデータ収集を行うとともにそのデータを指令電文に付加して、次経路の中継子局3に転送する。
The
このようにして、指令電文を指定経路とおりに順次転送していき、中継子局9および中継子局6でおり返されて、最終的に経路指定局Cへ戻ってくる。
In this manner, the command message is sequentially transferred according to the designated route, returned by the
これにより、指令電文に付加された各測定ポイントの収集データが、経路指定局Cに集約される。なお、巡回経路C→1→2→3→9→3→4→6→4→3→2→1→Cの中継子局2および中継子局3は、巡回電文の往路でデータ収集を実行するが、中継子局2および中継子局3は往路でデータ収集をすでに実行済みであるので、巡回経路の復路ではデータ収集を行わない。
Thereby, the collected data of each measurement point added to the command message is collected in the routing station C. It should be noted that the
近距離通信手段を持つ中継子局を多段で接続して電文を中継することにより、データ収集システムを溝築する場合は、コストが高い遠隔通信手段を採用しなかったことから判るように、いかに低コストでシステムを構築できるかがポイントとなる。 If you build a data collection system by connecting relay slave stations with short-range communication means in multiple stages and relaying messages, as you can see from the fact that high-cost remote communication means was not adopted, how The key is whether the system can be built at low cost.
そのひとつの方策として、同じ多段中継データ収集システムにおいて、複数の異なるデータ収集をすることによって、相対的なコスト削減をすることが考えられる。 As one of the measures, it is conceivable to reduce the relative cost by collecting a plurality of different data in the same multistage relay data collection system.
例えば、電力量計の検針値、柱上変圧器の電流電圧値、配電線地絡電流などのデータ収集を同じ多段中継データ収集システムで実行することが考えられる。 For example, it is conceivable to collect data such as a meter reading value of a watt-hour meter, a current voltage value of a pole transformer, and a distribution line ground fault current in the same multistage relay data collection system.
このような、データ収集間隔、データ収集時間の異なる複数のデータ収集を、1つの多段中継データ収集システムにおいて実行するためには、それぞれ異なる複数の巡回経路を設定し、それぞれの巡回経路上に巡回電文が同時に存在する状態も考慮せざるを得ない。 In order to execute a plurality of data collections with different data collection intervals and data collection times in a single multi-stage relay data collection system, a plurality of different cyclic routes are set and the cyclic routes are set on the respective cyclic routes. The situation where a message exists simultaneously must be considered.
例えば、図6において、中継子局3が、第1の巡回経路上を巡回する巡回電文Aを持ち、中継子局4が、第2の巡回経路上を巡回する巡回電文Bを持っているならば、同時刻に、電文Aを中継子局3から中継子局4へ転送し、電文Bを中継子局4から中継子局3へ送信する状況が発生して、お互いがデータ転送先となり、衝突状態が発生するおそれがある。 For example, in FIG. 6, if the relay slave station 3 has a cyclic message A that circulates on the first cyclic route, and the relay slave station 4 has a cyclic message B that circulates on the second cyclic route, For example, at the same time, a situation occurs in which the message A is transferred from the relay slave station 3 to the relay slave station 4, and the message B is transmitted from the relay slave station 4 to the relay slave station 3. Collision may occur.
巡回経路が、図5のようなループ状の形態であれば、この衝突状態は発生しないが、一般的な図6のような形態であれば、巡回経路上に複数の巡回電文が同時に存在するときには衝突状態の発生は避けられない。 If the cyclic route is in a loop form as shown in FIG. 5, this collision state does not occur. However, if the cyclic route is in a general form as shown in FIG. 6, a plurality of cyclic telegrams exist simultaneously on the cyclic route. Sometimes collisions are unavoidable.
もちろん、各中継子局が少なくとも2つの巡回電文を格納できる大きさのデータ格納手段(メモリ)を持つ構成であるならば、どちらかの転送を優先して行うことによって、容易にその衝突状態を回避することが可能となる。 Of course, if each relay slave station is configured to have data storage means (memory) of a size that can store at least two cyclic messages, it is possible to easily determine the collision state by giving priority to either transfer. It can be avoided.
しかし、測定ポイントの中継子局ごとにデータが付加されていく巡回電文を転送する方式では、もともと中継子局のデータ格納手段の容量を大きくしなければならず、このようなデータ収集システムにおいて、前述の方法で複数の異なるデータ収集における衝突の発生を回避するためにデータ格納手段を大きくすると、さらに、データ格納手段の負担が増えてしまい、低コストでシステムを構成できなくなるという問題があった。
上記問題に鑑み、本発明は、近距離の通信手段を有する中継子局を多段に接続してデータ収集するデータ収集システムにおいて、限られた容量のデータ格納手段(巡回電文格納手段)を有する中継子局を用いて、データ転送の衝突の発生に対処して巡回電文を交換できる方法およびこの方法を実行できる中継子局を提供することを目的とする。 In view of the above problems, the present invention provides a data collection system that collects data by connecting relay slave stations having short-distance communication means in multiple stages, and has a limited capacity data storage means (cyclic message storage means). It is an object of the present invention to provide a method capable of exchanging cyclic telegrams in response to the occurrence of a data transfer collision using a slave station and a relay slave station capable of executing this method.
上記課題を解決するために、本発明は、巡回電文作成機能および通信機能を有する経路指定局と、巡回電文を格納する巡回電文格納手段およびデータ収集機能および巡回電文中継機能を有する中継子局を、順次多段に接続した、多段中継データ収集システムの巡回電文転送方法において、経路指定局が、経路指定および中継子局からデータを収集するデータ収集指令を含む巡回電文を作成送出し、中継子局が巡回電文に含まれるデータ収集指令に基づいて収集したデータを付加した巡回電文を経路指定に基づいて中継し、2つの中継子局間でお互いが巡回電文の転送先となったときに、巡回電文格納手段の空き領域サイズの小さい方の中継子局から、巡回電文格納手段の空き領域サイズの大きい方の中継子局に巡回電文を細分化して送信し、小さいほうの空き領域サイズ大きくしてから互に巡回電文を送信し交換することで、複数の巡回電文を対向する中継子局間で転送させることを可能とした。 In order to solve the above problems, the present invention provides a routing station having a cyclic message creation function and a communication function, a cyclic message storage means for storing the cyclic message, a relay slave station having a data collection function and a cyclic message relay function. In the cyclic message transfer method of the multistage relay data collection system, which is sequentially connected in multiple stages, the routing station creates and sends a cyclic message including a data collection command for collecting data from the routing and relay slave stations, and the relay slave station Relays a cyclic message to which data collected based on the data collection command included in the cyclic message is added based on the route specification, and the cyclic message is transferred between the two relay slave stations. The relay message is subdivided and transmitted from the relay slave station with the smaller free space size of the message storage means to the relay slave station with the larger free space size of the cyclic message storage means, By sending a mutually cyclic telegram from the larger free area size of the sewing replacement, it made it possible to be transferred between the relay slave stations facing the plurality of cyclic telegram.
すなわち、本発明は、データ収集指令と経路指定とを含む巡回電文作成機能および中継子機との間で通信する通信機能を有する経路指定局と、巡回電文を格納する巡回電文格納手段およびデータ収集指令に基づいてデータを収集するデータ収集機能および受信した巡回電文を巡回経路指定にもとづいて転送する巡回電文中継機能を有する中継子局とを、順次多段に接続した多段中継データ収集システムでの巡回電文転送方法において、経路指定局が、経路指定および中継子局からデータを収集するデータ収集指令を含む巡回電文を作成送出し、中継子局が、巡回電文に含まれるデータ収集指令に基づいて収集したデータを付加した巡回電文を経路指定に基づいて中継し、2つの中継子局間でお互いが巡回電文の転送先となったときに、巡回電文格納手段の空き領域サイズの小さい方の中継子局から、巡回電文格納手段の空き領域サイズの大きい方の中継子局に巡回電文を細分化して送信し、空き領域サイズの小さいほうの空き領域サイズ大きくしてから順に巡回電文を送信し交換する。 That is, the present invention relates to a routing station having a cyclic message creation function including a data collection command and routing and a communication function for communicating with a relay slave unit, a cyclic message storage means for storing a cyclic message, and data collection. Travel in a multi-stage relay data collection system in which a data collection function that collects data based on commands and a relay slave station that has a cyclic message relay function that forwards received cyclic messages based on cyclic routing are sequentially connected in multiple stages In the message transfer method, the routing station creates and sends a cyclic message including a data collection command for collecting data from the routing and relay slave station, and the relay slave station collects based on the data collection command included in the cyclic message The cyclic message with the added data is relayed based on the route specification, and when the two relay slave stations mutually become the transfer destination of the cyclic message, The relay message is subdivided and transmitted from the relay slave station with the smaller free area size of the storage means to the relay slave station with the larger free area size of the cyclic message storage means, and the free area size with the smaller free area size is sent. Sending and exchanging cyclic messages in order after increasing the size.
また、本発明は、上記巡回電文転送方法が適用される多段中継データ収集システムを構成する中継子局に、下記(ア)〜(ケ)の手段を設け、巡回電文格納手段の空き領域が大きい中継子局へ最大その空き容量分の巡回電文を細分化して転送し、この転送の結果生じた巡回電文格納手段の空き領域に最初に空き領域が大きかった中継子局から転送を受けた巡回電文を格納し、細分化した巡回電文の残りを最初に空き領域が大きかった中継子局へ転送するようにした。
(ア)巡回電文などを送受信する近距離通信手段、
(イ)受信した巡回電文を解析して自己に対するデータ収集指令が含まれているか否かおよび巡回経路などを判断する巡回電文中継手段、
(ウ)送受信する巡回電文を格納する巡回電文格納手段、
(エ)データ収集指令に基づいてデータを収集し巡回電文に付加するデータ収集付加手段、
(オ)収集データを付加した巡回電文の容量を当該巡回電文に付加して巡回電文転送要求を作成する巡回電文作成手段、
(カ)巡回電文転送要求受信時に転送要求のあった巡回電文の容量と自己が保有する巡回電文の容量から得られる自己の巡回電文格納手段の空き容量を比較する容量比較手段、
(キ)巡回電文転送要求のあった巡回電文の容量が自己の巡回電文格納手段の空き容量よりも大きいときに自己の巡回電文格納手段の空き容量を含む転送拒否を作成する転送拒否作成手段、
(ク)転送拒否を受けた場合に自己の巡回電文格納手段の空き容量に相当する大きさに巡回電文を細分化して送信するよう要求する細分化転送要求を作成する細分化転送要求手段、
(ケ)細分化転送要求を受信したときに自己の巡回電文を要求された大きさに細分化する巡回電文細分化手段。
Further, according to the present invention, the relay slave stations constituting the multistage relay data collection system to which the above cyclic message transfer method is applied are provided with the following means (a) to (g), and the free area of the cyclic message storage means is large: The cyclic message for the maximum available capacity is divided and transferred to the relay slave station, and the cyclic message that has been transferred from the relay slave station that has the largest free area in the free area of the cyclic message storage means generated as a result of this transfer. And the remainder of the segmented cyclic message is transferred to the relay slave station that has the largest free space.
(A) Short-distance communication means for sending and receiving cyclic messages, etc.
(A) a cyclic message relay means for analyzing the received cyclic message and judging whether or not a data collection command for itself is included and a cyclic route;
(C) cyclic message storage means for storing cyclic messages to be transmitted and received,
(D) Data collection / addition means for collecting data based on the data collection command and adding it to the circulating message;
(E) a cyclic message creation means for creating a cyclic message transfer request by adding the capacity of the cyclic message to which the collected data is added to the cyclic message;
(F) Capacity comparison means for comparing the capacity of the cyclic message for which a transfer request was made at the time of receiving the cyclic message transfer request and the free capacity of its own cyclic message storage means obtained from the capacity of the cyclic message held by itself.
(G) a transfer rejection creation means for creating a transfer rejection including the free capacity of its own cyclic message storage means when the capacity of the cyclic message requested to be transferred is larger than the free capacity of its own cyclic message storage means;
(G) a fragmented transfer request means for creating a fragmented transfer request for requesting that a cyclic message be subdivided and transmitted to a size corresponding to the free capacity of its own circulating message storage means when receiving a transfer rejection;
(G) Cyclic message subdivision means for subdividing its own cyclic message into a requested size when a subdivision transfer request is received.
多段中継データ収集システムにおいて、システムを構成する各中継子局が、単一のデータ収集に必要な巡回電文格納手段を有することによって、複数のデータ収集を実行できることになり、システムの相対的なコストを低減することができる。
本発明は、中継子局が付加していくデータから構成される巡回電文の格納領域を1つしか持たない中継子局を用いて、お互いが巡回電文転送先となり衝突状態となった中継子局間で、巡回電文格納手段の空き領域の大きい方のサイズに巡回電文を細分化して交互に送信し交換することで、複数の巡回電文を転送させることができる。
In a multi-stage relay data collection system, each relay slave station constituting the system has a cyclic message storage means necessary for single data collection, so that a plurality of data collection can be executed, and the relative cost of the system Can be reduced.
The present invention uses a relay slave station having only one cyclic message storage area composed of data to be added by a relay slave station, and each relay slave station becomes a cyclic message transfer destination and enters a collision state. A plurality of cyclic messages can be transferred by subdividing the cyclic messages into the larger size of the free area of the cyclic message storage means, and alternately transmitting and exchanging them.
本発明にかかる巡回電文転送方式が適用される、多段中継データ収集システムの構成を図1を用いて説明する。図1に示すように、本発明において、多段中継データ収集システムは、経路指定局3と、第1の中継子局1−1、第2の中継子局1−2、第3の中継子局1−3、第4の中継子局1−4、第6の中継子局1−6、第9の中継子局1−9が、図示のよううに配置されている。各中継子局1−1〜1―6は、それぞれ隣接する中継子局と近距離通信によって通話が可能となるように配置されている。 A configuration of a multistage relay data collection system to which the cyclic message transfer method according to the present invention is applied will be described with reference to FIG. As shown in FIG. 1, in the present invention, the multi-stage relay data collection system includes a routing station 3, a first relay slave station 1-1, a second relay slave station 1-2, and a third relay slave station. 1-3, the fourth relay slave station 1-4, the sixth relay slave station 1-6, and the ninth relay slave station 1-9 are arranged as illustrated. Each of the relay slave stations 1-1 to 1-6 is arranged so as to be able to make a call by short-range communication with the adjacent relay slave station.
この多段中継データ収集システムにおいて、2つのデータ収集を行う場合には、実線で示した経路指定局3→中継子局1−1→中継子局1−2→中継子局1−3→中継子局1−6→中継子局1−3→中継子局1−4→中継子局1−5→中継子局1−4→中継子局1−3→中継子局1−2→中継子局1−1→経路指定局3の巡回経路上に巡回電文Bを巡回させ、破線で示した経路指定局3→中継子局1−1→中継子局1−2→中継子局1−3→中継子局1−4→中継子局1−5→中継子局1−4→中継子局1−3→中継子局1−2→中継子局1−1→経路指定局3の巡回経路上に巡回電文Aを巡回させることが行われる。 In this multistage relay data collection system, when two data collection is performed, the routing station 3 indicated by the solid line → the relay slave station 1-1 → the relay slave station 1-2 → the relay slave station 1-3 → the relay slave Station 1-6 → Relay slave station 1-3 → Relay slave station 1-4 → Relay slave station 1-5 → Relay slave station 1-4 → Relay slave station 1-3 → Relay slave station 1-2 → Relay slave station 1-1 → Circuit message B is circulated on the cyclic route of the routing station 3, and the routing station 3 indicated by the broken line → relay slave station 1-1 → relay slave station 1-2 → relay slave station 1-3 → Relay slave station 1-4 → Relay slave station 1-5 → Relay slave station 1-4 → Relay slave station 1-3 → Relay slave station 1-2 → Relay slave station 1-1 → On the route of the routing station 3 The circulating telegram A is circulated at a time.
巡回電文Aは、測定ポイントが中継子局1−1と中継子局1−4であり、例えば、柱上変圧器電流電圧値のデータ収集を行う。巡回電文Bは、測定ポイントが中継子局1−2、中継子局1−3、中継子局1−5、中継子局1−6であり、例えば、電力量計検針値のデータ収集を行う。 In the cyclic message A, the measurement points are the relay slave station 1-1 and the relay slave station 1-4, and for example, collect data on pole transformer current voltage values. In the cyclic message B, the measurement points are the relay slave station 1-2, the relay slave station 1-3, the relay slave station 1-5, and the relay slave station 1-6. For example, the data collection of the watt-hour meter reading value is performed. .
中継子局1−3が巡回電文Aを持ち、中継子局1−4が、巡回電文Bを持っているならば、例えば、同時刻に、電文Aを中継子局1−3から中継子局1−4へ転送し、電文Bを中継子局1−4から中継子局1−3へ送信する状況が発生して、お互いがデータ転送先となり、衝突状態が発生するおそれがある。 If the relay slave station 1-3 has the cyclic message A and the relay slave station 1-4 has the cyclic message B, for example, the message A is transferred from the relay slave station 1-3 to the relay slave station at the same time. There is a possibility that a situation occurs in which the message B is transmitted from the relay slave station 1-4 to the relay slave station 1-3 and the data B is transferred to the data transfer destination.
本発明は、巡回電文作成機能および通信機能を有する経路指定局3と、巡回電文の格納手段およびデータ収集機能および巡回電文中継機能を有する中継子局1からなる、多段中継データ収集システムの巡回電文転送方法において、巡回電文転送処理が衝突状態となった2つの中継子局(例えば、1−3,1−4)において、それぞれの巡回電文格納手段がともに全て使用されていることはないことに着目して、衝突した中継子局間で、巡回電文格納構成の空き領域の大きい方の中継子局の巡回電文格納手段空きサイズに巡回電文を細分化して、交互に巡回電文を送信し交換することで、巡回電文格納手段を1つしか持たない中継子局を用いて、複数の巡回電文を転送させるようにした。
The present invention relates to a cyclic message of a multistage relay data collection system comprising a routing station 3 having a cyclic message creation function and a communication function, and a
本発明の巡回電文転送方式が適用される中継子局の構成を、図2を用いて説明する。本発明にかかる巡回電文転送方法が適用される多段中継データ収集システムを構成する中継子局1は、近距離通信手段11と、巡回電文中継手段12と、巡回電文格納手段13と、データ収集付加手段14と、巡回電文作成手段15と、容量比較手段16と、転送拒否作成手段17と、細分化転送要求手段18と、巡回電文細分化手段19とを有して構成される。
The configuration of the relay slave station to which the cyclic message transfer system of the present invention is applied will be described with reference to FIG. The
近距離通信手段11は、例えばPHSのトランシーバ機能を利用した通信手段であり、対向する中継子局間または経路指定局との間で、転送要求などを送受信して通話路を確立させる機能、および、確立した通話路を介して巡回電文などを送受信する機能を有している。 The short-range communication means 11 is a communication means using, for example, a PHS transceiver function, and a function for establishing a speech path by transmitting and receiving a transfer request between opposing relay slave stations or a routing station, and In addition, it has a function of transmitting and receiving a traveling telegram and the like through an established communication path.
巡回電文中継手段12は、受信した巡回電文を解析する手段であり、巡回経路を判断する機能、自己に対するデータ収集指令が含まれているときにこのデータ収集指令をデータ収集付加手段へ転送する機能、受信した巡回電文を巡回電文格納手段に転送する機能、巡回電文格納手段からの巡回電文または巡回電文細分化手段からの細分化巡回電文を近距離通信手段へ転送する機能を有している。さらに、巡回電文中継手段12は、受信した巡回電文が次の巡回経路へ中継するものであるときに、そのまま中継する働きを有している。
The cyclic
巡回電文格納手段13は、送受信する巡回電文を格納する手段であり、1巡回電文を確実に格納できる容量、例えば512キロバイトの容量を有している。 The cyclic message storage means 13 is a means for storing a cyclic message to be transmitted and received, and has a capacity capable of reliably storing one cyclic message, for example, a capacity of 512 kilobytes.
データ収集付加手段14は、データ収集指令に基づいてデータを収集し巡回電文に付加する手段である。
The data collection /
巡回電文作成手段15は、収集データを付加した巡回電文の容量を当該巡回電文に付加して巡回電文転送要求を作成する。 The cyclic message creation means 15 adds the capacity of the cyclic message to which the collected data is added to the cyclic message and creates a cyclic message transfer request.
容量比較手段16は、巡回電文転送要求受信時に、転送要求のあった巡回電文の容量と、自己が保有する巡回電文の容量から得られる自己の巡回電文格納手段の空き容量を比較する手段であり、転送要求のあった巡回電文の容量が自己の空き容量以下であれば転送要求受入を相手側中継子局に送信し、転送要求のあった巡回電文の容量が自己の空き容量以上であれば転送拒否命令を転送拒否作成手段17へ送出する働きを有している。
The capacity comparison means 16 is a means for comparing the capacity of the cyclic message for which the transfer request has been made and the free capacity of its own cyclic message storage means obtained from the capacity of the cyclic message held by itself when receiving the cyclic message transfer request. If the capacity of the cyclic message requested for transfer is less than or equal to its own free capacity, a transfer request acceptance is transmitted to the remote relay station, and if the capacity of the cyclic message requested for transfer is equal to or greater than its own free capacity It has a function of sending a transfer rejection command to the transfer
転送拒否作成手段17は、転送拒否命令を受けて自己の巡回電文格納手段の空き容量を含む転送拒否を作成至近距離通信手段11へ送出する手段である。 The transfer rejection creation means 17 is a means for receiving a transfer rejection command and sending a transfer rejection including the free capacity of its own cyclic message storage means to the creation short distance communication means 11.
細分化転送要求手段18、対向する中継子局から転送拒否を受けた場合に自己の巡回電文格納手段の空き容量に相当する大きさに巡回電文を細分化して送信するよう要求する細分化転送要求を作成する手段である。 Subdivision transfer request means 18, subdivision transfer request for requesting to subdivide and transmit a cyclic message to a size corresponding to the free capacity of its own cyclic message storage means when a transfer rejection is received from the opposite relay slave station Is a means of creating.
巡回電文細分化手段19は、対向する中継子局から細分化転送要求を受信したときに、指定された大きさの巡回電文を巡回電文格納手段から取り出し、細分化巡回電文を作成する手段である。 The cyclic message segmentation means 19 is a means for creating a segmented cyclic message by taking out a cyclic message of a designated size from the cyclic message storage means when receiving a segmentation transfer request from the opposite relay slave station. .
本発明にかかる巡回電文転送方法を、図3および図4を用いて説明する。ここでは、図1において、例えば、破線で示される巡回経路を持ち測定ポイントが中継子局1−1,1−4である電力量計検針値収集のための巡回電文Aと、実線で示される巡回経路を持ち測定ポイントが中継子局1−2,1−3,1−5,1−6である柱上変圧器電流電圧値収集のための巡回電文Bが、同一時間帯にデータ収集システム上に存在することを前提として、巡回電文転送方法を説明する。 A cyclic message transfer method according to the present invention will be described with reference to FIGS. Here, in FIG. 1, for example, a cyclic telegram A for collecting meter readings having a cyclic route indicated by a broken line and measuring points being relay slave stations 1-1 and 1-4, and a solid line. A cyclic telegram B for collecting current-voltage values on pole transformers having a cyclic path and measuring points being relay slave stations 1-2, 1-3, 1-5, and 1-6 is a data collection system in the same time zone. The cyclic message transfer method will be described on the assumption that it exists above.
ここで、中継子局1−3が巡回電文Aの転送を中継子局1−4に要求し、このとき中継子局1−4が巡回電文Bの転送を中継子局1−3に要求する状態にあるとする。この状態では、中継子局1−3と中継子局1−4は、互いに巡回電文(データ)の転送先となり、巡回電文Aと巡回電文Bのサイズの和が、それぞれの中継子局の巡回電文格納手段のサイズ以上になって、正常に巡回電文を転送できなくなるデータ転送の衝突状態が生じる。 Here, the relay slave station 1-3 requests the relay slave station 1-4 to transfer the cyclic message A, and at this time, the relay slave station 1-4 requests the relay slave station 1-3 to transfer the cyclic message B. Suppose you are in a state. In this state, the relay slave station 1-3 and the relay slave station 1-4 are the destinations of the cyclic message (data), and the sum of the sizes of the cyclic message A and the cyclic message B is the cyclic value of each relay slave station. When the size of the message storage means is exceeded, a data transfer collision state occurs in which the cyclic message cannot be transferred normally.
中継子局1−3および中継子局1−4は、ともに512kバイトの巡回電文格納手段を有している。この実施例では、図4(A)に示すように、中継子局1−3が柱上変圧器電流電圧値収集の220kバイトの巡回電文Aを保持し、中継子局1−4が電力量計検針値収集の480kバイトの巡回電文Bを保持しているものとする。 The relay slave station 1-3 and the relay slave station 1-4 both have 512 kbytes of cyclic message storage means. In this embodiment, as shown in FIG. 4 (A), the relay slave station 1-3 holds a 220 kbytes cyclic message A of the pole transformer current voltage value collection, and the relay slave station 1-4 It is assumed that a 480-kbyte cyclic message B for collecting meter reading values is held.
図3に示すように、中継子局1−3が、中継子局1−4にリンク接続し、巡回電文Aの転送要求(転送容量が220kバイトであることを含む)を、中継子局1−4へ送信する(ステップS1)。
As shown in FIG. 3, the relay slave station 1-3 is linked to the relay slave station 1-4 and sends a transfer request for the cyclic message A (including that the transfer capacity is 220 kbytes) to the
中継子局1−4は、転送要求にある転送容量の大きさに基づいて自己の巡回電文格納手段の空き領域が転送要求に応えられるか否かを判断し(ステップS2)、転送先が中継子局1−3である巡回電文B(480kバイト)を保持していることから、その転送先が中継子局1−3であり480kバイトの巡回電文を保持している旨を伝えて転送要求を拒否する(ステップS3)。受入可であるときには、通常の転送処理を実行する。 The relay slave station 1-4 determines whether or not the free area of its own cyclic message storage means can respond to the transfer request based on the size of the transfer capacity in the transfer request (step S2), and the transfer destination is relayed. Since it holds the cyclic message B (480 kbytes) that is the slave station 1-3, it informs that the transfer destination is the relay slave station 1-3 and holds the cyclic message of 480 kbytes, and transfers it. Is rejected (step S3). When it is acceptable, normal transfer processing is executed.
転送拒否を受けた中継子局1−3は、中継子局1−4との間が衝突状態であることを認識して、空き領域の少ない中継子局1−4から巡回電文Bを最大292kバイトのデータに分割して転送するよう、中継子局1−3へ細分化転送を要求する(ステップS4)。 The relay slave station 1-3 that has received the transfer refusal recognizes that there is a collision with the relay slave station 1-4, and sends a cyclic message B up to 292k from the relay slave station 1-4 with a small free area. A subdivision transfer is requested to the relay slave station 1-3 so as to be divided and transferred into byte data (step S4).
中継子局1−4は、細分化転送要求を受入れて、応答を返し(ステップS5)た後、巡回電文格納手段から巡回電文Bを先頭から292kバイト分取り出して細分化処理を実行し(ステップS6)、細分化した巡回電文B−1として中継子局1−3に転送する(ステップS7:図4(B))。 The relay slave station 1-4 accepts the subdivision transfer request and returns a response (step S5), and then extracts 292 kbytes of the cyclic message B from the cyclic message storage means from the top and executes the subdivision process (step S5). S6), it transfers to the relay slave station 1-3 as a segmented cyclic telegram B-1 (step S7: FIG. 4B).
細分化巡回電文B−1(292kバイト)を受信した中継子局1−3は、細分化巡回電文B−1を巡回電文格納手段の空き領域先頭から格納する(ステップS8)とともに、受信応答を中継子局1−4へ返送する(ステップS9)。 The relay slave station 1-3 that has received the segmented cyclic message B-1 (292 kbytes) stores the segmented cyclic message B-1 from the beginning of the free area of the cyclic message storage means (step S8), and also receives a reception response. It returns to the relay slave station 1-4 (step S9).
中継子局1−4は、残りの巡回電文Bのデータ(188kバイト)を巡回電文格納手段内で前詰めに移動して(図4(C))324kバイトの空き領域を作成し(ステップS10:図4(D))、中継子局1−3に転送要求受入を送信する(ステップS11)。 The relay slave station 1-4 moves the remaining data of the cyclic message B (188 kbytes) to the front in the cyclic message storage means (FIG. 4C), and creates a 324 kbyte free area (step S10). : (D) of FIG. 4), transfer request acceptance is transmitted to the relay slave station 1-3 (step S11).
転送要求受入を受信した中継子局1−3は、220kバイトの巡回電文Aを中継子局1−4に送信する(ステップS12:図4(E))。 The relay slave station 1-3 that has received the transfer request acceptance transmits a 220 kbyte cyclic message A to the relay slave station 1-4 (step S12: FIG. 4E).
巡回電文Aを受信した中継子局1−4は、その電文を巡回電文格納手段の空き領域先頭から格納する(ステップS13:図4(F))とともに、受信応答を中継子局1−3に返送する(ステップS14)。 The relay slave station 1-4 that has received the cyclic message A stores the message from the beginning of the free area of the cyclic message storage means (step S13: FIG. 4F), and also receives a reception response to the relay slave station 1-3. It returns (step S14).
中継子局1−4は、巡回電文格納手段に格納された巡回電文B−1の格納データ(292kバイト)を前詰めに移動して(ステップS15:図4(G))、細分化転送要求(残分)を中継子局1−3に送信する(ステップS16)。 The relay slave station 1-4 moves the stored data (292 kbytes) of the cyclic message B-1 stored in the cyclic message storage means to the left (step S15: FIG. 4 (G)), and requests a fragmented transfer request. (Remaining) is transmitted to the relay slave station 1-3 (step S16).
細分化転送要求(残分)を受信した中継子局1−4は、188kバイトの細分化された巡回電文B(残分)を中継子局1−3に転送する(ステップS17;図4(H))。 The relay slave station 1-4 that has received the subdivision transfer request (residue) transfers the 188-kbyte subdivided cyclic telegram B (residue) to the relay slave station 1-3 (step S17; FIG. H)).
巡回電文B(残分)を受信した中継子局1−3は、巡回電文B−1(残分)を巡回電文格納手段の空き領域先頭から格納する(ステップS18)とともに、受信応答を中継子局1−4に返送する(ステップS19)。 The relay slave station 1-3 that has received the cyclic message B (remaining part) stores the cyclic message B-1 (remaining part) from the beginning of the free area of the cyclic message storage unit (step S18), and sends a reception response to the relay element. It returns to the station 1-4 (step S19).
受信応答を受信した中継子局1−4は、格納データ(巡回電文A)を前詰めに移動して(ステップS20:図4(I))、中継子局1−3に転送終了を送信する(ステップS21)。 The relay slave station 1-4 that has received the reception response moves the stored data (cyclic message A) to the front (step S20: FIG. 4 (I)), and transmits a transfer end to the relay slave station 1-3. (Step S21).
これにより、中継子局1−3が保持していた巡回電文Aと中継子局1−4が保持していた巡回電文Bが相互に交換されたことになる。 As a result, the cyclic message A held by the relay slave station 1-3 and the cyclic message B held by the relay slave station 1-4 are exchanged with each other.
この巡回電文転送方法により、1つの巡回経路上に2つの複数の巡回電文が同時に衝突して存在する状態でも、問題なく互いの巡回電文を相手側に転送することができる。 By this cyclic message transfer method, even when two or more cyclic messages exist on one cyclic route at the same time, the cyclic messages can be transferred to the other party without any problem.
本発明は、小型通信装置すなわち近距離通信手段を有する中継子局を多段に接続して複数の測定ポイントからデータを収集する多段中継データ収集システムであり、例えば、電力量計やガス・水道などの検針値、柱上変圧器の電流電圧値、配電線地絡電流値などのデータ収集を行う分野に適用することができる。 The present invention is a multi-stage relay data collection system that collects data from a plurality of measurement points by connecting small-sized communication devices, that is, relay slave stations having short-distance communication means in multiple stages. This can be applied to the field of collecting data such as meter reading values, current transformer voltage values, and distribution line ground fault current values.
3:経路指定局
1:中継子局
11:近距離通信手段
12:巡回電文中継手段
13:巡回電文格納手段
14:データ収集付加手段
15:巡回電文作成手段
16:容量比較手段
17:転送拒否作成手段
18:細分化転送要求手段
19:巡回電文細分化手段
3: Routing station 1: Relay slave station 11: Short-distance communication means 12: Travel message relay means 13: Travel message storage means 14: Data collection addition means 15: Travel message creation means 16: Capacity comparison means 17: Transfer rejection creation Means 18: Subdivision transfer request means 19: Cyclic message subdivision means
Claims (2)
経路指定局が、経路指定および中継子局からデータを収集するデータ収集指令を含む巡回電文を作成送出し、
中継子局が、巡回電文に含まれるデータ収集指令に基づいて収集したデータを付加した巡回電文を経路指定に基づいて中継し、
2つの中継子局間でお互いが巡回電文の転送先となったときに、巡回電文格納領域の空き領域サイズの小さい方の中継子局から、巡回電文格納領域の空き領域サイズの大きい方の中継子局に巡回電文を細分化して送信し、
空き領域サイズの小さいほうの空き領域サイズ大きくしてから順に巡回電文を送信し交換することを特徴とする多段中継データ収集システムの巡回電文転送方法。 The data is collected based on the routing message creation function including the data collection command and routing and the routing station having the communication function for communicating with the relay slave unit, the cyclic message storage area for storing the cyclic message, and the data collection command. In the cyclic message transfer method in the multistage relay data collection system in which the data collection function to collect and the relay slave station having the cyclic message relay function to transfer the received cyclic message based on cyclic routing are sequentially connected in multiple stages,
The routing station creates and sends a traveling telegram containing the data collection command to collect data from the routing and relay slave station,
The relay slave station relays the cyclic message to which the data collected based on the data collection command included in the cyclic message is added based on the routing,
When two relay slave stations each become the destination of the cyclic message transfer, the relay slave station with the smaller free space size of the cyclic message storage area relays the larger one of the free space size of the cyclic message storage area. Subdivide the traveling message to the slave station and send it,
A cyclic message transfer method for a multi-stage relay data collection system, wherein a cyclic message is transmitted and exchanged in order after the empty area size of the smaller free area size is increased.
巡回電文を送受信する近距離通信手段と、
受信した巡回電文を解析して自己に対するデータ収集指令が含まれているか否かおよび巡回経路などを判断する巡回電文中継手段と、
送受信する巡回電文を格納する巡回電文格納手段と、
データ収集指令に基づいてデータを収集し巡回電文に付加するデータ収集付加手段と、
収集データを付加した巡回電文の容量を当該巡回電文に付加して巡回電文転送要求を作成する巡回電文作成手段と、
巡回電文転送要求受信時に、転送要求のあった巡回電文の容量と、自己が保有する巡回電文の容量から得られる自己の巡回電文格納領域の空き容量を比較する容量比較手段と、
巡回電文転送要求のあった巡回電文の容量が自己の巡回電文格納領域の空き容量よりも大きいときに自己の巡回電文格納領域の空き容量を含む転送拒否を作成する転送拒否作成手段と、
転送拒否を受けた場合に、自己の巡回電文格納領域の空き容量に相当する大きさに巡回電文を細分化して送信するよう要求する細分化転送要求を作成する細分化転送要求手段と、
細分化転送要求を受信したときに、自己の巡回電文を要求された大きさに細分化する巡回電文細分化手段と
を有し、巡回電文格納領域の空き領域が大きい中継子局へ最大その空き容量分の巡回電文を細分化して転送し、この転送の結果生じた巡回電文格納領域の空き領域に最初に空き領域が大きかった中継子局から転送を受けた巡回電文を格納し、細分化した巡回電文の残りを最初に空き領域が大きかった中継子局へ転送する
ことを特徴とする多段中継データ収集システムを構成する中継子局。 A relay slave station constituting a multistage relay data collection system to which the cyclic message transfer method of claim 1 is applied,
Short-range communication means for transmitting and receiving a cyclic message;
A cyclic message relay means for analyzing the received cyclic message and determining whether or not a data collection command for itself is included and a cyclic route;
A cyclic message storage means for storing a cyclic message to be transmitted and received;
Data collecting and adding means for collecting data based on the data collecting command and adding the data to the circulating message;
A cyclic message creation means for creating a cyclic message transfer request by adding the capacity of the cyclic message to which the collected data is added to the cyclic message;
Capacity comparison means for comparing the capacity of the cyclic message requested to be transferred and the free capacity of the own cyclic message storage area obtained from the capacity of the cyclic message held by itself when receiving the cyclic message transfer request;
A transfer rejection creation means for creating a transfer rejection including the free capacity of its own cyclic message storage area when the capacity of the cyclic message requested to be transferred is larger than the free capacity of its own cyclic message storage area;
When a transfer rejection is received, a fragmented transfer request means for creating a fragmented transfer request for requesting to subdivide and transmit a cyclic message to a size corresponding to the free capacity of its own cyclic message storage area;
When a subdivision transfer request is received, it has a cyclic message subdivision means for subdividing its own cyclic message into the requested size, and the maximum is available to relay slave stations with a large free area of the cyclic message storage area. The capacity of the circulating message is subdivided and transferred, and the circulating message received from the relay slave station that initially had the largest free area is stored in the free area of the circulating message storage area that is generated as a result of this transfer. A relay slave station constituting a multistage relay data collection system, wherein the remainder of a cyclic message is transferred to a relay slave station having a large free space first.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003293027A JP4153846B2 (en) | 2003-08-13 | 2003-08-13 | Cyclic message transfer method and relay slave station |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003293027A JP4153846B2 (en) | 2003-08-13 | 2003-08-13 | Cyclic message transfer method and relay slave station |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005064907A JP2005064907A (en) | 2005-03-10 |
| JP4153846B2 true JP4153846B2 (en) | 2008-09-24 |
Family
ID=34370152
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003293027A Expired - Fee Related JP4153846B2 (en) | 2003-08-13 | 2003-08-13 | Cyclic message transfer method and relay slave station |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4153846B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019014881A1 (en) * | 2017-07-19 | 2019-01-24 | 华为技术有限公司 | Wireless communication method and device |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4563210B2 (en) * | 2005-02-21 | 2010-10-13 | 株式会社エヌ・ティ・ティ・ドコモ | Communication control method, communication node, and communication system |
| JP6335079B2 (en) * | 2014-09-16 | 2018-05-30 | 株式会社東芝 | Relay device and communication system |
| CN121815199A (en) * | 2024-09-30 | 2026-04-07 | 荣耀终端股份有限公司 | Methods for handling communication service transfer between multiple devices and wearable devices |
-
2003
- 2003-08-13 JP JP2003293027A patent/JP4153846B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019014881A1 (en) * | 2017-07-19 | 2019-01-24 | 华为技术有限公司 | Wireless communication method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005064907A (en) | 2005-03-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4005996B2 (en) | Broadcast data processing method in mobile ad hoc network | |
| US7489668B2 (en) | Method for transmitting a frame at a high rate in a wireless local area network | |
| US8194655B2 (en) | Digraph based mesh communication network | |
| JP4027818B2 (en) | Multihop communication system, radio control station, radio station, and multihop communication method | |
| CN100413271C (en) | Packet transmission system, radio base station, and packet transmission path optimization method | |
| US6556582B1 (en) | Systems and methods for collision avoidance in mobile multi-hop packet radio networks | |
| Bazzi et al. | IEEE 802.11 p for cellular offloading in vehicular sensor networks | |
| WO2001077830A1 (en) | Systems and methods for routing packets on alternate paths | |
| US20040157549A1 (en) | Method for routing data in a mobile communication network and communications network device for carrying out such a method | |
| JP2019041194A (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
| JP5435147B2 (en) | Communication apparatus and method | |
| EP1182831A2 (en) | Route updating method for micromobility network | |
| US7336614B2 (en) | Method and device for controlling route and computer program therefor | |
| JP4153846B2 (en) | Cyclic message transfer method and relay slave station | |
| JPH09149079A (en) | Path selection system for communication equipment | |
| JP2006211375A (en) | Load balancing method in wireless ad hoc network | |
| JP2003501949A (en) | Method and apparatus for establishing a routing table in a communication network | |
| JPH04273735A (en) | Local area network bridge device | |
| Matsuda et al. | Vehicular information broadcasting relay (VIBROR) protocol for inter-vehicle-communications | |
| JP5541380B1 (en) | Wireless communication apparatus, wireless communication system, and wireless communication program | |
| US7801097B2 (en) | Setting up of a wireless network by determining and utilizing local topology information | |
| EP2173064A1 (en) | Communication method and wireless device using the same | |
| JP2004120234A (en) | Packet transfer path search method and wireless terminal using the same | |
| KR100474254B1 (en) | Method of cost-based route establishing for AODV routing protocol | |
| JP2002094523A (en) | Network equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060510 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080626 |
|
| 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: 20080701 |
|
| 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: 20080704 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4153846 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110711 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120711 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130711 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |