JP7491888B2 - Processing device, processing method, and processing program - Google Patents

Processing device, processing method, and processing program Download PDF

Info

Publication number
JP7491888B2
JP7491888B2 JP2021199706A JP2021199706A JP7491888B2 JP 7491888 B2 JP7491888 B2 JP 7491888B2 JP 2021199706 A JP2021199706 A JP 2021199706A JP 2021199706 A JP2021199706 A JP 2021199706A JP 7491888 B2 JP7491888 B2 JP 7491888B2
Authority
JP
Japan
Prior art keywords
processing
count value
processing device
input
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021199706A
Other languages
Japanese (ja)
Other versions
JP2023085592A (en
Inventor
裕司 黒川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2021199706A priority Critical patent/JP7491888B2/en
Publication of JP2023085592A publication Critical patent/JP2023085592A/en
Application granted granted Critical
Publication of JP7491888B2 publication Critical patent/JP7491888B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)

Description

本発明は、処理装置等に関する。 The present invention relates to a processing device, etc.

複数の処理装置(たとえば、処理基板)が直列に接続されて構成されるシステムがある。このようなシステムを、たとえば、対象物の画像の読み取り処理を行うシステムに利用することが考えられている。 There are systems that are configured with multiple processing devices (e.g., processing boards) connected in series. It is considered that such systems can be used, for example, as systems that read and process images of objects.

たとえば、処理装置が、対象物の画像の読み取り処理を行う装置である場合、一般的には、当該対象物の幅以上の幅の画像の読み取り処理が可能な処理装置が一台使用される。このような処理装置において、幅がより広い対象物の画像の読み取りを可能にする場合、処理装置のサイズが大きくなり、また、処理が複雑になる。そのため、処理装置のサイズを大きくするのではなく、上述のシステムのように、複数の処理装置を直列に接続して、より幅が広い対象物の画像の読み取り処理を可能にすることが考えられている。 For example, when a processing device is a device that reads images of an object, typically one processing device capable of reading images with a width equal to or greater than the width of the object is used. In such a processing device, if it were possible to read images of wider objects, the size of the processing device would increase and the processing would become more complicated. Therefore, rather than increasing the size of the processing device, it has been considered to connect multiple processing devices in series, as in the above-mentioned system, to enable reading images of wider objects.

また、関連技術としては、特許文献1から特許文献3に記載された技術がある。 Related technologies include those described in Patent Documents 1 to 3.

特開平01-100649号公報Japanese Patent Application Laid-Open No. 01-100649 特開平11-120474号公報Japanese Patent Application Laid-Open No. 11-120474 特開2005-123685号公報JP 2005-123685 A

複数の処理装置が直列に接続されて構成されるシステムにおいて、処理装置が何番目に接続されているかに応じて、処理装置が行う処理を変更したい場合がある。なお、処理装置が接続されている位置のことを、以降、接続位置と呼ぶ。処理装置が接続されている位置は、処理装置が何番目に接続されているかを示す。 In a system consisting of multiple processing devices connected in series, it may be necessary to change the processing performed by a processing device depending on the number of the connected processing device. Hereinafter, the position where a processing device is connected will be referred to as the connection position. The position where a processing device is connected indicates the number of the connected processing device.

接続位置に応じて処理装置が行う処理を変更する場合、たとえば、各々の処理装置の接続位置をあらかじめ決定しておき、接続位置に応じたファームウェアをあらかじめ処理装置に書き込んでおく方法がある。しかし、この方法の場合、接続位置に応じたファームウェアを書き込む作業が必要になる。また、ファームウェアの書き込みの後に複数の処理装置を人手で接続する場合には、各々の処理装置の接続位置を誤らないための工夫が必要になる。 When changing the processing performed by a processing device depending on the connection position, one method is to determine the connection position of each processing device in advance and write firmware corresponding to the connection position into the processing device in advance. However, this method requires the work of writing firmware corresponding to the connection position. Furthermore, if multiple processing devices are to be manually connected after the firmware has been written, some ingenuity is required to prevent mistakes in the connection positions of each processing device.

本発明の目的は、複数の処理装置が直列に接続されて構成されるシステムにおいて、処理装置の接続位置に応じた処理を、より容易な方法で実現することを可能にする処理装置等を提供することにある。 The object of the present invention is to provide a processing device etc. that makes it possible to realize processing according to the connection position of the processing device in an easier manner in a system in which multiple processing devices are connected in series.

本発明の一態様において、処理装置は、処理装置が直列に複数段接続されて構成されるシステムにおいて、入力されたカウント値に所定の加算値を加算して出力する加算部と、入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理部と、を備え、前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、前記前段装置が存在しない場合、初期値が前記カウント値として入力され、前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される。 In one aspect of the present invention, a processing device, in a system in which multiple stages of processing devices are connected in series, includes an adder unit that adds a predetermined addition value to an input count value and outputs the result, and a processing unit that determines which process to perform from among multiple candidates according to the input count value and performs the determined process. If a previous stage device, which is a previous stage processing device, is present, the count value is input from the previous stage device, and if the previous stage device is not present, an initial value is input as the count value, and if a subsequent stage device, which is a subsequent stage processing device, is present, the count value to which the addition value has been added is output to the subsequent stage device.

また、本発明の他の態様において、処理方法は、処理装置が直列に複数段接続されて構成されるシステムにおける処理装置の処理方法であって、入力されたカウント値に所定の加算値を加算して出力し、入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行い、前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、前記前段装置が存在しない場合、初期値が前記カウント値として入力され、前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される。 In another aspect of the present invention, the processing method is a processing method of a processing device in a system in which processing devices are connected in series in multiple stages, adding a predetermined addition value to an input count value and outputting the result, determining a process to be performed from among multiple candidates according to the input count value, performing the determined process, and if a previous-stage device that is a previous-stage processing device exists, the count value is input from the previous-stage device, and if the previous-stage device does not exist, an initial value is input as the count value, and if a subsequent-stage device that is a subsequent-stage processing device exists, the count value to which the addition value has been added is output to the subsequent-stage device.

また、本発明の他の態様において、処理プログラムは、処理装置が直列に複数段接続されて構成されるシステムにおいて、コンピュータに、入力されたカウント値に所定の加算値を加算して出力する加算機能と、入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理機能と、を実現させ、前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、前記前段装置が存在しない場合、初期値が前記カウント値として入力され、前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される。 In another aspect of the present invention, the processing program causes a computer in a system in which multiple stages of processing devices are connected in series to realize an addition function that adds a predetermined addition value to an input count value and outputs the result, and a processing function that determines which process to perform from among multiple candidates depending on the input count value and performs the determined process, and if a previous stage device that is a previous stage processing device is present, the count value is input from the previous stage device, and if the previous stage device is not present, an initial value is input as the count value, and if a subsequent stage device that is a subsequent stage processing device is present, the count value to which the addition value has been added is output to the subsequent stage device.

本発明によれば、複数の処理装置が直列に接続されて構成されるシステムにおいて、処理装置の接続位置に応じた処理を、より容易な方法で実現することが可能になる。 According to the present invention, in a system in which multiple processing devices are connected in series, it is possible to more easily realize processing according to the connection position of the processing devices.

