TW201701241A - Wireless device, relay device, communication system, and identifier allocation method - Google Patents

Wireless device, relay device, communication system, and identifier allocation method Download PDF

Info

Publication number
TW201701241A
TW201701241A TW104141661A TW104141661A TW201701241A TW 201701241 A TW201701241 A TW 201701241A TW 104141661 A TW104141661 A TW 104141661A TW 104141661 A TW104141661 A TW 104141661A TW 201701241 A TW201701241 A TW 201701241A
Authority
TW
Taiwan
Prior art keywords
identifier
wireless device
distribution
transmission source
unit
Prior art date
Application number
TW104141661A
Other languages
Chinese (zh)
Other versions
TWI603300B (en
Inventor
Ryoji Ono
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201701241A publication Critical patent/TW201701241A/en
Application granted granted Critical
Publication of TWI603300B publication Critical patent/TWI603300B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/24Cell structures
    • H04W16/26Cell enhancers or enhancement, e.g. for tunnels, building shadow
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A master device 1 according to the present invention is provided with: a transmission-reception unit 12 that receives an identifier distribution request requesting distribution of an identifier; an identifier calculation unit 14 that determines, on the basis of the identifier distribution request, whether a wireless device which was the sender of the identifier distribution request is a first wireless device which is the sender of data or a second wireless device which is a relay device, and that, in a case in which it is determined that the wireless device which was the sender of the identifier distribution request is the first wireless device, allocates the smallest identifier among allocable identifiers other than already allocated identifiers to the wireless device which was the sender of the identifier distribution request, and, in a case in which it is determined that the wireless device which was the sender of the identifier distribution request is the second wireless device, allocates the largest identifier among the allocable identifiers other than the already allocated identifiers to the wireless device which was the sender of the identifier distribution request; and a communication control unit 13 that generates a response containing the identifier allocated by the identifier calculation unit 14, and transmits the generated response via the transmission-reception unit 12 to the wireless device which was the sender of the identifier distribution request.

Description

無線機、中繼機、通信系統以及標誌符分配方法 Wireless machine, relay machine, communication system, and identifier assignment method

本發明為有關一種因應來自無線機的要求,將標誌符分布到無線機之通信系統、該通信系統之無線機以及標誌符分配方法。 The present invention relates to a communication system for distributing identifiers to a wireless device, a wireless device of the communication system, and an identifier assignment method in response to a request from a wireless device.

在無線通信規格中,雖然規定了用以辨別進行通信的無線機是成為通信對方的無線機而使用標誌符,但是為了減低無線機的製造成本(cost)或運用成本、或是製造成本與運用成本,會有在運用前不設定無線機的標誌符、即在運用前無線機不具有標誌符的情形。在該情況下,雖然在運用階段必須在無線機設定標誌符,但是對每個無線機分別以手操作進行標誌符的設定也需要作業成本、即人力資源及時間。又,也會有根據無線機的物理性制約等而無法進行手操作的標誌符設定的情況。為此,有進行從某個機器自動將標誌符分布到無線機乙事。作為通信用的標誌符分布方法,有記載於非專利文獻1之方法。在非專利文獻1中,在各無線機具有比通信協定(protocol)之中IP(Internet Protocol;網際協議)層更下位層的通信協定之MAC(Media Access Control;媒體存取控制)層的標誌符之前提下,實施通信協定(protocol)之中IP(Internet Protocol;網際協議)層的標誌符分布。為此,在記載於非專利 文獻1之方法中,若MAC層的標誌符不存在的狀態下,就無法實施通信用的標誌符分布。 In the wireless communication standard, although it is defined that the wireless device that performs communication is a wireless device that is a communication partner, the identifier is used, but in order to reduce the manufacturing cost or operating cost of the wireless device, or the manufacturing cost and operation. Cost, there will be no sign of the wireless machine before the application, that is, the wireless machine does not have the identifier before the application. In this case, although the identifier must be set in the wireless unit during the operation phase, the setting of the identifier for each wireless device requires the operation cost, that is, the human resource and time. In addition, there is a case where the identifier of the hand operation cannot be set according to the physical constraints of the wireless device or the like. To this end, there is a process of automatically distributing the identifier from a certain machine to the wireless machine. As a method of distributing the identifier for communication, there is a method described in Non-Patent Document 1. In Non-Patent Document 1, each wireless device has a MAC (Media Access Control) layer flag of a communication protocol lower than an IP (Internet Protocol) layer among communication protocols. Before the character is mentioned, the identifier distribution of the IP (Internet Protocol) layer in the protocol is implemented. For this reason, it is recorded in non-patent In the method of Document 1, if the identifier of the MAC layer does not exist, the distribution of the identifier for communication cannot be performed.

另一方面,在根據遙測(telemetering)推進協議會推動標準化之通信規格之U-Bus air中,規定在運用階段將標誌符分布到無線機的方法。U-Bus air為使用920MHz帶域之多跳躍(multihop)通信所用的通信規格。在U-Bus air中,要求標誌符取得的號碼取得無線機使用標誌符發行要求專用的標誌符,將標誌符發行要求傳送到發行標誌符的號碼發行無線機。當號碼發行無線機接收到發行要求時,回傳儲存有發行的標誌符之應答。接收到應答的號碼取得無線機將包含在從號碼取得無線機接收到的應答之標誌符設定在本機,之後使用已設定的標誌符進行通信。在U-Bus air中,藉由如上述所示分布標誌符,即使在MAC層的標誌符等標誌符不存在的狀態下,也可以實施通信用的標誌符分布。 On the other hand, in the U-Bus air which promotes standardized communication specifications according to the telemetering promotion protocol, a method of distributing the identifiers to the wireless device in the operation phase is specified. U-Bus air is a communication specification used for multihop communication of 920 MHz band. In the U-Bus air, the number required for the identifier is obtained by the identifier for the wireless device use identifier issuance request, and the identifier is issued to the number issuing wireless device that issues the identifier. When the number issuing wireless machine receives the distribution request, it returns a response that the issued identifier is stored. The number acquisition wireless device that has received the response sets the identifier of the response received from the number acquisition wireless device to the local device, and then communicates using the set identifier. In the U-Bus air, by distributing the identifier as described above, the identifier distribution for communication can be performed even in a state where the identifier such as the identifier of the MAC layer does not exist.

先前技術文獻 Prior technical literature 非專利文獻 Non-patent literature

【非專利文獻1】 RFC2131”動態主機分配協議(Dynamic Host Configuration Protocol)” [Non-Patent Document 1] RFC2131 "Dynamic Host Configuration Protocol"

如上述所示,在非專利文獻1中,MAC層的標誌符不存在的狀態下,無法實施通信用的標誌符分布。又,在上述U-Bus air的標誌符分布方法中,將工業用應用(application) 等處理適用於通信系統的情況下,存在有以下所示的課題。在工業用應用,例如收集測量資料之應用等處理中,在應用處理中要使用每個機器的標誌符。在這樣的情況下,會有將在應用處理所使用的標誌符直接使用作為無線通信規格中規定之無線機所使用的標誌符,也就是通信用標誌符。 As described above, in Non-Patent Document 1, in the state where the identifier of the MAC layer does not exist, the distribution of the identifier for communication cannot be performed. Further, in the U-Bus air identifier distribution method, an industrial application is applied. When the processing is applied to a communication system, there are the following problems. In industrial applications, such as the application of collecting measurement data, the identifier of each machine is used in the application processing. In such a case, the identifier used in the application processing is directly used as an identifier used by the wireless device defined in the wireless communication standard, that is, a communication identifier.

在工業用應用處理中,對於1台母機存在有多台子機,因應子機的傳送資料(data)之資料容量,有母機要決定分配到該子機之標誌符個數之情況。例如,在將一定的資料容量預先規定為資料容量的1單位,對每1單位的資料容量分配標誌符。即,在N為1以上的整數時,對於傳送N單位的資料之子機分配N個標誌符。在這樣的情況下,當母機例如從子機有標誌符的分布、即標誌符分配要求時,在可使用的標誌符之中從標誌符之最低者開始依序分配。例如,從傳送的資料容量為1單位的子機#1有標誌符分配的要求,將最低號碼的標誌符分配到子機#1,之後當從傳送的資料容量為2單位的子機#2接收到標誌符分配的要求時,將第2低號碼的標誌符與第3低號碼的標誌符之2個標誌符分配到子機#2。這樣的標誌符分配方法在以下稱為遞增分配方法。 In the industrial application processing, there are a plurality of sub-machines for one parent machine, and in response to the data capacity of the data transmitted by the sub-machine, there is a case where the parent machine determines the number of identifiers assigned to the sub-machine. For example, a predetermined data capacity is defined as one unit of the data capacity, and an identifier is assigned to the data capacity per unit. That is, when N is an integer of 1 or more, N identifiers are assigned to the slaves that transmit N units of data. In such a case, when the parent machine has, for example, a distribution of identifiers, that is, an identifier assignment request from the child machine, among the usable identifiers, the lowest one of the identifiers is sequentially allocated. For example, from the transmission of the data unit capacity of 1 unit, the sub-machine #1 has the requirement of the identifier assignment, the identifier of the lowest number is assigned to the slave #1, and then the slave unit 2 that transmits the data capacity of 2 units. When receiving the request for the assignment of the identifier, the two identifiers of the identifier of the second lowest number and the identifier of the third lowest number are assigned to the slave #2. Such an identifier assignment method is hereinafter referred to as an incremental allocation method.

又,也會有包含中繼專用的子機之通信系統。中繼專用的子機在以下適當稱為中繼機。對於中繼機也必須分配通信用標誌符。母機在根據上述的遞增分配方法將標誌符分配到子機的情況下,也是根據遞增分配方法將標誌符分配到中繼機。但是,由於中繼機未成為資料的傳送源,因此無法因應資料容量決定標誌符個數,將預先規定的個數,例如1個的標誌 符分配到中繼機。 Also, there is a communication system including a relay dedicated to the slave. The relay-dedicated child machine is appropriately referred to as a relay machine hereinafter. The communication identifier must also be assigned to the repeater. In the case where the parent machine assigns an identifier to the slave according to the above-described incremental allocation method, the identifier is also assigned to the relay according to the incremental allocation method. However, since the relay does not become the transmission source of the data, it is not possible to determine the number of the identifiers in accordance with the data capacity, and a predetermined number, for example, one flag. Assigned to the repeater.

又,在工業用應用的處理中,母機保持有規定每個標誌符的資料區域之資料地圖(data map)、即資料格式(data format),依據資料地圖產生儲存有從子機接收到的資料之資料、即彙集資料的情況。資料地圖為顯示彙集資料中之每個標誌符之資料的儲存位置之資訊。如上述所示,對於中繼機也是根據遞增分配方法分配標誌符的情況,彙集資料內之對應分配到中繼機的標誌符之資料區域在應用處理中是沒被使用的。因此,在彙集資料內存在有應用處理中沒被使用之無效資料區域的儲存位置。為此,在使用彙集資料的處理中,有發生將無意義、即無效資料區域的資料辨認成有意義的資料等之錯誤的可能性。又,在複製(copy)彙集資料後記憶在記憶體(memory)時根據無效資料而使用記憶體區域,在傳送彙集資料時有將傳送容量使用於無效資料的問題。 Moreover, in the processing of industrial applications, the parent machine maintains a data map, which is a data format, which defines a data area of each identifier, and stores data received from the slave according to the data map. Information, that is, the collection of information. The data map is information showing the storage location of the data of each of the identifiers in the collection data. As described above, in the case where the relay is also assigned the identifier according to the incremental allocation method, the data area corresponding to the identifier assigned to the relay in the aggregate data is not used in the application processing. Therefore, there is a storage location of the invalid data area that is not used in the application processing in the collection data. For this reason, in the process of using the collected data, there is a possibility that an error that is meaningless, that is, the data of the invalid data area is recognized as meaningful data may occur. Further, when the collected data is copied and stored in the memory, the memory area is used based on the invalid data, and when the aggregated data is transmitted, there is a problem that the transfer capacity is used for the invalid data.

本發明為有鑑於上述而開發出來者,以能夠提供一種在將標誌符分配到子機,產生對每個分配的標誌符設置資料區域的彙集資料之情況下,可以抑制彙集資料內之無效資料的發生之無線機為目的。 The present invention has been developed in view of the above, and it is possible to provide an invalid data in the aggregated data in the case where the identifier is assigned to the child machine and the aggregated data of the data area is set for each of the assigned identifiers. The purpose of the wireless machine is for the purpose.

為了解決上述課題,達成目的,關於本發明之無線機,包括:傳送/接收部,接收要求標誌符分布的標誌符分布要求;分配部,依據標誌符分布要求,判斷標誌符分布要求之傳送源的無線機為構成資料的傳送源之第1無線機、或是中繼機之第2無線機,在判斷標誌符分布要求之傳送源的無線機 為第1無線機的情況,將可分配的標誌符之中排除已分配的標誌符之最小標誌符分配到標誌符分布要求之傳送源的無線機,在判斷標誌符分布要求之傳送源的無線機為第2無線機的情況,將可分配的標誌符之中排除已分配的標誌符之最大標誌符分配到標誌符分布要求之傳送源的無線機。又,關於本發明之無線機,包括:通信控制部,產生儲存有根據分配部所分配的標誌符之應答,將已產生的應答透過傳送/接收部傳送到標誌符分布要求之傳送源的無線機。 In order to solve the above problems, a wireless device according to the present invention includes: a transmitting/receiving unit that receives an identifier distribution request of a required identifier distribution; and an allocation unit that determines a transmission source of the identifier distribution request according to the identifier distribution requirement The wireless device is the first wireless device that constitutes the transmission source of the data, or the second wireless device that is the relay device, and the wireless device that determines the transmission source of the identifier distribution. In the case of the first wireless device, the wireless device that excludes the smallest identifier of the assigned identifier from the assignable identifier to the transmission source of the identifier distribution request, and the wireless source of the transmission source that determines the identifier distribution requirement In the case of the second wireless device, the maximum identifier of the assigned identifier is excluded from the assignable identifier to the wireless device of the transmission source of the identifier distribution request. Further, the wireless device according to the present invention includes: the communication control unit generates a wireless device that stores a response in accordance with the identifier assigned by the allocating unit, and transmits the generated response to the transmission source of the identifier distribution through the transmitting/receiving unit. machine.

關於本發明之無線機,能夠達到在將標誌符分配到子機,產生對每個分配的標誌符設置資料區域的資料地圖之情況下,可以抑制資料地圖內之無效資料的發生之效果。 With regard to the wireless device of the present invention, it is possible to suppress the occurrence of invalid data in the data map when the identifier is assigned to the child machine and the data map for setting the data area for each of the assigned identifiers is generated.

1、101‧‧‧母機 1, 101‧‧‧ parent machine

2、2-1~2-3、2-(x-1)、2-x、2-y、102-1~102-3‧‧‧子機 2, 2-1~2-3, 2-(x-1), 2-x, 2-y, 102-1~102-3‧‧‧

3、3-1~3-12、103‧‧‧中繼機 3, 3-1~3-12, 103‧‧‧ relay machine

11、21、31‧‧‧天線 11, 21, 31‧‧‧ antenna

12、22、32‧‧‧傳送/接收部 12, 22, 32‧‧‧Transmission/receiving department

13、23、33‧‧‧通信控制部 13, 23, 33‧‧‧Communication Control Department

14‧‧‧標誌符算出部 14‧‧‧Signal Calculation Unit

15、24‧‧‧應用處理部 15, 24‧‧‧Application Processing Department

圖1為顯示有關本發明之實施形態之通信系統的構成例之圖面。 Fig. 1 is a view showing a configuration example of a communication system according to an embodiment of the present invention.

圖2為顯示母機的構成例之圖面。 Fig. 2 is a view showing a configuration example of a parent machine.

圖3為顯示資料地圖的一例之圖面。 Fig. 3 is a view showing an example of a data map.

圖4為顯示子機的構成例之圖面。 Fig. 4 is a view showing a configuration example of a slave unit.

圖5為顯示中繼機的構成例之圖面。 Fig. 5 is a view showing a configuration example of a relay machine.

圖6為顯示控制電路的構成例之圖面。 Fig. 6 is a view showing a configuration example of a control circuit.

圖7為顯示有關子機之標誌符分布的處理步驟的一例之流程圖(flowchart)。 Fig. 7 is a flow chart (flowchart) showing an example of the processing procedure of the identifier distribution of the slave.

圖8為顯示標誌符分布要求的格式(format)的一例之圖面。 Fig. 8 is a view showing an example of a format of a marker distribution request.

圖9為顯示有關中繼機之標誌符分布的處理步驟的一例之流程圖。 Fig. 9 is a flow chart showing an example of a processing procedure relating to the distribution of the identifier of the relay.

圖10為顯示母機的標誌符算出部之標誌符算出處理步驟的一例之流程圖。 FIG. 10 is a flowchart showing an example of a procedure of the marker calculation processing of the marker calculation unit of the parent machine.

圖11為顯示通信控制部之產生對標誌符分布要求的應答之處理步驟的一例之流程圖。 Fig. 11 is a flow chart showing an example of a processing procedure for generating a response to the identifier distribution request by the communication control unit.

圖12為顯示應答的格式的一例之圖面。 Fig. 12 is a view showing an example of a format of a response.

圖13為顯示資料訊號的格式的一例之圖面。 Fig. 13 is a view showing an example of the format of a data signal.

圖14為顯示子機之應用處理部的處理步驟之一例的流程圖。 Fig. 14 is a flow chart showing an example of a processing procedure of an application processing unit of a child machine.

圖15為顯示母機之應用處理部的處理步驟之一例的流程圖。 Fig. 15 is a flow chart showing an example of a processing procedure of an application processing unit of the parent machine.

圖16為顯示子機之佔有數的一例之圖面。 Fig. 16 is a view showing an example of the number of occupations of the slave unit.

圖17為顯示標誌符之分布處理的一例之順序(sequence)圖。 Fig. 17 is a sequence diagram showing an example of the process of distributing the identifiers.

圖18為顯示母機因應標誌符分布要求,對子機及中繼機進行標誌符的分布後之標誌符與資料地圖的一例之圖面。 Fig. 18 is a view showing an example of an identifier and a data map in which the identifiers of the slaves and the relays are distributed in accordance with the distribution requirements of the parent machine.

圖19為顯示比較例之資料地圖的一例之圖面。 Fig. 19 is a view showing an example of a data map of a comparative example.

圖20為顯示實施形態之通信系統的構成例之圖面。 Fig. 20 is a view showing an example of the configuration of a communication system according to the embodiment.

圖21為顯示在圖20所示的狀態下,子機傳送標誌符分布要求情況之標誌符分布處理的一例之順序圖。 Fig. 21 is a sequence diagram showing an example of the flag distribution processing in the case where the child machine transmits the identifier distribution request in the state shown in Fig. 20.

圖22為顯示實施形態之通信系統的構成例之圖面。 Fig. 22 is a view showing a configuration example of a communication system of the embodiment.

圖23為顯示在圖22所示的狀態下,中繼機傳送標誌符分布要求情況之標誌符分布處理的一例之順序圖。 Fig. 23 is a sequence diagram showing an example of the flag distribution processing in the case where the relay device transmits the identifier distribution request in the state shown in Fig. 22;

以下,依據圖面,詳細說明關於本發明之實施形態之無線機、中繼機、通信系統以及標誌符分配方法。又,並非根據該實施形態限定本發明。 Hereinafter, a wireless device, a relay, a communication system, and an identifier assignment method according to embodiments of the present invention will be described in detail based on the drawings. Further, the present invention is not limited by the embodiment.

實施形態. Implementation form.

圖1為顯示有關本發明之實施形態之通信系統的構成例之圖面。如圖1所示,本實施形態之通信系統,包括:母機1、子機2-1~2-3、及中繼機3。母機1為無線通信裝置、即無線機,將在本實施形態之通信系統內使用的通訊用標誌符、即無線通信規格規定之無線機所使用的標誌符分別分配到子機2-1~2-3與中繼機3。子機2-1~2-3與中繼機3為從母機1分配到通信用標誌符之無線通信裝置、即無線機。又,如後述所示,子機2-1~2-3為進行應用處理之子機,中繼機3為不進行應用處理之子機。中繼機3為中繼母機1與子機2-2之間的通信。在圖1中,雖然圖示了在母機1與子機2-2之間存在有中繼機3的例示,但是在母機1與子機2-1之間存在有中繼機3亦可,在母機1與子機2-3之間存在有中繼機3亦可。以下,在不區分子機2-1~2-3下予以表示的情況下,適當記載為子機2。在圖1中,雖然是例示中繼機3為1機、子機2-1~2-3為3機,但是中繼機3及子機2的個數不限於圖1的例示。例如,在母機1與子機2-2之間存在有多個中繼機3亦可。 Fig. 1 is a view showing a configuration example of a communication system according to an embodiment of the present invention. As shown in FIG. 1, the communication system of this embodiment includes a parent machine 1, sub-machines 2-1 to 2-3, and a repeater 3. The parent machine 1 is a wireless communication device, that is, a wireless device, and the communication identifier used in the communication system of the present embodiment, that is, the identifier used by the wireless device defined by the wireless communication standard, is assigned to the slaves 2-1 to 2, respectively. -3 with repeater 3. The slaves 2-1 to 2-3 and the repeater 3 are wireless devices that are assigned to the communication identifier from the parent machine 1, that is, the wireless device. Further, as will be described later, the slaves 2-1 to 2-3 are slaves that perform application processing, and the repeater 3 is a slave that does not perform application processing. The relay 3 is a communication between the relay master 1 and the slave 2-2. In FIG. 1, although an example in which the relay unit 3 exists between the parent machine 1 and the child machine 2-2 is illustrated, the relay machine 3 may exist between the parent machine 1 and the child machine 2-1. The relay unit 3 may be present between the parent machine 1 and the slave unit 2-3. Hereinafter, in the case of the non-regional molecular machines 2-1 to 2-3, the child machine 2 is appropriately described. In FIG. 1, although the relay machine 3 is one machine and the child machines 2-1 to 2-3 are three, the number of the relay machine 3 and the child machine 2 is not limited to the example of FIG. For example, a plurality of relay machines 3 may exist between the parent machine 1 and the slave machine 2-2.

本實施形態之母機1及子機2-1~2-3實施應用處理。該應用處理例如是母機1從子機2-1~2-3收集測量資料等資料之處理。母機1彙集從子機2-1~2-3所傳送的資料,產生 彙集資料。母機1保持有顯示彙集資料的格式之資料地圖,依據資料地圖產生彙集資料。在應用處理中,利用標誌符管理資料。在資料地圖中,規定每個標誌符的資料區域。又,在本實施形態中,將應用處理所使用的標誌符也用來作為上述的通信用標誌符。在1個子機2藉由應用處理使用多個標誌符的情況下,將此等多個標誌符之中的1個用來作為通信用標誌符。 The parent machine 1 and the slaves 2-1 to 2-3 of the present embodiment perform application processing. This application processing is, for example, processing in which the parent machine 1 collects measurement data and the like from the slaves 2-1 to 2-3. The parent machine 1 collects the data transmitted from the slave machines 2-1 to 2-3, and generates Bring together information. The parent machine 1 maintains a data map showing the format of the collected data, and generates aggregated materials based on the data map. In the application process, the identifier is used to manage the data. In the data map, specify the data area for each marker. Further, in the present embodiment, the identifier used for the application processing is also used as the above-described communication identifier. When one child machine 2 uses a plurality of identifiers by application processing, one of the plurality of identifiers is used as a communication identifier.

圖2為顯示本實施形態之母機1的構成例之圖面。如圖2所示,母機1包括:天線(antenna)11、傳送/接收部12、通信控制部13、標誌符算出部14、及應用處理部15。傳送/接收部12透過天線11接收無線訊號,將已接收的無線訊號轉換為數位(digital)訊號後輸入到通信控制部13。又,傳送/接收部12將從通信控制部13所輸入的訊號轉換成類比(analog)訊號後作為無線訊號透過天線11進行傳送。例如,傳送/接收部12如後述所示,從子機2或中繼機3接收要求標誌符分布之標誌符分布要求後輸出到通信控制部13,並且傳送利用通信控制部13所產生之對於標誌符分布要求的應答。即,傳送/接收部12具有傳送部與接收部,天線11及傳送/接收部12的傳送部為傳送機,天線11及傳送/接收部12的接收部為接收機。 Fig. 2 is a view showing a configuration example of the parent machine 1 of the embodiment. As shown in FIG. 2, the parent machine 1 includes an antenna 11, a transmission/reception unit 12, a communication control unit 13, an identifier calculation unit 14, and an application processing unit 15. The transmitting/receiving unit 12 receives the wireless signal through the antenna 11, converts the received wireless signal into a digital signal, and inputs it to the communication control unit 13. Further, the transmission/reception unit 12 converts the signal input from the communication control unit 13 into an analog signal and transmits it as a wireless signal through the antenna 11. For example, as will be described later, the transmission/reception unit 12 receives the identifier distribution request of the request identifier distribution from the slave unit 2 or the relay unit 3, and outputs it to the communication control unit 13, and transmits the pair generated by the communication control unit 13. The identifier distribution requires a response. That is, the transmission/reception unit 12 has a transmission unit and a reception unit, the transmission unit of the antenna 11 and the transmission/reception unit 12 is a transmitter, and the reception unit of the antenna 11 and the transmission/reception unit 12 is a receiver.

通信控制部13實施依據無線通信規格之通信協定處理。具體而言,例如,通信控制部13依據傳送的資料,產生依據無線通信規格之無線訊號的格式之訊號,也就是無線訊框(frame)訊號後輸入到傳送/接收部12。又,通信控制部13分析從傳送/接收部12所輸入的訊號、即接收訊號後判定接收訊號的類別,在接收訊號的類別為標誌符分布要求的情況下, 將標誌符分布要求通知給標誌符算出部14,同時指示標誌符算出部14進行對於標誌符分布要求之傳送源的標誌符之算出。標誌符分布要求之傳送源如後述所示,其為子機2或中繼機3。又,通信控制部13產生儲存有從標誌符算出部14所輸出的標誌符之應答、即對標誌符分布要求之應答,透過傳送/接收部12及天線11,傳送到標誌符分布要求之傳送源。 The communication control unit 13 performs communication protocol processing in accordance with the wireless communication standard. Specifically, for example, the communication control unit 13 generates a signal of a format of a wireless signal according to a wireless communication standard based on the transmitted data, that is, a frame signal, and then inputs it to the transmitting/receiving unit 12. Further, the communication control unit 13 analyzes the signal input from the transmission/reception unit 12, that is, the received signal, and determines the type of the received signal. When the type of the received signal is the identifier distribution request, The marker distribution request is notified to the marker calculation unit 14, and the indicator marker calculation unit 14 performs calculation of the marker of the transmission source required for the marker distribution. The transmission source of the identifier distribution request is a child machine 2 or a relay machine 3 as will be described later. Further, the communication control unit 13 generates a response to the identifier outputted from the identifier calculation unit 14, that is, a response to the identifier distribution request, and transmits it to the transmission of the marker distribution request through the transmission/reception unit 12 and the antenna 11. source.

又,通信控制部13在接收訊號的類別為資訊訊號、即在應用處理所使用之儲存資料的資料訊號之情況下,將資料訊號移交到應用處理部15。又,通信控制部13在根據來自子機2的標誌符分布要求分配標誌符到子機2的情況下,將經分配的標誌符及被儲存在標誌符分布要求的佔有數通知給應用處理部15。具體而言,通信控制部13如後述所示,依據接收訊號之中顯示儲存在預先規定位置之資料類別的資訊,判定接收訊號的類別。 Further, the communication control unit 13 transfers the data signal to the application processing unit 15 when the type of the received signal is the information signal, that is, the data signal of the stored data used for the application processing. Further, when the communication control unit 13 assigns the identifier to the slave 2 based on the identifier distribution request from the slave unit 2, the communication control unit 13 notifies the application processing unit of the assigned identifier and the number of occupations stored in the identifier distribution request. 15. Specifically, as will be described later, the communication control unit 13 determines the type of the received signal based on the information indicating the type of the data stored in the predetermined position among the received signals.

應用處理部15彙集從通信控制部13所輸入之從各子機2-1~2-3傳送的資料訊號後,依據資料地圖產生彙集資料。應用處理部15依據從通信控制部13收到的標誌符與佔有數,更新資料地圖。應用處理部15對於每個佔有數分配標誌符。即,母機1對於接收的每1單位的資料分配標誌符。具體而言,應用處理部15將從通信控制部13收到的標誌符數為L、佔有數為K時,在資料地圖中追加對應L至L+K-1的K個標誌符之資料區域。圖3為顯示資料地圖的一例之圖面。在圖3的例示中,圖示使用1至6的6個標誌符之例示,即將1至6的標誌符分配到子機2-1~2-3的例示。例如,標誌符1及2 分配到子機2-1,標誌符3至5分配到子機2-2,標誌符6分配到子機2-3。在圖3所示之資料地圖中,對於每個標誌符預先規定用以儲存對應該標誌符的儲存資料之資料區域,而且在資料地圖中以使標誌符連續的方式分配資料區域。在圖3中,作為資料區域以矩形所示的部分在實際上為顯示根據彙集資料內的位元(bit)位置等指定資料區域。例如,在1單位為128位元的情況下,圖3所示之資料地圖以彙集資料內之第0至127位元為標誌符的資料區域、彙集資料內之第128至255位元為標誌符的資料區域的方式,顯示分配給每個標誌符的資料區域。 The application processing unit 15 collects the data signals transmitted from the respective slave units 2-1 to 2-3 input from the communication control unit 13, and generates aggregated data based on the data map. The application processing unit 15 updates the material map in accordance with the identifier and the number of occupations received from the communication control unit 13. The application processing unit 15 assigns an identifier to each occupancy number. That is, the parent machine 1 assigns an identifier to each of the received data. Specifically, when the number of identifiers received from the communication control unit 13 is L and the number of occupations is K, the application processing unit 15 adds a data region corresponding to K identifiers of L to L+K-1 to the material map. . Fig. 3 is a view showing an example of a data map. In the illustration of FIG. 3, an illustration using six identifiers of 1 to 6 is illustrated, that is, an identifier of 1 to 6 is assigned to the illustration of the slaves 2-1 to 2-3. For example, markers 1 and 2 Assigned to the slave 2-1, the identifiers 3 to 5 are assigned to the slave 2-2, and the marker 6 is assigned to the slave 2-3. In the data map shown in FIG. 3, a data area for storing the stored data corresponding to the identifier is pre-defined for each of the identifiers, and the data area is allocated in the data map in such a manner that the identifiers are continuous. In Fig. 3, the portion indicated by the rectangle as the data area is actually displayed to specify the data area based on the bit position or the like in the aggregated material. For example, in the case where 1 unit is 128 bits, the data map shown in FIG. 3 is marked by the data area of the 0th to 127th bits in the aggregated data, and the 128th to 255th bits in the aggregated data. The way the data area of the character is displayed, showing the data area assigned to each identifier.

標誌符算出部14依據來自通信控制部13的指示,算出分配到子機2-1~2-3的標誌符,將已算出的標誌符輸出到通信控制部13。具體而言,標誌符算出部14依據標誌符分布要求,判斷標誌符分布要求的傳送源為子機2或是中繼機3,在標誌符分布要求的傳送源為子機2的情況下,將作為標誌符可使用的值之中排除作為標誌符已分配的值後之最低號的值作為分配到標誌符分布要求的傳送源之子機2的標誌符、即通信用標誌符予以算出。又,作為標誌符可使用的值之中排除作為標誌符已分配的值後之最低號的值就是作為標誌符可使用的值之中排除作為標誌符已分配的值後之最小值。在本實施形態中,由於從低號依序分配標誌符到子機2,因此作為標誌符可使用的值之中排除作為標誌符已分配的值後之最低號的值為已分配到子機2之最大標誌符更大1的標誌符。又,在應用處理中,由於標誌符分布要求的傳送源之子機2使用包含 通信用標誌符的佔有數分的標誌符,因此將已分配到子機2之最大標誌符更新為之前已分配到子機2之最大標誌符與佔有數相加後的值。 The identifier calculation unit 14 calculates an identifier assigned to the slaves 2-1 to 2-3 in accordance with an instruction from the communication control unit 13, and outputs the calculated identifier to the communication control unit 13. Specifically, the identifier calculation unit 14 determines whether the transmission source of the identifier distribution request is the slave 2 or the relay 3 in accordance with the identifier distribution request, and in the case where the transmission source required for the marker distribution is the slave 2 Among the values usable as the identifier, the value of the lowest number after the value assigned to the identifier is excluded as the identifier of the slave 2 assigned to the transmission source of the identifier distribution, that is, the communication identifier. Further, among the values that can be used as the identifier, the value that excludes the lowest value that has been assigned as the identifier is the minimum value that is excluded from the value that has been assigned as the identifier among the values that can be used as the identifier. In the present embodiment, since the identifier is sequentially assigned from the lower number to the child machine 2, the value of the lowest number after excluding the value assigned as the identifier among the values usable as the identifier is already assigned to the child machine. The largest identifier of 2 is a larger one. In addition, in the application processing, the slave device 2 of the transmission source required for the identifier distribution is included The identifier of the communication identifier occupies the number of identifiers, so the maximum identifier assigned to the slave 2 is updated to the value obtained by adding the maximum identifier previously assigned to the slave 2 to the number of possessions.

又,所謂佔有數,其為顯示各子機在應用處理中要傳送的資料容量之數值,將預先規定之一定資料容量設為1單位,顯示子機2在應用處理中要傳送的資料容量為幾單位之值。佔有數也可以說是各子機2所佔有的標誌符個數。各子機2在子機2所佔有的標誌符之中使用一個作為通信用標誌符。其中,將子機2佔有的標誌符之中最低號使用作為通訊用的標誌符。又,標誌符算出部14在標誌符分布要求的傳送源為中繼機3的情況下,將作為標誌符可使用的值之中排除作為標誌符已分配的值後之最高號的值作為分配到標誌符分布要求的傳送源之標誌符。又,作為標誌符可使用的值之中排除作為標誌符已分配的值後之最高號的值就是作為標誌符可使用的值之中排除作為標誌符已分配的值後之最大值。在本實施形態中,由於從最高號依序分配標誌符到中繼機3,因此作為標誌符可使用的值之中排除作為標誌符已分配的值後之最高號的值為已分配到中繼機3之最小標誌符更小的標誌符。 Further, the number of occupations is a numerical value indicating the data capacity to be transmitted by each slave in the application processing, and the predetermined data capacity is set to 1 unit, and the data capacity to be transmitted by the display slave 2 in the application processing is The value of several units. The number of possessions can also be said to be the number of identifiers occupied by each slave 2. Each of the slaves 2 uses one of the identifiers occupied by the slave 2 as a communication identifier. Among them, the lowest number among the identifiers occupied by the child machine 2 is used as the identifier for communication. Further, when the transmission source requested by the identifier distribution is the relay unit 3, the identifier calculation unit 14 assigns the highest value of the value that can be used as the identifier as the highest value of the identifier. The identifier of the source of the transfer to the identifier distribution. Further, among the values that can be used as the identifier, the value that excludes the highest value that has been assigned as the identifier is the maximum value that is excluded from the value that has been assigned as the identifier among the values that can be used as the identifier. In the present embodiment, since the identifier is sequentially assigned from the highest number to the relay unit 3, the highest value of the value that can be used as the identifier is excluded from the value that can be used as the identifier. The smallest identifier of the successor 3 is a smaller identifier.

本實施形態之母機1如以上所示,因應標誌符分布要求的傳送源為子機2或中繼機3而改變標誌符的分配方法。藉由在對子機2的標誌符分配中使用從低號開始依序分配的第1分配方法,在對中繼機3的標誌符分配中使用從高號開始依序分配的第2分配方法,可以將子機2使用的標誌符範圍與中繼機3使用的標誌符範圍分開。又,與上述相反,在對子 機2的標誌符分配中使用從高號開始依序分配的第1分配方法,在對中繼機3的標誌符分配中使用從低號開始依序分配的第2分配方法亦可。在該情況下,資料地圖中從高號開始依序分配每個標誌符的資料區域。 As described above, the parent machine 1 of the present embodiment changes the method of assigning the identifiers in accordance with the transmission source required for the identifier distribution to the slave 2 or the relay 3. By using the first allocation method sequentially assigned from the low number in the assignment of the identifiers to the slave unit 2, the second allocation method sequentially assigned from the upper number is used in the assignment of the identifier to the relay unit 3. The range of the identifier used by the handset 2 can be separated from the range of the identifier used by the relay 3. Again, contrary to the above, in the pair In the assignment of the identifier of the machine 2, the first allocation method that is sequentially assigned from the upper number is used, and the second allocation method that is sequentially assigned from the lower number is used for the assignment of the identifier to the relay unit 3. In this case, the data area of each identifier is sequentially assigned from the high number in the data map.

如以上所示,藉由在本實施形態之子機2中從低號開始依序分配標誌符,在中繼機3中從高號開始依序分配標誌符,在對子機2進行分配時,可以分配已分配到中繼機3範圍外的標誌符。即,標誌符算出部14,其為依據標誌符分布要求,判斷標誌符分布要求的傳送源之無線機為構成資料的傳送源之子機2、即第1無線機,或是中繼機3之第2無線機,在判斷標誌符分布要求的傳送源之無線機為第1無線機的情況下,將可分配的標誌符之中排除已分配的標誌符後之最小標誌符分配到標誌符分布要求的傳送源之無線機,在判斷標誌符分布要求的傳送源之無線機為第2無線機的情況下,將可分配的標誌符之中排除已分配的標誌符後之最大標誌符分配到標誌符分布要求的傳送源之無線機之分配部。通信控制部13產生儲存有根據標誌符算出部14所分配的標誌符之應答,將已產生的應答透過傳送/接收部12傳送到標誌符分布要求的傳送源之無線機。 As described above, in the child machine 2 of the present embodiment, the identifiers are sequentially assigned from the low number, and the relay device 3 sequentially assigns the identifiers from the high numbers, and when the slaves 2 are allocated, It is possible to assign an identifier that has been assigned to the range outside the relay 3. In other words, the identifier calculation unit 14 is a slave device 2 that is a source of transmission of the data, which is a source of the data to be transmitted according to the identifier distribution request, and is a first wireless device or a relay device 3 In the case where the wireless device that determines the transmission source required for the marker distribution is the first wireless device, the second wireless device assigns the smallest identifier after the assigned identifier to the assignable identifier to the marker distribution. The wireless device of the required transmission source assigns the largest identifier after the assigned identifier is excluded to the second wireless device when the wireless device that determines the transmission source of the identifier distribution is the second wireless device. The distribution unit of the wireless device that transmits the source of the identifier. The communication control unit 13 generates a wireless device that stores a response based on the identifier assigned by the identifier calculation unit 14 and transmits the generated response to the transmission source of the identifier distribution through the transmission/reception unit 12.

圖4為顯示本實施形態之子機2的構成例之圖面。如圖4所示,子機2包括:天線21、傳送/接收部22、通信控制部23及應用處理部24。傳送/接收部22透過天線21接收無線訊號,將已接收無線訊號轉換成數位訊號輸入到通信控制部23。又,傳送/接收部22將從通信控制部23輸入的訊號 轉換為類比訊號,透過天線21作為無線訊號進行傳送。即,傳送/接收部22具有傳送部與接收部,天線21及傳送/接收部22的傳送部為傳送機,天線21及傳送/接收部22的接收部為接收機。 Fig. 4 is a view showing a configuration example of the slave unit 2 of the embodiment. As shown in FIG. 4, the slave 2 includes an antenna 21, a transmission/reception unit 22, a communication control unit 23, and an application processing unit 24. The transmitting/receiving unit 22 receives the wireless signal through the antenna 21, and converts the received wireless signal into a digital signal input to the communication control unit 23. Further, the transmission/reception unit 22 receives the signal input from the communication control unit 23. It is converted into an analog signal and transmitted through the antenna 21 as a wireless signal. That is, the transmission/reception unit 22 has a transmission unit and a reception unit, the transmission unit of the antenna 21 and the transmission/reception unit 22 is a transmitter, and the reception unit of the antenna 21 and the transmission/reception unit 22 is a receiver.

通信控制部23實施依據無線通信規格之通信協定處理。具體而言,例如,通信控制部23依據傳送的資料,產生依據無線通信規格之無線通信格式的訊號,也就是無線訊框訊號後,輸入到傳送/接收部22。通信控制部23在本機沒有分配標誌符的情況下,產生標誌符分布要求傳送到母機1。在傳送標誌符分布要求時,通信控制部23使用預先規定之標誌符分布要求的專用標誌符作為傳送源標誌符。通信控制部23判斷經由天線21及傳送/接收部22接收的訊號是否為寄給本機,若不是寄給本機的訊號之情況下,將該訊號經由天線21及傳送/接收部22進行傳送。即,在接收到不是寄給本機的訊號之情況下,將該訊號進行中繼。通信控制部23在經由天線21及傳送/接收部22接收的訊號為寄給本機的訊號之情況下,實施因應訊號內容的處理。例如,通信控制部23分析從傳送/接收部22輸入的訊號、即接收訊號後判斷接收訊號的類別,在接收訊號的類別為對標誌符分布要求的應答,且該應答並非通知錯誤(error)者的情況下,將儲存在該應答之標誌符作為本機通信所用的標誌符進行設定,同時通知給應用處理部24。之後,通信控制部23將上述之經設定的標誌符用來作為傳送源標誌符。例如,通信控制部23在將儲存有根據應用處理部24產生的資料之資料訊號傳送到母機1時,將上述之經設定的標 誌符作為該資料訊號內的傳送源標誌符進行儲存。 The communication control unit 23 performs communication protocol processing in accordance with the wireless communication standard. Specifically, for example, the communication control unit 23 generates a signal of a wireless communication format according to the wireless communication standard, that is, a wireless frame signal, based on the transmitted data, and inputs it to the transmitting/receiving unit 22. When the local control unit 23 does not assign an identifier, the communication control unit 23 generates a flag distribution request to be transmitted to the parent machine 1. When the identifier distribution request is transmitted, the communication control unit 23 uses the dedicated identifier required for the predetermined flag distribution as the transmission source identifier. The communication control unit 23 determines whether or not the signal received via the antenna 21 and the transmission/reception unit 22 is sent to the local device. If it is not the signal transmitted to the local device, the signal is transmitted via the antenna 21 and the transmission/reception unit 22. . That is, the signal is relayed when a signal that is not sent to the unit is received. When the signal received via the antenna 21 and the transmission/reception unit 22 is a signal transmitted to the own device, the communication control unit 23 performs processing of the response signal content. For example, the communication control unit 23 analyzes the signal input from the transmission/reception unit 22, that is, the received signal, and determines the type of the received signal. The type of the received signal is a response to the identifier distribution request, and the response is not an error. In the case of the user, the identifier stored in the response is set as an identifier for local communication, and is notified to the application processing unit 24. Thereafter, the communication control unit 23 uses the above-described set identifier as the transmission source identifier. For example, when the communication control unit 23 transmits the data signal storing the data generated by the application processing unit 24 to the parent machine 1, the above-described set target is transmitted. The symbol is stored as the source identifier in the data signal.

應用處理部24產生傳送的資料,將已產生的資料傳達給通信控制部23。在本實施形態中,應用處理部24所實施的處理,例如為在每一定時間傳送已產生的資料之處理,應用處理部24在每一定時間將已產生的資料傳達給通信控制部23。又,取代應用處理部24直接產生資料,將子機2與測量裝置等外部機器連接,應用處理部24將從外部機器取得的資料在每一定時間傳達給通信控制部23亦可。在應用處理部24中,預先設定產生的資料之資料容量,應用處理部24在內部或外部記憶體保持資料容量。應用處理部24保持資料容量成為例如上述的佔有數。應用處理部24對於上述之每1單位分的資料對應附予標誌符後,將該資料傳達給通信控制部23。又,應用處理部24在不對應附予標誌符下將佔有數分的資料輸出到通信控制部23亦可。 The application processing unit 24 generates the transmitted material, and transmits the generated data to the communication control unit 23. In the present embodiment, the processing executed by the application processing unit 24 is, for example, a process of transmitting the generated data every predetermined period of time, and the application processing unit 24 transmits the generated data to the communication control unit 23 every predetermined period of time. Further, instead of the application processing unit 24 directly generating data, the slave unit 2 is connected to an external device such as a measurement device, and the application processing unit 24 can transmit the data acquired from the external device to the communication control unit 23 every predetermined period of time. The application processing unit 24 sets the data capacity of the generated data in advance, and the application processing unit 24 holds the data capacity in the internal or external memory. The application processing unit 24 holds the data capacity as, for example, the above-mentioned occupancy. The application processing unit 24 transmits the data to the communication control unit 23 after the identifier is attached to each of the above-mentioned data. Further, the application processing unit 24 may output the data occupying the number to the communication control unit 23 without corresponding to the attached identifier.

圖5為顯示本實施形態之中繼機3的構成例之圖面。如圖5所示,子機2包括:天線31、傳送/接收部32及通信控制部33。傳送/接收部32透過天線31接收無線訊號,將接收到的無線訊號轉換為數位訊號後輸入到通信控制部33。又,傳送/接收部32將從通信控制部33輸入的訊號轉換為類比訊號後作為無線訊號透過天線31進行傳送。即,傳送/接收部32具有傳送部與接收部,天線31及傳送/接收部32的傳送部為傳送機,天線31及傳送/接收部32的接收部為接收機。 Fig. 5 is a view showing a configuration example of the relay unit 3 of the embodiment. As shown in FIG. 5, the slave 2 includes an antenna 31, a transmission/reception unit 32, and a communication control unit 33. The transmitting/receiving unit 32 receives the wireless signal through the antenna 31, converts the received wireless signal into a digital signal, and inputs it to the communication control unit 33. Further, the transmission/reception unit 32 converts the signal input from the communication control unit 33 into an analog signal and transmits it as a wireless signal through the antenna 31. That is, the transmission/reception unit 32 has a transmission unit and a reception unit, the transmission unit of the antenna 31 and the transmission/reception unit 32 is a transmitter, and the reception unit of the antenna 31 and the transmission/reception unit 32 is a receiver.

通信控制部33實施依據無線通信規格之通信協定處理。具體而言,例如,通信控制部33依據傳送的資料,產 生依照無線通信規格之無線訊號格式的訊號之無線訊框訊號後,輸入到傳送/接收部32。又,通信控制部33在本機沒有分配標誌符的情況下,產生標誌符分布要求傳送到母機2。在傳送標誌符分布要求時,通信控制部33使用預先設定的標誌符分布要求的專用標誌符作為傳送源標誌符。判斷經由天線31及傳送/接收部32接收的訊號是否為寄給本機,通信控制部33在並非寄給本機的訊號之情況下,將該訊號經由傳送/接收部32及天線31進行傳送。通信控制部33在經由天線31及傳送/接收部32接收的訊號為寄給本機的訊號之情況下,實施因應訊號內容的處理。例如,通信控制部33分析從傳送/接收部32所輸入的訊號、即接收訊號,判斷接收訊號的類別,在接收訊號的類別為對於標誌符分布要求之應答,且該應合並非為通知錯誤者之情況下,將儲存在該應答的標誌符設定作為本機通信所用的標誌符。 The communication control unit 33 performs communication protocol processing in accordance with the wireless communication standard. Specifically, for example, the communication control unit 33 produces the data based on the transmitted data. The radio frame signal of the signal in the wireless signal format according to the wireless communication specification is input to the transmission/reception unit 32. Further, when the device does not assign an identifier to the device, the communication control unit 33 generates a flag distribution request to be transmitted to the parent machine 2. When the identifier distribution request is transmitted, the communication control unit 33 uses the dedicated identifier required for the preset flag distribution as the transmission source identifier. It is judged whether or not the signal received via the antenna 31 and the transmitting/receiving unit 32 is sent to the local device, and the communication control unit 33 transmits the signal via the transmitting/receiving unit 32 and the antenna 31 in the case of not transmitting the signal to the own unit. . When the signal received via the antenna 31 and the transmission/reception unit 32 is a signal transmitted to the own device, the communication control unit 33 performs processing of the response signal content. For example, the communication control unit 33 analyzes the signal input from the transmission/reception unit 32, that is, the received signal, and determines the type of the received signal. The type of the received signal is a response to the identifier distribution request, and the combination should be a notification error. In the case of the user, the identifier stored in the response is set as the identifier used for the local communication.

又,在子機2-1~2-3中預先設定通信的對方、即母機1的標誌符。又,在中繼機3中亦同預先設定母機1的標誌符。又,母機1與子機2-1~2-3之間的通信路線為自律性架構通信路線者亦可,在不架構路線下使母機1與子機2-1~2-3直接或是透過中繼機3與母機1呈星(star)型連接亦可。 Further, in the slave units 2-1 to 2-3, the counterpart of the communication, that is, the identifier of the parent machine 1 is set in advance. Further, in the relay unit 3, the identifier of the parent machine 1 is also set in advance. Moreover, the communication route between the parent machine 1 and the slave machines 2-1 to 2-3 is a self-disciplined architecture communication route, and the parent machine 1 and the slave machines 2-1 to 2-3 are directly or not in the unstructured route. It is also possible to connect to the parent machine 1 via the relay unit 3 in a star type.

其次,針對母機1的硬體(hardware)構成進行說明。如上述所示,天線11及傳送/接收部12的傳送部為傳送機,天線11及傳送/接收部12的接收部為接收機。將通信控制部13、標誌符算出部14及應用處理部15則作為處理電路予以安裝。 Next, the hardware configuration of the parent machine 1 will be described. As described above, the transmission unit of the antenna 11 and the transmission/reception unit 12 is a transmitter, and the reception unit of the antenna 11 and the transmission/reception unit 12 is a receiver. The communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 are mounted as processing circuits.

實現通信控制部13、標誌符算出部14及應用處理部15之處理電路為專用的硬體亦可,包括記憶體、與執行儲存在記憶體的程式之CPU(Central Processing Unit(中央處理單元)、也可以稱為中央處理裝置、處理裝置、運算裝置、微處理器(microprocessor)、微電腦(microcomputer)、處理器、DSP(Digital Signal Processor(數位訊號處理器))之控制電路亦可。其中,所謂記憶體相當於例如RAM(Random Access Memory(隨機存取記憶體))、ROM(Read Only Memory(唯讀記憶體))、快閃記憶體、EPROM(Erasable Programmable Read Only Memory(可抹除的可程式唯讀記憶體))、EEPROM(Electrically Erasable Programmable Read Only Memory(電子式可抹除的可程式唯讀記憶體))等之非揮發性或揮發性的半導體記憶體、磁片(disk)、可撓式碟片(flexible disk)、光碟、壓縮光碟(compact disk)、迷你光碟(mini disk)、DVD(Digital Versatile Disk(數位多功能光碟))等。 The processing circuit for realizing the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 may be dedicated hardware, and includes a memory and a CPU (Central Processing Unit) that executes a program stored in the memory. The control circuit of the central processing unit, the processing unit, the arithmetic unit, the microprocessor, the microcomputer, the processor, and the DSP (Digital Signal Processor) may be referred to as a control circuit. The memory corresponds to, for example, RAM (Random Access Memory), ROM (Read Only Memory), flash memory, and EPROM (Erasable Programmable Read Only Memory). Non-volatile or volatile semiconductor memory, disk, etc., such as EEPROM (Electrically Erasable Programmable Read Only Memory) , flexible disk, optical disk, compact disk, mini disk, DVD (Digital Versatile Disk).

在上述的處理電路為利用專用的硬體予以實現的情況下,此等為例如單一電路、複合電路、經程式(program)化之處理器(processor)、經平行程式化之處理器、ASIC(Application Specific Integrated Circuit(專用集成電路))、FPGA(Field Programmable Gate Array(場效可程式化閘極陣列))、或是組合此等者。 In the case where the above-described processing circuit is implemented by a dedicated hardware, such as a single circuit, a composite circuit, a programmed processor, a parallel-programmed processor, an ASIC ( Application Specific Integrated Circuit, FPGA (Field Programmable Gate Array), or a combination of these.

上述的處理電路為利用包括CPU之控制電路予以實現的情況下,該控制電路例如是如圖6所示之構成的控制電路200。如圖6所示,控制電路200包括:接收從外部輸入的 資料之接收部,也就是輸入部201;CPU,也就是處理器202;記憶體203;將資料傳送到外部之傳送部,也就是輸出部204。輸入部201為接收從控制電路200的外部輸入的資料後傳給處理器202的介面(interface)電路,輸出部204為將來自處理器202或記憶體203的資料傳送到控制電路200的外部之介面電路。在上述的處理電路為藉由如圖6所示的控制電路200予以實現的情況下,藉由處理器202讀出並執行記憶在記憶體203之與通信控制部13、標誌符算出部14及應用處理部15的各處理對應的程式予以實現。又,記憶體203亦可用來作為處理器202所實施的各處理之暫時記憶體。 In the case where the above-described processing circuit is realized by a control circuit including a CPU, the control circuit is, for example, a control circuit 200 constructed as shown in FIG. As shown in FIG. 6, the control circuit 200 includes: receiving input from the outside The data receiving unit, that is, the input unit 201; the CPU, that is, the processor 202; the memory 203; and the data transfer unit to the external transfer unit, that is, the output unit 204. The input unit 201 is an interface circuit that receives the data input from the outside of the control circuit 200 and transmits the data to the processor 202. The output unit 204 transmits the data from the processor 202 or the memory 203 to the outside of the control circuit 200. Interface circuit. When the processing circuit described above is implemented by the control circuit 200 as shown in FIG. 6, the processor 202 reads and executes the communication control unit 13 and the identifier calculation unit 14 which are stored in the memory 203 and The program corresponding to each process of the application processing unit 15 is realized. Moreover, the memory 203 can also be used as a temporary memory for each process performed by the processor 202.

通信控制部13、標誌符算出部14及應用處理部15各自利用處理電路分別實現亦可,將通信控制部13、標誌符算出部14及應用處理部15之中的2個以上作為1個處理電路予以實現亦可。 Each of the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 may be implemented by a processing circuit, and two or more of the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 may be used as one processing. The circuit can also be implemented.

其次,針對子機2的硬體構成進行說明。如上述所示,天線21及傳送/接收部22的傳送部為傳送機,天線21及傳送/接收部22的接收部為接收機。將通信控制部23及應用處理部24作為處理電路予以安裝。處理電路與在母機1所說明的處理電路相同,其為專用的硬體亦可,包括CPU的控制電路亦可。 Next, the hardware configuration of the slave unit 2 will be described. As described above, the transmission unit of the antenna 21 and the transmission/reception unit 22 is a transmitter, and the reception unit of the antenna 21 and the transmission/reception unit 22 is a receiver. The communication control unit 23 and the application processing unit 24 are mounted as processing circuits. The processing circuit is the same as the processing circuit described in the parent machine 1. It may be a dedicated hardware, and may include a control circuit of the CPU.

其次,針對中繼機3的硬體構成進行說明。如上述所示,天線31及傳送/接收部32的傳送部為傳送機,天線31及傳送/接收部32的接收部為接收機。將通信控制部33作為處理電路進行安裝。處理電路與在母機1所說明的處理電路 相同,其為專用的硬體亦可,包括CPU的控制電路亦可。 Next, the hardware configuration of the relay unit 3 will be described. As described above, the transmission unit of the antenna 31 and the transmission/reception unit 32 is a transmitter, and the reception unit of the antenna 31 and the transmission/reception unit 32 is a receiver. The communication control unit 33 is mounted as a processing circuit. Processing circuit and processing circuit described in the parent machine 1 The same, it can be a dedicated hardware, including the control circuit of the CPU.

以下,針對本實施形態的動作進行說明。首先,說明子機2的動作。圖7為顯示本實施形態之子機2中關於標誌符分布的處理步驟之一例的流程圖。子機2在例如應用處理部24的處理為首次起動時等、未設定本機的標誌符時,實施圖7所示之關於標誌符分布的處理。如圖7所示,首先,子機2使用預先設定的標誌符分布要求的專用標誌符作為本機所用的標誌符進行通信的方式,設定本機(步驟(step)S1)。具體而言,子機2的通信控制部23使用標誌符分布要求的專用標誌符作為傳送訊號的傳送源標誌符,在接收訊號的寄送處標誌符為標誌符分布要求的專用標誌符的情況下,判斷其為寄給本機的訊號。 Hereinafter, the operation of this embodiment will be described. First, the operation of the slave 2 will be described. Fig. 7 is a flow chart showing an example of a processing procedure for the marker distribution in the child machine 2 of the embodiment. When the processing of the application processing unit 24 is, for example, the first start, and the identifier of the own machine is not set, the sub-machine 2 performs the processing regarding the marker distribution shown in FIG. 7 . As shown in Fig. 7, first, the slave unit 2 sets the local mode by using the dedicated identifier required for the flag distribution required in advance as the identifier used for the machine (step S1). Specifically, the communication control unit 23 of the slave unit 2 uses the dedicated identifier required for the identifier distribution as the transmission source identifier of the transmission signal, and the case where the transmission identifier of the received signal is the dedicated identifier required for the marker distribution. Next, judge it as the signal sent to the unit.

其次,子機2產生包含本機的佔有數之標誌符分布要求,傳送給母機1(步驟S2)。具體而言,子機2的通信控制部23對應用處理部24詢問佔有數,從應用處理部24取得佔有數,產生儲存有佔有數之標誌符分布要求,經由傳送/接收部22及天線21進行傳送。又,雖然也有從子機2所傳送的標誌符分布要求是利用母機1直接接收的情況,但是也有如圖1所示,透過中繼機3後利用母機1予以接收的情況。在中繼機3中,通訊控制部33當經由天線31及傳送/接收部32接收從子機2所傳送的標誌符分布要求時,由於並非是寄給本機的訊號,因此將已接收的訊號經由傳送/接收部32及天線31進行傳送、即轉送已接收的訊號。接著,母機1接收從中繼機3所傳送的標誌符分布要求。在子機2與母機1之間中繼機3存 在1個以上的情況下,重複根據中繼機3的轉送,使標誌符分布要求到達母機1。又,在上述的說明中,雖然圖示中繼機3進行轉送的例示,但是由於子機2也具有中繼機能,因此也有在上述的說明中進行轉送的中繼機3之中的幾個或全部都是子機2的情形。進行中繼情況的子機2的動作與中繼機3相同,在接收到並非是寄給本機的的資料訊號之情況下,若作為中繼機尚未從母機2分布到標誌符的情況下,傳送要求作為中繼機的標誌符分布之標誌符分布要求。 Next, the child machine 2 generates a flag distribution request including the number of occupations of the own machine, and transmits it to the parent machine 1 (step S2). Specifically, the communication control unit 23 of the slave device 2 inquires of the application processing unit 24 about the number of occupations, acquires the number of occupations from the application processing unit 24, and generates a flag distribution request in which the number of occupations is stored, via the transmission/reception unit 22 and the antenna 21. Transfer. Further, although the identifier distribution request transmitted from the slave unit 2 is directly received by the parent unit 1, it may be received by the base unit 1 after passing through the relay unit 3 as shown in FIG. In the relay unit 3, when the communication control unit 33 receives the identifier distribution request transmitted from the slave unit 2 via the antenna 31 and the transmission/reception unit 32, since it is not a signal transmitted to the unit, it will be received. The signal is transmitted via the transmitting/receiving unit 32 and the antenna 31, that is, the received signal is transferred. Next, the parent machine 1 receives the marker distribution request transmitted from the relay machine 3. Relay 3 is stored between the slave 2 and the master 1 In the case of one or more, the transfer of the relay device 3 is repeated, and the flag distribution request is reached to the parent machine 1. Further, in the above description, although the example in which the relay device 3 performs the transfer is illustrated, since the slave device 2 also has the relay function, there are several of the relay devices 3 that are transferred in the above description. Or all of them are the case of the slave 2. The operation of the slave device 2 in the relay state is the same as that of the relay device 3. When the data signal that is not sent to the own device is received, if the relay device has not been distributed from the parent device 2 to the identifier, , the transmission request is required as the identifier distribution of the identifier distribution of the relay machine.

圖8為顯示標誌符分布要求的格式之一例的圖面。如圖8所示,標誌符分布要求包含寄送處標誌符、傳送源標誌符、類別及佔有數。在該標誌符分布要求的傳送源中儲存預先規定之標誌符分布要求的專用標誌符,在寄送處標誌符中儲存母機1的標誌符,在類別中儲存顯示其標誌符分布要求的資訊。又,圖8為一例,標誌符分布要求的格式並不限於圖8的例示。 Fig. 8 is a view showing an example of a format of a marker distribution requirement. As shown in Figure 8, the identifier distribution requirements include the shipping location identifier, the transmission source identifier, the category, and the number of possessions. A special identifier for the predetermined identifier distribution is stored in the transmission source required by the identifier distribution, the identifier of the parent machine 1 is stored in the mailing identifier, and information indicating the distribution of the identifier is stored in the category. Moreover, FIG. 8 is an example, and the format of the identifier distribution requirement is not limited to the illustration of FIG.

回到圖7的說明,當子機2從母機1接收到標誌符時,以使用已接收的標誌符進行通信的方式,設定本機(步驟S3)。具體而言,子機2的通信控制部23經由天線21及傳送/接收部22從母機1接收標誌符分布要求的應答,在該應答並非通知錯誤者並在該應答儲存有標誌符的情況下,將該標誌符設定用來作為之後的通訊之本機的標誌符。例如,子機2在傳送藉由應用處理部24所產生的資料時,將傳送源標誌符設定為儲存在該應答的標誌符,傳送儲存有本機利用標誌符分布要求通知的佔有數分資料的資料訊號。又,佔有數分的資料並 非是一次傳送,而是分成每1單位傳送資料亦可。在該情況下,在儲存有各個資料之各個資料訊號中,全部將儲存在上述應答的標誌符作為傳送源標誌符予以儲存。 Returning to the description of Fig. 7, when the slave 2 receives the identifier from the parent machine 1, the slave device 2 sets the local device so as to communicate using the received identifier (step S3). Specifically, the communication control unit 23 of the slave unit 2 receives the response of the identifier distribution request from the parent machine 1 via the antenna 21 and the transmission/reception unit 22, and if the response is not the notification of the wrong person and the identifier is stored in the response, This flag is set as the identifier of the local communication of the subsequent communication. For example, when the child machine 2 transmits the data generated by the application processing unit 24, the transmission source identifier is set to the identifier stored in the response, and the occupied number information of the local use identifier distribution request notification is transmitted and stored. Information signal. Also, occupying a few points of information It is not a single transmission, but it is also possible to transfer data per unit. In this case, all of the data symbols stored in the respective data are stored as the transmission source identifiers in the respective data signals in which the respective data are stored.

其次,說明中繼機3的動作。圖9為顯示本實施形態之有關中繼機3的標誌符分布要求之處理步驟的一例之流程圖。中繼機3例如在本機起動,尚未設定本機的標誌符時,實施如圖9所示之有關標誌符分布的處理。如圖9所示,首先,中繼機3以使用預先規定之標誌符分布要求的專用標誌符作為本機所用的標誌符進行通訊的方式設定本機(步驟S11)。具體而言,中繼機3的通信控制部33使用標誌符分布要求的專用標誌符作為傳送的訊號之傳送源標誌符,在接收訊號的寄送處標誌符為標誌符分布要求的專用標誌符的情況下,判斷其為寄給本機的訊號。 Next, the operation of the relay unit 3 will be described. Fig. 9 is a flow chart showing an example of a processing procedure of the identifier distribution request of the relay unit 3 of the embodiment. When the repeater 3 is started up, for example, when the identifier of the own machine has not been set, the process of distributing the marker as shown in FIG. 9 is performed. As shown in FIG. 9, first, the relay unit 3 sets the local mode in such a manner that the dedicated identifier using the predetermined flag distribution request is used as the identifier used by the device (step S11). Specifically, the communication control unit 33 of the relay unit 3 uses the dedicated identifier required for the identifier distribution as the transmission source identifier of the transmitted signal, and the destination identifier of the received signal is the dedicated identifier required for the distribution of the identifier. In the case, it is judged to be a signal sent to the unit.

其次,中繼機3產生包含顯示本機為中繼機的資訊之標誌符分布要求,傳送到母機1(步驟S12)。具體而言,中繼機3的通信控制部33產生儲存有顯示本機為中繼機的資訊之標誌符分布要求,經由傳送/接收部32及天線31進行傳送。從中繼機3所傳送的標誌符分布要求例如使用與圖8所示之標誌符分布要求相同的格式,藉由在佔有數的區域儲存0、即將佔有數設定為0,顯示本機為中繼機亦可。或是,在標誌符分布要求中設置與佔有數的區域不同,顯示是否為中繼機3、即顯示為中繼機3或是子機2的資訊之區域,在該區域儲存顯示為中繼機3的資訊亦可。在該情況下,子機2為在該區域儲存顯示為子機2的資訊。又,從中繼機3所傳送的標誌符 分布要求利用母機1直接接收亦可,透過其他中繼機3或是子機2利用母機1接收亦可。 Next, the relay unit 3 generates an identifier distribution request including information indicating that the unit is a relay machine, and transmits it to the parent machine 1 (step S12). Specifically, the communication control unit 33 of the relay unit 3 generates an identifier distribution request for storing information indicating that the unit is a relay machine, and transmits it via the transmission/reception unit 32 and the antenna 31. The identifier distribution required to be transmitted from the relay unit 3 is, for example, the same format as the identifier distribution requirement shown in FIG. 8. By storing 0 in the occupied area and setting the occupied number to 0, the display unit is relayed. The machine is also available. Or, in the identifier distribution request, the area different from the occupied number is set, and whether the area of the relay 3, that is, the information displayed as the repeater 3 or the slave 2 is displayed, and the display is stored as a relay in the area. The information of machine 3 is also available. In this case, the slave 2 stores information displayed as the slave 2 in the area. Also, the identifier transmitted from the relay unit 3 The distribution request may be directly received by the parent machine 1, and may be received by the parent machine 1 through the other relay machine 3 or the child machine 2.

回到圖9的說明,當中繼機3從母機1接收到標誌符時,以使用已接收的標誌符進行通訊的方式設定本機(步驟S13)。具體而言,中繼機3的通信控制部33經由天線31及傳送/接收部32從母機1接收標誌符分布要求的應答,在該應答並非通知錯誤而且在該應答儲存有標誌符的情況下,使用該標誌符設定作為之後的通信之本機的標誌符。 Returning to the description of Fig. 9, when the relay unit 3 receives the identifier from the parent machine 1, the local machine is set in such a manner as to communicate using the received identifier (step S13). Specifically, the communication control unit 33 of the relay unit 3 receives the response of the identifier distribution request from the parent machine 1 via the antenna 31 and the transmission/reception unit 32, and in the case where the response is not a notification error and the identifier is stored in the response, Use this flag to set the identifier of the unit that is the subsequent communication.

其次,說明母機1的動作。圖10為顯示本實施形態之母機1的標誌符算出部14的標誌符算出處理步驟的一例之流程圖。母機1的標誌符算出部14初始化以下的參數(parameter)、即子機最大標誌符及中繼機最小標誌符(步驟S21)。第1值之子機最大標誌符為顯示直至目前分配到子機2之標誌符的最大值、即已分配到子機2之標誌符的最大值之值。第2值之中繼機最小標誌符為顯示直至目前分配到中繼機3之標誌符的最小值、即已分配到中繼機3之標誌符的最小值之值。具體而言,例如將子機最大標誌符初始化為比作為標誌符可使用的值之範圍的最小值更小1的值,將中繼機最小標誌符初始化為比作為標誌符可使用的值之範圍的最大值更小1的值。例如,作為標誌符可使用的值範圍為1至511的情況下,將子機最大標誌符設定為0,將中繼機最小標誌符設定為511。又,其中,將511用來作為標誌符分布要求專用的標誌符,不用來作為分配到中繼機3及子機2的標誌符。因此,可分配到中繼機3及子機2之標誌符的最大值為510。 Next, the operation of the parent machine 1 will be described. FIG. 10 is a flowchart showing an example of the procedure of the marker calculation processing by the marker calculation unit 14 of the parent machine 1 of the embodiment. The identifier calculation unit 14 of the parent machine 1 initializes the following parameters, that is, the child maximum identifier and the relay minimum identifier (step S21). The child machine maximum identifier of the first value is a value indicating the maximum value of the identifier assigned to the child machine 2 up to now, that is, the maximum value of the identifier assigned to the child machine 2. The relay value minimum identifier of the second value is a value indicating the minimum value of the identifier assigned to the relay unit 3, that is, the minimum value of the identifier assigned to the relay unit 3. Specifically, for example, the child machine maximum identifier is initialized to a value that is one less than the minimum value of the range of values that can be used as the identifier, and the relay minimum identifier is initialized to a value that is usable as the identifier. The maximum value of the range is smaller than the value of 1. For example, when the value range that can be used as the identifier is 1 to 511, the slave maximum identifier is set to 0, and the relay minimum identifier is set to 511. Further, 511 is used as a flag for the identifier distribution request, and is not used as an identifier assigned to the relay 3 and the slave 2. Therefore, the maximum value of the identifiers assignable to the repeater 3 and the slave 2 is 510.

其次,標誌符算出部14等待接收來自子機2或中繼機3的標誌符分布要求、待機來自子機2或中繼機3的標誌符分布要求的接收(步驟S22)。經由天線21、傳送/接收部22及通信控制部23接收標誌符分布要求時(步驟S23),確認標誌符分布要求的傳送源(步驟S24)。具體而言,在標誌符算出部14例如以標誌符分布要求的佔有數之區域為0時顯示為中繼機3的方式預先設定的情況下,在佔有數為0的情況下判斷傳送源為中繼機3,在佔有數為非0的情況下判斷傳送源為子機2。 Next, the identifier calculation unit 14 waits to receive the identifier distribution request from the slave 2 or the relay 3, and waits for reception of the identifier distribution request from the slave 2 or the relay 3 (step S22). When the identifier distribution request is received via the antenna 21, the transmission/reception unit 22, and the communication control unit 23 (step S23), the transmission source of the identifier distribution request is confirmed (step S24). Specifically, when the identifier calculation unit 14 sets the area of the number of occupations required for the identifier distribution to 0, for example, when the mode is displayed as the relay unit 3, when the number of occupations is 0, the transmission source is determined to be The relay unit 3 determines that the transmission source is the slave unit 2 when the number of occupations is not zero.

在傳送源為子機2的情況(步驟S24子機),標誌符算出部14在以下確認式(1)是否成立(步驟S25)。 When the transmission source is the slave 2 (the slave in step S24), the identifier calculation unit 14 confirms whether or not the expression (1) is satisfied (step S25).

子機最大標誌符+已接收的佔有數<中繼機最小標誌符...(1) Sub-machine maximum identifier + received occupancy number <relay minimum identifier...(1)

在式(1)成立的情況下(步驟S25是),標誌符算出部14決定「子機最大標誌符+1」為標誌符(步驟S26)。即,標誌符算出部14將子機最大標誌符更大1的標誌符分配到標誌符分布要求的傳送源之子機2。標誌符算出部14將已決定的標誌符輸出到通信控制部23。 When the expression (1) is satisfied (YES in step S25), the marker calculation unit 14 determines that the "slave maximum identifier +1" is the identifier (step S26). In other words, the identifier calculation unit 14 assigns the identifier of the child maximum identifier to 1 to the slave 2 of the transmission source required for the marker distribution. The identifier calculation unit 14 outputs the determined identifier to the communication control unit 23.

其次,標誌符算出部14將子機最大標誌符更新為「子機最大標誌符+從要求傳送源接收到的佔有數」(步驟S27),回到步驟S22。從要求傳送源接收到的佔有數為儲存在標誌符分布要求的佔有數。 Next, the identifier calculation unit 14 updates the child maximum identifier to "the child maximum identifier + the number of occupations received from the request source" (step S27), and returns to step S22. The number of possessions received from the requesting source is the number of possessions stored in the identifier distribution requirements.

利用步驟S25,判斷式(1)不成立的情況下(步驟S25否),標誌符算出部14將為錯誤通知給通信控制部23、 即將無法進行標誌符的分配通知給通信控制部23(步驟S31)、回到步驟S22。在本實施形態中,由於在子機2中從低號依序往高號分配標誌符,在中繼機3中從高號依序往低號分配標誌符,在式(1)不成立的情況下,已分配到中繼機3的標誌符與要分配到子機2的標誌符重複,因此對子機2不分配標誌符。即,標誌符算出部14在判斷標誌符分布要求之傳送源的無線機為子機2的情況下,若子機最大標誌符與儲存在標誌符分布要求的佔有數相加後之值為中繼機最小標誌符以上的情況下,朝標誌符分布要求之傳送源的無線機不分配標誌符。 When it is determined in the step S25 that the expression (1) is not satisfied (NO in the step S25), the identifier calculation unit 14 notifies the communication control unit 23 of the error. The assignment of the identifier is not notified to the communication control unit 23 (step S31), and the flow returns to step S22. In the present embodiment, in the slave unit 2, the identifier is assigned to the upper number from the lower number to the upper number, and the identifier is assigned to the lower number from the high number in the relay unit 3, and the expression (1) is not satisfied. Next, the identifier assigned to the relay 3 is overlapped with the identifier to be assigned to the slave 2, and thus the identifier is not assigned to the slave 2. In other words, when the wireless device that determines the transmission source of the identifier distribution request is the slave 2, the identifier calculation unit 14 repeats the value of the maximum identifier of the slave and the number of possessions stored in the identifier distribution. In the case of a machine minimum identifier or more, the wireless device that transmits the source to the identifier is not assigned an identifier.

又,利用步驟S24,在傳送源為中繼機3的情況(步驟S24中繼機),確認以下所示之式(2)是否成立(步驟S28)。 In the case where the transmission source is the relay unit 3 (the relay machine in step S24), it is checked whether or not the following formula (2) is satisfied (step S28).

中繼機最小標誌符-1>子機最大標誌符...(2) Repeater minimum identifier-1> child maximum identifier...(2)

在式(2)成立的情況下(步驟S28是),標誌符算出部14決定「中繼機最小標誌符-1」為標誌符(步驟S29)。即,標誌符算出部14將中繼機最小標誌符更小1的標誌符分配到標誌符分布要求之傳送源的中繼機3。標誌符算出部14將已決定的標誌符輸出到通信控制部23。 When the expression (2) is satisfied (YES in step S28), the identifier calculation unit 14 determines "the relay minimum identifier-1" as the identifier (step S29). In other words, the identifier calculation unit 14 assigns the identifier having the relay minimum identifier of 1 to the relay device 3 of the transmission source of the marker distribution request. The identifier calculation unit 14 outputs the determined identifier to the communication control unit 23.

其次,標誌符算出部14將中繼機最小標誌符更新為「中繼機最小標誌符-1」(步驟S30),回到步驟S22。在式(2)不成立的情況下(步驟S28否),前進到步驟S31。即,在判斷標誌符分布要求之傳送源的無線機為中繼機3的情況下,若已分配到中繼機3之標誌符的最小值更小1的標誌符為子機最大標誌符以下的情況下,對標誌符分布要求之傳送源的無線機之傳送源的無線機不分配標誌符。 Next, the identifier calculation unit 14 updates the relay minimum identifier to "relay minimum identifier-1" (step S30), and returns to step S22. When the formula (2) is not satisfied (NO in step S28), the process proceeds to step S31. That is, when the wireless device that determines the source of the identifier distribution request is the relay device 3, if the minimum value of the identifier of the identifier assigned to the relay device 3 is one, the identifier of the slave device is less than the maximum identifier of the child machine. In the case of the wireless device of the transmission source of the transmission source of the identifier distribution, the identifier is not assigned.

其次,針對通信控制部23之產生對標誌符分布要求的應答之動作進行說明。圖11為顯示通信控制部23之產生對標誌符分布要求的應答之處理順序的一例之流程圖。當通信控制部23經由天線21及傳送/接收部22接收到標誌符分布要求時,將標誌符分布要求傳達給標誌符算出部14,待機來自標誌符算出部14的通知,開始產生如圖11所示之對標誌符分布要求的應答之處理。來自標誌符算出部14的通知為標誌符的通知、或是錯誤通知。例如,預先規定顯示錯誤的值,在從標誌符算出部14通知顯示錯誤的值之情況下,通信控制部23判斷為通知錯誤。顯示錯誤的值設定為標誌符有效值以外的值。通信控制部23在從標誌符算出部14取得顯示錯誤之值以外的情況下,判斷為收到標誌符。 Next, an operation of generating a response to the identifier distribution request by the communication control unit 23 will be described. FIG. 11 is a flowchart showing an example of a processing procedure of the response of the communication control unit 23 to the signature distribution request. When the communication control unit 23 receives the identifier distribution request via the antenna 21 and the transmission/reception unit 22, it transmits the identifier distribution request to the marker calculation unit 14, and waits for the notification from the marker calculation unit 14 to start generating the image as shown in FIG. The processing of the response to the marker assignment requirements is shown. The notification from the identifier calculation unit 14 is a notification of an identifier or an error notification. For example, when the value of the display error is predetermined, and the value of the display error is notified from the marker calculation unit 14, the communication control unit 23 determines that the error is notified. The value that displays the error is set to a value other than the valid value of the identifier. When the identifier calculation unit 23 obtains a value other than the display error, the communication control unit 23 determines that the identifier is received.

如圖11所示,通信控制部23判斷是否從標誌符算出部14收到標誌符(步驟S32)。在從標誌符算出部14收到標誌符的情況下(步驟S32是),產生儲存有要分布的標誌符、即標誌符算出部14算出的標誌符之應答,也就是對於標誌符分布要求的應答(步驟S33)。圖12為顯示利用步驟S33所產生的應答之格式的一例之圖面。如圖12所示,應答包含寄送處標誌符、傳送源標誌符、類別及分布的標誌符。在寄送處標誌符中儲存被儲存在標誌符分布要求的傳送源標誌符。又,在傳送源標誌符中儲存母機1的標誌符,在類別中儲存顯示為對於標誌符分布要求的應答之資訊。 As shown in FIG. 11, the communication control unit 23 determines whether or not the identifier is received from the marker calculation unit 14 (step S32). When the identifier is received from the marker calculation unit 14 (YES in step S32), a flag indicating that the marker to be distributed, that is, the marker calculated by the marker calculation unit 14 is stored, that is, the identifier distribution is required. Answer (step S33). Fig. 12 is a view showing an example of the format of the response generated by the step S33. As shown in FIG. 12, the response includes an identifier of the mailing place identifier, the transmission source identifier, the category, and the distribution. The source identifier stored in the identifier distribution is stored in the mailer identifier. Further, the identifier of the parent machine 1 is stored in the transmission source identifier, and the information displayed as the response to the marker distribution request is stored in the category.

利用步驟S32,在從標誌符算出部14沒有收到標誌符的情況下、即通知錯誤的情況下(步驟S32否),產生儲 存有通知錯誤的資訊之應答(步驟S34)。儲存有通知錯誤的資訊之應答的格式例如使用與圖12相同的格式,在類別的區域或是要分布標誌符的區域儲存顯示通知錯誤的資訊。或是,產生與圖12另外的格式之應答,儲存顯示通知錯誤的資訊亦可。在該情況亦同在應答中包含寄送處標誌符及傳送源標誌符,在寄送處標誌符中儲存被儲存在標誌符分布要求的傳送源標誌符,在傳送源標誌符中儲存母機1的標誌符。利用上述的步驟產生的應答透過傳送/接收部22及天線21傳送到子機2或中繼機3。又,與傳送標誌符分布要求的情況相同,透過子機2或中繼機3將應答回傳到標誌符分布要求的傳送源之子機2或中繼機3亦可。 When the flag is not received by the identifier calculation unit 14 in step S32, that is, when an error is notified (NO in step S32), a storage is generated. There is a response to the notification of the error message (step S34). The format of the response in which the information of the notification error is stored is, for example, in the same format as that of FIG. 12, and the information indicating the notification error is stored in the area of the category or the area in which the identifier is to be distributed. Alternatively, a response to another format of FIG. 12 is generated, and information for displaying a notification error may be stored. In this case, the mailing address identifier and the transmission source identifier are also included in the response, and the transmission source identifier stored in the identifier distribution requirement is stored in the mailing address identifier, and the parent machine 1 is stored in the transmission source identifier. Signs. The response generated by the above steps is transmitted to the slave 2 or the repeater 3 through the transmitting/receiving section 22 and the antenna 21. Further, in the same manner as in the case of transmitting the identifier distribution request, the slave device 2 or the relay device 3 may transmit the response back to the slave device 2 or the relay device 3 of the transmission source required for the marker distribution.

根據以上的處理,當接收到標誌符分布要求的應答時,標誌符分布要求的傳送源之子機2或中繼機3如上述所示,使用儲存在應答的標誌符進行通訊。子機2將儲存在應答的標誌符作為傳送源標誌符儲存在儲存有利用應用處理部24所產生的資料之資料訊號後傳送。圖13為顯示資料訊號的格式之一例的圖面。資料訊號包含寄送處標誌符、傳送源標誌符、類別及資料。在寄送處標誌符中儲存母機1的標誌符,在傳送源標誌符中儲存被儲存在上述應答的標誌符,在類別中儲存顯示為資料訊號的標誌符。在資料中儲存利用應用處理部24所產生的資料。又,如上述所示,在資料訊號中儲存有子機2的佔有數分的資料亦可,以每1單位分的資料產生資料訊號亦可。 According to the above processing, when the response of the flag distribution request is received, the child machine 2 or the relay device 3 of the transmission source required for the flag distribution communicates using the identifier stored in the response as described above. The child machine 2 stores the identifier stored in the response as a transmission source identifier and transmits it after storing the data signal of the data generated by the application processing unit 24. Fig. 13 is a view showing an example of a format of a data signal. The data signal contains the mailing address identifier, the source identifier, the category and the data. The identifier of the parent machine 1 is stored in the mailing address identifier, the identifier stored in the response is stored in the transmission source identifier, and the identifier displayed as the data signal is stored in the category. The data generated by the application processing unit 24 is stored in the material. Further, as described above, the information of the number of the slaves 2 stored in the data signal may be stored, and the data signal may be generated for each unit of data.

其次,針對母機1及子機2的應用處理進行說明。 圖14為顯示子機2的應用處理部24的處理步驟之一例的流程圖。如圖14所示,應用處理部24判斷是否已發生應傳送的資料、或是經過一定時間(步驟S101)。在已發生應傳送的資料、或是經過一定時間的情況下(步驟S101是),應用處理部24對通信控制部23進行資料輸出(步驟S102),回到步驟S101。通信控制部23經由傳送/接收部22及天線21傳送儲存有從應用處理部24所輸出的資料之資料訊號。在沒有發生應傳送的資料且沒有經過一定時間的情況下(步驟S101否),回到步驟S101。又,由於步驟S101的條件是依存將資料的傳送契機如何規定而有所不同,因此傳送契機不限於步驟S101所示的條件。 Next, the application processing of the parent machine 1 and the slave machine 2 will be described. FIG. 14 is a flowchart showing an example of the processing procedure of the application processing unit 24 of the slave unit 2. As shown in FIG. 14, the application processing unit 24 determines whether or not the material to be transmitted has occurred or has elapsed for a certain period of time (step S101). When the data to be transmitted has occurred or a certain period of time has elapsed (YES in step S101), the application processing unit 24 outputs the data to the communication control unit 23 (step S102), and returns to step S101. The communication control unit 23 transmits the data signal storing the data output from the application processing unit 24 via the transmission/reception unit 22 and the antenna 21. When the data to be transmitted does not occur and a certain period of time has not elapsed (NO in step S101), the process returns to step S101. Further, since the condition of step S101 differs depending on how the information transmission timing is specified, the transmission timing is not limited to the condition shown in step S101.

圖15為顯示母機1之應用處理部15的處理步驟之一例的流程圖。如圖15所示,應用處理部15判斷是否經由天線11、傳送/接收部12及通信控制部13從子機2收到資料(步驟S201)。在從子機2接收到資料的情況下(步驟S201是),應用處理部15從資料地圖之與傳送源標誌符對應的位置將已接收的資料儲存在對應傳送源標誌符之子機的佔有數分的區域(步驟S202),回到步驟S201。在沒有從子機2接收到資料的情況下(步驟S201否),回到步驟S201。又,應用處理部15在已接收的資料之資料量與對應佔有數的資料量不一致之情況下,判斷為錯誤。或是,應用處理部15在已接收的資料量無法填滿對應佔有數的資料量之情況下,從該區域的前面開始儲存已接收的資料,在已接收的資料量超過對應佔有數的資料量之情況下,捨棄超過佔有數分的資料。 FIG. 15 is a flowchart showing an example of the processing procedure of the application processing unit 15 of the parent machine 1. As shown in FIG. 15, the application processing unit 15 determines whether or not data is received from the slave unit 2 via the antenna 11, the transmission/reception unit 12, and the communication control unit 13 (step S201). When the data is received from the child machine 2 (YES in step S201), the application processing unit 15 stores the received data in the number of the slaves corresponding to the source identifier from the position corresponding to the source identifier on the material map. The divided area (step S202) returns to step S201. When the data is not received from the child machine 2 (NO in step S201), the process returns to step S201. Further, the application processing unit 15 determines that the data amount of the received data does not match the amount of data corresponding to the number of occupations. Alternatively, the application processing unit 15 stores the received data from the front of the area when the amount of received data cannot fill the amount of data corresponding to the number of occupations, and the amount of received data exceeds the corresponding number of data. In the case of volume, discard data that exceeds the number of possessions.

其次,舉出假設佔有數的具體例,說明本實施形態的動作。圖16為顯示本實施形態之通信系統中子機2的佔有數之一例的圖面。圖16為顯示以圖1所示的通信系統構成為前提時之子機2-1~2-3的佔有數。在圖16所示之例示中,子機2-1的佔有數為2,子機2-2的佔有數為3,子機2-3的佔有數為1。中繼機3不產生資料。 Next, the operation of this embodiment will be described with reference to a specific example of the assumed number of possessions. Fig. 16 is a view showing an example of the number of occupations of the slave unit 2 in the communication system of the embodiment. Fig. 16 is a view showing the number of occupations of the slave units 2-1 to 2-3 when the configuration of the communication system shown in Fig. 1 is assumed. In the example shown in FIG. 16, the number of occupations of the slave unit 2-1 is 2, the number of occupation of the slave unit 2-2 is 3, and the number of occupation of the slave unit 2-3 is 1. The relay unit 3 does not generate data.

圖17為顯示本實施形態之通信系統中標誌符的分布處理之一例的程序圖。首先,母機1如圖10的步驟S21及步驟S22所示,將子機最大標誌符及中繼機最小標誌符初始化,等待接收標誌符分布要求(步驟S41、步驟S42)。其中,將子機最大標誌符初始化為0,將中繼機最小標誌符初始化為511。之後,子機2-1如圖7的步驟S1、步驟S2所示,將標誌符分布要求的專用標誌符設定在本機,傳送佔有數設定為2之標誌符分布要求(步驟S43、步驟S44)。又,其中,如上述所示將標誌符分布要求的專用標誌符為511。 Fig. 17 is a flowchart showing an example of distribution processing of identifiers in the communication system of the embodiment. First, as shown in steps S21 and S22 of FIG. 10, the parent machine 1 initializes the child maximum identifier and the relay minimum identifier, and waits for reception of the identifier distribution request (step S41, step S42). Among them, the child machine maximum identifier is initialized to 0, and the relay minimum identifier is initialized to 511. After that, as shown in step S1 and step S2 of FIG. 7, the slave unit 2-1 sets the dedicated identifier of the identifier distribution request to the local machine, and transmits the identifier distribution request with the number of occupations set to 2 (step S43, step S44). ). Further, among them, the dedicated identifier required for the identifier distribution is 511 as described above.

母機1利用如圖10所示之步驟S24,判斷標誌符分布要求的傳送源為子機2,實施步驟S25所示的比較,前進到步驟S26將標誌符決定為1,傳送儲存有已決定的標誌符之應答(步驟S45)。具體而言,由於子機最大標誌符+已接收的佔有數=0+2=2,中繼機最小標誌符=511,因此在步驟S45內所實施之標誌符算出部14的圖10之步驟S25中為子機最大標誌符+已接收的佔有數<中繼機最小標誌符,前進到步驟S26。接著,在步驟S45內所實施之圖10的步驟S26中,分配到子機2-1的標誌符為子機最大標誌符+1=1。通信控制部13從標誌符算 出部14收到標誌符,經由傳送/接收部12及天線11傳送儲存有已收到的標誌符之應答。又,母機1如圖10之步驟S27所示,將子機最大標誌符更新為子機最大標誌符+已接收的佔有數=2(步驟S46)。接著,再次等待接收標誌符分布要求(步驟S47)。子機2-1當接收到應答時,將儲存在應答之標誌符、即1設定作為本機的標誌符(步驟S48)。 The parent machine 1 uses the step S24 shown in FIG. 10 to determine that the transmission source of the identifier distribution request is the child machine 2, performs the comparison shown in step S25, proceeds to step S26, determines the flag to be 1, and transmits the determined storage. The response of the identifier (step S45). Specifically, since the child maximum identifier + the received occupancy number = 0 + 2 = 2 and the relay minimum identifier = 511, the steps of the marker calculation unit 14 implemented in step S45 are as shown in FIG. In S25, it is the child maximum identifier + the received number of possession <the relay minimum identifier, and the flow proceeds to step S26. Next, in step S26 of FIG. 10 implemented in step S45, the identifier assigned to the slave 2-1 is the child maximum identifier +1=1. The communication control unit 13 counts from the identifier The output unit 14 receives the identifier, and transmits a response in which the received identifier is stored via the transmitting/receiving unit 12 and the antenna 11. Further, as shown in step S27 of Fig. 10, the parent machine 1 updates the child machine maximum identifier to the child machine maximum identifier + the received number of occupations = 2 (step S46). Next, it waits again for receiving the flag distribution request (step S47). When receiving the response, the slave 2-1 sets the identifier of the response, that is, 1 as the identifier of the local device (step S48).

其次,中繼機3如圖9的步驟S11、步驟S12所示,將標誌符分布要求的專用標誌符設定在本機,傳送設定有本機為中繼機3之標誌符分布要求(步驟S49、步驟S50)。 Next, as shown in steps S11 and S12 of FIG. 9, the relay unit 3 sets the unique identifier of the identifier distribution request to the local machine, and transmits the identifier distribution request for which the local machine is the relay unit 3 (step S49). , step S50).

母機1利用圖10所示之步驟S24判斷標誌符分布要求的傳送源為中繼機3,實施步驟S28所示的比較,前進到步驟S29將標誌符決定為510,傳送儲存有已決定的標誌符之應答(步驟S51)。具體而言,由於中繼機最小標誌符-1=510,子機最大標誌符=2,在步驟S51內所實施之標誌符算出部14中的圖10之步驟S28中為中繼機最小標誌符-1>子機最大標誌符,前進到步驟S29。通信控制部13從標誌符算出部14接收到標誌符,經由傳送/接收部12及天線11傳送儲存有已收到的標誌符之應答。接著,在步驟S51內所實施之圖10的步驟S29中,分配到中繼機3的標誌符為中繼機最小標誌符-1=510。又,母機1如圖10之步驟S30所示,將中繼機最小標誌符更新為中繼機最小標誌符-1=510(步驟S52)。接著,再次等待接收標誌符分布要求(步驟S53)。中繼機3當接收到應答時,將儲存在應答之標誌符、即510設定作為本機的標誌符(步驟S54)。 The parent machine 1 determines that the transmission source of the marker distribution request is the relay machine 3 by using the step S24 shown in FIG. 10, performs the comparison shown in step S28, proceeds to step S29, determines the identifier to be 510, and transmits and stores the determined flag. The response is (step S51). Specifically, since the relay minimum identifier -1=510 and the child maximum identifier=2, the relay minimum flag is shown in step S28 of FIG. 10 in the marker calculation unit 14 implemented in step S51. The symbol -1> child machine maximum identifier, proceeds to step S29. The communication control unit 13 receives the identifier from the identifier calculation unit 14, and transmits a response in which the received identifier is stored via the transmission/reception unit 12 and the antenna 11. Next, in step S29 of FIG. 10 implemented in step S51, the identifier assigned to the relay unit 3 is the relay minimum identifier -1=510. Further, as shown in step S30 of Fig. 10, the parent machine 1 updates the relay minimum identifier to the relay minimum identifier -1 = 510 (step S52). Next, it waits again for receiving the flag distribution request (step S53). When receiving the response, the repeater 3 sets the identifier of the response, that is, 510, as the identifier of the local device (step S54).

之後,子機2-2如圖7的步驟S1、步驟S2所示,將標誌符分布要求的專用標誌符設定在本機,傳送佔有數設定為3之標誌符分布要求(步驟S55、步驟S56)。 Thereafter, as shown in step S1 and step S2 of FIG. 7, the slave 2-2 sets the dedicated identifier required for the identifier distribution to the local machine, and transmits the identifier distribution request with the number of occupations set to 3 (step S55, step S56). ).

