WO2021181656A1 - Data processing device, data processing method, and program - Google Patents

Data processing device, data processing method, and program Download PDF

Info

Publication number
WO2021181656A1
WO2021181656A1 PCT/JP2020/011102 JP2020011102W WO2021181656A1 WO 2021181656 A1 WO2021181656 A1 WO 2021181656A1 JP 2020011102 W JP2020011102 W JP 2020011102W WO 2021181656 A1 WO2021181656 A1 WO 2021181656A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
unit
data
data processing
processing unit
Prior art date
Application number
PCT/JP2020/011102
Other languages
French (fr)
Japanese (ja)
Inventor
修 宮川
裕太 笹田
裕満 水内
Original Assignee
株式会社Pfu
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 株式会社Pfu filed Critical 株式会社Pfu
Priority to PCT/JP2020/011102 priority Critical patent/WO2021181656A1/en
Priority to JP2022505687A priority patent/JP7344366B2/en
Priority to CN202080080743.8A priority patent/CN114746851A/en
Publication of WO2021181656A1 publication Critical patent/WO2021181656A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Definitions

  • the present invention relates to a data processing apparatus, a data processing method, and a program.
  • Patent Document 1 describes a CDT line control unit 72 for communicating with an analog remote monitoring control device (TC) to which an analog power distribution board is connected, and a digital remote monitoring control device (DTC) to which a digital power distribution board is connected. ),
  • the TC / DTC conversion device 7 including the main CPU 71 for converting to is disclosed.
  • Patent Document 2 has a first program execution environment providing means, and provides a first program execution environment providing means in response to an input of a request according to a first interface specification using a predetermined communication protocol. It is a second image forming apparatus connected via a network to the first image forming apparatus that executes the management process of the first program to be used, and responds to the input of a request according to the second interface specification.
  • An image forming apparatus including a means for converting a received request into a request according to a second interface specification and inputting the converted request to a program management means is disclosed.
  • Patent Document 3 when the monitoring device (2) requests the equipment management device (3) to provide a predetermined service, the message body indicating the content of the request contains a parameter for receiving the service.
  • the request command with the set first header added is transmitted to the equipment management device (3) according to the first protocol, and the equipment management device (3) receives the request command, the first request command is sent.
  • a communication system that converts a received request command into a frame according to a second protocol different from the first protocol based on the header and provides a service to the monitoring device (2) based on the converted frame is disclosed. Has been done.
  • the purpose is to provide a data processing device that makes it relatively easy to add usable communication protocols by utilizing the implemented communication protocols.
  • the data processing apparatus includes a data processing unit that performs data processing, a first communication processing unit that transmits or receives data processed by the data processing unit by the first communication protocol, and the first communication processing unit. It exists in the same housing as the communication processing unit, has a relay unit that relays data communication between the first communication processing unit and the outside of the housing, and the relay unit includes the first communication processing unit and the relay unit. Includes a second communication processing unit that performs data communication using the first communication protocol, and a third communication processing unit that performs data communication with the outside using a second communication protocol different from the first communication protocol. ..
  • the first communication protocol is TCP or UDP
  • the second communication protocol is the WebSocket protocol
  • the first communication processing unit is outside the housing and the second communication processing. TCP socket communication or UDP socket communication is performed for both of the units.
  • the relay unit transmits / receives data to / from the first communication processing unit using the loopback address.
  • the data processing unit executes the processing related to the scanner as the data processing, and sets the communication path in the first communication processing unit and the relay unit to the occupied state during the scanner processing by the data processing unit. Further having an occupancy control unit, the relay unit does not change whether or not to relay data communication while being set to the occupancy state by the occupancy control unit.
  • the relay unit further includes a protocol conversion unit that embeds information indicating a port number of TCP socket communication or UDP socket communication in a header of data transmitted / received by WebSocket communication.
  • the relay unit is started or stopped according to at least one of the destination information and the validity or invalidity of the cooperation with the default service.
  • the data processing method includes a data processing step for performing data processing and an internal transmission step for transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol.
  • the relay unit has an external transmission step of transmitting the data transmitted by the internal transmission step to the outside of the housing by a second communication protocol different from the first communication protocol.
  • the program according to the present invention includes a data processing step for performing data processing, an internal transmission step for transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol, and the above-mentioned.
  • the relay unit causes the computer to execute an external transmission step of transmitting the data transmitted by the internal transmission step to the outside of the housing by a second communication protocol different from the first communication protocol.
  • FIG. 1 is a diagram illustrating the overall configuration of the communication system 1.
  • the communication system 1 includes a client terminal 2, a scanner device 3, a cloud server 4, and a client terminal 6, which are connected to each other via a communication line such as the Internet 7.
  • the client terminal 2 and the client terminal 6 are computer terminals such as a tablet terminal and a smartphone, for example.
  • the client terminal 2 of this example performs data communication with the scanner device 3 by TCP / UDP socket communication and controls the scanner device 3.
  • the client terminal 6 of this example performs data communication with the scanner device 3 by WebSocket communication.
  • the scanner device 3 is an image reading device that optically reads image data from an image display medium, and for example, transmits the read image data to the client terminal 2 by TCP socket communication.
  • the scanner device 3 is an example of a data processing device according to the present invention.
  • the cloud server 4 is a server on the cloud that provides services in cooperation with the client terminal 6.
  • the cloud server 4 provides an applet to the client terminal 6, the applet performs data communication with the scanner device 3 by WebSocket communication, and uses the service on the cloud server 4 to receive image data from the scanner device 3. Take advantage of.
  • the scanner device 3 having a network communication interface transmits and receives TCP and UDP protocol data from a client terminal 2 such as a PC or a mobile phone, and a series of scanner reading flows (user operation, reading start, Data transfer, read completion) can be executed.
  • a new service for example, instant messenger service
  • data is sent and received to the framework provided by the service (for example, the framework of the applet) by TCP and UDP protocols.
  • the interface to be used is not prepared, and in some cases, only the framework using the WebSocket protocol capable of two-way communication in real time is provided. Therefore, the function cannot be realized by following the implemented interface as it is.
  • a new interface using the WebSocket protocol will be created to build a dedicated reading function, but there are technical issues such as quality assurance, as well as risks in terms of business such as a long development period. There are challenges.
  • a relay unit 520 (WebSocket server function) described later is implemented to support the WebSocket protocol, and the data received from this interface is used as the scanner device 3.
  • the data transmitted from the scanner device 3 is also transmitted locally inside the scanner device 3 by the TCP / UDP interface, then bypass-transmitted to the relay unit 520 and transferred to the client terminal 6.
  • FIG. 2 is a diagram illustrating the hardware configuration of the scanner device 3 with a focus on control functions.
  • the scanner device 3 includes a CPU 300, a memory 302, a flash ROM 304, a network interface 306 (network IF306), a display device 308, an input device 310, and a scanner control device 312, which are configured. Are connected to each other via bus 314. These configurations are provided in the same housing.
  • the CPU 300 is, for example, a central arithmetic unit.
  • the memory 302 is, for example, a volatile memory and functions as a main storage device.
  • the flash ROM 304 is, for example, a flash memory, which stores computer programs and other data files as a non-volatile recording device.
  • the network IF306 is an interface for communicating by wire or wirelessly, and realizes communication with, for example, the client terminal 2 and the client terminal 6.
  • the display device 308 is, for example, a liquid crystal display.
  • the input device 310 is, for example, a touch panel.
  • the scanner control device 312 controls each configuration that performs the scanning operation.
  • FIG. 3 is a diagram illustrating the functional configuration of the scanner device 3.
  • the scanner program 5 is installed and operates as a part of the firmware in the scanner device 3 of this example.
  • the scanner program 5 is distributed, for example, via the Internet 7.
  • the scanner program 5 is stored in a recording medium such as a CD-ROM, and may be installed in the scanner device 3 via the client terminal 2.
  • the scanner program 5 includes a control unit 500, an occupation control unit 502, a scanner processing unit 510, a first communication unit 512, and a relay unit 520.
  • a part or all of the scanner program 5 may be realized by hardware such as an ASIC, or may be realized by borrowing a part of the functions of the OS (Operating System).
  • the control unit 500 controls each configuration of the scanner program 5. For example, the control unit 500 activates or stops the function of the relay unit 520 according to at least one of the destination information of the scanner device 3 and the enable / disable of the cooperation with the default service.
  • the control unit 500 of this example activates the relay unit 520 when the destination of the scanner device 3 is country A and the cooperation function with the service B is effective, and the destination of the scanner device 3 is A. If it is outside the country, or if the function of linking with service B is disabled, the relay unit 520 is stopped.
  • the occupation control unit 502 sets the communication paths in the first communication unit 512 and the relay unit 520 to the occupied state during the scanner processing by the scanner processing unit 510.
  • the applet when communicating with the WebSocket protocol, the applet first throws an occupancy command to the scanner device 3 to occupy it, and then uses another communication path such as USB or cloud / mobile. A series of exchanges are performed in a state where the terminal of the above cannot communicate with the scanner device 3, and the occupancy is released after all the exchanges are completed.
  • the scanner processing unit 510 performs data processing related to the scanner device 3.
  • the scanner processing unit 510 of this example includes a plurality of application programs (“application A” to “application D” in the figure), and performs image data transfer processing, setting processing of the scanner device 3, and the like.
  • the scanner processing unit 510 is an example of a data processing unit according to the present invention.
  • the first communication unit 512 transmits / receives the data processed by the scanner processing unit 510 using the first communication protocol.
  • the first communication unit 512 of this example uses a TCP / UDP socket interface to perform data communication inside and outside the housing of the scanner device 3. More specifically, when transmitting via WebSocket to the outside of the housing of the scanner device 3, the first communication unit 512 specifies a loopback address and uses a TCP / UDP socket interface to use a relay unit inside the scanner device 3.
  • TCP / UDP When transmitting data to 520 and transmitting it to the outside of the housing of the scanner device 3 by TCP / UDP, specify an external destination address (address of the client terminal 2 or the like) and data to the outside of the scanner device 3. To send.
  • the relay unit 520 exists in the same housing as the first communication unit 512, and relays data communication between the first communication unit 512 and the outside of the housing. Specifically, the relay unit 520 includes a second communication unit 512, a protocol conversion unit 524, and a third communication unit 526.
  • the second communication unit 512 performs data communication with the first communication unit 512 using the first communication protocol.
  • the second communication unit 512 of this example specifies a loopback address and performs data communication with the first communication unit 512 via the TCP / UDP socket interface.
  • the protocol conversion unit 524 converts the data relayed by the relay unit 520 into a format corresponding to the communication protocol. For example, the protocol conversion unit 524 embeds information indicating the port number of TCP socket communication or UDP socket communication in the header of data transmitted / received by WebSocket communication. Further, the protocol conversion unit 524 specifies the port number of TCP socket communication or UDP socket communication from the header of the data transmitted / received by WebSocket communication, and generates a packet with the specified port number.
  • the third communication unit 526 uses a second communication protocol different from the first communication protocol to perform data communication with the outside.
  • the third communication unit 526 of this example uses the WebSocket protocol to perform data communication with the applet of the client terminal 6.
  • FIG. 4 is a flowchart illustrating a transmission process (S10) by the scanner device 3.
  • FIG. 5 is a diagram schematically illustrating a transmission process by the WebSocket protocol.
  • the scanner processing unit 510 (FIG. 3) performs data processing and generates data to be transmitted.
  • the first communication unit 512 determines the transmission destination of the data generated by the scanner processing unit 510.
  • the process proceeds to S110, and when the data transmission destination is the client terminal 6, the process proceeds to S115.
  • step 110 (S110) the first communication unit 512 uses the TCP / UDP socket interface to transmit the data generated by the scanner processing unit 510 to the outside (client terminal 2).
  • step 115 the first communication unit 512 specifies the loopback address and transmits the data generated by the scanner processing unit 510 to its own unit (scanner device 3) using the TCP / UDP socket interface. do.
  • step 120 the second communication unit 522 of the relay unit 520 receives data from the first communication unit 512 via the TCP / UDP socket interface.
  • step 125 the protocol conversion unit 524 embeds information indicating the port number (that is, information identifying the application) in the header of the data received by the second communication unit 522, as illustrated in FIG. ..
  • step 130 the third communication unit 526 transmits the data in which the information is embedded by the protocol conversion unit 524 to the outside (client terminal 6) by the WebSocket protocol.
  • FIG. 6 is a flowchart illustrating a reception process (S20) by the scanner device 3.
  • FIG. 7 is a diagram schematically illustrating reception processing by the WebSocket protocol.
  • the third communication unit 526 of the relay unit 520 receives data from the outside (client terminal 6) by the WebSocket protocol.
  • the protocol conversion unit 524 extracts information indicating the port number from the header of the data received by the third communication unit 526, as illustrated in FIG.
  • the second communication unit 522 uses the TCP / UDP socket interface based on the port number extracted by the protocol conversion unit 524 and the loopback address, and the data received by the third communication unit 526. Is transmitted to the first communication unit 512.
  • step 215 the first communication unit 512 passes the data received from the second communication unit 522 to the application corresponding to the port number, as illustrated in FIG.
  • step 220 the scanner processing unit 510 processes the data received by the first communication unit 512 with the application corresponding to the port number.
  • the scanner device 3 of the present embodiment relays data to the relay unit 520 at the loopback address while utilizing the TCP / UDP socket interface that has been conventionally implemented, and communicates with the WebSocket protocol. To realize. As a result, it is possible to realize a communication mechanism based on the WebSocket protocol in a short process and in a form that ensures high quality without modifying the conventional scanner reading control at all.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Facsimiles In General (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A data processing device has: a data processing unit that performs data processing; a first communication processing unit that transmits or receives, using a first communication protocol, data processed by the data processing unit; and a relay unit present in the same housing as the first communication processing unit, the relay unit relaying data communication between the first communication processing unit and a unit outside the housing, the relay unit including the first communication processing unit, a second communication processing unit that performs data communication using the first communication protocol, and a third communication processing unit that performs data communication with the external unit using a second communication protocol that differs from the first communication protocol.

Description

データ処理装置、データ処理方法、及びプログラムData processing equipment, data processing methods, and programs
 本発明は、データ処理装置、データ処理方法、及びプログラムに関する。 The present invention relates to a data processing apparatus, a data processing method, and a program.
 例えば、特許文献1には、アナログ配電盤が接続されたアナログ用遠隔監視制御装置(TC)と通信するためのCDT用回線制御部72と、デジタル配電盤が接続されたデジタル用遠隔監視制御装置(DTC)と通信するためのLAN用回線制御部76と、アナログ用遠隔監視制御装置(TC)と通信するためのCDTプロトコルとデジタル用遠隔監視制御装置(DTC)と通信するためのIPプロトコルとを相互に変換するメインCPU71とを備えるTC/DTC変換装置7が開示されている。 For example, Patent Document 1 describes a CDT line control unit 72 for communicating with an analog remote monitoring control device (TC) to which an analog power distribution board is connected, and a digital remote monitoring control device (DTC) to which a digital power distribution board is connected. ), The LAN line control unit 76, the CDT protocol for communicating with the analog remote monitoring and control device (TC), and the IP protocol for communicating with the digital remote monitoring and control device (DTC). The TC / DTC conversion device 7 including the main CPU 71 for converting to is disclosed.
 また、特許文献2には、第一のプログラム実行環境提供手段を有し、所定の通信プロトコルを利用した第一のインタフェース仕様に従った要求の入力に応じて第一のプログラム実行環境提供手段を利用する第一のプログラムの管理処理を実行する第一の画像形成装置とネットワークを介して接続される第二の画像形成装置であって、第二のインタフェース仕様に従った要求の入力に応じ、第一の実行環境提供手段と異なる構成を有する第二のプログラム実行環境提供手段を利用する第二のプログラムの管理処理を実行する手段と、第一のインタフェース仕様に従った要求の入力を受け付ける手段と、受け付けられた要求を第二のインタフェース仕様に従った要求に変換し、変換後の要求をプログラム管理手段に入力する手段とを有する画像形成装置が開示されている。 Further, Patent Document 2 has a first program execution environment providing means, and provides a first program execution environment providing means in response to an input of a request according to a first interface specification using a predetermined communication protocol. It is a second image forming apparatus connected via a network to the first image forming apparatus that executes the management process of the first program to be used, and responds to the input of a request according to the second interface specification. A means for executing management processing of a second program using a second program execution environment providing means having a configuration different from that of the first execution environment providing means, and a means for accepting input of a request according to the first interface specification. An image forming apparatus including a means for converting a received request into a request according to a second interface specification and inputting the converted request to a program management means is disclosed.
 また、特許文献3には、監視装置(2)は、設備管理装置(3)に予め定めたサービスの提供を要求する際、要求内容を示すメッセージ本体に、サービスの提供を受けるためのパラメータが設定された第1のヘッダを付加した要求コマンドを第1のプロトコルに則って設備管理装置(3)に送信し、設備管理装置(3)は、要求コマンドを受信すると、要求コマンドの第1のヘッダに基づいて、受信した要求コマンドを第1のプロトコルとは異なる第2のプロトコルに則ったフレームに変換し、変換後のフレームに基づいて監視装置(2)にサービスを提供する通信システムが開示されている。 Further, in Patent Document 3, when the monitoring device (2) requests the equipment management device (3) to provide a predetermined service, the message body indicating the content of the request contains a parameter for receiving the service. When the request command with the set first header added is transmitted to the equipment management device (3) according to the first protocol, and the equipment management device (3) receives the request command, the first request command is sent. A communication system that converts a received request command into a frame according to a second protocol different from the first protocol based on the header and provides a service to the monitoring device (2) based on the converted frame is disclosed. Has been done.