本発明の第一の実施形態の処理装置の構成例を示す図である。FIG. 1 is a diagram illustrating an example of a configuration of a processing device according to a first embodiment of the present invention. 本発明の第一の実施形態の処理装置の動作フローの例を示す図である。FIG. 4 is a diagram illustrating an example of an operation flow of the processing device according to the first embodiment of the present invention. 本発明の第二の実施形態の処理装置によって構成されるシステムの構成例を示す図である。FIG. 11 is a diagram illustrating an example of the configuration of a system including a processing device according to a second embodiment of the present invention. 本発明の第二の実施形態の処理装置の構成例を示す図である。FIG. 13 is a diagram illustrating an example of the configuration of a processing device according to a second embodiment of the present invention. 本発明の第二の実施形態の処理装置の接続例を示す図である。FIG. 11 is a diagram illustrating an example of connections of processing devices according to a second embodiment of the present invention. 本発明の第二の実施形態の処理装置の接続例を示す図である。FIG. 11 is a diagram illustrating an example of connections of processing devices according to a second embodiment of the present invention. 本発明の第二の実施形態の処理装置の接続例を示す図である。FIG. 11 is a diagram illustrating an example of connections of processing devices according to a second embodiment of the present invention. 本発明の第二の実施形態の処理装置の動作フローの例を示す図である。FIG. 11 is a diagram illustrating an example of an operation flow of the processing device according to the second embodiment of the present invention. 本発明の第二の実施形態の処理装置の動作フローの例を示す図である。FIG. 11 is a diagram illustrating an example of an operation flow of the processing device according to the second embodiment of the present invention. 本発明の第二の実施形態の処理装置の動作フローの例を示す図である。FIG. 11 is a diagram illustrating an example of an operation flow of the processing device according to the second embodiment of the present invention. 本発明の第二の実施形態の処理装置の動作フローの例を示す図である。FIG. 11 is a diagram illustrating an example of an operation flow of the processing device according to the second embodiment of the present invention. 本発明の各実施形態のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration according to each embodiment of the present invention.

[第一の実施形態]
本発明の第一の実施の形態について説明する。第一の実施の形態における処理装置10の具体的な一例が、後述する第二の実施の形態における処理装置20である。
[First embodiment]
A first embodiment of the present invention will be described. A specific example of the processing device 10 in the first embodiment is a processing device 20 in a second embodiment described later.

図1に本実施形態の処理装置10の構成例を示す。本実施形態の処理装置10は、加算部11と処理部12とを含む。また、処理装置10は、処理装置が直列に複数段接続されて構成されるシステムに含まれる。 Figure 1 shows an example of the configuration of a processing device 10 according to this embodiment. The processing device 10 according to this embodiment includes an adder unit 11 and a processing unit 12. The processing device 10 is included in a system in which multiple processing devices are connected in series.

加算部11は、入力されたカウント値に所定の加算値を加算して出力する。なお、カウント値は、前段の処理装置である前段装置が存在する場合、前段装置から入力される。前段装置が存在しない場合、初期値がカウント値として入力される。加算値が加算されたカウント値は、後段の処理装置である後段装置が存在する場合、後段装置へ出力される。 The adder 11 adds a predetermined addend value to the input count value and outputs the result. The count value is input from a previous stage device, which is a processing device in a previous stage, if such a device exists. If no previous stage device exists, an initial value is input as the count value. The count value to which the addend value has been added is output to a subsequent stage device, which is a processing device in a subsequent stage, if such a device exists.

処理部12は、入力されたカウント値に応じて、複数の候補の中から、行う処理を決定し、決定された処理を行う。 The processing unit 12 determines which process to perform from among multiple candidates based on the input count value, and performs the determined process.

次に、図2に本実施形態の処理装置10の動作フローの例を示す。 Next, FIG. 2 shows an example of the operation flow of the processing device 10 of this embodiment.

加算部11は、入力されたカウント値に所定の加算値を加算して出力する(ステップS101)。 The adder 11 adds a predetermined addition value to the input count value and outputs the result (step S101).

処理部12は、入力されたカウント値に応じて、複数の候補の中から行う処理を決定し、決定された処理を行う(ステップS102)。 The processing unit 12 determines which process to perform from among multiple candidates based on the input count value, and performs the determined process (step S102).

以上で説明したように、本発明の第一の実施形態では、処理装置10は、加算部11および処理部12を含む。加算部11は、入力されたカウント値に所定の加算値を加算して出力する。処理部12は、入力されたカウント値に応じて、複数の候補の中から行う処理を決定し、決定された処理を行う。これにより、処理装置10は、入力されたカウント値によって処理装置10の接続位置を把握することができるので、接続位置に応じた処理を行うことが可能になる。また、処理部12が、複数の候補の中から行う処理を決定するので、システム内の処理装置の構成を共通化することができる。そのため、複数の処理装置が直列に接続されて構成されるシステムにおいて、処理装置の接続位置に応じた処理を、より容易な方法で実現することが可能になる。 As described above, in the first embodiment of the present invention, the processing device 10 includes an adder 11 and a processor 12. The adder 11 adds a predetermined addend value to the input count value and outputs the result. The processor 12 determines which process to perform from among multiple candidates according to the input count value, and performs the determined process. This allows the processing device 10 to grasp the connection position of the processing device 10 from the input count value, making it possible to perform processing according to the connection position. In addition, since the processor 12 determines which process to perform from among multiple candidates, the configuration of the processing device in the system can be standardized. Therefore, in a system configured with multiple processing devices connected in series, it becomes possible to realize processing according to the connection position of the processing device in an easier manner.

[第二の実施形態]
次に、本発明の第二の実施の形態における処理装置20-iについて説明する。
[Second embodiment]
Next, a processing device 20-i according to a second embodiment of the present invention will be described.

まず、図3に、本実施形態の処理装置20-iによって構成されるシステムの構成例を示す。このシステムは、N個の処理装置20-i(iは1以上N以下の整数)が直列に接続されることによって構成される。処理装置20-iの「i」は、処理装置20-iがi番目に接続されていることを示す。処理装置が接続されている位置のことを、以降、接続位置と呼ぶ。処理装置が接続されている位置は、処理装置が何番目に接続されているかを示す。なお、処理装置20-iは、基板であってもよい。 First, FIG. 3 shows an example of the configuration of a system that is configured with the processing device 20-i of this embodiment. This system is configured by connecting N processing devices 20-i (i is an integer between 1 and N) in series. The "i" in processing device 20-i indicates that processing device 20-i is the i-th processing device connected. Hereinafter, the position where a processing device is connected will be referred to as the connection position. The position where a processing device is connected indicates the number of the processing device connected. Note that processing device 20-i may be a board.

次に、図4に、本実施形態の処理装置20-iの構成例を示す。処理装置20-iは、加算部21-i、処理部22-i、終端検出部24-i、取得部25-i、通信部27-iおよびプルアップ回路28-iを含む。加算部21-i、終端検出部24-iおよび取得部25-iは、FPGA(field-programmable gate array)26-iに含まれる。 Next, FIG. 4 shows an example of the configuration of the processing device 20-i of this embodiment. The processing device 20-i includes an adder 21-i, a processor 22-i, an end detection unit 24-i, an acquisition unit 25-i, a communication unit 27-i, and a pull-up circuit 28-i. The adder 21-i, the end detection unit 24-i, and the acquisition unit 25-i are included in an FPGA (field-programmable gate array) 26-i.

また、図5から図7に、本実施形態の処理装置20-iの接続例を示す。図5は、最前段の処理装置20-1の接続例を示す。図6は、処理装置20-k(kは、2以上(N-1)以下の整数)の接続例を示す。図7は、最後段の処理装置20-Nの接続例を示す。 FIGS. 5 to 7 show connection examples of the processing device 20-i of this embodiment. FIG. 5 shows a connection example of the processing device 20-1 in the front stage. FIG. 6 shows a connection example of the processing device 20-k (k is an integer between 2 and (N-1) inclusive). FIG. 7 shows a connection example of the processing device 20-N in the last stage.

加算部21-iは、入力されたカウント値に所定の加算値を加算して出力する。本実施形態では、加算値は1であるとする。また、本実施形態では、カウント値の初期値は0であるとする。 The adder 21-i adds a predetermined addend to the input count value and outputs the result. In this embodiment, the addend is 1. Also, in this embodiment, the initial value of the count value is 0.

カウント値は、前段の処理装置である前段装置が存在する場合、前段装置から入力される。また、最前段の処理装置20-1には前段装置が存在しない。そのため、加算部21-1には、カウント値として初期値が入力される。また、加算値が加算されたカウント値は、後段の処理装置である後段装置が存在する場合、後段装置へ出力される。 The count value is input from a previous stage device, if a previous stage device exists, which is a processing device in the previous stage. Also, the frontmost processing device 20-1 does not have a previous stage device. Therefore, an initial value is input as the count value to the addition unit 21-1. Also, the count value to which the addition value is added is output to a subsequent stage device, if a subsequent stage device, which is a processing device in the subsequent stage, exists.