母機1利用如圖10所示之步驟S24,判斷標誌符分布要求的傳送源為子機2,實施步驟S25所示的比較,前進到步驟S26將標誌符決定為3,傳送儲存有已決定的標誌符之應答(步驟S57)。具體而言,由於子機最大標誌符+已接收的佔有數=2+3=5,中繼機最小標誌符=510,因此在步驟S57內所實施之標誌符算出部14的圖10之步驟S25中為子機最大標誌符+已接收的佔有數<中繼機最小標誌符,前進到步驟S26。接著,在步驟S57內所實施之圖10的步驟S26中,分配到子機2-2的標誌符為子機最大標誌符+1=3。通信控制部13從標誌符算出部14收到標誌符,經由傳送/接收部12及天線11傳送儲存有已收到的標誌符之應答。又,母機1如圖10之步驟S27所示,將子機最大標誌符更新為子機最大標誌符+已接收的佔有數=5(步驟S58)。接著,再次等待接收標誌符分布要求(步驟S59)。子機2-2當接收到應答時,將儲存在應答之標誌符、即3設定作為本機的標誌符(步驟S60)。 The parent machine 1 uses the step S24 shown in FIG. 10 to determine that the transmission source of the identifier distribution request is the slave unit 2, performs the comparison shown in step S25, proceeds to step S26 to determine the identifier to be 3, and transmits and stores the determined flag. The response of the identifier (step S57). Specifically, since the child maximum identifier + the received occupancy number = 2+3 = 5 and the relay minimum identifier = 510, the steps of the marker calculation unit 14 implemented in step S57 are as shown in FIG. In S25, it is the child maximum identifier + the received number of possession <the relay minimum identifier, and the flow proceeds to step S26. Next, in step S26 of FIG. 10 implemented in step S57, the identifier assigned to the slave 2-2 is the child maximum identifier +1=3. The communication control unit 13 receives the identifier from the identifier calculation unit 14, and transmits a response in which the received identifier is stored via the transmission/reception unit 12 and the antenna 11. Further, as shown in step S27 of Fig. 10, the parent machine 1 updates the child machine maximum identifier to the child machine maximum identifier + the received number of occupations = 5 (step S58). Next, it waits again for receiving the flag distribution request (step S59). When the slave 2-2 receives the response, the identifier stored in the response, that is, 3 is set as the identifier of the own device (step S60).