特開2010-178058JP 2010-178058 特開2011-041009JP 2011-041009 国際公開2016/151798International release 2016/151798
 実装済みの通信プロトコルを活用して、使用可能な通信プロトコルの追加が比較的容易なデータ処理装置を提供することを目的とする。 The purpose is to provide a data processing device that makes it relatively easy to add usable communication protocols by utilizing the implemented communication protocols.
 本発明に係るデータ処理装置は、データ処理を行うデータ処理部と、前記データ処理部により処理されるデータを第1の通信プロトコルで送信又は受信する第1の通信処理部と、前記第1の通信処理部と同じ筐体内に存在し、前記第1の通信処理部と筐体外部とのデータ通信を中継する中継部とを有し、前記中継部は、前記第1の通信処理部と、前記第1の通信プロトコルでデータ通信を行う第2の通信処理部と、前記第1の通信プロトコルとは異なる第2の通信プロトコルで、外部とデータ通信を行う第3の通信処理部とを含む。 The data processing apparatus according to the present invention includes a data processing unit that performs data processing, a first communication processing unit that transmits or receives data processed by the data processing unit by the first communication protocol, and the first communication processing unit. It exists in the same housing as the communication processing unit, has a relay unit that relays data communication between the first communication processing unit and the outside of the housing, and the relay unit includes the first communication processing unit and the relay unit. Includes a second communication processing unit that performs data communication using the first communication protocol, and a third communication processing unit that performs data communication with the outside using a second communication protocol different from the first communication protocol. ..
 好適には、前記第1の通信プロトコルは、TCP又はUDPであり、前記第2の通信プロトコルは、WebSocketプロトコルであり、前記第1の通信処理部は、筐体外部及び前記第2の通信処理部の双方に対して、TCPソケット通信又はUDPソケット通信を行う。 Preferably, the first communication protocol is TCP or UDP, the second communication protocol is the WebSocket protocol, and the first communication processing unit is outside the housing and the second communication processing. TCP socket communication or UDP socket communication is performed for both of the units.
 好適には、前記中継部は、ループバックアドレスを用いて、前記第1の通信処理部に対して、データの送受信を行う。 Preferably, the relay unit transmits / receives data to / from the first communication processing unit using the loopback address.
 好適には、前記データ処理部は、スキャナに関する処理を前記データ処理として実施し、前記データ処理部によるスキャナ処理中に、前記第1の通信処理部及び前記中継部における通信経路を占有状態に設定する占有制御部をさらに有し、前記中継部は、前記占有制御部により占有状態に設定されている間、データ通信を中継するか否かを変更しない。 Preferably, the data processing unit executes the processing related to the scanner as the data processing, and sets the communication path in the first communication processing unit and the relay unit to the occupied state during the scanner processing by the data processing unit. Further having an occupancy control unit, the relay unit does not change whether or not to relay data communication while being set to the occupancy state by the occupancy control unit.
 好適には、前記中継部は、TCPソケット通信又はUDPソケット通信のポート番号を示す情報を、WebSocket通信で送受信されるデータのヘッダに埋め込むプロトコル変換部をさらに含む。 Preferably, the relay unit further includes a protocol conversion unit that embeds information indicating a port number of TCP socket communication or UDP socket communication in a header of data transmitted / received by WebSocket communication.
 好適には、前記中継部は、仕向け先情報、及び、既定のサービスとの連携の有効又は無効、の少なくとも一方に応じて、起動又は停止する。 Preferably, the relay unit is started or stopped according to at least one of the destination information and the validity or invalidity of the cooperation with the default service.
 また、本発明に係るデータ処理方法は、データ処理を行うデータ処理ステップと、前記データ処理ステップにより処理されたデータを、第1の通信プロトコルで同一筐体内の中継部に送信する内部送信ステップと、前記中継部が、前記内部送信ステップにより送信されたデータを、前記第1の通信プロトコルとは異なる第2の通信プロトコルで、前記筐体の外部に送信する外部送信ステップとを有する。 Further, the data processing method according to the present invention includes a data processing step for performing data processing and an internal transmission step for transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol. The relay unit has an external transmission step of transmitting the data transmitted by the internal transmission step to the outside of the housing by a second communication protocol different from the first communication protocol.
 また、本発明に係るプログラムは、データ処理を行うデータ処理ステップと、前記データ処理ステップにより処理されたデータを、第1の通信プロトコルで同一筐体内の中継部に送信する内部送信ステップと、前記中継部が、前記内部送信ステップにより送信されたデータを、前記第1の通信プロトコルとは異なる第2の通信プロトコルで、前記筐体の外部に送信する外部送信ステップとをコンピュータに実行させる。 Further, the program according to the present invention includes a data processing step for performing data processing, an internal transmission step for transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol, and the above-mentioned. The relay unit causes the computer to execute an external transmission step of transmitting the data transmitted by the internal transmission step to the outside of the housing by a second communication protocol different from the first communication protocol.
 実装済みの通信プロトコルを活用して、使用可能な通信プロトコルの追加が比較的容易なデータ処理装置を提供できる。 Utilizing the implemented communication protocol, it is possible to provide a data processing device that makes it relatively easy to add a usable communication protocol.