このようにすると、本実施形態の場合、処理装置20-1の加算部21-1は、初期値(0)に加算値(1)を加算して、処理装置20-2の加算部21-2へ出力する(図5)。また、処理装置20-k(2≦k≦(N-1))の加算部21-kには、kから1を減算した値がカウント値として入力される。また、処理装置20-kの加算部21-kは、kをカウント値として処理装置20-(k+1)の加算部21-(k+1)へ出力する(図6)。また、処理装置20-Nの加算部21-Nには、(N-1)がカウント値として入力される(図7)。つまり、処理装置20-iには、iから1を減算した値がカウント値として入力される。これにより、処理装置20-iは、処理装置20-iの接続位置を把握することができる。また、初期値が0でない場合や、加算値が1でない場合でも、カウント値、初期値および加算値に基づいて、接続位置を把握することができる。 In this way, in the case of this embodiment, the adder 21-1 of the processing device 20-1 adds the additional value (1) to the initial value (0) and outputs the result to the adder 21-2 of the processing device 20-2 (FIG. 5). The adder 21-k of the processing device 20-k (2≦k≦(N-1)) receives the value obtained by subtracting 1 from k as the count value. The adder 21-k of the processing device 20-k outputs k as the count value to the adder 21-(k+1) of the processing device 20-(k+1) (FIG. 6). The adder 21-N of the processing device 20-N receives (N-1) as the count value (FIG. 7). That is, the value obtained by subtracting 1 from i is input to the processing device 20-i as the count value. This allows the processing device 20-i to grasp the connection position of the processing device 20-i. Even if the initial value is not 0 or the additional value is not 1, the connection position can be grasped based on the count value, the initial value, and the additional value.

処理部22-iは、加算部21-iに入力されたカウント値を記憶部(不図示)に記憶させる。 The processing unit 22-i stores the count value input to the adding unit 21-i in a memory unit (not shown).

また、処理部22-iは、入力されたカウント値に応じて、複数の候補の中から、行う処理を決定し、決定された処理を行う。これにより、処理装置20-iは、処理装置20-iの接続位置に応じて、行う処理を変更することができる。 The processing unit 22-i also determines which process to perform from among multiple candidates depending on the input count value, and performs the determined process. This allows the processing unit 20-i to change the process to be performed depending on the connection position of the processing unit 20-i.

たとえば、処理部22-iは、入力されたカウント値に応じて、起動する処理用プログラムを変更することによって、行う処理を変更する。処理装置20-iは、複数の処理用プログラムをあらかじめ記憶しておき、カウント値に応じて、使用する処理用プログラムを選択して起動することで、行う処理を容易に変更することができる。また、各々の処理装置20-iに記憶させておく処理用プログラムのセットが共通化されるので、接続位置を意識せずに処理装置20-iを接続することが可能になる。 For example, the processing unit 22-i changes the processing to be performed by changing the processing program to be started according to the input count value. The processing device 20-i stores multiple processing programs in advance and can easily change the processing to be performed by selecting and starting the processing program to be used according to the count value. In addition, because the set of processing programs stored in each processing device 20-i is common, it becomes possible to connect the processing devices 20-i without being aware of the connection position.

また、たとえば、処理部22-iは、入力されたカウント値が所定の条件を満たす場合に、サーバおよびクライアントとして処理を行い、入力されたカウント値が条件を満たさない場合に、クライアントとして処理を行う。条件は、たとえば、入力されたカウント値が所定の値、たとえば、初期値であることである。また、この場合、たとえば、処理部22-iは、入力されたカウント値が条件を満たす場合に、サーバ用プログラムとクライアント用プログラムとを起動し、条件を満たさない場合に、クライアント用プログラムを起動するようにしてもよい。 For example, the processing unit 22-i processes as a server and a client when the input count value satisfies a predetermined condition, and processes as a client when the input count value does not satisfy the condition. The condition is, for example, that the input count value is a predetermined value, for example, an initial value. In this case, for example, the processing unit 22-i may start a server program and a client program when the input count value satisfies the condition, and start a client program when the condition is not satisfied.

このようにすると、システム内の複数の処理装置のうち、所定の条件を満たす処理装置にサーバの機能を持たせ、システムをサーバクライアントシステムとすることができる。システムをサーバクライアントシステムとすると、サーバからの指示で、クライアントを同期して動作させたり、クライアントを能動的に動作させたりすることができる。また、処理装置20-i以外の装置からシステムに対して指示を行う場合に、処理装置20-iの各々に個別に指示を行わなくても、サーバだけへ指示を行うことによって、クライアントを動作させることが可能になる。 In this way, among the multiple processing devices in the system, a processing device that meets certain conditions can be given server functions, making the system into a server-client system. When the system is a server-client system, the clients can be operated synchronously or actively by instructions from the server. Furthermore, when instructions are given to the system from a device other than the processing device 20-i, it becomes possible to operate the clients by giving instructions only to the server, without having to give instructions to each of the processing devices 20-i individually.

また、処理部22-iは、入力されたカウント値に基づいて、自処理装置(処理装置20-i)のネットワークアドレスを設定し、記憶部(不図示)に記憶させる。 The processing unit 22-i also sets the network address of its own processing device (processing device 20-i) based on the input count value and stores it in the memory unit (not shown).

たとえば、処理装置20-iの加算部21-iにはカウント値として(i-1)が入力されるので、処理部22-iは、「192.168.0.(i-1)」のように、カウント値を含むIP(Internet Protocol)アドレスを設定する。 For example, (i-1) is input as the count value to the adder 21-i of the processing device 20-i, so the processing unit 22-i sets an IP (Internet Protocol) address including the count value, such as "192.168.0.(i-1)."

通信部27-iは、他の処理装置(他処理装置)と通信を行う。図5に示すように、処理装置20-1の通信部27-1は、処理装置20-2の通信部27-2に接続される。また、図6に示すように、処理装置20-kの通信部27-kは、処理装置20-(k-1)の通信部27-(k-1)に接続される。また、処理装置20-kの通信部27-kは、処理装置20-(k+1)の通信部27-(k+1)に接続される。また、図7に示すように、処理装置20-Nの通信部27-Nは、処理装置20-(N-1)の通信部27-(N-1)に接続される。 The communication unit 27-i communicates with other processing devices (other processing devices). As shown in FIG. 5, the communication unit 27-1 of the processing device 20-1 is connected to the communication unit 27-2 of the processing device 20-2. As shown in FIG. 6, the communication unit 27-k of the processing device 20-k is connected to the communication unit 27-(k-1) of the processing device 20-(k-1). As shown in FIG. 7, the communication unit 27-N of the processing device 20-N is connected to the communication unit 27-(N-1) of the processing device 20-(N-1).

また、通信部27-iは、処理部22-iによって設定されたネットワークアドレスを使用して他の処理装置と通信を行う。なお、通信部27-iは、処理装置20-iの外部にあってもよい。 The communication unit 27-i also communicates with other processing devices using the network address set by the processing unit 22-i. Note that the communication unit 27-i may be located outside the processing device 20-i.

終端検出部24-iは、終端入力値が「0(High)」であるか「1(Low)」であるかを検出する。終端入力値は、処理装置20-iが最後段であるか否かを示す入力値である。 The termination detection unit 24-i detects whether the termination input value is "0 (High)" or "1 (Low)." The termination input value is an input value that indicates whether the processing device 20-i is the last stage.

処理装置20-iが最後段でない場合、すなわち、iが0以上(N-1)以下である場合、終端検出部24-iは、後段装置のプルアップ回路28-(i+1)に接続される(図5、図6)。その結果、終端検出部24-iには、「1」、すなわち、最後段ではないことを示す終端入力値が入力される。 When the processing device 20-i is not the last stage, that is, when i is 0 or more and (N-1) or less, the end detection unit 24-i is connected to the pull-up circuit 28-(i+1) of the subsequent stage device (Figures 5 and 6). As a result, the end detection unit 24-i receives a "1", that is, a end input value indicating that it is not the last stage.