之後,子機2-3如圖7的步驟S1、步驟S2所示,將標誌符分布要求的專用標誌符設定在本機,傳送佔有數設定為1之標誌符分布要求(步驟S61、步驟S62)。 Thereafter, as shown in step S1 and step S2 of FIG. 7, the slave unit 2-3 sets the dedicated identifier required for the identifier distribution to the local machine, and transmits the identifier distribution request with the number of occupations set to 1 (step S61, step S62). ).

母機1利用如圖10所示之步驟S24,判斷標誌符分布要求的傳送源為子機2,實施步驟S25所示的比較,前進到步驟S26將標誌符決定為6,傳送儲存有已決定的標誌符之 應答(步驟S63)。具體而言,由於子機最大標誌符+已接收的佔有數=5+1=6,中繼機最小標誌符=510,因此在步驟S63內所實施之標誌符算出部14的圖10之步驟S25中為子機最大標誌符+已接收的佔有數<中繼機最小標誌符,前進到步驟S26。接著,在步驟S63內所實施之圖10的步驟S26中,分配到子機2-3的標誌符為子機最大標誌符+1=6。通信控制部13從標誌符算出部14收到標誌符,經由傳送/接收部12及天線11傳送儲存有已收到的標誌符之應答。又,母機1如圖10之步驟S27所示,將子機最大標誌符更新為子機最大標誌符+已接收的佔有數=6(步驟S64)。接著,再次等待接收標誌符分布要求(步驟S65)。子機2-3當接收到應答時,將儲存在應答之標誌符、即6設定作為本機的標誌符(步驟S66)。 The parent machine 1 uses the step S24 shown in FIG. 10 to determine that the transmission source of the identifier distribution request is the slave unit 2, performs the comparison shown in step S25, proceeds to step S26 to determine the identifier to be 6, and transmits and stores the determined flag. Signature Answer (step S63). Specifically, since the child maximum identifier + the received number of possessions = 5 + 1 = 6, and the relay minimum identifier = 510, the steps of the marker calculation unit 14 implemented in step S63 are as shown in FIG. In S25, it is the child maximum identifier + the received number of possession <the relay minimum identifier, and the flow proceeds to step S26. Next, in step S26 of FIG. 10 implemented in step S63, the identifier assigned to the slave 2-3 is the child maximum identifier +1=6. The communication control unit 13 receives the identifier from the identifier calculation unit 14, and transmits a response in which the received identifier is stored via the transmission/reception unit 12 and the antenna 11. Further, as shown in step S27 of Fig. 10, the parent machine 1 updates the child machine maximum identifier to the child machine maximum identifier + the received number of occupations = 6 (step S64). Next, it waits again for receiving the flag distribution request (step S65). When receiving the response, the slave 2-3 sets the identifier of the response, that is, 6 as the identifier of the local device (step S66).