通信システム1の全体構成を例示する図である。It is a figure which illustrates the whole structure of the communication system 1. スキャナ装置3のハードウェア構成を、制御機能を中心に例示する図である。It is a figure which illustrates the hardware configuration of the scanner device 3 mainly in the control function. スキャナ装置3の機能構成を例示する図である。It is a figure which illustrates the functional structure of the scanner device 3. スキャナ装置3による送信処理(S10)を説明するフローチャートである。It is a flowchart explaining the transmission process (S10) by a scanner device 3. WebSocketプロトコルによる送信処理を模式的に説明する図である。It is a figure which schematically explains the transmission process by a WebSocket protocol. スキャナ装置3による受信処理(S20)を説明するフローチャートである。It is a flowchart explaining the reception process (S20) by the scanner device 3. WebSocketプロトコルによる受信処理を模式的に説明する図である。It is a figure which schematically explains the reception process by a WebSocket protocol. 占有制御部502による占有状態を説明する模式図である。It is a schematic diagram explaining the occupancy state by the occupancy control unit 502.
 以下、本発明の実施形態を、図面を参照して説明する。
 図1は、通信システム1の全体構成を例示する図である。
 図1に例示するように、通信システム1は、クライアント端末2と、スキャナ装置3と、クラウドサーバ4と、クライアント端末6とを含み、これらはインターネット7などの通信回線を介して互いに接続している。
 クライアント端末2及びクライアント端末6は、例えば、タブレット端末やスマートフォンなどのコンピュータ端末である。本例のクライアント端末2は、TCP/UDPソケット通信によってスキャナ装置3とデータ通信を行い、スキャナ装置3を制御する。本例のクライアント端末6は、WebSocket通信でスキャナ装置3とデータ通信を行う。
 スキャナ装置3は、画像表示媒体から光学的に画像データを読み取る画像読取装置であり、例えば、読み取られた画像データをTCPソケット通信でクライアント端末2に送信する。なお、スキャナ装置3は、本発明に係るデータ処理装置の一例である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating the overall configuration of the communication system 1.