また、最後段の処理装置20-Nの終端検出部24-Nは、プルダウン回路50に接続される(図7)。その結果、終端検出部24-Nには「0」、すなわち、最後段であることを示す終端入力値が入力される。プルダウン回路50は、たとえば、処理装置20-iを収容する筐体などに備えられる。 The termination detection unit 24-N of the last stage processing device 20-N is connected to a pull-down circuit 50 (Figure 7). As a result, a termination input value of "0", that is, a termination input value indicating that it is the last stage, is input to the termination detection unit 24-N. The pull-down circuit 50 is provided, for example, in the housing that houses the processing device 20-i.

処理部22-iは、終端検出部24-iによって検出された終端入力値が「0」である場合に、自処理装置(処理装置20-i)が最後段であることを示す終端情報を記憶部(不図示)に記憶させる。また、処理部22-iは、検出された終端入力値が「1」である場合に、自処理装置が最後段でないことを示す終端情報を記憶部に記憶させる。 When the terminal input value detected by the terminal detection unit 24-i is "0", the processing unit 22-i stores terminal information indicating that the processing device itself (processing device 20-i) is the last stage in a storage unit (not shown). Also, when the detected terminal input value is "1", the processing unit 22-i stores terminal information indicating that the processing device itself is not the last stage in the storage unit.

また、処理部22-iは、クライアントとして動作する場合に、ネットワークアドレスと終端情報とを通信部27-iを介して送信する。また、サーバとして動作する処理装置20-iの処理部22-iは、受信したネットワークアドレスおよび終端情報を記憶部に記憶させる。このようにすると、サーバとして動作する処理装置20-iが、システム内の処理装置の台数を把握することができる。 When the processing unit 22-i operates as a client, the processing unit 22-i transmits the network address and termination information via the communication unit 27-i. The processing unit 22-i of the processing device 20-i operating as a server stores the received network address and termination information in the storage unit. In this way, the processing device 20-i operating as a server can grasp the number of processing devices in the system.

取得部25-iは、処理部22-iによって制御される。取得部25-iは、たとえばセンサー40-iに接続され、センサー40-iから情報を取得する。センサー40-iは、たとえば、画像を読み取るためのセンサーである。処理部22-iは、クライアントとして動作する場合、たとえば、取得部25-iに対して、センサー40-iから画像情報を取得するように指示をする。なお、センサー40-iは、他のセンサーや、印刷装置等であってもよい。また、取得部25-iは、センサー40-iから情報を取得する以外の処理を行ってもよい。 The acquisition unit 25-i is controlled by the processing unit 22-i. The acquisition unit 25-i is connected to, for example, a sensor 40-i and acquires information from the sensor 40-i. The sensor 40-i is, for example, a sensor for reading images. When the processing unit 22-i operates as a client, for example, it instructs the acquisition unit 25-i to acquire image information from the sensor 40-i. Note that the sensor 40-i may be another sensor or a printing device, etc. Also, the acquisition unit 25-i may perform processes other than acquiring information from the sensor 40-i.

次に、図8に本実施形態の処理装置20-iの動作フローの例を示す。 Next, Figure 8 shows an example of the operation flow of the processing device 20-i of this embodiment.

処理装置20-iは、電力が供給されると、FPGA26-iを起動する。また、処理装置20-iは、処理部22-iのファームウェアを起動する。 When power is supplied to the processing device 20-i, it starts the FPGA 26-i. The processing device 20-i also starts the firmware of the processing unit 22-i.

FPGA26-iが起動されると、加算部21-iは、入力されたカウント値に加算値を加算して出力する。処理部22-iは、加算部21-iへ入力されたカウント値を記憶部に記憶させる(ステップS201)。 When FPGA 26-i is started, adding unit 21-i adds the addition value to the input count value and outputs the result. Processing unit 22-i stores the count value input to adding unit 21-i in the storage unit (step S201).

また、終端検出部24-iは、終端入力値が「0」であるか「1」であるかを検出する。また、処理部22-iは、終端検出部24-iによって検出された終端入力値が「0」である場合に、自処理装置が最後段であることを示す終端情報を記憶部に記憶させる。また、処理部22-iは、検出された終端入力値が「1」である場合に、自処理装置が最後段でないことを示す終端情報を記憶部に記憶させる(ステップS202)。 The end detection unit 24-i also detects whether the end input value is "0" or "1". If the end input value detected by the end detection unit 24-i is "0", the processing unit 22-i stores end information indicating that the processing device is the last stage in the storage unit. If the detected end input value is "1", the processing unit 22-i stores end information indicating that the processing device is not the last stage in the storage unit (step S202).

また、処理部22-iは、入力されたカウント値に基づいてネットワークアドレスを設定し、通信部27-iを起動する(ステップS203)。 The processing unit 22-i also sets a network address based on the input count value and starts the communication unit 27-i (step S203).

また、処理部22-iは、入力されたカウント値に応じて、複数の候補の中から行う処理を決定し、決定された処理を行う(ステップS204)。 The processing unit 22-i also determines which process to perform from among multiple candidates based on the input count value, and performs the determined process (step S204).

図9に、図8のステップS204における処理装置20-iのより具体的な動作フローの例を示す。 Figure 9 shows a more specific example of the operation flow of the processing device 20-i in step S204 of Figure 8.

処理部22-iは、入力されたカウント値が所定の条件を満たす場合(ステップS301でYES)、サーバ用プログラムとクライアント用プログラムとを起動する(ステップS302)。また、処理部22-iは、入力されたカウント値が所定の条件を満たさない場合(ステップS301でNO)、クライアント用プログラムを起動する(ステップS303)。そして、処理部22-iは、起動されたプログラムによる処理を行う(ステップS304)。 If the input count value satisfies a predetermined condition (YES in step S301), the processing unit 22-i starts a server program and a client program (step S302). If the input count value does not satisfy a predetermined condition (NO in step S301), the processing unit 22-i starts a client program (step S303). Then, the processing unit 22-i performs processing according to the started program (step S304).

また、図10に、クライアントとして動作する処理装置20-iの、図9のステップS304における動作フローの例を示す。 Figure 10 also shows an example of the operation flow for step S304 in Figure 9 for the processing device 20-i operating as a client.

処理部22-iは、自処理装置のネットワークアドレスと終端情報とを送信する(ステップS401)。また、処理部22-iは、サーバとして動作する処理装置(サーバ装置)からの指示に従って処理を行う(ステップS402)。ステップS402で実施される処理は、たとえば、取得部25-iによって実施できる処理である。取得部25-iによって実施できる処理は、より具体的には、たとえば、画像の読み取り処理である。 The processing unit 22-i transmits the network address and termination information of its own processing device (step S401). The processing unit 22-i also performs processing according to instructions from a processing device (server device) operating as a server (step S402). The processing performed in step S402 is, for example, processing that can be performed by the acquisition unit 25-i. More specifically, the processing that can be performed by the acquisition unit 25-i is, for example, image reading processing.

また、図11に、サーバとして動作する処理装置20-iの、図9のステップS304における動作フローの例を示す。 Figure 11 also shows an example of the operation flow for step S304 in Figure 9 for a processing device 20-i operating as a server.

処理部22-iは、クライアントとして動作する処理装置(クライアント装置)から、ネットワークアドレスと終端情報とを受信するのを待ち受ける。そして、通信部27-iが、クライアント装置から、ネットワークアドレスと終端情報とを受信すると、処理部22-iは、受信したネットワークアドレスと終端情報とを記憶部に記憶させる(ステップS501)。 The processing unit 22-i waits to receive a network address and termination information from a processing device (client device) operating as a client. Then, when the communication unit 27-i receives the network address and termination information from the client device, the processing unit 22-i stores the received network address and termination information in the storage unit (step S501).

また、処理部22-iは、システム内のすべてのクライアント装置からネットワークアドレスを受信すると、(ステップS502でYES)、以降の処理を行う(ステップS503)。以降の処理とは、たとえば、各クライアント装置によって実施できる処理である。実施できる処理は、より具体的には、たとえば、画像の読み取り処理である。 When the processing unit 22-i receives the network addresses from all the client devices in the system (YES in step S502), it performs the following process (step S503). The following process is, for example, a process that can be performed by each client device. More specifically, the process that can be performed is, for example, an image reading process.