如以上所示,在圖18顯示母機1因應標誌符分布要求,朝子機2-1~2-3及中繼機3進行標誌符的分布、即標誌符的分配及通知後之標誌符及資料地圖的一例。如圖18所示,在進行應用處理之子機2-1~2-3中,從資料地圖的前面開始接連地連續分配依據各子機2的佔有數之資料區域。另一方面,分配到沒有進行應用處理的中繼機3之標誌符為510,不在分配到子機2-1~2-3之標誌符的範圍。在圖18中,記載資料地圖、即應用處理所使用的標誌符,其中標記下線的標誌符為子機2通信所用的標誌符。在本實施形態中,通信所用的標誌符為利用對於標誌符分布要求的應答通知給子機2。在子機2中,依據從對於標誌符分布要求的應答所通知的標誌符及本機的佔有數,在應用處理中可以確保分配到本機的標誌符。例 如,子機2-1的佔有數為2,由於從對於標誌符分布要求的應答通知標誌符1,可以確保包含標誌符1的2個標誌符、即標誌符1及標誌符2在應用處理中為分配到本機乙事。 As shown above, the distribution of the identifiers, that is, the assignment of the identifiers, and the identifiers and materials after the notification, are assigned to the slaves 2-1 to 2-3 and the relay 3 in accordance with the distribution requirements of the parent machine 1 in FIG. An example of a map. As shown in FIG. 18, in the child machines 2-1 to 2-3 that perform the application processing, the data areas according to the number of occupations of the respective slave devices 2 are successively successively distributed from the front side of the data map. On the other hand, the identifier assigned to the relay device 3 that has not been subjected to the application processing is 510, and is not allocated to the range of the identifiers of the child machines 2-1 to 2-3. In Fig. 18, a data map, that is, an identifier used for application processing, in which an identifier for marking the offline is used as an identifier for communication by the slave 2 is described. In the present embodiment, the identifier used for communication is notified to the slave 2 by the response to the identifier distribution request. In the child machine 2, the identifier assigned to the own machine can be secured in the application process in accordance with the identifier notified from the response to the flag distribution request and the number of possessions of the machine. example For example, if the number of possessions of the child machine 2-1 is 2, it is possible to ensure that the two identifiers including the identifier 1 , that is, the identifier 1 and the identifier 2 are applied in the application due to the response notification flag 1 required for the distribution of the identifier. The middle is assigned to the local machine.