As illustrated in FIG. 1, the communication system 1 includes a client terminal 2, a scanner device 3, a cloud server 4, and a client terminal 6, which are connected to each other via a communication line such as the Internet 7. There is.
The client terminal 2 and the client terminal 6 are computer terminals such as a tablet terminal and a smartphone, for example. The client terminal 2 of this example performs data communication with the scanner device 3 by TCP / UDP socket communication and controls the scanner device 3. The client terminal 6 of this example performs data communication with the scanner device 3 by WebSocket communication.
The scanner device 3 is an image reading device that optically reads image data from an image display medium, and for example, transmits the read image data to the client terminal 2 by TCP socket communication. The scanner device 3 is an example of a data processing device according to the present invention.
 クラウドサーバ4は、クライアント端末6と連携してサービスを提供するクラウド上のサーバである。例えば、クラウドサーバ4は、クライアント端末6にアプレットを提供し、当該アプレットはWebSocket通信でスキャナ装置3とデータ通信を行い、クラウドサーバ4上のサービスを利用して、スキャナ装置3から受信した画像データを活用する。 The cloud server 4 is a server on the cloud that provides services in cooperation with the client terminal 6. For example, the cloud server 4 provides an applet to the client terminal 6, the applet performs data communication with the scanner device 3 by WebSocket communication, and uses the service on the cloud server 4 to receive image data from the scanner device 3. Take advantage of.
 上記通信システム1において、ネットワーク通信インタフェースを持つスキャナ装置3は、PCや携帯電話などのクライアント端末2からTCPならびにUDPのプロトコルデータを送受信して、スキャナ読み取りの一連の流れ(ユーザ操作、読み取り開始、データ転送、読み取り完了)を実行することができる。
 上記に加えて、新たなサービス(例えば、インスタントメッセンジャーサービス)との連携を実現しようとする場合、サービスが用意するフレームワーク(例えば、アプレットのフレームワーク)には、TCPならびにUDPプロトコルによってデータを送受信するインタフェースが準備されていない場合もあり、リアルタイムに双方向通信可能なWebSocketプロトコルを使った枠組みのみが提供される場合もある。そのため、実装済みのインタフェースをそのまま踏襲した形では機能を実現できない。通常は、WebSocketプロトコルによる新インタフェースを作成し、専用の読み取り機能を構築するのであろうが、品質確保などの技術的課題はもちろん、開発期間が長期に渡るなどビジネス的な側面でもリスクを 背負うといった課題がある。