処理部22-iは、最後段であることを示す終端情報を受信済みである場合に、ネットワークアドレスに基づいてシステム内の処理装置の台数を把握することができる。具体的には、処理部22-iは、最後段であることを示す終端情報を送信した処理装置のネットワークアドレスと、カウント値の初期値および加算値とから、台数を計算することができる。たとえば、カウント値の初期値が0、加算値が1であれば、ネットワークアドレスに含まれているカウント値に1を加算した数が、システム内の処理装置の台数となる。そして、処理部22-iは、システム内の処理装置の台数に基づいて、システム内のすべての処理装置からネットワークアドレスを受信したか否かを判断することができる。 When the processing unit 22-i has already received termination information indicating that it is the last stage, it can ascertain the number of processing devices in the system based on the network address. Specifically, the processing unit 22-i can calculate the number from the network address of the processing device that sent the termination information indicating that it is the last stage, and the initial value and the additional value of the count value. For example, if the initial value of the count value is 0 and the additional value is 1, the number of processing devices in the system is the number obtained by adding 1 to the count value included in the network address. Then, the processing unit 22-i can determine whether or not it has received network addresses from all of the processing devices in the system, based on the number of processing devices in the system.

以上で説明したように、本発明の第二の実施形態では、処理装置20-iは、加算部21-iおよび処理部22-iを含む。加算部21-iは、入力されたカウント値に所定の加算値を加算して出力する。処理部22-iは、入力されたカウント値に応じて、複数の候補の中から行う処理を決定し、決定された処理を行う。これにより、処理装置20-iは、入力されたカウント値によって処理装置20の接続位置を把握することができるので、接続位置に応じた処理を行うことが可能になる。また、処理部22-iが、複数の候補の中から行う処理を決定するので、システム内の処理装置の構成を共通化することができる。そのため、複数の処理装置が直列に接続されて構成されるシステムにおいて、処理装置の接続位置に応じた処理を、より容易な方法で実現することが可能になる。 As described above, in the second embodiment of the present invention, the processing device 20-i includes an adder 21-i and a processor 22-i. The adder 21-i adds a predetermined addend value to the input count value and outputs the result. The processor 22-i determines which process to perform from among multiple candidates according to the input count value, and performs the determined process. This allows the processing device 20-i to grasp the connection position of the processing device 20 from the input count value, making it possible to perform processing according to the connection position. In addition, since the processor 22-i determines which process to perform from among multiple candidates, the configuration of the processing device in the system can be standardized. Therefore, in a system in which multiple processing devices are connected in series, it becomes possible to realize processing according to the connection position of the processing device in an easier manner.

また、本実施形態の処理装置20-iの処理部22-iは、入力されたカウント値に応じて、起動する処理用プログラムを変更することによって、行う処理を変更する。これにより、処理装置の接続位置に応じた処理を、より容易な方法で実現することが可能になる。 In addition, in this embodiment, the processing unit 22-i of the processing device 20-i changes the processing to be performed by changing the processing program to be started according to the input count value. This makes it possible to realize processing according to the connection position of the processing device in an easier manner.

また、本実施形態の処理装置20-1の処理部22-iは、入力されたカウント値が所定の条件を満たす場合に、サーバおよびクライアントとして処理を行い、入力されたカウント値が条件を満たさない場合に、クライアントとして処理を行う。このようにすると、システム内の複数の処理装置のうち、所定の条件を満たす処理装置にサーバの機能を持たせ、システムをサーバクライアントシステムとすることができる。システムをサーバクライアントシステムとすると、サーバからの指示で、クライアントを同期して動作させたり、クライアントを能動的に動作させたりすることができる。また、処理装置20-i以外の装置からシステムに対して指示を行う場合に、処理装置20-iの各々に個別に指示を行わなくても、サーバだけへ指示を行うことによって、クライアントを動作させることが可能になる。 In addition, the processing unit 22-i of the processing device 20-1 in this embodiment processes as both a server and a client when the input count value meets a predetermined condition, and processes as a client when the input count value does not meet the condition. In this way, of the multiple processing devices in the system, a processing device that meets a predetermined condition can be given the function of a server, making the system a server-client system. When the system is a server-client system, the clients can be operated synchronously or actively in response to instructions from the server. In addition, when instructions are given to the system from a device other than the processing device 20-i, it is possible to operate the clients by giving instructions only to the server, without having to give instructions to each of the processing devices 20-i individually.

また、本実施形態の処理装置20-iは、他の処理装置である他処理装置と通信する通信部27-iをさらに備える。また、処理部22-iは、前段装置から入力されたカウント値に基づいて、自身の処理装置である自処理装置(処理装置20-i)のネットワークアドレスを設定する。これにより、ネットワークアドレスの設定を接続位置に応じて行うことができる。 In addition, the processing device 20-i of this embodiment further includes a communication unit 27-i that communicates with other processing devices. The processing unit 22-i also sets the network address of its own processing device (processing device 20-i) based on the count value input from the previous device. This allows the network address to be set according to the connection position.

また、本実施形態の処理装置20-iの処理部22-iは、クライアントとして動作する場合、自処理装置のネットワークアドレスをサーバへ送信し、サーバとして動作する場合、他処理装置のネットワークアドレスを受信する。これにより、サーバとして動作する処理装置が、クライアントとして動作する処理装置のネットワークアドレスを把握し、クライアントを特定した指示などを行うことが可能になる。 In addition, in this embodiment, the processing unit 22-i of the processing device 20-i transmits the network address of its own processing device to the server when operating as a client, and receives the network address of another processing device when operating as a server. This allows the processing device operating as a server to know the network address of the processing device operating as a client and to issue instructions that identify the client.

また、本実施形態の処理装置20-iは、終端入力値を検出する終端検出部24-iをさらに備える。終端入力値は、自処理装置が最後段であるか否かを示す入力値である。また、処理部22-iは、自処理装置が最後段であることを終端入力値が示し、また、クライアントとして動作する場合に、自処理装置が最後段であるか否かを示す情報である終端情報として、自処理装置が最後段であることを示す終端情報を送信する。これにより、サーバとして動作する処理装置が、システム内の処理装置の台数を把握することができる。 The processing device 20-i of this embodiment further includes an end detection unit 24-i that detects an end input value. The end input value is an input value that indicates whether or not the processing device itself is in the last stage. The processing unit 22-i also transmits end information indicating that the processing device itself is in the last stage, as end information indicating whether or not the processing device itself is in the last stage when the processing device operates as a client, based on the end input value. This allows the processing device operating as a server to grasp the number of processing devices in the system.

また、本実施形態の処理装置20-iの処理部22-iは、最後段であることを示す終端情報を送信した他処理装置のネットワークアドレスに基づいて、システム内のすべての処理装置からネットワークアドレスを受信したか否かを判断する。これにより、サーバとして動作する処理装置は、ネットワークアドレスを受信していない処理装置がシステム内にあるか否かを把握することができる。 In addition, the processing unit 22-i of the processing device 20-i in this embodiment determines whether or not it has received network addresses from all processing devices in the system based on the network address of another processing device that has sent termination information indicating that it is the last stage. This allows the processing device operating as a server to determine whether or not there is a processing device in the system that has not received a network address.

[ハードウェア構成例]
上述した本発明の各実施形態における処理装置(10、20)を、一つの情報処理装置(コンピュータ)を用いて実現するハードウェア資源の構成例について説明する。なお、処理装置は、物理的または機能的に少なくとも二つの情報処理装置を用いて実現してもよい。また、処理装置は、専用の装置として実現してもよい。また、処理装置の一部の機能のみを情報処理装置を用いて実現してもよい。
[Hardware configuration example]
An example of the configuration of hardware resources for implementing the processing devices (10, 20) in each of the above-described embodiments of the present invention using one information processing device (computer) will be described. The processing device may be implemented physically or functionally using at least two information processing devices. The processing device may also be implemented as a dedicated device. Only some of the functions of the processing device may also be implemented using an information processing device.