其中,作為比較例,考量在不區分進行應用處理之子機102-1~102-3及不進行應用處理之中繼機103下,根據依序遞增分配方法使母機101分配標誌符到子機102-1~102-3及中繼機103的情形(case)。圖19為顯示比較例中之資料地圖的一例之圖面。母機101在不區分子機102-1~102-3及中繼機103下依照接收到標誌符分布要求的順序,從低號的標誌符開始依序進行分配的情況下,如圖19所示,在分配到子機102-1~102-3之標誌符的範圍中存在著分配到中繼機3的標誌符。在該比較例中,在以對每個標誌符都確保資料區域的方式產生資料地圖的情況下,使不傳送根據應用處理所產生的資料之中繼機103的資料區域確保在資料地圖上。為此,在彙集資料存在有沒被儲存有意義的資料之區域。 As a comparative example, considering the slaves 102-1 to 102-3 that do not distinguish between the application processing and the relay 103 that does not perform the application processing, the parent machine 101 assigns the identifier to the slave 102 according to the sequential incremental allocation method. -1~102-3 and the case of the relay machine 103. Fig. 19 is a view showing an example of a material map in a comparative example. When the parent machine 101 is sequentially assigned from the low-numbered identifiers in the order of receiving the identifier distribution in the non-regional molecular machines 102-1 to 102-3 and the relay machine 103, as shown in FIG. The identifier assigned to the relay unit 3 exists in the range of the identifiers assigned to the slave units 102-1 to 102-3. In the comparative example, in the case where the data map is generated in such a manner that the data area is secured for each of the identifiers, the data area of the relay unit 103 that does not transmit the data generated by the application processing is secured on the material map. For this reason, there is an area in which data is stored without meaningful data.