In the communication system 1, the scanner device 3 having a network communication interface transmits and receives TCP and UDP protocol data from a client terminal 2 such as a PC or a mobile phone, and a series of scanner reading flows (user operation, reading start, Data transfer, read completion) can be executed.
In addition to the above, when trying to realize cooperation with a new service (for example, instant messenger service), data is sent and received to the framework provided by the service (for example, the framework of the applet) by TCP and UDP protocols. In some cases, the interface to be used is not prepared, and in some cases, only the framework using the WebSocket protocol capable of two-way communication in real time is provided. Therefore, the function cannot be realized by following the implemented interface as it is. Normally, a new interface using the WebSocket protocol will be created to build a dedicated reading function, but there are technical issues such as quality assurance, as well as risks in terms of business such as a long development period. There are challenges.
 そこで、本実施形態の通信システム1におけるスキャナ装置3のファームウェアでは、後述する中継部520(WebSocketサーバ機能)を実装して、WebSocketプロトコルをサポートし、このインタフェースから受信されたデータを、スキャナ装置3内部で独自にプロトコル変換し、実装済みのTCP/UDPインタフェースにバイパス送信する手法を考案した。スキャナ装置3から送信するデータも同様に、TCP/UDPインタフェースによって、一旦、スキャナ装置3内部にローカルに送信後、 中継部520にバイパス送信し、クライアント端末6に転送する仕組みを実現した。 Therefore, in the firmware of the scanner device 3 in the communication system 1 of the present embodiment, a relay unit 520 (WebSocket server function) described later is implemented to support the WebSocket protocol, and the data received from this interface is used as the scanner device 3. We devised a method to convert the protocol internally and send it by bypass to the implemented TCP / UDP interface. Similarly, the data transmitted from the scanner device 3 is also transmitted locally inside the scanner device 3 by the TCP / UDP interface, then bypass-transmitted to the relay unit 520 and transferred to the client terminal 6.
 図2は、スキャナ装置3のハードウェア構成を、制御機能を中心に例示する図である。
 図2に例示するように、スキャナ装置3は、CPU300、メモリ302、フラッシュROM304、ネットワークインタフェース306(ネットワークIF306)、表示装置308、入力装置310、及び、スキャナ制御装置312を有し、これらの構成はバス314を介して互いに接続している。これらの構成は、同一の筐体内に設けられている。
 CPU300は、例えば、中央演算装置である。
 メモリ302は、例えば、揮発性メモリであり、主記憶装置として機能する。
 フラッシュROM304は、例えば、フラッシュメモリであり、不揮発性の記録装置としてコンピュータプログラムやその他のデータファイルを格納する。
 ネットワークIF306は、有線又は無線で通信するためのインタフェースであり、例えば、クライアント端末2及びクライアント端末6との通信を実現する。
 表示装置308は、例えば、液晶ディスプレイである。
 入力装置310は、例えば、タッチパネルである。
 スキャナ制御装置312は、スキャン動作を行う各構成の制御を行う。
FIG. 2 is a diagram illustrating the hardware configuration of the scanner device 3 with a focus on control functions.
As illustrated in FIG. 2, the scanner device 3 includes a CPU 300, a memory 302, a flash ROM 304, a network interface 306 (network IF306), a display device 308, an input device 310, and a scanner control device 312, which are configured. Are connected to each other via bus 314. These configurations are provided in the same housing.
The CPU 300 is, for example, a central arithmetic unit.
The memory 302 is, for example, a volatile memory and functions as a main storage device.
The flash ROM 304 is, for example, a flash memory, which stores computer programs and other data files as a non-volatile recording device.
The network IF306 is an interface for communicating by wire or wirelessly, and realizes communication with, for example, the client terminal 2 and the client terminal 6.
The display device 308 is, for example, a liquid crystal display.
The input device 310 is, for example, a touch panel.
The scanner control device 312 controls each configuration that performs the scanning operation.
 図3は、スキャナ装置3の機能構成を例示する図である。
 図3に例示するように、本例のスキャナ装置3には、スキャナプログラム5がファームウェアの一部としてインストールされ、動作する。スキャナプログラム5は、例えば、インターネット7を介して配布される。なお、スキャナプログラム5は、CD-ROM等の記録媒体に格納されており、クライアント端末2を介して、スキャナ装置3にインストールされてもよい。
 スキャナプログラム5は、制御部500、占有制御部502、スキャナ処理部510、第1通信部512、及び、中継部520を有する。
 なお、スキャナプログラム5の一部又は全部は、ASICなどのハードウェアにより実現されてもよく、また、OS(Operating System)の機能を一部借用して実現されてもよい。