図12は、本発明の各実施形態の処理装置を実現可能な情報処理装置のハードウェア構成例を概略的に示す図である。情報処理装置90は、通信インタフェース91、入出力インタフェース92、演算装置93、記憶装置94、不揮発性記憶装置95およびドライブ装置96を含む。 Figure 12 is a diagram showing an example of the hardware configuration of an information processing device capable of realizing the processing device of each embodiment of the present invention. The information processing device 90 includes a communication interface 91, an input/output interface 92, a computing device 93, a storage device 94, a non-volatile storage device 95, and a drive device 96.

たとえば、図1の加算部11および処理部12は、演算装置93で実現することが可能である。 For example, the adder unit 11 and the processor unit 12 in FIG. 1 can be realized by a calculation device 93.

通信インタフェース91は、各実施形態の処理装置が、有線あるいは/および無線で外部装置と通信するための通信手段である。なお、処理装置を、少なくとも二つの情報処理装置を用いて実現する場合、それらの装置の間を通信インタフェース91経由で相互に通信可能なように接続してもよい。 The communication interface 91 is a communication means for the processing device of each embodiment to communicate with an external device via a wired or/and wireless connection. When the processing device is realized using at least two information processing devices, the devices may be connected so as to be able to communicate with each other via the communication interface 91.

入出力インタフェース92は、入力デバイスの一例であるキーボードや、出力デバイスとしてのディスプレイ等のマンマシンインタフェースである。 The input/output interface 92 is a man-machine interface including a keyboard as an example of an input device and a display as an output device.

演算装置93は、汎用のCPU(Central Processing Unit)やマイクロプロセッサ等の演算処理装置や複数の電気回路によって実現される。演算装置93は、たとえば、不揮発性記憶装置95に記憶された各種プログラムを記憶装置94に読み出し、読み出したプログラムに従って処理を実行することが可能である。 The arithmetic unit 93 is realized by an arithmetic processing device such as a general-purpose CPU (Central Processing Unit) or a microprocessor, and a plurality of electric circuits. The arithmetic unit 93 is capable of, for example, reading various programs stored in the non-volatile storage device 95 into the storage device 94 and executing processing according to the read programs.

記憶装置94は、演算装置93から参照可能な、RAM(Random Access Memory)等のメモリ装置であり、プログラムや各種データ等を記憶する。記憶装置94は、揮発性のメモリ装置であってもよい。 The storage device 94 is a memory device such as a RAM (Random Access Memory) that can be referenced by the computing device 93, and stores programs, various data, etc. The storage device 94 may be a volatile memory device.

不揮発性記憶装置95は、たとえば、ROM(Read Only Memory)、フラッシュメモリ、等の、不揮発性の記憶装置であり、各種プログラムやデータ等を記憶することが可能である。 The non-volatile storage device 95 is, for example, a non-volatile storage device such as a ROM (Read Only Memory) or a flash memory, and is capable of storing various programs, data, etc.

ドライブ装置96は、たとえば、後述する記録媒体97に対するデータの読み込みや書き込みを処理する装置である。 The drive device 96 is, for example, a device that processes the reading and writing of data from and to the recording medium 97 described below.

記録媒体97は、たとえば、光ディスク、光磁気ディスク、半導体フラッシュメモリ等、データを記録可能な任意の記録媒体である。 The recording medium 97 is any recording medium capable of recording data, such as an optical disk, a magneto-optical disk, or a semiconductor flash memory.

本発明の各実施形態は、たとえば、図12に例示した情報処理装置90により処理装置を構成し、この処理装置に対して、上記各実施形態において説明した機能を実現可能なプログラムを供給することにより実現してもよい。 Each embodiment of the present invention may be realized, for example, by configuring a processing device using the information processing device 90 illustrated in FIG. 12 and supplying a program capable of implementing the functions described in each of the above embodiments to this processing device.

この場合、処理装置に対して供給したプログラムを、演算装置93が実行することによって、実施形態を実現することが可能である。また、処理装置のすべてではなく、一部の機能を情報処理装置90で構成することも可能である。 In this case, the embodiment can be realized by having the computing device 93 execute the program supplied to the processing device. It is also possible for some, but not all, of the functions of the processing device to be configured by the information processing device 90.

さらに、上記プログラムを記録媒体97に記録しておき、処理装置の出荷段階、あるいは運用段階等において、適宜上記プログラムが不揮発性記憶装置95に格納されるよう構成してもよい。なお、この場合、上記プログラムの供給方法は、出荷前の製造段階、あるいは運用段階等において、適当な治具を利用して処理装置内にインストールする方法を採用してもよい。また、上記プログラムの供給方法は、インターネット等の通信回線を介して外部からダウンロードする方法等の一般的な手順を採用してもよい。 Furthermore, the above program may be recorded on the recording medium 97, and may be configured to be stored in the non-volatile storage device 95 as appropriate at the shipping stage or operation stage of the processing device. In this case, the method of supplying the above program may be a method of installing the program in the processing device using an appropriate tool at the manufacturing stage before shipping or at the operation stage. The method of supplying the above program may also be a general procedure such as downloading the program from an external source via a communication line such as the Internet.

上記の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may be described as follows, but are not limited to the following:

(付記1)
処理装置が直列に複数段接続されて構成されるシステムにおいて、
入力されたカウント値に所定の加算値を加算して出力する加算部と、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理部と、
を備え、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される、
処理装置。
(Appendix 1)
In a system in which processing devices are connected in series in multiple stages,
an adder that adds a predetermined addend value to an input count value and outputs the result;
a processing unit that determines a process to be performed from among a plurality of candidates according to the input count value, and performs the determined process;
Equipped with
When a preceding stage device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if such a subsequent stage device is present;
Processing unit.

(付記2)
前記処理部は、入力された前記カウント値に応じて、起動する処理用プログラムを変更することによって、行う前記処理を変更する、
付記1に記載の処理装置。
(Appendix 2)
the processing unit changes the processing to be performed by changing a processing program to be started in response to the input count value.
2. The processing device of claim 1.

(付記3)
前記処理部は、入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
付記1または付記2に記載の処理装置。
(Appendix 3)
the processing unit performs the processing as a server and a client when the input count value satisfies a predetermined condition, and performs the processing as a client when the input count value does not satisfy the condition.
3. The processing device according to claim 1 or 2.

(付記4)
他の処理装置である他処理装置と通信する通信部
をさらに備え、
前記処理部は、前記前段装置から入力された前記カウント値に基づいて、自身の処理装置である自処理装置のネットワークアドレスを設定する、
付記3に記載の処理装置。
(Appendix 4)
A communication unit that communicates with another processing device that is another processing device,
the processing unit sets a network address of its own processing device, which is its own processing device, based on the count value input from the preceding device.
4. The processing device of claim 3.

(付記5)
前記処理部は、クライアントとして動作する場合、前記自処理装置の前記ネットワークアドレスをサーバへ送信し、サーバとして動作する場合、前記他処理装置の前記ネットワークアドレスを受信する、
付記4に記載の処理装置。
(Appendix 5)
When the processing unit operates as a client, the processing unit transmits the network address of the processing device to a server, and when the processing unit operates as a server, the processing unit receives the network address of the other processing device.
5. The processing device of claim 4.

(付記6)
前記自処理装置が最後段であるか否かを示す入力値である終端入力値を検出する終端検出部
をさらに備え、
前記処理部は、前記自処理装置が最後段であることを前記終端入力値が示し、また、クライアントとして動作する場合に、前記自処理装置が最後段であるか否かを示す情報である終端情報として、前記自処理装置が最後段であることを示す前記終端情報を送信する、
付記5に記載の処理装置。
(Appendix 6)
a terminal detection unit for detecting a terminal input value which is an input value indicating whether the processing device is the last stage or not,
the processing unit transmits, when the termination input value indicates that the processing device itself is the last stage, termination information indicating whether the processing device itself is the last stage or not, the termination information indicating that the processing device itself is the last stage when operating as a client;
6. The processing device of claim 5.