對於此點,在本實施形態中,如圖18所示,在資料地圖上不存在對應無意義資料的資料區域,在彙集資料沒有儲存無意義資料的情形。為此,可以抑制彙集資料內之無效資料。 In this regard, in the present embodiment, as shown in FIG. 18, there is no data area corresponding to meaningless data on the material map, and no meaningless data is stored in the collected data. For this reason, it is possible to suppress invalid data in the collected data.

其次,針對與圖16所示的例示不同狀態之本實施形態的通信系統中標誌符分布處理進行說明。圖20為顯示本實施形態之通信系統的構成例之圖面。在圖16中,雖然顯示了3機的子機2、1機的中繼機3傳送標誌符分布要求的例示,但是在圖20的例示中,設定為在中繼機3-1到3-11之11機的 中繼機3已經分布標誌符,在子機2-1到子機2-(x-1)之(x-1)機的子機2中已經分布標誌符。x為2以上的整數。又,根據子機2-1到子機2-(x-1)之標誌符分配,將子機最大標誌符已更新為497。在該狀態下,佔有數5的子機2-x傳送標誌符分布要求。又,由於已經在11台的中繼機3分布標誌符,因此圖20的例示中,中繼機最小標誌符為500。 Next, the marker distribution processing in the communication system of the present embodiment which is different from the exemplary embodiment shown in FIG. 16 will be described. Fig. 20 is a view showing a configuration example of a communication system of the embodiment. In FIG. 16, although the relay device 3 of the slaves 2 and 1 of the three devices is shown as an example of the transmission of the identifier distribution request, in the illustration of FIG. 20, the relays 3-1 to 3- are set. 11 of 11 The relay 3 has distributed the identifiers, and the identifiers have been distributed in the handset 2 of the (x-1) machine of the slave 2-1 to the slave 2-(x-1). x is an integer of 2 or more. Further, the slave maximum identifier is updated to 497 according to the identifier assignment of the slave 2-1 to the slave 2-(x-1). In this state, the sub-machine 2-x occupying the number 5 transmits the identifier distribution request. Further, since the identifiers are already distributed among the 11 relay machines 3, in the illustration of Fig. 20, the relay minimum identifier is 500.