FIG. 3 is a diagram illustrating the functional configuration of the scanner device 3.
As illustrated in FIG. 3, the scanner program 5 is installed and operates as a part of the firmware in the scanner device 3 of this example. The scanner program 5 is distributed, for example, via the Internet 7. The scanner program 5 is stored in a recording medium such as a CD-ROM, and may be installed in the scanner device 3 via the client terminal 2.
The scanner program 5 includes a control unit 500, an occupation control unit 502, a scanner processing unit 510, a first communication unit 512, and a relay unit 520.
A part or all of the scanner program 5 may be realized by hardware such as an ASIC, or may be realized by borrowing a part of the functions of the OS (Operating System).
 スキャナプログラム5において、制御部500は、スキャナプログラム5の各構成を制御する。例えば、制御部500は、スキャナ装置3の仕向け先情報、及び、既定のサービスとの連携の有効又は無効、の少なくとも一方に応じて、中継部520の機能を起動又は停止させる。本例の制御部500は、スキャナ装置3の仕向け先がA国であり、かつ、サービスBとの連携機能が有効である場合に、中継部520を起動させ、スキャナ装置3の仕向け先がA国以外である場合、又は、サービスBとの連携機能が無効に設定されている場合、中継部520を停止した状態にさせる。 In the scanner program 5, the control unit 500 controls each configuration of the scanner program 5. For example, the control unit 500 activates or stops the function of the relay unit 520 according to at least one of the destination information of the scanner device 3 and the enable / disable of the cooperation with the default service. The control unit 500 of this example activates the relay unit 520 when the destination of the scanner device 3 is country A and the cooperation function with the service B is effective, and the destination of the scanner device 3 is A. If it is outside the country, or if the function of linking with service B is disabled, the relay unit 520 is stopped.
 占有制御部502は、スキャナ処理部510によるスキャナ処理中に、第1通信部512及び中継部520における通信経路を占有状態に設定する。本例では、中継部520を経由する通信経路(WebSocket通信)と、中継部520を経由しない通信経路(TCP/UDPソケット通信)とが存在し、占有制御部502は、スキャナ処理部510によるスキャナ処理が開始され、このスキャナ処理が完了するまでの間、いずれか一方の通信経路に固定し、他方の通信経路による通信を禁止する。より具体的には、図8に例示するように、WebSocketプロトコルで通信する際、最初にアプレットがスキャナ装置3に占有コマンドを投げて占有し、USBやクラウド/モバイルなどの他の通信経路で他の端末がスキャナ装置3と通信できないようにした状態で一連のやりとりを行い、すべてのやり取り終了後に占有を解除する。 The occupation control unit 502 sets the communication paths in the first communication unit 512 and the relay unit 520 to the occupied state during the scanner processing by the scanner processing unit 510. In this example, there is a communication path (WebSocket communication) that goes through the relay unit 520 and a communication path (TCP / UDP socket communication) that does not go through the relay unit 520, and the occupation control unit 502 is a scanner by the scanner processing unit 510. Until the processing is started and the scanner processing is completed, it is fixed to one of the communication paths and communication by the other communication path is prohibited. More specifically, as illustrated in FIG. 8, when communicating with the WebSocket protocol, the applet first throws an occupancy command to the scanner device 3 to occupy it, and then uses another communication path such as USB or cloud / mobile. A series of exchanges are performed in a state where the terminal of the above cannot communicate with the scanner device 3, and the occupancy is released after all the exchanges are completed.
 スキャナ処理部510は、スキャナ装置3に関するデータ処理を実施する。本例のスキャナ処理部510は、複数のアプリケーションプログラム(図中の「アプリA」~「アプリD」)を含み、画像データの転送処理やスキャナ装置3の設定処理等を行う。なお、スキャナ処理部510は、本発明に係るデータ処理部の一例である。 The scanner processing unit 510 performs data processing related to the scanner device 3. The scanner processing unit 510 of this example includes a plurality of application programs (“application A” to “application D” in the figure), and performs image data transfer processing, setting processing of the scanner device 3, and the like. The scanner processing unit 510 is an example of a data processing unit according to the present invention.
 第1通信部512は、スキャナ処理部510により処理されるデータを第1の通信プロトコルで送受信する。本例の第1通信部512は、TCP/UDPソケットインタフェースで、スキャナ装置3の筐体内外に対してデータ通信を行う。より具体的には、第1通信部512は、スキャナ装置3の筐体外部にWebSocketで送信する場合には、ループバックアドレスを指定してTCP/UDPソケットインタフェースで、スキャナ装置3内部の中継部520に対してデータを送信し、スキャナ装置3の筐体外部にTCP/UDPで送信する場合には、外部の宛先アドレス(クライアント端末2のアドレスなど)を指定して、スキャナ装置3外部にデータを送信する。 The first communication unit 512 transmits / receives the data processed by the scanner processing unit 510 using the first communication protocol. The first communication unit 512 of this example uses a TCP / UDP socket interface to perform data communication inside and outside the housing of the scanner device 3. More specifically, when transmitting via WebSocket to the outside of the housing of the scanner device 3, the first communication unit 512 specifies a loopback address and uses a TCP / UDP socket interface to use a relay unit inside the scanner device 3. When transmitting data to 520 and transmitting it to the outside of the housing of the scanner device 3 by TCP / UDP, specify an external destination address (address of the client terminal 2 or the like) and data to the outside of the scanner device 3. To send.
 中継部520は、第1通信部512と同じ筐体内に存在し、第1通信部512と筐体外部と間のデータ通信を中継する。
 具体的には、中継部520は、第2通信部512、プロトコル変換部524、及び第3通信部526を含む。
The relay unit 520 exists in the same housing as the first communication unit 512, and relays data communication between the first communication unit 512 and the outside of the housing.
Specifically, the relay unit 520 includes a second communication unit 512, a protocol conversion unit 524, and a third communication unit 526.
 第2通信部512は、第1通信部512と、第1の通信プロトコルでデータ通信を行う。本例の第2通信部512は、ループバックアドレスを指定してTCP/UDPソケットインタフェースで第1通信部512とデータ通信を行う。 The second communication unit 512 performs data communication with the first communication unit 512 using the first communication protocol. The second communication unit 512 of this example specifies a loopback address and performs data communication with the first communication unit 512 via the TCP / UDP socket interface.
 プロトコル変換部524は、中継部520が中継するデータを、通信プロトコルに対応した形式に変換する。例えば、プロトコル変換部524は、TCPソケット通信又はUDPソケット通信のポート番号を示す情報を、WebSocket通信で送受信されるデータのヘッダに埋め込む。また、プロトコル変換部524は、WebSocket通信で送受信されるデータのヘッダから、TCPソケット通信又はUDPソケット通信のポート番号を特定し、特定されたポート番号でパケットを生成する。 The protocol conversion unit 524 converts the data relayed by the relay unit 520 into a format corresponding to the communication protocol. For example, the protocol conversion unit 524 embeds information indicating the port number of TCP socket communication or UDP socket communication in the header of data transmitted / received by WebSocket communication. Further, the protocol conversion unit 524 specifies the port number of TCP socket communication or UDP socket communication from the header of the data transmitted / received by WebSocket communication, and generates a packet with the specified port number.
 第3通信部526は、第1の通信プロトコルとは異なる第2の通信プロトコルで、外部とデータ通信を行う。本例の第3通信部526は、WebSocketプロトコルで、クライアント端末6のアプレットとデータ通信を行う。 The third communication unit 526 uses a second communication protocol different from the first communication protocol to perform data communication with the outside. The third communication unit 526 of this example uses the WebSocket protocol to perform data communication with the applet of the client terminal 6.
 図4は、スキャナ装置3による送信処理(S10)を説明するフローチャートである。
 図5は、WebSocketプロトコルによる送信処理を模式的に説明する図である。
 図4に例示するように、ステップ100(S100)において、スキャナ処理部510(図3)は、データ処理を行い、送信すべきデータを生成する。
 ステップ105(S105)において、第1通信部512は、スキャナ処理部510により生成されたデータの送信先を判定する。データの送信先がクライアント端末2である場合に、S110の処理に移行し、データの送信先がクライアント端末6である場合に、S115の処理に移行する。
FIG. 4 is a flowchart illustrating a transmission process (S10) by the scanner device 3.
FIG. 5 is a diagram schematically illustrating a transmission process by the WebSocket protocol.
As illustrated in FIG. 4, in step 100 (S100), the scanner processing unit 510 (FIG. 3) performs data processing and generates data to be transmitted.
In step 105 (S105), the first communication unit 512 determines the transmission destination of the data generated by the scanner processing unit 510. When the data transmission destination is the client terminal 2, the process proceeds to S110, and when the data transmission destination is the client terminal 6, the process proceeds to S115.
 ステップ110(S110)において、第1通信部512は、TCP/UDPソケットインタフェースを使って、スキャナ処理部510により生成されたデータを外部(クライアント端末2)に送信する。 In step 110 (S110), the first communication unit 512 uses the TCP / UDP socket interface to transmit the data generated by the scanner processing unit 510 to the outside (client terminal 2).
 ステップ115(S115)において、第1通信部512は、ループバックアドレスを指定して、TCP/UDPソケットインタフェースを使って、スキャナ処理部510により生成されたデータを自機(スキャナ装置3)に送信する。
 ステップ120(S120)において、中継部520の第2通信部522は、TCP/UDPソケットインタフェースで、第1通信部512からデータを受信する。