(付記7)
前記処理部は、最後段であることを示す前記終端情報を送信した前記他処理装置の前記ネットワークアドレスに基づいて、前記システム内のすべての処理装置から前記ネットワークアドレスを受信したか否かを判断する、
付記6に記載の処理装置。
(Appendix 7)
the processing unit determines whether or not the network addresses have been received from all the processing devices in the system, based on the network address of the other processing device that has transmitted the termination information indicating that the other processing device is the last stage;
7. The processing device of claim 6.

(付記8)
処理装置が直列に複数段接続されて構成されるシステムにおける処理装置の処理方法であって、
入力されたカウント値に所定の加算値を加算して出力し、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行い、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される、
処理方法。
(Appendix 8)
A processing method for a processing device in a system in which processing devices are connected in series in multiple stages, comprising the steps of:
Add a predetermined value to the input count value and output the result.
determining a process to be performed from among a plurality of candidates according to the input count value, and performing the determined process;
When a preceding stage device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if such a subsequent stage device is present;
Processing method.

(付記9)
入力された前記カウント値に応じて、起動する処理用プログラムを変更することによって、行う前記処理を変更する、
付記8に記載の処理方法。
(Appendix 9)
changing the processing to be performed by changing a processing program to be started according to the input count value;
The processing method according to claim 8.

(付記10)
入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
付記8または付記9に記載の処理方法。
(Appendix 10)
When the input count value satisfies a predetermined condition, the processing is performed as a server and a client, and when the input count value does not satisfy the condition, the processing is performed as a client.
10. The processing method according to claim 8 or 9.

(付記11)
他の処理装置である他処理装置と通信し、
前記前段装置から入力された前記カウント値に基づいて、自身の処理装置である自処理装置のネットワークアドレスを設定する、
付記10に記載の処理方法。
(Appendix 11)
communicate with another processing device,
setting a network address of the own processing device, which is the processing device itself, based on the count value input from the preceding device;
11. The method of claim 10.

(付記12)
クライアントとして動作する場合、前記自処理装置の前記ネットワークアドレスをサーバへ送信し、サーバとして動作する場合、前記他処理装置の前記ネットワークアドレスを受信する、
付記11に記載の処理方法。
(Appendix 12)
When operating as a client, the processing device transmits the network address of the processing device to a server, and when operating as a server, the processing device receives the network address of the other processing device.
12. The processing method according to claim 11.

(付記13)
前記自処理装置が最後段であるか否かを示す入力値である終端入力値を検出し、
前記自処理装置が最後段であることを前記終端入力値が示し、また、クライアントとして動作する場合に、前記自処理装置が最後段であるか否かを示す情報である終端情報として、前記自処理装置が最後段であることを示す前記終端情報を送信する、
付記12に記載の処理方法。
(Appendix 13)
Detecting a terminal input value which is an input value indicating whether the processing device is the last stage or not;
the termination input value indicates that the processing device itself is the last stage, and when the processing device operates as a client, transmits termination information indicating that the processing device itself is the last stage as termination information indicating whether the processing device itself is the last stage;
13. The processing method of claim 12.

(付記14)
最後段であることを示す前記終端情報を送信した前記他処理装置の前記ネットワークアドレスに基づいて、前記システム内のすべての処理装置から前記ネットワークアドレスを受信したか否かを判断する、
付記13に記載の処理方法。
(Appendix 14)
determining whether or not the network addresses have been received from all the processing devices in the system based on the network address of the other processing device that has transmitted the termination information indicating that the other processing device is the last stage;
14. The processing method according to claim 13.

(付記15)
処理装置が直列に複数段接続されて構成されるシステムにおいて、
コンピュータに、
入力されたカウント値に所定の加算値を加算して出力する加算機能と、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理機能と、
を実現させ、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力される、
処理プログラム。
(Appendix 15)
In a system in which processing devices are connected in series in multiple stages,
On the computer,
an addition function that adds a predetermined addition value to an input count value and outputs the result;
a processing function for determining a process to be performed from among a plurality of candidates according to the input count value and performing the determined process;
Realize this,
When a preceding stage device that is a preceding stage processing device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if such a subsequent stage device is present;
Processing program.

(付記16)
前記処理機能は、入力された前記カウント値に応じて、起動する処理用プログラムを変更することによって、行う前記処理を変更する、
付記15に記載の処理プログラム。
(Appendix 16)
the processing function changes the processing to be performed by changing a processing program to be started in response to the input count value;
16. The processing program according to claim 15.

(付記17)
前記処理機能は、入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
付記15または付記16に記載の処理プログラム。
(Appendix 17)
the processing function performs the processing as a server and a client when the input count value satisfies a predetermined condition, and performs the processing as a client when the input count value does not satisfy the condition;
17. The processing program according to claim 15 or 16.

(付記18)
他の処理装置である他処理装置と通信する通信機能
をさらにコンピュータに実現させ、
前記処理機能は、前記前段装置から入力された前記カウント値に基づいて、自身の処理装置である自処理装置のネットワークアドレスを設定する、
付記17に記載の処理プログラム。
(Appendix 18)
A communication function for communicating with another processing device, which is another processing device, is further implemented in the computer;
The processing function sets a network address of a processing device that is the processing device itself, based on the count value input from the preceding device.
18. The processing program according to claim 17.

(付記19)
前記処理機能は、クライアントとして動作する場合、前記自処理装置の前記ネットワークアドレスをサーバへ送信し、サーバとして動作する場合、前記他処理装置の前記ネットワークアドレスを受信する、
付記18に記載の処理プログラム。
(Appendix 19)
the processing function, when operating as a client, transmits the network address of the processing device to a server, and when operating as a server, receives the network address of the other processing device;
19. The processing program according to claim 18.

(付記20)
前記自処理装置が最後段であるか否かを示す入力値である終端入力値を検出する終端検出機能
をさらにコンピュータに実現させ、
前記処理機能は、前記自処理装置が最後段であることを前記終端入力値が示し、また、クライアントとして動作する場合に、前記自処理装置が最後段であるか否かを示す情報である終端情報として、前記自処理装置が最後段であることを示す前記終端情報を送信する、
付記19に記載の処理プログラム。
(Appendix 20)
a terminal detection function for detecting a terminal input value which is an input value indicating whether the processing device is the last stage or not,
The processing function transmits the termination information indicating that the processing device itself is the last stage, as termination information indicating whether the processing device itself is the last stage or not, when the processing function operates as a client, the termination information indicating that the processing device itself is the last stage.
20. The processing program according to claim 19.

(付記21)
前記処理機能は、最後段であることを示す前記終端情報を送信した前記他処理装置の前記ネットワークアドレスに基づいて、前記システム内のすべての処理装置から前記ネットワークアドレスを受信したか否かを判断する、
付記20に記載の処理プログラム。
(Appendix 21)
the processing function judges whether or not the network addresses have been received from all the processing devices in the system based on the network address of the other processing device that has transmitted the termination information indicating that the other processing device is the last stage;
21. The processing program according to claim 20.

以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various modifications that can be understood by a person skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10、20-i 処理装置
11、21-i 加算部
12、22-i 処理部
24-i 終端検出部
25-i 取得部
26-i FPGA
27-i 通信部
28-i プルアップ回路
40-i センサー
50 プルダウン回路
90 情報処理装置
91 通信インタフェース
92 入出力インタフェース
93 演算装置
94 記憶装置
95 不揮発性記憶装置
96 ドライブ装置
97 記録媒体
10, 20-i Processing device 11, 21-i Addition unit 12, 22-i Processing unit 24-i End detection unit 25-i Acquisition unit 26-i FPGA
27-i Communication unit 28-i Pull-up circuit 40-i Sensor 50 Pull-down circuit 90 Information processing device 91 Communication interface 92 Input/output interface 93 Arithmetic device 94 Storage device 95 Non-volatile storage device 96 Drive device 97 Recording medium

Claims (9)