圖21為顯示在圖20所示的狀態下,子機2-x傳送標誌符分布要求情況下之標誌符分布處理的一例之程序圖。首先,如上述所示,在母機1中成為設定有子機最大標誌符=497、中繼最小標誌符=500之狀態(步驟S71)。子機2-x如圖7之步驟S1、步驟S2所示,將標誌符分布要求的專用標誌符設定在本機,傳送佔有數設定為5之標誌符分布要求(步驟S72、步驟S73)。 Fig. 21 is a flowchart showing an example of the flag distribution processing in the case where the child machine 2-x transmits the flag distribution request in the state shown in Fig. 20. First, as described above, in the parent machine 1, the state in which the child maximum identifier = 497 and the relay minimum identifier = 500 are set (step S71). As shown in step S1 and step S2 of Fig. 7, the slave 2-x sets the dedicated identifier required for the identifier distribution to the local machine, and transmits the identifier distribution request with the number of occupations set to 5 (step S72, step S73).

母機1利用如圖10所示之步驟S24,判斷標誌符分布要求的傳送源為子機2,實施步驟S25所示的比較,前進到步驟S31判斷其為錯誤,傳送儲存有通知錯誤的資訊之應答(步驟S74)。具體而言,由於子機最大標誌符+已接收的佔有數=497+5=502,中繼機最小標誌符=500,因此在步驟S74內所實施之標誌符算出部14的圖10之步驟S25中為子機最大標誌符+已接收的佔有數≧中繼機最小標誌符,前進到步驟S31。通信控制部13從標誌符算出部14收到錯誤通知,經由傳送/接收部12及天線11傳送儲存有通知錯誤的資訊之應答。又,因為母機1對於子機2-x沒有傳送標誌符、即沒有分配標誌符到子機2-x,因此沒有變更子機最大標誌符。 The parent machine 1 uses the step S24 shown in FIG. 10 to determine that the transmission source of the identifier distribution request is the child machine 2, performs the comparison shown in step S25, proceeds to step S31 and determines that it is an error, and transmits the information storing the notification error. Answer (step S74). Specifically, since the child maximum identifier + the received occupancy number = 497 + 5 = 502 and the relay minimum identifier = 500, the steps of the marker calculation unit 14 implemented in step S74 are as shown in FIG. In S25, it is the child maximum identifier + the received number of possession ≧ relay minimum identifier, and the process proceeds to step S31. The communication control unit 13 receives an error notification from the identifier calculation unit 14, and transmits a response in which the information of the notification error is stored via the transmission/reception unit 12 and the antenna 11. Further, since the parent machine 1 does not transmit the identifier for the child machine 2-x, that is, the flag is not assigned to the child machine 2-x, the child machine maximum identifier is not changed.

如此一來,在本實施形態中,即使在從子機2接收到標誌符分布要求的情況下,在藉由對該子機2分布標誌符,使分配到子機2的標誌符之值的範圍與已經分配到中繼機3的標誌符之值的範圍重複之情況下、即子機最大標誌符與儲存在標誌符分布要求的佔有數相加後之值為中繼機最小標誌符以上情況下,母機1對於標誌符分布要求的傳送源之子機2不分布標誌符而是通知錯誤。藉此,可以避免分配到子機2的標誌符之值的範圍與已經分配到中繼機3的標誌符之值的範圍重複,防止在彙集資料儲存無意義的資料。 As described above, in the present embodiment, even when the identifier distribution request is received from the child machine 2, the identifier assigned to the child machine 2 is distributed by the child machine 2, and the value of the identifier assigned to the child machine 2 is made. When the range is overlapped with the range of the value of the identifier assigned to the relay unit 3, that is, the maximum value of the child machine and the number of possessions stored in the identifier distribution are added, the value of the minimum identifier of the relay is above In this case, the slave unit 1 does not distribute the identifier for the slave 2 of the transmission source required for the identifier distribution but notifies the error. Thereby, it is possible to prevent the range of the value of the identifier assigned to the slave 2 from being overlapped with the range of the value of the identifier assigned to the relay 3, preventing the storage of meaningless data in the aggregated data.

其次,針對與圖16及圖20所示的例示不同狀態之本實施形態的通信系統中標誌符分布處理進行說明。圖22為顯示本實施形態之通信系統的構成例之圖面。在圖22中,在中繼機3-1到3-11之11機的中繼機3已經分布標誌符,在子機2-1到子機2-y之y機的子機2中已經分布標誌符。y為2以上的整數。又,根據子機2-1到子機2-y之標誌符分配,已經將子機最大標誌符更新為499,由於已經在11台的中繼機3分布標誌符,因此中繼機最小標誌符為500。在該狀態下,中繼機3-12傳送標誌符分布要求。 Next, the marker distribution processing in the communication system of the present embodiment which is different from the exemplary embodiment shown in Figs. 16 and 20 will be described. Fig. 22 is a view showing a configuration example of the communication system of the embodiment. In Fig. 22, the repeater 3 of the repeater 3-1 to 3-11 has already distributed the identifier, and has been already in the slave 2 of the slave 2-1 to the slave 2-y. Distribution identifier. y is an integer of 2 or more. Moreover, according to the identifier assignment of the slave 2-1 to the slave 2-y, the slave maximum identifier has been updated to 499, since the identifier has been distributed among the 11 relays 3, the relay minimum flag The symbol is 500. In this state, the relay 3-12 transmits an identifier distribution request.

圖23為顯示在圖22所示的狀態下,中繼機3-12傳送標誌符分布要求情況下之標誌符分布處理的一例之程序圖。首先,如上述所示,在母機1中成為設定有子機最大標誌符=499、中繼最小標誌符=500之狀態(步驟S81)。中繼機3-12如圖9之步驟S11、步驟S12所示,將標誌符分布要求的專用標誌符設定在本機,傳送儲存有顯示本機為中繼機3的資訊之 標誌符分布要求(步驟S82、步驟S83)。 Fig. 23 is a flowchart showing an example of the flag distribution processing in the case where the relay device 3-12 transmits the marker distribution request in the state shown in Fig. 22; First, as described above, in the parent machine 1, the state in which the child maximum identifier = 499 and the relay minimum identifier = 500 are set (step S81). As shown in step S11 and step S12 of FIG. 9, the relay unit 3-12 sets the special identifier required for the identifier distribution to the local machine, and transmits and stores the information indicating that the local machine is the relay unit 3. The flag distribution request (step S82, step S83).

母機1利用如圖10所示之步驟S24,判斷標誌符分布要求的傳送源為中繼機3,實施步驟S28所示的比較,前進到步驟S31判斷其為錯誤,傳送儲存有通知錯誤的資訊之應答(步驟S84)。具體而言,由於中繼機最小標誌符-1=499,子機最大標誌符=499,因此在步驟S84內所實施之標誌符算出部14的圖10之步驟S28中為中繼機最小標誌符-1≦子機最大標誌符,前進到步驟S31。通信控制部13從標誌符算出部14收到錯誤通知,經由傳送/接收部12及天線11傳送儲存有通知錯誤的資訊之應答。因為母機1對於中繼機3-12沒有傳送標誌符、即沒有分配標誌符到中繼機3-12,因此沒有變更中繼機最小標誌符。 The parent machine 1 uses the step S24 shown in FIG. 10 to determine that the transmission source of the identifier distribution request is the relay unit 3, performs the comparison shown in step S28, proceeds to step S31 and determines that it is an error, and transmits the information storing the notification error. The response is (step S84). Specifically, since the relay minimum identifier -1=499 and the child maximum identifier are 499, the relay minimum flag is shown in step S28 of FIG. 10 of the marker calculation unit 14 implemented in step S84. The -1 ≦ machine maximum identifier, proceeds to step S31. The communication control unit 13 receives an error notification from the identifier calculation unit 14, and transmits a response in which the information of the notification error is stored via the transmission/reception unit 12 and the antenna 11. Since the parent machine 1 does not transmit an identifier for the relay 3-12, that is, no identifier is assigned to the relay 3-12, the relay minimum identifier is not changed.

如此一來,在本實施形態中,即使在從中繼機3接收到標誌符分布要求的情況下,在藉由對該中繼機3分布標誌符,使分配到子機2的標誌符之值的範圍與已經分配到中繼機3的標誌符之值的範圍重複之情況下,母機1對於標誌符分布要求的傳送源之中繼機3不分布標誌符而是通知錯誤。藉此,可以避免分配到子機2的標誌符之值的範圍與已經分配到中繼機3的標誌符之值的範圍重複,防止在彙集資料儲存無意義的資料。 As described above, in the present embodiment, even when the identifier distribution request is received from the relay unit 3, the identifier assigned to the slave unit 2 is distributed by distributing the identifier to the relay unit 3. In the case where the range of the flag is overlapped with the range of the value of the identifier assigned to the relay unit 3, the relay unit 3 of the transmission source required for the flag distribution does not distribute the identifier but not the error. Thereby, it is possible to prevent the range of the value of the identifier assigned to the slave 2 from being overlapped with the range of the value of the identifier assigned to the relay 3, preventing the storage of meaningless data in the aggregated data.

以上之實施形態所示的構成為顯示本發明的內容之一例者,也可以與其他悉知的技術組合,在不脫離本發明的宗旨之範圍下,省略、變更構成的一部分亦可。 The configuration shown in the above embodiments is an example of the present invention, and may be combined with other well-known technologies, and a part of the configuration may be omitted or changed without departing from the scope of the invention.

1‧‧‧母機 1‧‧‧ parent machine

11‧‧‧天線 11‧‧‧Antenna

12‧‧‧傳送/接收部 12‧‧‧Transmission/receiving department

13‧‧‧通信控制部 13‧‧‧Communication Control Department

14‧‧‧標誌符算出部 14‧‧‧Signal Calculation Unit

15‧‧‧應用處理部 15‧‧‧Application Processing Department

Claims (18)