In step 115 (S115), the first communication unit 512 specifies the loopback address and transmits the data generated by the scanner processing unit 510 to its own unit (scanner device 3) using the TCP / UDP socket interface. do.
In step 120 (S120), the second communication unit 522 of the relay unit 520 receives data from the first communication unit 512 via the TCP / UDP socket interface.
 ステップ125(S125)において、プロトコル変換部524は、図5に例示するように、第2通信部522が受信したデータのヘッダに、ポート番号を示す情報(すなわち、アプリケーションを特定する情報)を埋め込む。
 ステップ130(S130)において、第3通信部526は、プロトコル変換部524により情報が埋め込まれたデータを、WebSocketプロトコルで外部(クライアント端末6)に送信する。
In step 125 (S125), the protocol conversion unit 524 embeds information indicating the port number (that is, information identifying the application) in the header of the data received by the second communication unit 522, as illustrated in FIG. ..
In step 130 (S130), the third communication unit 526 transmits the data in which the information is embedded by the protocol conversion unit 524 to the outside (client terminal 6) by the WebSocket protocol.
 図6は、スキャナ装置3による受信処理(S20)を説明するフローチャートである。
 図7は、WebSocketプロトコルによる受信処理を模式的に説明する図である。
 図6に例示するように、ステップ200(S200)において、中継部520の第3通信部526は、外部(クライアント端末6)から、WebSocketプロトコルでデータを受信する。
 ステップ205(S205)において、プロトコル変換部524は、図7に例示するように、第3通信部526により受信されたデータのヘッダから、ポート番号を示す情報を抽出する。
 ステップ210(S210)において、第2通信部522は、プロトコル変換部524により抽出されたポート番号と、ループバックアドレスと基づいて、TCP/UDPソケットインタフェースで、第3通信部526により受信されたデータを第1通信部512に送信する。
FIG. 6 is a flowchart illustrating a reception process (S20) by the scanner device 3.
FIG. 7 is a diagram schematically illustrating reception processing by the WebSocket protocol.
As illustrated in FIG. 6, in step 200 (S200), the third communication unit 526 of the relay unit 520 receives data from the outside (client terminal 6) by the WebSocket protocol.
In step 205 (S205), the protocol conversion unit 524 extracts information indicating the port number from the header of the data received by the third communication unit 526, as illustrated in FIG.
In step 210 (S210), the second communication unit 522 uses the TCP / UDP socket interface based on the port number extracted by the protocol conversion unit 524 and the loopback address, and the data received by the third communication unit 526. Is transmitted to the first communication unit 512.
 ステップ215(S215)において、第1通信部512は、図7に例示するように、第2通信部522から受信したデータを、ポート番号に対応するアプリケーションに渡す。
 ステップ220(S220)において、スキャナ処理部510は、第1通信部512により受信したデータを、ポート番号に対応するアプリケーションで処理する。
In step 215 (S215), the first communication unit 512 passes the data received from the second communication unit 522 to the application corresponding to the port number, as illustrated in FIG.
In step 220 (S220), the scanner processing unit 510 processes the data received by the first communication unit 512 with the application corresponding to the port number.
 以上説明したように、本実施形態のスキャナ装置3は、従来から実装されているTCP/UDPソケットインタフェースを活用しながら、ループバックアドレスで中継部520にデータを中継させて、WebSocketプロトコルでの通信を実現する。これにより、従来のスキャナ読取制御を一切修正することなく、短工程でかつ 高い品質を確保した形でWebSocketプロトコルによる通信機構を実現できる。 As described above, the scanner device 3 of the present embodiment relays data to the relay unit 520 at the loopback address while utilizing the TCP / UDP socket interface that has been conventionally implemented, and communicates with the WebSocket protocol. To realize. As a result, it is possible to realize a communication mechanism based on the WebSocket protocol in a short process and in a form that ensures high quality without modifying the conventional scanner reading control at all.
 1   通信システム
 3   スキャナ装置
 5   スキャナプログラム
 520 中継部
1 Communication system 3 Scanner device 5 Scanner program 520 Relay unit

Claims (8)

  1.  データ処理を行うデータ処理部と、
     前記データ処理部により処理されるデータを第1の通信プロトコルで送信又は受信する第1の通信処理部と、
     前記第1の通信処理部と同じ筐体内に存在し、前記第1の通信処理部と筐体外部とのデータ通信を中継する中継部と
     を有し、
     前記中継部は、
     前記第1の通信処理部と、前記第1の通信プロトコルでデータ通信を行う第2の通信処理部と、
     前記第1の通信プロトコルとは異なる第2の通信プロトコルで、外部とデータ通信を行う第3の通信処理部と
     を含む
     データ処理装置。
    Data processing unit that performs data processing and
    A first communication processing unit that transmits or receives data processed by the data processing unit by the first communication protocol, and a first communication processing unit.
    It exists in the same housing as the first communication processing unit, and has a relay unit that relays data communication between the first communication processing unit and the outside of the housing.
    The relay unit
    A first communication processing unit, a second communication processing unit that performs data communication using the first communication protocol, and a second communication processing unit.
    A data processing device including a third communication processing unit that performs data communication with the outside by a second communication protocol different from the first communication protocol.
  2.  前記第1の通信プロトコルは、TCP又はUDPであり、
     前記第2の通信プロトコルは、WebSocketプロトコルであり、
     前記第1の通信処理部は、筐体外部及び前記第2の通信処理部の双方に対して、TCPソケット通信又はUDPソケット通信を行う
     請求項1に記載のデータ処理装置。
    The first communication protocol is TCP or UDP.
    The second communication protocol is the WebSocket protocol.
    The data processing device according to claim 1, wherein the first communication processing unit performs TCP socket communication or UDP socket communication to both the outside of the housing and the second communication processing unit.
  3.  前記中継部は、ループバックアドレスを用いて、前記第1の通信処理部に対して、データの送受信を行う
     請求項2に記載のデータ処理装置。
    The data processing device according to claim 2, wherein the relay unit transmits / receives data to / from the first communication processing unit using a loopback address.
  4.  前記データ処理部は、スキャナに関する処理を前記データ処理として実施し、
     前記データ処理部によるスキャナ処理中に、前記第1の通信処理部及び前記中継部における通信経路を占有状態に設定する占有制御部
     をさらに有し、
     前記中継部は、前記占有制御部により占有状態に設定されている間、データ通信を中継するか否かを変更しない
     請求項3に記載のデータ処理装置。
    The data processing unit executes the processing related to the scanner as the data processing, and performs the processing.
    During the scanner processing by the data processing unit, the first communication processing unit and the occupancy control unit that sets the communication path in the relay unit to the occupied state are further provided.
    The data processing device according to claim 3, wherein the relay unit does not change whether or not to relay data communication while being set to the occupied state by the occupancy control unit.
  5.  前記中継部は、
     TCPソケット通信又はUDPソケット通信のポート番号を示す情報を、WebSocket通信で送受信されるデータのヘッダに埋め込むプロトコル変換部
     をさらに含む
     請求項4に記載のデータ処理装置。
    The relay unit
    The data processing device according to claim 4, further comprising a protocol conversion unit that embeds information indicating a port number of TCP socket communication or UDP socket communication in a header of data transmitted / received by Web Socket communication.
  6.  前記中継部は、仕向け先情報、及び、既定のサービスとの連携の有効又は無効、の少なくとも一方に応じて、起動又は停止する
     請求項5に記載のデータ処理装置。
    The data processing device according to claim 5, wherein the relay unit is started or stopped according to at least one of destination information and valid or invalid cooperation with a default service.
  7.  データ処理を行うデータ処理ステップと、
     前記データ処理ステップにより処理されたデータを、第1の通信プロトコルで同一筐体内の中継部に送信する内部送信ステップと、
     前記中継部が、前記内部送信ステップにより送信されたデータを、前記第1の通信プロトコルとは異なる第2の通信プロトコルで、前記筐体の外部に送信する外部送信ステップと
     を有するデータ処理方法。
    Data processing steps to perform data processing and
    An internal transmission step of transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol, and an internal transmission step.
    A data processing method comprising an external transmission step in which the relay unit transmits data transmitted by the internal transmission step to the outside of the housing in a second communication protocol different from the first communication protocol.
  8.  データ処理を行うデータ処理ステップと、
     前記データ処理ステップにより処理されたデータを、第1の通信プロトコルで同一筐体内の中継部に送信する内部送信ステップと、
     前記中継部が、前記内部送信ステップにより送信されたデータを、前記第1の通信プロトコルとは異なる第2の通信プロトコルで、前記筐体の外部に送信する外部送信ステップと
     をコンピュータに実行させるプログラム。
    Data processing steps to perform data processing and
    An internal transmission step of transmitting the data processed by the data processing step to a relay unit in the same housing by the first communication protocol, and an internal transmission step.
    A program in which the relay unit causes a computer to execute an external transmission step of transmitting data transmitted by the internal transmission step to the outside of the housing in a second communication protocol different from the first communication protocol. ..