処理装置が直列に複数段接続されて構成されるシステムにおいて、
入力されたカウント値に所定の加算値を加算して出力する加算部と、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理部と、
を備え、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力され、
前記処理部は、入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
処理装置。
In a system in which processing devices are connected in series in multiple stages,
an adder that adds a predetermined addend value to an input count value and outputs the result;
a processing unit that determines a process to be performed from among a plurality of candidates according to the input count value, and performs the determined process;
Equipped with
When a preceding stage device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if a subsequent stage device is present ;
the processing unit performs the processing as a server and a client when the input count value satisfies a predetermined condition, and performs the processing as a client when the input count value does not satisfy the condition.
Processing unit.
前記処理部は、入力された前記カウント値に応じて、起動する処理用プログラムを変更することによって、行う前記処理を変更する、
請求項1に記載の処理装置。
the processing unit changes the processing to be performed by changing a processing program to be started in response to the input count value.
The processing device of claim 1 .
他の処理装置である他処理装置と通信する通信部
をさらに備え、
前記処理部は、前記前段装置から入力された前記カウント値に基づいて、自身の処理装置である自処理装置のネットワークアドレスを設定する、
請求項1または請求項2に記載の処理装置。
A communication unit that communicates with another processing device that is another processing device,
the processing unit sets a network address of its own processing device, which is its own processing device, based on the count value input from the preceding device.
The processing device according to claim 1 or 2 .
前記処理部は、クライアントとして動作する場合、前記自処理装置の前記ネットワークアドレスをサーバへ送信し、サーバとして動作する場合、前記他処理装置の前記ネットワークアドレスを受信する、
請求項に記載の処理装置。
When the processing unit operates as a client, the processing unit transmits the network address of the processing device to a server, and when the processing unit operates as a server, the processing unit receives the network address of the other processing device.
The processing device according to claim 3 .
前記自処理装置が最後段であるか否かを示す入力値である終端入力値を検出する終端検出部
をさらに備え、
前記処理部は、前記自処理装置が最後段であることを前記終端入力値が示し、また、クライアントとして動作する場合に、前記自処理装置が最後段であるか否かを示す情報である終端情報として、前記自処理装置が最後段であることを示す前記終端情報を送信する、
請求項に記載の処理装置。
a terminal detection unit for detecting a terminal input value which is an input value indicating whether the processing device is the last stage or not,
The processing unit transmits, when the termination input value indicates that the processing device itself is the last stage, and when operating as a client, termination information indicating whether the processing device itself is the last stage, the termination information indicating that the processing device itself is the last stage.
The processing device according to claim 4 .
前記処理部は、最後段であることを示す前記終端情報を送信した前記他処理装置の前記ネットワークアドレスに基づいて、前記システム内のすべての処理装置から前記ネットワークアドレスを受信したか否かを判断する、
請求項に記載の処理装置。
the processing unit determines whether or not the network addresses have been received from all the processing devices in the system based on the network address of the other processing device that has transmitted the termination information indicating that the other processing device is the last stage.
The processing device according to claim 5 .
処理装置が直列に複数段接続されて構成されるシステムにおける処理装置の処理方法であって、
入力されたカウント値に所定の加算値を加算して出力し、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行い、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力され、
入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
処理方法。
A processing method for a processing device in a system in which processing devices are connected in series in multiple stages, comprising the steps of:
Add a predetermined value to the input count value and output the result.
determining a process to be performed from among a plurality of candidates according to the input count value, and performing the determined process;
When a preceding stage device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if a subsequent stage device is present ;
When the input count value satisfies a predetermined condition, the processing is performed as a server and a client, and when the input count value does not satisfy the condition, the processing is performed as a client.
Processing method.
入力された前記カウント値に応じて、起動する処理用プログラムを変更することによって、行う前記処理を変更する、
請求項に記載の処理方法。
changing the processing to be performed by changing a processing program to be started according to the input count value;
The method of claim 7 .
処理装置が直列に複数段接続されて構成されるシステムにおいて、
コンピュータに、
入力されたカウント値に所定の加算値を加算して出力する加算機能と、
入力された前記カウント値に応じて、複数の候補の中から、行う処理を決定し、決定された前記処理を行う処理機能と、
を実現させ、
前段の処理装置である前段装置が存在する場合、前記カウント値が前記前段装置から入力され、
前記前段装置が存在しない場合、初期値が前記カウント値として入力され、
前記加算値が加算された前記カウント値は、後段の処理装置である後段装置が存在する場合、前記後段装置へ出力され、
前記処理機能は、入力された前記カウント値が所定の条件を満たす場合に、サーバおよびクライアントとして前記処理を行い、入力された前記カウント値が前記条件を満たさない場合に、クライアントとして前記処理を行う、
処理プログラム。
In a system in which processing devices are connected in series in multiple stages,
On the computer,
an addition function that adds a predetermined addition value to an input count value and outputs the result;
a processing function for determining a process to be performed from among a plurality of candidates according to the input count value and performing the determined process;
Realize this,
When a preceding stage device is present, the count value is input from the preceding stage device,
If the preceding device does not exist, an initial value is input as the count value;
the count value to which the additional value has been added is output to a subsequent stage device, if a subsequent stage device is present ;
the processing function performs the processing as a server and a client when the input count value satisfies a predetermined condition, and performs the processing as a client when the input count value does not satisfy the condition;
Processing program.
JP2021199706A 2021-12-09 2021-12-09 Processing device, processing method, and processing program Active JP7491888B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021199706A JP7491888B2 (en) 2021-12-09 2021-12-09 Processing device, processing method, and processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021199706A JP7491888B2 (en) 2021-12-09 2021-12-09 Processing device, processing method, and processing program

Publications (2)

Publication Number Publication Date
JP2023085592A JP2023085592A (en) 2023-06-21
JP7491888B2 true JP7491888B2 (en) 2024-05-28

Family

ID=86775867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021199706A Active JP7491888B2 (en) 2021-12-09 2021-12-09 Processing device, processing method, and processing program

Country Status (1)

Country Link
JP (1) JP7491888B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009247A (en) 2008-06-25 2010-01-14 Toshiba Corp Semiconductor device and data processing method by semiconductor device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009247A (en) 2008-06-25 2010-01-14 Toshiba Corp Semiconductor device and data processing method by semiconductor device

Also Published As

Publication number Publication date
JP2023085592A (en) 2023-06-21

Similar Documents

Publication Publication Date Title
US9875093B2 (en) Rack server device firmware update using network switch
US8127104B1 (en) Alignment matrix memory copy
WO2017005085A1 (en) Data compression method, apparatus, and terminal
CN107229491B (en) Information processing apparatus and control method
US10082991B2 (en) Information processing apparatus, control method of information processing apparatus, and non-transitory computer-readable storage medium
US11765469B2 (en) Image capturing apparatus, device, control method, and computer-readable storage medium
US8245085B2 (en) Dump output control apparatus and dump output control method
CN115309321A (en) Method and memory device for atomic processing of fused commands
JP7491888B2 (en) Processing device, processing method, and processing program
CN109800202B (en) PCIE (peripheral component interface express) -based data transmission system, method and device
EP2194458A2 (en) Request processing device, request processing system, and access testing method
US20210354713A1 (en) Agent control device, agent control method, and storage medium storing agent control program
CN114124475A (en) Network asset port scanning and service identification method and device
JP7484301B2 (en) Information processing device and information processing program
JP2006121699A (en) Method and apparatus for kernel-level passing of data packet from first data network to second data network
CN118151851B (en) Solid state disk reading method, device, equipment and readable storage medium
CN115994361B (en) Container vulnerability detection method, system, electronic device and readable storage medium
CN112242935B (en) Method, device, equipment and storage medium for acquiring TCP state information
US11362969B2 (en) Efficient packet re-transmission for express data paths
US20240152621A1 (en) Control method and apparatus for safety boot of chip, electronic device and storage medium
JP2006127128A (en) Slave apparatus of information processing system, operation control program for slave apparatus and operation control method for slave apparatus
CN112230810A (en) Application searching method, device, terminal and storage medium
JP2020154741A (en) Electronic apparatus, data saving control method, and data saving control program
JP2006252482A (en) Starting method for device, and image forming device
CN117234985A (en) USB device access method and device, terminal device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240516

R150 Certificate of patent or registration of utility model

Ref document number: 7491888

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150