一種無線機,其特徵為包括:傳送/接收部,接收要求標誌符的分布之標誌符分布要求;分配部,依據前述標誌符分布要求,判斷前述標誌符分布要求的傳送源之無線機為構成資料的傳送源之第1無線機、或是中繼機之第2無線機,在判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機的情況下,將可分配的標誌符之中排除已經分配的標誌符之最小標誌符分配到前述標誌符分布要求的傳送源之無線機,在判斷前述標誌符分布要求的傳送源之無線機為前述第2無線機的情況下,將可分配的標誌符之中排除已經分配的標誌符之最大標誌符分配到前述標誌符分布要求的傳送源之無線機;及通信控制部,產生儲存有根據前述分配部所分配的前述標誌符之應答,透過前述傳送/接收部,將已產生的前述應答傳送到前述標誌符分布要求的傳送源之無線機。 A wireless device, comprising: a transmitting/receiving unit that receives an identifier distribution requirement of a distribution of required identifiers; and an allocating unit that determines a wireless source of a transmission source required by the identifier distribution according to the identifier distribution requirement The first wireless device of the data transmission source or the second wireless device of the relay device sets the assignable identifier when the wireless device that determines the transmission source of the identifier distribution is the first wireless device The wireless device that excludes the minimum identifier of the assigned identifier from being assigned to the transmission source of the identifier distribution, and determines that the wireless device of the transmission source required by the identifier distribution is the second wireless device, Among the assignable identifiers, the wireless device that excludes the maximum identifier of the assigned identifier from being assigned to the transmission source of the aforementioned identifier distribution; and the communication control unit generates the identifier that is stored according to the allocation portion assigned by the foregoing allocation portion In response, the generated response is transmitted to the wireless device of the transmission source required by the identifier distribution through the transmitting/receiving unit. 如申請專利範圍第1項之無線機,其中,在前述標誌符分布要求的傳送源之無線機為前述第1無線機的情況下,在前述標誌符分布要求中包含前述標誌符分布要求的傳送源之無線機佔有的標誌符個數之佔有數,前述分配部在判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機之情況下,將顯示已經分配到前述第1無線機的標誌符最大值之第1值更大1的標誌符分配到前述標誌符分布要求的傳送源之無線機,並且將前述第1值與儲存在標誌符分布要求的佔有數相加。 The wireless device according to claim 1, wherein, when the wireless device of the transmission source required for the identifier distribution is the first wireless device, the identifier distribution request includes the transmission of the identifier distribution request The number of identifiers occupied by the wireless device of the source is the number of identifiers occupied by the wireless device. When the wireless device that determines the transmission source of the identifier distribution is the first wireless device, the distribution unit displays that the first wireless device has been allocated. The identifier of the first value of the maximum value of the identifier is assigned to the wireless device of the transmission source of the aforementioned identifier distribution, and the first value is added to the number of occupations stored in the identifier distribution requirement. 如申請專利範圍第2項之無線機,其中,在前述標誌符分布要求的傳送源之無線機為前述第2無線機的情況下,將前述標誌符分布要求的前述佔有數設定為0,前述分配部,依據儲存在前述標誌符分布要求的前述佔有數是否為0,判斷前述標誌符分布要求的傳送源之無線機為前述第2無線機或是前述第1無線機。 The wireless device of claim 2, wherein, when the wireless device of the transmission source required for the identifier distribution is the second wireless device, the number of occupations required for the identifier distribution is set to 0, The distribution unit determines whether the wireless device of the transmission source required for the identifier distribution is the second wireless device or the first wireless device, based on whether or not the number of occupations stored in the identifier distribution requirement is zero. 如申請專利範圍第1項之無線機,其中,前述標誌符分布要求包含顯示前述標誌符分布要求的傳送源之無線機是否為前述第2無線機的資訊。 The wireless device of claim 1, wherein the identifier distribution requirement includes information indicating whether or not the wireless device of the transmission source required by the identifier distribution is the second wireless device. 如申請專利範圍第2項之無線機,其中,前述標誌符分布要求包含顯示前述標誌符分布要求的傳送源之無線機是否為前述第2無線機的資訊。 The wireless device of claim 2, wherein the identifier distribution requirement includes information indicating whether or not the wireless device of the transmission source of the identifier distribution requirement is the second wireless device. 如申請專利範圍第2、3或5項之無線機,其中,在前述分配部判斷前述標誌符分布要求的傳送源之無線機為前述第2無線機的情況,若已經分配到前述第2無線機之標誌符最小值更小1的標誌符為前述第1值以下的情況下,對於前述標誌符分布要求的傳送源之無線機不分配標誌符。 The wireless device of claim 2, 3 or 5, wherein the wireless device that determines the source of the identifier distribution request is the second wireless device, and if the second wireless device has been allocated When the identifier of the machine has a minimum value of 1 and the identifier of the first value is equal to or less than the first value, the wireless device of the transmission source required for the distribution of the identifier is not assigned an identifier. 如申請專利範圍第2、3或5項之無線機,其中,在前述分配部判斷前述標誌符分布要求的傳送源之無線機為前述第2無線機的情況,將顯示已經分配到前述第2無線機的標誌符最小值之第2值更小1的標誌符分配到前述標誌符分布要求的傳送源之無線機,並且從前述第2值減1。 The wireless device of claim 2, 3 or 5, wherein the wireless device that determines the transmission source of the identifier distribution requirement is the second wireless device, and the display has been assigned to the second The identifier of the second value of the minimum value of the identifier of the wireless device is assigned to the wireless device of the transmission source of the aforementioned identifier distribution, and is decremented by one from the second value. 如申請專利範圍第6項之無線機,其中,在前述分配部判斷前述標誌符分布要求的傳送源之無線機為前述第2無線 機的情況,將顯示已經分配到前述第2無線機的標誌符最小值之第2值更小1的標誌符分配到前述標誌符分布要求的傳送源之無線機,並且從前述第2值減1。 The wireless device of claim 6, wherein the wireless device that determines the transmission source of the identifier distribution in the distribution unit is the second wireless device In the case of the machine, the identifier indicating that the second value of the minimum value of the identifier of the second wireless device that has been assigned to the second wireless device is smaller than one is assigned to the wireless source of the transmission source of the aforementioned identifier distribution, and is subtracted from the aforementioned second value. 1. 如申請專利範圍第7項之無線機,其中,在前述分配部判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機的情況,若前述第1值與儲存在標誌符分布要求的前述佔有數相加後之值為前述第2值以上的情況下,對於前述標誌符分布要求的傳送源之無線機不分配標誌符。 The wireless device according to the seventh aspect of the invention, wherein the determining unit determines that the wireless device of the transmission source of the identifier distribution request is the first wireless device, and if the first value and the identifier are stored in the identifier distribution When the value of the addition of the number of occupations is equal to or greater than the second value, the wireless device of the transmission source required for the distribution of the identifier is not assigned an identifier. 如申請專利範圍第8項之無線機,其中,在前述分配部判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機的情況,若前述第1值與儲存在標誌符分布要求的前述佔有數相加後之值為前述第2值以上的情況下,對於前述標誌符分布要求的傳送源之無線機不分配標誌符。 The wireless device according to the eighth aspect of the invention, wherein the determining unit determines that the wireless device of the transmission source of the identifier distribution request is the first wireless device, and the first value and the stored in the identifier distribution requirement When the value of the addition of the number of occupations is equal to or greater than the second value, the wireless device of the transmission source required for the distribution of the identifier is not assigned an identifier. 如申請專利範圍第6項之無線機,其中,前述通信控制部在對於前述標誌符分布要求的傳送源之無線機不分配標誌符的情況,產生包含對前述標誌符分布要求的傳送源之無線機通知錯誤的資訊之應答,透過前述傳送/接收部,將已產生的應答傳送到前述標誌符分布要求的傳送源之無線機。 The wireless device of claim 6, wherein the communication control unit generates a wireless source including a transmission source requesting the identifier distribution in a case where the wireless device of the transmission source required for the identifier distribution does not assign an identifier. The machine notifies the response of the erroneous information, and transmits the generated response to the wireless device of the transmission source required by the identifier distribution through the transmitting/receiving unit. 如申請專利範圍第9項之無線機,其中,前述通信控制部在對於前述標誌符分布要求的傳送源之無線機不分配標誌符的情況,產生包含對前述標誌符分布要求的傳送源之無線機通知錯誤的資訊之應答,透過前述傳送/接收部,將已產生的應答傳送到前述標誌符分布要求的傳送源之無線 機。 The wireless device of claim 9, wherein the communication control unit generates a wireless source including a transmission source requesting the identifier distribution when the wireless device of the transmission source required for the identifier distribution does not assign an identifier. The machine notifies the response of the erroneous information, and transmits the generated response to the wireless transmission source of the aforementioned identifier distribution through the foregoing transmitting/receiving unit. machine. 如申請專利範圍第10項之無線機,其中,前述通信控制部在對於前述標誌符分布要求的傳送源之無線機不分配標誌符的情況,產生包含對前述標誌符分布要求的傳送源之無線機通知錯誤的資訊之應答,透過前述傳送/接收部,將已產生的應答傳送到前述標誌符分布要求的傳送源之無線機。 The wireless device of claim 10, wherein the communication control unit generates a wireless source including a transmission source requesting the identifier distribution in a case where the wireless device of the transmission source required for the identifier distribution does not assign an identifier. The machine notifies the response of the erroneous information, and transmits the generated response to the wireless device of the transmission source required by the identifier distribution through the transmitting/receiving unit. 一種無線機,從申請專利範圍第2項的無線機之母機分布到標誌符,其特徵為包括:通信控制部,在要求標誌符的分布之標誌符分布要求中儲存顯示佔有的標誌符個數之佔有數;及標誌傳送/接收部,將儲存有前述佔有數之前述標誌符分布要求傳送到前述母機,從前述母機接收對於前述標誌符分布要求之應答,前述通信控制部將儲存在前述應答之標誌符設定作為通信所用之本機的標誌符。 A wireless device, which is distributed from a parent machine of a wireless device of claim 2, to an identifier, comprising: a communication control unit that stores the number of identifiers displayed in the identifier distribution requirement of the distribution of the identifiers And a flag transmission/reception unit that transmits the aforementioned identifier distribution request storing the number of occupations to the parent machine, receives a response to the identifier distribution request from the parent machine, and the communication control unit stores the response in the response The identifier is set as the identifier of the unit used for communication. 一種中繼機,從申請專利範圍第2項的無線機之母機分布到標誌符,其特徵為包括:通信控制部,要求標誌符的分布之標誌符分布要求中在儲存顯示佔有的標誌符個數之佔有數區域儲存0;及標誌傳送/接收部,其為將儲存有前述佔有數之前述標誌符分布要求傳送到前述母機,從前述母機接收對於前述標誌 符分布要求之應答,前述通信控制部將儲存在前述應答之標誌符設定作為通信所用的標誌符。 A relay machine is distributed from a parent machine of a wireless machine of claim 2 to a marker, and is characterized in that: the communication control unit includes a flag for storing the display in the identifier distribution request of the identifier distribution. The number of occupied area stores 0; and the flag transmitting/receiving unit transmits the aforementioned identifier distribution request storing the aforementioned number of occupations to the parent machine, and receives the aforementioned flag from the parent machine In response to the request for distribution, the communication control unit sets the identifier stored in the response as an identifier for communication. 一種中繼機,從申請專利範圍第1項的無線機之母機分布到標誌符,其特徵為包括:通信控制部,在要求標誌符的分布之標誌符分布要求儲存顯示本機為中繼機的資訊;及標誌傳送/接收部,將儲存有前述資訊之前述標誌符分布要求傳送到前述母機,從前述母機接收對於前述標誌符分布要求之應答,前述通信控制部將儲存在前述應答之標誌符設定作為通信所用的標誌符。 A relay machine is distributed from a parent machine of a wireless machine of claim 1 to an identifier, and is characterized in that: the communication control unit stores, in the distribution of the identifier of the required identifier, that the local machine is a relay machine. And the flag transmitting/receiving unit transmits the aforementioned identifier distribution request storing the foregoing information to the parent machine, and receives a response to the identifier distribution request from the parent machine, and the communication control unit stores the foregoing response flag The character is set as the identifier used for communication. 一種通信系統,其特徵為包括:母機,其為申請專利範圍第1至9項之任一項所記載之無線機;第1無線機,其為從前述母機分配到標誌符,並且成為資料的傳送源;及第2無線機,其為中繼機。 A communication system, comprising: a parent machine, which is a wireless device described in any one of claims 1 to 9; and a first wireless device that is assigned to the identifier from the parent machine and becomes a material. a transmission source; and a second wireless device, which is a relay. 一種標誌符分配方法,在包括:成為資料的傳送源之第1無線機、中繼機之第2無線機、及對前述第1無線機及前述第2無線機分配標誌符之母機之通信系統中,其特徵為包含:第1步驟,前述第1無線機或前述第2無線機傳送要求標 誌符的分布之標誌符分布要求到前述母機;第2步驟,前述母機依據已接收的前述標誌符分布要求,判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機或是前述第2無線機,在判斷前述標誌符分布要求的傳送源之無線機為前述第1無線機的情況下,將可分配的標誌符之中排除已經分配的標誌符之最小標誌符分配到前述標誌符分布要求的傳送源之無線機,在判斷前述標誌符分布要求的傳送源之無線機為前述第2無線機的情況下,將可分配的標誌符之中排除已經分配的標誌符之最大標誌符分配到前述標誌符分布要求的傳送源之無線機;第3步驟,前述母機產生儲存有利用前述第2步驟所分配的前述標誌符之應答,將已產生的應答傳送到前述標誌符分布要求的傳送源之無線機;及第4步驟,接收到前述應答之前述第1無線機或前述第2無線機將儲存在前述應答之標誌符設定作為通信所用的標誌符。 A method for assigning identifiers includes: a first wireless device that becomes a transmission source of data, a second wireless device that is a relay device, and a communication system that assigns a flag to the first wireless device and the second wireless device The method includes the first step, the first wireless device or the second wireless device transmits a request mark The distribution of the identifier of the symbol is required to be sent to the parent machine; in the second step, the parent machine determines that the wireless device of the transmission source required by the identifier distribution is the first wireless device or the foregoing according to the received identifier distribution requirement When the wireless device that determines the transmission source of the identifier distribution is the first wireless device, the second wireless device assigns the minimum identifier of the assignable identifier to the aforementioned flag to the aforementioned identifier. The wireless device of the transmission source required to distribute the distribution excludes the maximum flag of the assigned identifier from among the assignable identifiers when the wireless device that determines the transmission source of the identifier distribution is the second wireless device a wireless device assigned to the transmission source of the aforementioned identifier distribution; in the third step, the parent machine generates a response storing the identifier assigned by the foregoing second step, and transmits the generated response to the identifier distribution request The wireless device of the transmission source; and in the fourth step, the first wireless device or the second wireless device that receives the response is stored in the aforementioned response The identifier of the answer is set as the identifier used for communication.
TW104141661A 2015-06-29 2015-12-11 Wireless machine, relay machine, communication system and identifier allocation method TWI603300B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/068700 WO2017002174A1 (en) 2015-06-29 2015-06-29 Wireless device, relay device, communication system, and identifier allocation method

Publications (2)

Publication Number Publication Date
TW201701241A true TW201701241A (en) 2017-01-01
TWI603300B TWI603300B (en) 2017-10-21

Family

ID=57608144

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104141661A TWI603300B (en) 2015-06-29 2015-12-11 Wireless machine, relay machine, communication system and identifier allocation method

Country Status (3)

Country Link
JP (1) JP6415719B2 (en)
TW (1) TWI603300B (en)
WO (1) WO2017002174A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102202615B1 (en) * 2017-09-25 2021-01-12 주식회사 엘지화학 Apparatus for assigning identification information to a plurality of slave battery management units

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI296083B (en) * 2003-09-29 2008-04-21 Sharp Kk Communication controller, host-side controller, communication system, usb system, communication equipment, communication method, packet-based communication method, packet-based communication program, and storage medium
JP2005208785A (en) * 2004-01-21 2005-08-04 Toshiba Corp Memory management method and information processor
US8059011B2 (en) * 2006-09-15 2011-11-15 Itron, Inc. Outage notification system
JP4492966B2 (en) * 2006-10-24 2010-06-30 株式会社Kddi研究所 Connection identifier assigning method, program, relay station and base station via relay station in IEEE 802.16
US8331975B2 (en) * 2008-12-03 2012-12-11 Interdigital Patent Holdings, Inc. Uplink power control for distributed wireless communication
JP5476287B2 (en) * 2010-12-20 2014-04-23 Kddi株式会社 Bluetooth network communication method and wireless information distribution apparatus thereof

Also Published As

Publication number Publication date
JP6415719B2 (en) 2018-10-31
JPWO2017002174A1 (en) 2018-01-18
TWI603300B (en) 2017-10-21
WO2017002174A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
US8233424B2 (en) Wireless communication system, connection device, relay device and registering method
US9485776B2 (en) Method for operating multi-type beacons
JP5668950B2 (en) Electronic shelf label system and method of operating electronic shelf label system
JPH098828A (en) Address allocating method, radio terminal equipment and radio network using the method
WO2016172523A1 (en) Data link interface internet protocol (ip) address generation
US20150113168A1 (en) Network Bridging
ES2956841T3 (en) Wireless communication device and wireless communication method
US20070066308A1 (en) Method and apparatus for removing phantom children in an ad-hoc communication system
TWI603300B (en) Wireless machine, relay machine, communication system and identifier allocation method
JP2017175563A (en) Communication controller, radio apparatus, communication control system, communication control method, and program
JP2017520983A5 (en)
US10728938B2 (en) Communication apparatus, method of controlling communication apparatus, and non-transitory computer-readable storage medium
JP2018152758A (en) Information management system, on-vehicle device, server, and routing table changing method
JP7404185B2 (en) Communication system, node, communication method and program
JP2019057785A (en) Radio communication system, communication device and data integration method
JP2015139178A (en) Radio communication system, radio communication method, relay station, and radio base station
JP2016132318A (en) Electronic control device
JP6552424B2 (en) Wireless telemeter system and relay device
US20200076494A1 (en) Communication system, relay server, communication method and program
JP2015170970A (en) communication system
JP6099430B2 (en) Wireless communication device
JP2005184188A (en) Wireless communication system and program thereof
JP2019176361A (en) Mesh network
JP6600581B2 (en) Information processing apparatus, information processing method, and program
EP3100435A1 (en) Providing information to a service in a communication network