PCT/JP2020/011102 2020-03-13 2020-03-13 Data processing device, data processing method, and program WO2021181656A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2020/011102 WO2021181656A1 (en) 2020-03-13 2020-03-13 Data processing device, data processing method, and program
JP2022505687A JP7344366B2 (en) 2020-03-13 2020-03-13 Data processing device, data processing method, and program
CN202080080743.8A CN114746851A (en) 2020-03-13 2020-03-13 Data processing device, data processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/011102 WO2021181656A1 (en) 2020-03-13 2020-03-13 Data processing device, data processing method, and program

Publications (1)

Publication Number Publication Date
WO2021181656A1 true WO2021181656A1 (en) 2021-09-16

Family

ID=77671067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/011102 WO2021181656A1 (en) 2020-03-13 2020-03-13 Data processing device, data processing method, and program

Country Status (3)

Country Link
JP (1) JP7344366B2 (en)
CN (1) CN114746851A (en)
WO (1) WO2021181656A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148425A (en) * 1998-11-17 2000-05-30 Canon Inc Print system, web server, information processing device and method and storage medium storing computer readable program
JP2008035058A (en) * 2006-07-27 2008-02-14 Seiko Epson Corp Program, information storage medium, communication device and image processing system
WO2016084485A1 (en) * 2014-11-27 2016-06-02 ソニー株式会社 Information processing device and information processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571751B (en) * 2010-12-24 2014-12-31 佳能It解决方案株式会社 Relay processing device and control method therefor
JP6354145B2 (en) * 2013-12-12 2018-07-11 富士通株式会社 Relay device, relay control method, and relay control program
JP6572787B2 (en) * 2016-01-27 2019-09-11 セイコーエプソン株式会社 Image scanner and image scanning system
JP2018112895A (en) * 2017-01-11 2018-07-19 キヤノン株式会社 Information processing device, control method thereof, program, and information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148425A (en) * 1998-11-17 2000-05-30 Canon Inc Print system, web server, information processing device and method and storage medium storing computer readable program
JP2008035058A (en) * 2006-07-27 2008-02-14 Seiko Epson Corp Program, information storage medium, communication device and image processing system
WO2016084485A1 (en) * 2014-11-27 2016-06-02 ソニー株式会社 Information processing device and information processing method

Also Published As

Publication number Publication date
CN114746851A (en) 2022-07-12
JPWO2021181656A1 (en) 2021-09-16
JP7344366B2 (en) 2023-09-13

Similar Documents

Publication Publication Date Title
EP2704019B1 (en) Communication relay apparatus and method of communicating with an image processing apparatus
JP6056795B2 (en) Image processing system, gateway device, gateway device control method, gateway device control program
JP2008524879A (en) File transmission method, system, virtual printer apparatus and restoration apparatus in network
CN101237424A (en) Network printing system, network communication method to print information, and host and image forming device to perform network communications
JP5505406B2 (en) Image processing apparatus, image processing system, image processing method, and program
US20120307277A1 (en) Information processing apparatus for transferring image data, server apparatus for receiving transferred image data, and control methods and storage media therefor
US10367894B2 (en) Information processing apparatus, method for controlling the same, non-transitory computer-readable storage medium, and information processing system
JP2012253514A (en) Image input system, server device, server device control method, and control program
JP2016206940A (en) Information processor and control thereof, and program
CN103218188A (en) Information processing apparatus, method for controlling an information processing apparatus, and image forming system
CN105991679B (en) A kind of implementation method and device of network sharing
US20100223340A1 (en) System for remotely scanning a document
US20120113467A1 (en) Image processing apparatus, information processing system, information processing method and storage medium
JP3970857B2 (en) Communication system, gateway device
WO2021181656A1 (en) Data processing device, data processing method, and program
JP2016066265A (en) Information processing device, communication system, and program
JP4923875B2 (en) Information instruction apparatus, information instruction processing system, information instruction processing management system, and information instruction program
JP5589863B2 (en) Network system and network system communication method
JP4900576B2 (en) Program, storage medium, and image processing method
JP6212367B2 (en) Information processing apparatus, portable terminal, device control system, and control method thereof
JP2010278858A (en) Communication network system, terminal setting method and ip telephone set
JP7027084B2 (en) Information processing equipment, its control method, and programs
JP2013207541A (en) Communication device
JP6281369B2 (en) Communication system and communication program
JP2008078774A (en) Home gateway, and home gateway control program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20923776

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022505687

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20923776

Country of ref document: EP

Kind code of ref document: A1