JP7210993B2 - Vending machine system and communication method for the vending machine system - Google Patents

Vending machine system and communication method for the vending machine system Download PDF

Info

Publication number
JP7210993B2
JP7210993B2 JP2018194496A JP2018194496A JP7210993B2 JP 7210993 B2 JP7210993 B2 JP 7210993B2 JP 2018194496 A JP2018194496 A JP 2018194496A JP 2018194496 A JP2018194496 A JP 2018194496A JP 7210993 B2 JP7210993 B2 JP 7210993B2
Authority
JP
Japan
Prior art keywords
data
communication
communication method
management center
vending machine
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
JP2018194496A
Other languages
Japanese (ja)
Other versions
JP2020064363A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2018194496A priority Critical patent/JP7210993B2/en
Priority to CN201910923940.0A priority patent/CN111049791A/en
Publication of JP2020064363A publication Critical patent/JP2020064363A/en
Application granted granted Critical
Publication of JP7210993B2 publication Critical patent/JP7210993B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

この発明は、自動販売機システムおよび自動販売機システムの通信方法に関し、特に、自動販売機、個別管理センタ、および、共通管理センタを備える自動販売機システムおよび自動販売機システムの通信方法に関する。 TECHNICAL FIELD The present invention relates to a vending machine system and a communication method for the vending machine system, and more particularly to a vending machine system including vending machines, an individual control center, and a common control center, and a communication method for the vending machine system.

従来、自動販売機、個別管理センタ、および、共通管理センタを備える自動販売機システムおよび自動販売機システムの通信方法が知られている(たとえば、特許文献1参照)。 Conventionally, a vending machine system including a vending machine, an individual control center, and a common control center, and a communication method for the vending machine system are known (see Patent Document 1, for example).

上記特許文献1には、1台の自動販売機と、複数のセンタPC(個別管理センタ)とを備える自動販売機システムが開示されている。また、上記自動販売機システムは、自動販売機と複数のセンタPCとを通信可能に接続する際の中継を行うネットワーク接続中継機(共通管理センタ)を備える。すなわち、自動販売機とセンタPCとは、ネットワーク接続中継機を介してデータの送受信を行っている。 Patent Literature 1 above discloses a vending machine system that includes one vending machine and a plurality of center PCs (individual control centers). Further, the vending machine system includes a network connection repeater (common control center) that relays when the vending machine and a plurality of center PCs are communicably connected. That is, the vending machine and the center PC transmit and receive data via the network connection repeater.

ここで、上記特許文献1には明記されていないが、複数の自動販売機と複数のセンタPCとが、ネットワーク接続中継機を介して接続されることが考えられる。この場合、複数のセンタPCの各々は、ネットワーク接続中継機を介して、複数の自動販売機のうちの対応する自動販売機との間でデータの送受信を行う。具体的には、ネットワーク接続中継機は、各自動販売機(各センタPC)に対応する通信仕様に基づいて、互いに対応する自動販売機とセンタPCとの間のデータ通信の中継(通信方式の変換など)を行う。 Here, although not specified in Patent Document 1, it is conceivable that a plurality of vending machines and a plurality of center PCs are connected via a network connection repeater. In this case, each of the plurality of center PCs transmits and receives data to and from the corresponding one of the plurality of vending machines via the network connection repeater. Specifically, the network connection repeater relays data communication between corresponding vending machines and center PCs based on communication specifications corresponding to each vending machine (each center PC). conversion, etc.).

特開2006-42045号公報JP-A-2006-42045

ここで、上記特許文献1には明記されていないが、各自動販売機(各センタPC)の種類(メーカなど)が互いに異なっていることにより各自動販売機(各センタPC)毎に通信仕様が互いに異なっている場合、ネットワーク接続中継機には、各自動販売機(各センタPC)に対応する複数のデータ中継用の機能(各々の通信仕様に対応した複数の変換アダプタなど)が設けられている必要がある。このため、ネットワーク接続中継機の構成が複雑化するという不都合がある。 Here, although not specified in Patent Document 1, since the types (manufacturers, etc.) of each vending machine (each center PC) are different from each other, each vending machine (each center PC) has its own communication specification. are different from each other, the network connection repeater is provided with multiple data relay functions (multiple conversion adapters corresponding to each communication specification, etc.) corresponding to each vending machine (each center PC). must be Therefore, there is an inconvenience that the configuration of the network connection repeater becomes complicated.

また、上記特許文献1には明記されていないが、ネットワーク接続中継機に複数の変換機能(変換アダプタなど)を設ける方法とは別の方法として、ネットワーク接続中継機において、各自動販売機(各センタPC)に対して共通して適用される通信仕様に基づいてデータ通信を行うことが考えられる。この場合、各センタPCにおいて個別に(自身に適応するデータに変換するために)データ変換などを行う機能(変換アダプタなど)を設ける必要があり、各センタPCの各々の構成が複雑化するという不都合がある。 In addition, although not specified in the above Patent Document 1, as a method different from the method of providing a plurality of conversion functions (conversion adapters, etc.) in the network connection repeater, in the network connection repeater, each vending machine (each It is conceivable to perform data communication based on communication specifications commonly applied to the center PC). In this case, each center PC needs to have a function (such as a conversion adapter) to perform data conversion (to convert data to suit itself), which complicates the configuration of each center PC. I have an inconvenience.

上記のように、上記特許文献1に記載されているような従来の自動販売機システムにおいて、ネットワーク接続中継機(共通管理センタ)により複数の自動販売機と複数のセンタPC(個別管理センタ)との通信を中継した場合に、ネットワーク接続中継機およびセンタPCの構成が複雑化することに起因して、自動販売機システムの構成が複雑化するという問題点がある。 As described above, in the conventional vending machine system as described in Patent Document 1, a plurality of vending machines and a plurality of center PCs (individual control centers) are connected by a network connection repeater (common control center). When the communication is relayed, there is a problem that the configuration of the vending machine system becomes complicated due to the complicated configuration of the network connection repeater and the center PC.

この発明は、上記のような課題を解決するためになされたものであり、この発明の1つの目的は、共通管理センタおよび個別管理センタの構成が複雑化することに起因して自動販売機システムの構成が複雑化するのを抑制することが可能な自動販売機システムおよび自動販売機システムの通信方法を提供することである。 SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and one object of the present invention is to provide a system for vending machine systems due to the complication of the configurations of the common management center and the individual management centers. To provide a vending machine system and a communication method of the vending machine system capable of suppressing complication of the configuration of the vending machine.

上記目的を達成するために、この発明の第1の局面による自動販売機システムは、複数の自動販売機と、対応する自動販売機との間において自動販売機に関するデータの送受信を行うとともに、複数の通信方式のうちのいずれかの通信方式に対応して設けられる複数の個別管理センタと、複数の自動販売機の各々から、複数の個別管理センタのうちの対応する個別管理センタの通信方式の情報を含む通信方式決定情報、および、データフォーマットの情報および個別管理センタに対する操作指示の手順であるシーケンス情報の少なくとも1つを含む個別管理センタの通信方式に関するデータと接続先となる個別管理センタの宛先情報とを含む通信パラメータを同時に受信するとともに、複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、通信方式に関するデータを変換後データに変換するデータ変換部を含む共通管理センタと、を備え、共通管理センタは、自動販売機から送信された通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、通信方式に関するデータをデータ変換部により変換後データに変換するとともに、変換後データを、通信パラメータの宛先情報に基づいて決定された接続先となる個別管理センタに送信するように構成されている。 To achieve the above object, a vending machine system according to a first aspect of the present invention transmits and receives data related to vending machines between a plurality of vending machines and corresponding vending machines, a plurality of individual control centers provided corresponding to any one of the communication methods of the above, and a plurality of vending machines, from each of the plurality of individual control centers, the communication method of the corresponding individual control center out of the plurality of individual control centers . Data relating to the communication method of the individual management center, including at least one of communication method determination information including data format information and sequence information that is the sequence of operation instructions for the individual management center, and the individual management center to be connected to simultaneously receives communication parameters including destination information, and converts data related to communication methods into post-conversion data based on communication specifications for each communication method commonly applied to each of a plurality of vending machines. and a common management center including a data conversion unit for the communication method, based on the communication specifications corresponding to the communication method determined based on the communication method determination information transmitted from the vending machine. The data is converted into post-conversion data by the data conversion unit, and the post-conversion data is transmitted to the individual management center as the connection destination determined based on the destination information of the communication parameters.

この発明の第1の局面による自動販売機システムでは、上記のように、共通管理センタは、複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、通信方式に関するデータを変換後データに変換するデータ変換部を含む。これにより、共通管理センタから、互いに共通の通信方式に対応する個別管理センタに変換後データが送信される場合に、各々の変換後データの作成における通信仕様を共通化することができる。その結果、各々の変換後データを互いに異なる通信仕様に基づいて作成する場合に比べて、共通管理センタにおいて対応可能な通信仕様の数を低減することができるので、共通管理センタの構成を簡略化することができる。また、複数の個別管理センタの各々にデータ変換の機能を設ける必要がないので、個別管理センタの構成が複雑化するのを抑制することができる。これにより、共通管理センタおよび個別管理センタの構成が複雑化することに起因して自動販売機システムの構成が複雑化するのを抑制することができる。 In the vending machine system according to the first aspect of the present invention, as described above, the common control center, based on the communication specifications for each communication method commonly applied to each of the plurality of vending machines, It includes a data conversion unit that converts data related to the communication method into post-conversion data. As a result, when the post-conversion data is transmitted from the common management center to the individual management centers corresponding to the common communication method, the communication specifications for creating each post-conversion data can be shared. As a result, the number of communication specifications that can be handled by the common management center can be reduced compared to the case where each post-conversion data is created based on mutually different communication specifications, thereby simplifying the configuration of the common management center. can do. In addition, since it is not necessary to provide a data conversion function in each of the plurality of individual management centers, it is possible to suppress complication of the configuration of the individual management centers. As a result, it is possible to prevent the configuration of the vending machine system from becoming complicated due to the configuration of the common management center and the individual management center becoming complicated.

上記第1の局面による自動販売機システムにおいて、好ましくは、データ変換部は、通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、変換後データの枠組みであるフレーム部分を作成するとともに、自動販売機から送信された通信パラメータの通信方式に関するデータを、データ変換部によって作成されたフレーム部分に当てはめることにより変換後データを作成するように構成されている。このように構成すれば、通信方式に関するデータを各通信方式に対応する通信仕様に基づいて作成されたフレーム部分に当てはめるだけで、各通信方式に対応する変換後データを容易に作成することができる。なお、フレーム部分とは、変換後データの作成に用いられるデータの雛形の部分を意味する。 In the vending machine system according to the first aspect, preferably, the data conversion unit converts the frame portion, which is the framework of converted data, based on the communication specifications corresponding to the communication method determined based on the communication method determination information. is created, and post-conversion data is created by applying data relating to the communication method of the communication parameters sent from the vending machine to the frame portion created by the data conversion unit. According to this configuration, post-conversion data corresponding to each communication method can be easily generated simply by applying the data regarding the communication method to the frame portion generated based on the communication specifications corresponding to each communication method. . It should be noted that the frame portion means a data model portion used to create post-conversion data.

上記第1の局面による自動販売機システムにおいて、好ましくは、通信パラメータは、接続先となる個別管理センタにおいて変換後データが使用されるプログラムを識別するための情報を含む。このように構成すれば、共通管理センタは、通信パラメータに基づいて、個別管理センタに使用させるためのプログラムの情報を容易に取得することができる。 In the vending machine system according to the first aspect, the communication parameters preferably include information for identifying a program for which post-conversion data is used in the individual management center to be connected. With this configuration, the common management center can easily acquire information on programs to be used by the individual management centers based on the communication parameters.

上記第1の局面による自動販売機システムにおいて、好ましくは、通信パラメータの通信方式に関するデータは、個別管理センタに対する操作指示の手順であるシーケンス情報を含み、共通管理センタは、シーケンス情報に基づいた手順に沿って接続先となる個別管理センタとデータ通信を行うように構成されている。このように構成すれば、共通管理センタは、通信パラメータに含まれるシーケンス情報に基づいて、容易に通信を行うことができる。 In the vending machine system according to the first aspect, preferably, the data relating to the communication method of the communication parameter includes sequence information that is a procedure for instructing operations to the individual control center, and the common control center performs the procedure based on the sequence information. It is configured to perform data communication with the individual management center, which is the connection destination, along the line. With this configuration, the common management center can easily communicate based on the sequence information included in the communication parameters.

上記第1の局面による自動販売機システムにおいて、好ましくは、通信パラメータの通信方式に関するデータは、データフォーマットの情報を含み、データ変換部は、データフォーマットに基づいて、接続先となる個別管理センタに送信する変換後データを作成するように構成されている。このように構成すれば、データ変換部は、通信パラメータに含まれるデータフォーマットの情報に基づいて、容易に通信を行うことができる。 In the vending machine system according to the first aspect, preferably, the data relating to the communication method of the communication parameter includes data format information, and the data conversion unit transmits data to the individual management center to be connected based on the data format. Configured to create post-transformation data for transmission. With this configuration, the data converter can easily perform communication based on the data format information included in the communication parameters.

この発明の第2の局面による自動販売機システムの通信方法は、複数の自動販売機の各々が、複数の通信方式のうちのいずれかの通信方式に対応して設けられる複数の個別管理センタのうちの対応する個別管理センタの通信方式の情報を含む通信方式決定情報、および、データフォーマットの情報および個別管理センタに対する操作指示の手順であるシーケンス情報の少なくとも1つを含む個別管理センタの通信方式に関するデータと、複数の自動販売機のうちの対応する自動販売機との間において自動販売機に関するデータの送受信を行うとともに、複数の個別管理センタのうち、接続先となる個別管理センタの宛先情報とを含む通信パラメータを、複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、通信方式に関するデータを変換後データに変換する共通管理センタに同時に送信するステップと、共通管理センタが、自動販売機から送信された通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、通信方式に関するデータを変換後データに変換するとともに、変換後データを、通信パラメータの宛先情報に基づいて決定された接続先となる個別管理センタに送信するステップと、を備える。 A communication method for a vending machine system according to a second aspect of the present invention is provided by a plurality of individual control centers in which each of a plurality of vending machines corresponds to one of a plurality of communication methods. The communication method of the individual management center, which includes at least one of: communication method determination information including information on the communication method of the corresponding individual management center ; and sequence information that is the sequence information that is the sequence of operation instructions for the data format information and the individual management center. and the corresponding vending machine out of the plurality of vending machines, and the destination information of the individual management center that is the connection destination among the plurality of individual management centers are simultaneously transmitted to a common management center that converts the data related to the communication method into post-conversion data based on the communication specifications for each communication method commonly applied to each of the plurality of vending machines. and the common management center converts the data related to the communication method into post-conversion data based on the communication specifications corresponding to the communication method determined based on the communication method determination information transmitted from the vending machine, and transmitting the converted data to an individual management center as a connection destination determined based on the destination information of the communication parameters.

この発明の第2の局面による自動販売機システムの通信方法では、上記のように、共通管理センタにより、複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、通信方式に関するデータが変換後データに変換される。これにより、共通管理センタから、互いに共通の通信方式に対応する個別管理センタに変換後データが送信される場合に、各々の変換後データの作成における通信仕様を共通化することができる。その結果、各々の変換後データを互いに異なる通信仕様に基づいて作成する場合に比べて、共通管理センタにおいて対応可能な通信仕様の数を低減することができるので、共通管理センタの構成を簡略化することができる。また、複数の個別管理センタの各々にデータ変換の機能を設ける必要がないので、個別管理センタの構成が複雑化するのを抑制することができる。これにより、共通管理センタおよび個別管理センタの構成が複雑化することに起因して自動販売機システムの構成が複雑化するのを抑制することが可能な自動販売機システムの通信方法を提供することができる。 In the communication method for the vending machine system according to the second aspect of the present invention, as described above, the common management center sets the communication specifications for each communication method commonly applied to each of the plurality of vending machines. Based on this, the data regarding the communication method is converted into post-conversion data. As a result, when the post-conversion data is transmitted from the common management center to the individual management centers corresponding to the common communication method, the communication specifications for creating each post-conversion data can be shared. As a result, the number of communication specifications that can be handled by the common management center can be reduced compared to the case where each post-conversion data is created based on mutually different communication specifications, thereby simplifying the configuration of the common management center. can do. In addition, since it is not necessary to provide a data conversion function in each of the plurality of individual management centers, it is possible to suppress complication of the configuration of the individual management centers. To provide a communication method of a vending machine system capable of suppressing complication of the configuration of the vending machine system due to complication of the configuration of a common management center and an individual management center. can be done.

本発明によれば、上記のように、共通管理センタおよび個別管理センタの構成が複雑化することに起因して自動販売機システムの構成が複雑化するのを抑制することができる。 According to the present invention, as described above, it is possible to suppress the complication of the configuration of the vending machine system due to the complication of the configuration of the common management center and the individual management center.

一実施形態による自動販売機システムの構成を示した図である。1 is a diagram showing the configuration of a vending machine system according to one embodiment; FIG. 一実施形態による自動販売機システムのデータ変換部において作成されるフレーム部分について説明するための図である。FIG. 4 is a diagram for explaining a frame portion created in the data converter of the vending machine system according to one embodiment; 一実施形態による自動販売機システムのデータ変換部において通信パラメータに基づいて作成される変換後データについて説明するための図である。FIG. 4 is a diagram for explaining post-conversion data created based on communication parameters in the data conversion unit of the vending machine system according to one embodiment; 一実施形態による自動販売機システムのデータ変換部において作成されるHTTP用変換後データ(メソッド:GET)について説明するための図である。FIG. 4 is a diagram for explaining post-conversion data for HTTP (method: GET) created in the data conversion unit of the vending machine system according to one embodiment; 一実施形態による自動販売機システムのデータ変換部において作成されるHTTP用変換後データ(メソッド:POST)について説明するための図である。FIG. 4 is a diagram for explaining post-conversion data for HTTP (method: POST) created in the data conversion unit of the vending machine system according to one embodiment; 一実施形態による自動販売機システムのFTP用通信パラメータボディに含まれるシーケンス情報について説明するための図である。FIG. 4 is a diagram for explaining sequence information included in an FTP communication parameter body of the vending machine system according to one embodiment; 一実施形態による自動販売機システムにおける通信方法を示すフロー図である。1 is a flow diagram illustrating a method of communication in a vending machine system according to one embodiment; FIG.

以下、本発明を具体化した実施形態を図面に基づいて説明する。 Embodiments embodying the present invention will be described below with reference to the drawings.

[本実施形態]
図1~図7を参照して、本実施形態による自動販売機システム100の構成(自動販売機システム100の通信方法)について説明する。
[This embodiment]
The configuration of the vending machine system 100 (communication method of the vending machine system 100) according to the present embodiment will be described with reference to FIGS. 1 to 7. FIG.

(自動販売機システムの構成)
図1に示すように、自動販売機システム100は、自動販売機1a、自動販売機1b、自動販売機1c、および、自動販売機1dを備えている。また、自動販売機システム100は、個別管理センタ2a、個別管理センタ2b、個別管理センタ2c、および、個別管理センタ2dを備えている。
(Configuration of vending machine system)
As shown in FIG. 1, the vending machine system 100 includes a vending machine 1a, a vending machine 1b, a vending machine 1c, and a vending machine 1d. The vending machine system 100 also includes an individual control center 2a, an individual control center 2b, an individual control center 2c, and an individual control center 2d.

自動販売機1a~1dは、それぞれ、個別管理センタ2a~2dに互いに対応するように設けられている。具体的には、たとえば、自動販売機1aと個別管理センタ2aとの間においては、自動販売機1aに関するデータの送受信が行われている。自動販売機1aに関するデータとは、自動販売機1aの庫内の設定温度、自動販売機1aで用いられるファームウェア、自動販売機1aにおける商品の購入履歴、および、自動販売機1aの各機能ユニットに対する操作指示などである。なお、自動販売機1aと個別管理センタ2aとの間について代表的に説明したが、その他の自動販売機(1b~1d)と個別管理センタ(2b~2d)との間においても同様である。 Vending machines 1a to 1d are provided corresponding to individual control centers 2a to 2d, respectively. Specifically, for example, data relating to the vending machine 1a is transmitted and received between the vending machine 1a and the individual management center 2a. The data related to the vending machine 1a include the set temperature inside the vending machine 1a, the firmware used in the vending machine 1a, the product purchase history in the vending machine 1a, and the data for each functional unit of the vending machine 1a. Operation instructions and the like. Although the description has been made representatively for the vending machine 1a and the individual control center 2a, the same applies to the other vending machines (1b to 1d) and the individual control centers (2b to 2d).

また、自動販売機システム100は、自動販売機(1a~1d)と個別管理センタ(2a~2d)との間のデータの送受信を中継する共通管理センタ3を備える。 The vending machine system 100 also includes a common control center 3 that relays data transmission/reception between the vending machines (1a-1d) and the individual control centers (2a-2d).

本実施形態では、自動販売機1a、自動販売機1b、自動販売機1c、および、自動販売機1dの各々と、共通管理センタ3とは、それぞれ共通の通信方式(たとえば、HTTP:Hypertext Transfer Protocol)によってデータの送受信が行われているとする。 In this embodiment, each of vending machine 1a, vending machine 1b, vending machine 1c, and vending machine 1d and common control center 3 use a common communication method (for example, HTTP: Hypertext Transfer Protocol ) is transmitting and receiving data.

一方、個別管理センタ2aと共通管理センタ3とは、TCP(Transmission Control Protocol)によってデータの送受信が行われているとする。また、個別管理センタ2bと共通管理センタ3とは、HTTPによってデータの送受信が行われているとする。また、個別管理センタ2cと共通管理センタ3とは、FTP(File Transfer Protocol)によってデータの送受信が行われているとする。また、個別管理センタ2dと共通管理センタ3とは、HTTPによってデータの送受信が行われているとする。言い換えれば、個別管理センタ2a、個別管理センタ2b、個別管理センタ2c、および、個別管理センタ2dの通信方式は、それぞれ、TCP、HTTP、FTP、および、HTTPである。 On the other hand, it is assumed that data is transmitted and received between the individual management center 2a and the common management center 3 by TCP (Transmission Control Protocol). It is also assumed that the individual management center 2b and the common management center 3 transmit and receive data by HTTP. Further, it is assumed that data is transmitted and received between the individual management center 2c and the common management center 3 by FTP (File Transfer Protocol). It is also assumed that data is transmitted and received between the individual management center 2d and the common management center 3 using HTTP. In other words, the communication methods of the individual management center 2a, the individual management center 2b, the individual management center 2c, and the individual management center 2d are TCP, HTTP, FTP, and HTTP, respectively.

ここで、共通管理センタ3は、自動販売機(1a~1d)の各々から、通信方式決定情報および通信パラメータを受信する。なお、共通管理センタ3は、通信方式決定情報および通信パラメータを同時に受信する。 Here, the common management center 3 receives communication method determination information and communication parameters from each of the vending machines (1a-1d). The common control center 3 receives the communication method decision information and the communication parameters at the same time.

通信方式決定情報は、通信方式の情報を含む。具体的には、たとえば、自動販売機1aから送信される通信方式決定情報には、(対応する個別管理センタである)個別管理センタ2aに対応する通信方式がTCPであることを(直接的に)示す情報が含まれている。なお、自動販売機1b~1dの各々においても自動販売機1aと同様であるので詳細な説明は省略する。 The communication method determination information includes communication method information. Specifically, for example, the communication method determination information transmitted from the vending machine 1a includes (directly ) contains the information shown. Since each of the vending machines 1b to 1d is similar to the vending machine 1a, detailed description thereof will be omitted.

また、通信パラメータは、通信方式に関するデータ(通信パラメータボディ)と、接続先となる個別管理センタの宛先情報とを含む。具体的には、たとえば、自動販売機1aからの通信パラメータには、TCPに対応する通信パラメータボディと、個別管理センタ2aの宛先情報(通信パラメータヘッダ)とが含まれている。自動販売機1b~1dからの通信パラメータも、自動販売機1aからの通信パラメータと同様であるので詳細な説明は省略する。なお、通信方式に関するデータ(通信パラメータボディ)については後に詳細に説明する。 Further, the communication parameters include data (communication parameter body) relating to the communication method and destination information of the individual management center to be connected. Specifically, for example, the communication parameters from the vending machine 1a include a communication parameter body corresponding to TCP and destination information (communication parameter header) of the individual management center 2a. The communication parameters from the vending machines 1b to 1d are also the same as the communication parameters from the vending machine 1a, so a detailed description will be omitted. The data (communication parameter body) regarding the communication method will be described later in detail.

共通管理センタ3は、接続先決定部3aと、通信方式決定部3bと、データ変換部3cとを含む。なお、共通管理センタ3において、接続先決定部3aと、通信方式決定部3bと、データ変換部3cとの機能は、プログラムなどのソフトウェアにより実現することが可能である。 The common management center 3 includes a connection destination determination unit 3a, a communication method determination unit 3b, and a data conversion unit 3c. In the common management center 3, the functions of the connection destination determination unit 3a, the communication method determination unit 3b, and the data conversion unit 3c can be realized by software such as a program.

接続先決定部3a(共通管理センタ3)は、自動販売機(1a~1d)から送信される通信パラメータを解析して、接続先となる個別管理センタ(2a~2d)の宛先情報を取得する。具体的には、通信パラメータには、接続先となる個別管理センタ(2a~2d)の宛先IPアドレスが含まれている。なお、宛先情報は、宛先IPアドレスを間接的に特定する情報(URLなど)でもよい。接続先決定部3a(共通管理センタ3)は、通信パラメータの宛先IPアドレスから、接続先となる個別管理センタ(2a~2d)の宛先情報を取得する。 A connection destination determination unit 3a (common management center 3) analyzes communication parameters transmitted from vending machines (1a to 1d) and obtains destination information of individual management centers (2a to 2d) to be connected. . Specifically, the communication parameter includes the destination IP address of the individual management center (2a to 2d) to be connected. Note that the destination information may be information (such as a URL) that indirectly specifies the destination IP address. The connection destination determination unit 3a (common management center 3) acquires destination information of the individual management centers (2a to 2d) to be connected from the destination IP address of the communication parameters.

ここで、本実施形態では、通信パラメータは、接続先となる個別管理センタ(2a~2d)において変換後データ(後述)が使用されるプログラムを識別するための情報を含む。具体的には、通信パラメータには、宛先ポート番号が含まれている。なお、変換後データが使用されるプログラムを識別するための情報は、宛先ポート番号を間接的に特定する情報(通信方式決定情報など)でもよい。接続先決定部3a(共通管理センタ3)は、通信パラメータの宛先ポート番号から、接続先となる個別管理センタ(2a~2d)において変換後データが使用されるプログラムの宛先情報を取得する。なお、個別管理センタ(2a~2d)のプログラムとは、たとえば、自動販売機(1a~1d)の売上情報を収集して分析するプログラムなどである。 Here, in this embodiment, the communication parameter includes information for identifying a program that uses post-conversion data (described later) in the individual management center (2a to 2d) to be connected. Specifically, the communication parameters include the destination port number. Information for identifying a program that uses post-conversion data may be information that indirectly specifies a destination port number (communication method determination information, etc.). The connection destination determination unit 3a (common management center 3) acquires destination information of a program that uses post-conversion data in the individual management centers (2a to 2d) to be connected from the destination port number of the communication parameter. The programs of the individual management centers (2a-2d) are, for example, programs for collecting and analyzing sales information of vending machines (1a-1d).

また、通信方式決定部3b(共通管理センタ3)は、自動販売機(1a~1d)から送信される通信方式決定情報を解析して、接続先となる個別管理センタ(2a~2d)の通信方式の情報を取得する。具体的には、たとえば、自動販売機1aからの通信方式決定情報には、個別管理センタ2aの通信方式がTCPであるという情報が含まれている。また、自動販売機1b、自動販売機1c、および、自動販売機1dからの通信パラメータには、それぞれ、通信方式がHTTP、FTP,および、HTTPであるという情報が含まれている。 Further, the communication method determination unit 3b (common control center 3) analyzes the communication method determination information transmitted from the vending machines (1a to 1d), Get method information. Specifically, for example, the communication method determination information from the vending machine 1a includes information that the communication method of the individual management center 2a is TCP. The communication parameters from vending machine 1b, vending machine 1c, and vending machine 1d contain information indicating that the communication methods are HTTP, FTP, and HTTP, respectively.

また、データ変換部3c(共通管理センタ3)は、通信方式決定部3bにより決定された通信方式に基づいて、自動販売機(1a~1d)から送信された通信方式に関するデータ(通信パラメータボディ)を変換するように構成されている。この際変換されて得られたデータを、以下では変換後データとする。 In addition, the data conversion unit 3c (common management center 3), based on the communication method determined by the communication method determination unit 3b, transmits data (communication parameter body) regarding the communication method transmitted from the vending machines (1a to 1d). is configured to convert The data obtained by this conversion is hereinafter referred to as post-conversion data.

ここで、データ変換部3cは、自動販売機(1a~1d)の各々に対して共通して適用される通信方式毎の(通信方式に対応する)通信仕様に基づいて、データ変換を行っている。具体的には、個別管理センタ2bおよび個別管理センタ2dの各々に対応する通信方式はHTTPで共通であるので、個別管理センタ2bおよび個別管理センタ2dの各々に送信される変換後データを作成する際に用いられる通信仕様は、共通の通信仕様(以下、HTTP用通信仕様)となる。 Here, the data conversion unit 3c performs data conversion based on communication specifications (corresponding to the communication method) for each communication method commonly applied to each of the vending machines (1a to 1d). there is Specifically, since the communication method corresponding to each of the individual management center 2b and the individual management center 2d is common to HTTP, post-conversion data to be transmitted to each of the individual management center 2b and the individual management center 2d is created. The communication specification used at this time is a common communication specification (hereinafter referred to as HTTP communication specification).

また、個別管理センタ2aおよび個別管理センタ2cの各々に送信される変換後データを作成する際に用いられる通信仕様は、それぞれ、TCP用通信仕様およびFTP用通信仕様である。すなわち、データ変換部3c(共通管理センタ3)は、TCP用通信仕様、HTTP用通信仕様、および、FTP用通信仕様の3つのうちのいずれかによってデータの変換を行う。 Further, the communication specifications used when creating the post-conversion data to be transmitted to each of the individual management centers 2a and 2c are the TCP communication specifications and the FTP communication specifications, respectively. That is, the data conversion unit 3c (common management center 3) converts data according to one of the TCP communication specifications, the HTTP communication specifications, and the FTP communication specifications.

そして、共通管理センタ3は、変換後データを、通信パラメータの宛先情報に基づいて決定された接続先となる個別管理センタ(2a~2d)に送信するように構成されている。 Then, the common management center 3 is configured to transmit the post-conversion data to individual management centers (2a to 2d) as connection destinations determined based on the destination information of the communication parameters.

また、共通管理センタ3は、自動販売機(1a~1d)から個別管理センタ(2a~2d)に通信パラメータ等を送信する際に、送信元の自動販売機(1a~1d)の通信方式などの情報を記憶する。そして、個別管理センタ(2a~2d)から自動販売機(1a~1d)にデータ(応答)が送信される場合は、共通管理センタ3は、記憶した各自動販売機(1a~1d)の通信方式などの情報を参照して、各自動販売機(1a~1d)に対応するようにデータの変換(逆変換)を行う。 In addition, when the common control center 3 transmits communication parameters and the like from the vending machines (1a to 1d) to the individual control centers (2a to 2d), the communication method of the vending machine (1a to 1d) as the transmission source store the information of Then, when data (responses) are transmitted from the individual control centers (2a to 2d) to the vending machines (1a to 1d), the common control center 3 performs the communication of the stored vending machines (1a to 1d). Information such as the method is referred to, and data conversion (inverse conversion) is performed so as to correspond to each vending machine (1a to 1d).

なお、共通管理センタ3に、自動販売機(1a~1d)の各々から同時に通信方式決定情報および通信パラメータが送信された場合は、予め設定された優先度順に上記データ変換の処理を行ってもよいし、同時に行ってもよい。また、各自動販売機(1a~1d)からの通信方式決定情報および通信パラメータの送信タイミングがずれるように設定されていてもよい。 When the communication method determination information and communication parameters are simultaneously transmitted from each of the vending machines (1a to 1d) to the common control center 3, the above data conversion processing may be performed in order of priority set in advance. OK, or you can do both at the same time. Also, the transmission timing of the communication method determination information and the communication parameters from each vending machine (1a to 1d) may be set so as to be shifted.

また、図2に示すように、データ変換部3cは、通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、変換後データの枠組みであるフレーム部分を作成するように構成されている。すなわち、データ変換部3cは、TCP用フレーム部分、HTTP用フレーム部分、および、FTP用フレーム部分を作成可能に構成されている。具体的には、図2(a)に示すように、通信方式決定情報に基づいて決定された通信方式がTCPである場合、データ変換部3cはTCP用フレーム部分を作成する。図2(b)に示すように、通信方式決定情報に基づいて決定された通信方式がHTTPである場合、データ変換部3cはHTTP用フレーム部分を作成する。図2(c)に示すように、通信方式決定情報に基づいて決定された通信方式がFTPである場合、データ変換部3cはFTP用フレーム部分を作成する。すなわち、変換後データ(接続先となる個別管理センタ)の通信方式が共通であれば、共通のフレーム部分がデータ変換部3cにより作成される。なお、フレーム部分とは、変換後データの作成に用いられるデータの雛形の部分を意味する。 Further, as shown in FIG. 2, the data conversion unit 3c creates a frame portion, which is the framework of the post-conversion data, based on the communication specifications corresponding to the communication method determined based on the communication method determination information. It is configured. That is, the data converter 3c is configured to be able to create a TCP frame portion, an HTTP frame portion, and an FTP frame portion. Specifically, as shown in FIG. 2A, when the communication method determined based on the communication method determination information is TCP, the data converter 3c creates a TCP frame portion. As shown in FIG. 2(b), when the communication method determined based on the communication method determination information is HTTP, the data converter 3c creates an HTTP frame portion. As shown in FIG. 2(c), when the communication method determined based on the communication method determination information is FTP, the data converter 3c creates an FTP frame portion. That is, if the communication method of the post-conversion data (individual management center to be connected) is common, the common frame portion is created by the data conversion section 3c. It should be noted that the frame portion means a data model portion used to create post-conversion data.

ここで、本実施形態では、図3に示すように、データ変換部3cは、自動販売機(1a~1d)から送信された通信パラメータの通信方式に関するデータ(通信パラメータボディ)を、データ変換部3cによって作成されたフレーム部分に当てはめることにより変換後データを作成するように構成されている。 Here, in the present embodiment, as shown in FIG. 3, the data converter 3c converts the data (communication parameter body) related to the communication method of the communication parameters transmitted from the vending machines (1a to 1d) to the data converter 3c. 3c to create post-conversion data.

具体的には、図3(a)に示すように、データ変換部3cは、TCP用フレーム部分に、TCP用の通信パラメータボディを当てはめることによって、TCP用の変換後データを作成する。また、図3(b)に示すように、データ変換部3cは、HTTP用フレーム部分に、HTTP用の通信パラメータボディを当てはめることによって、HTTP用の変換後データを作成する。また、図3(c)に示すように、データ変換部3cは、FTP用フレーム部分に、FTP用の通信パラメータボディを当てはめることによって、FTP用の変換後データを作成する。 Specifically, as shown in FIG. 3(a), the data conversion unit 3c creates post-conversion data for TCP by applying the communication parameter body for TCP to the frame portion for TCP. Further, as shown in FIG. 3B, the data conversion unit 3c creates post-conversion data for HTTP by applying the communication parameter body for HTTP to the frame portion for HTTP. Further, as shown in FIG. 3(c), the data conversion unit 3c creates post-conversion data for FTP by applying the communication parameter body for FTP to the frame portion for FTP.

次に、通信方式に関するデータ(通信パラメータボディ)について、具体的に説明する。 Next, the data (communication parameter body) regarding the communication method will be specifically described.

一例として、図4を参照して、HTTP用通信パラメータボディについて説明する。図4に示す例では、通信パラメータボディには、メソッド=GET(サーバからデータを取得するコマンド)、URL=http://samplecenter/testという情報が含まれている。この場合、データ変換部3cにより作成されたHTTP用フレーム部分(図4の破線で囲まれた部分以外)に、通信パラメータボディに含まれる情報(破線で囲まれた部分の情報)が当てはめられる。これにより、データ変換部3cによりHTTP用変換後データが作成される。 As an example, the HTTP communication parameter body will be described with reference to FIG. In the example shown in FIG. 4, the communication parameter body includes information of method=GET (a command to acquire data from the server) and URL=http://samplecenter/test. In this case, the information contained in the communication parameter body (the information enclosed by the dashed line) is applied to the HTTP frame portion (other than the portion enclosed by the dashed line in FIG. 4) created by the data converter 3c. As a result, post-conversion data for HTTP is created by the data conversion unit 3c.

また、本実施形態では、図5に示すように、通信パラメータの通信方式に関するデータ(通信パラメータボディ)は、データフォーマットの情報を含む。そして、データ変換部3cは、通信パラメータボディに含まれるデータフォーマットに基づいて、接続先となる個別管理センタ(2a~2d)に送信する変換後データを作成するように構成されている。具体的には、図5の例では、HTTP用通信パラメータボディには、メソッド=POST(サーバにデータを登録するコマンド)、URL=http://samplecenter/test、データフォーマット=json、ボディ={“param1”:“data1” “param2”:“data2”}という情報が含まれている。この場合、データ変換部3cにより作成されたHTTP用フレーム部分(図5の破線で囲まれた部分以外)に、通信パラメータボディに含まれる情報(破線で囲まれた部分の情報)が当てはめられる。これにより、データ変換部3cにより、データフォーマットがjsonであるHTTP用変換後データが作成される。なお、データフォーマットがXMLであってもよい。また、図4および図5に示すように、共通の通信方式(HTTP)であっても、コマンド毎(たとえばGETおよびPOST)に互いに異なるフレーム部分が設けられている。これにより、フレーム部分を用いて、様々なコマンドに対応して変換後データを作成することが可能である。 In addition, in the present embodiment, as shown in FIG. 5, the data (communication parameter body) regarding the communication method of the communication parameters includes data format information. Based on the data format contained in the communication parameter body, the data conversion unit 3c is configured to create post-conversion data to be transmitted to the individual management center (2a to 2d) to be connected. Specifically, in the example of FIG. 5, the HTTP communication parameter body includes method=POST (a command for registering data in the server), URL=http://samplecenter/test, data format=json, body={ "param1":"data1" "param2":"data2"} information is included. In this case, the information included in the communication parameter body (the information enclosed by the dashed line) is applied to the HTTP frame portion (other than the portion enclosed by the dashed line in FIG. 5) created by the data converter 3c. As a result, post-conversion data for HTTP whose data format is json is created by the data conversion unit 3c. Note that the data format may be XML. Further, as shown in FIGS. 4 and 5, even with a common communication method (HTTP), different frame portions are provided for each command (for example, GET and POST). This makes it possible to create post-conversion data corresponding to various commands using the frame portion.

また、通信パラメータの通信方式に関するデータ(通信パラメータボディ)は、個別管理センタ(2a~2d)に対する操作指示の手順であるシーケンス情報を含む。そして、共通管理センタ3は、シーケンス情報に基づいた手順に沿って接続先となる個別管理センタ(2a~2d)とデータ通信を行うように構成されている。一例として、図6を参照して、FTP用通信パラメータボディに含まれるシーケンス情報について説明する。 Further, the data (communication parameter body) relating to the communication method of the communication parameters includes sequence information which is the procedure of operation instructions for the individual control centers (2a to 2d). The common management center 3 is configured to perform data communication with individual management centers (2a to 2d) as connection destinations according to a procedure based on the sequence information. As an example, the sequence information included in the FTP communication parameter body will be described with reference to FIG.

図6に示す例では、FTP用通信パラメータボディには、個別管理センタ(2c)に対して、まず、「USER:“admin”」を実行し、次に、「PASS:“pass”」を実行し、最後に、「RETR:“file.txt”」を実行するシーケンス情報が含まれている。すなわち、FTP用通信パラメータボディには、個別管理センタ(2c)に対して、adminというユーザ名でログインした後、passというパスワードを設定し、最後に、個別管理センタ(2c)に記憶されているfile.txtというデータ(ファイル)を取得するというシーケンス情報が含まれている。 In the example shown in FIG. 6, in the FTP communication parameter body, first execute "USER: 'admin'" and then execute "PASS: 'pass'" for the individual management center (2c). and finally "RETR:"file. txt”” is included. That is, in the FTP communication parameter body, after logging in to the individual management center (2c) with a user name of admin, a password of pass is set, and finally, the password stored in the individual management center (2c) is set. file. txt contains sequence information for obtaining data (file).

なお、TCP用通信パラメータボディとしては、たとえば“0123456789ABCDEF”というデータが含まれる。TCP用通信パラメータボディに含まれるデータは、たとえば、自動販売機の設定値などのデータそのものを意味する。また、TCP用通信パラメータボディには、ハンドシェイク(異なる機器がデータ交換を行う前に、通信速度、データ形式、および、その他の取り決めを行うこと)などのシーケンス情報が含まれる場合がある。 The TCP communication parameter body includes, for example, data "0123456789ABCDEF". The data included in the TCP communication parameter body means the data itself such as setting values of vending machines, for example. In addition, the TCP communication parameter body may include sequence information such as handshake (communication rate, data format, and other agreements before different devices exchange data).

次に、図7を参照して、自動販売機システム100における通信方法について説明する。 Next, a communication method in vending machine system 100 will be described with reference to FIG.

まず、ステップS1において、自動販売機(1a~1d)の各々が共通管理センタ3に、通信方式決定情報および通信パラメータを送信する。 First, in step S1, each of the vending machines (1a to 1d) transmits communication method determination information and communication parameters to the common control center 3. FIG.

次に、ステップS2では、共通管理センタ3(通信方式決定部3b)は、ステップS1において送信された通信方式決定情報に基づいて、個別管理センタ(2a~2d)との通信に用いられる通信方式を決定する。また、この際、共通管理センタ3(接続先決定部3a)は、ステップS1において送信された通信パラメータ(通信パラメータヘッダ)に基づいて、接続先となる個別管理センタ(2a~2d)を決定する。 Next, in step S2, the common management center 3 (communication method determination unit 3b) selects a communication method to be used for communication with the individual management centers (2a to 2d) based on the communication method determination information transmitted in step S1. to decide. At this time, the common management center 3 (connection destination determination unit 3a) determines the individual management centers (2a to 2d) to be connected based on the communication parameters (communication parameter header) transmitted in step S1. .

次に、ステップS3では、共通管理センタ3(データ変換部3c)は、通信パラメータに含まれる通信方式に関するデータ(通信パラメータボディ)を、ステップS2において決定された通信方式に基づいた通信仕様により変換後データに変換する。 Next, in step S3, the common control center 3 (data conversion unit 3c) converts the data (communication parameter body) related to the communication method included in the communication parameters by the communication specifications based on the communication method determined in step S2. Convert to post data.

そして、ステップS4では、共通管理センタ3は、ステップS3において作成された変換後データを、ステップS2において決定された個別管理センタ(2a~2d)に送信する。具体的には、作成された変換後データに、通信パラメータヘッダに含まれている宛先ポート番号の情報を有するTCPヘッダと、宛先IPアドレスの情報を有するIPヘッダが付加されたデータが個別管理センタ(2a~2d)に送信される。なお、個別管理センタ(2a~2d)に送信される変換後データには、さらに、接続先となる個別管理センタ(2a~2d)の物理アドレスの情報を含むイーサネット(登録商標)ヘッダと、通信中に発生するエラーをチェックするイーサネット(登録商標)トレーラとが付加されている。 Then, in step S4, the common management center 3 transmits the post-conversion data created in step S3 to the individual management centers (2a to 2d) determined in step S2. Specifically, the created post-conversion data is added with a TCP header containing the destination port number information contained in the communication parameter header and an IP header containing the destination IP address information. (2a-2d). The converted data transmitted to the individual management centers (2a to 2d) further includes an Ethernet (registered trademark) header containing information on the physical address of the individual management center (2a to 2d) to be connected, and a communication An Ethernet trailer is added to check for errors that occur during

[本実施形態の効果]
本実施形態では、以下のような効果を得ることができる。
[Effect of this embodiment]
The following effects can be obtained in this embodiment.

本実施形態では、上記のように、共通管理センタ3は、自動販売機(1a~1d)から送信された通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、通信方式に関するデータ(通信パラメータボディ)をデータ変換部3cにより変換後データに変換する。そして、共通管理センタ3が、変換後データを、通信パラメータの宛先情報に基づいて決定された接続先となる個別管理センタ(2a~2d)に送信するように、自動販売機システム100を構成する。これにより、共通管理センタ3から、互いに共通の通信方式に対応する個別管理センタ(2a~2d)に変換後データが送信される場合に、各々の変換後データの作成における通信仕様を共通化することができる。その結果、各々の変換後データを互いに異なる通信仕様に基づいて作成する場合に比べて、共通管理センタ3において対応可能な通信仕様の数を低減することができるので、共通管理センタ3の構成を簡略化することができる。また、複数の個別管理センタ(2a~2d)の各々にデータ変換の機能を設ける必要がないので、個別管理センタ(2a~2d)の各々の構成が複雑化するのを抑制することができる。これにより、共通管理センタ3および個別管理センタ(2a~2d)の構成が複雑化することに起因して自動販売機システム100の構成が複雑化するのを抑制することができる。 In this embodiment, as described above, the common management center 3 performs communication based on the communication specifications corresponding to the communication method determined based on the communication method determination information transmitted from the vending machines (1a to 1d). Data regarding the method (communication parameter body) is converted into post-conversion data by the data conversion unit 3c. Then, the vending machine system 100 is configured so that the common management center 3 transmits the post-conversion data to the individual management centers (2a to 2d) as connection destinations determined based on the destination information of the communication parameters. . As a result, when the post-conversion data is transmitted from the common management center 3 to the individual management centers (2a to 2d) corresponding to the common communication method, the communication specifications for creating each post-conversion data are made common. be able to. As a result, the number of communication specifications that can be handled by the common management center 3 can be reduced compared to the case where each post-conversion data is created based on mutually different communication specifications. can be simplified. In addition, since it is not necessary to provide a data conversion function in each of the plurality of individual management centers (2a-2d), it is possible to suppress the complication of the configuration of each of the individual management centers (2a-2d). As a result, it is possible to prevent the configuration of the vending machine system 100 from becoming complicated due to the configuration of the common management center 3 and the individual management centers (2a to 2d) becoming complicated.

また、本実施形態では、上記のように、データ変換部3cは、通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、変換後データの枠組みであるフレーム部分(HTTP用フレーム部分、FTP用フレーム部分、TCP用フレーム部分)を作成する。そして、データ変換部3cが、自動販売機(1a~1d)から送信された通信パラメータの通信方式に関するデータを、データ変換部3cによって作成されたフレーム部分(HTTP用フレーム部分、FTP用フレーム部分、TCP用フレーム部分)に当てはめることにより変換後データを作成するように、自動販売機システム100を構成する。これにより、通信方式に関するデータを各通信方式に対応する通信仕様に基づいて作成されたフレーム部分(HTTP用フレーム部分、FTP用フレーム部分、TCP用フレーム部分)に当てはめるだけで、各通信方式に対応する変換後データを容易に作成することができる。 Further, in the present embodiment, as described above, the data conversion unit 3c uses the frame part (HTTP frame part for FTP, frame part for TCP, frame part for TCP). Then, the data conversion unit 3c converts the data regarding the communication method of the communication parameters transmitted from the vending machines (1a to 1d) into the frame portions (HTTP frame portion, FTP frame portion, The vending machine system 100 is configured so as to create post-conversion data by applying it to the TCP frame portion). As a result, by simply applying the data related to the communication method to the frame portion (HTTP frame portion, FTP frame portion, TCP frame portion) created based on the communication specifications corresponding to each communication method, it is possible to support each communication method. After-conversion data can be easily created.

また、本実施形態では、上記のように、通信パラメータが、接続先となる個別管理センタ(2a~2d)において変換後データが使用されるプログラムを識別するための情報を含むように、自動販売機システム100を構成する。これにより、共通管理センタ3は、通信パラメータに基づいて、個別管理センタ(2a~2d)に使用させるためのプログラムの情報を容易に取得することができる。 Further, in the present embodiment, as described above, the communication parameters include information for identifying the program in which the post-conversion data is used in the individual management center (2a to 2d) to be connected. A machine system 100 is configured. As a result, the common management center 3 can easily acquire information on programs to be used by the individual management centers (2a to 2d) based on the communication parameters.

また、本実施形態では、上記のように、通信パラメータの通信方式に関するデータ(通信パラメータボディ)が、個別管理センタ(2a~2d)に対する操作指示の手順であるシーケンス情報を含み、共通管理センタ3が、シーケンス情報に基づいた手順に沿って接続先となる個別管理センタ(2a~2d)とデータ通信を行うように、自動販売機システム100を構成する。これにより、共通管理センタ3は、通信パラメータに含まれるシーケンス情報に基づいて、容易に通信を行うことができる。 Further, in the present embodiment, as described above, the data (communication parameter body) relating to the communication method of the communication parameters includes sequence information that is the procedure of operation instructions for the individual control centers (2a to 2d), and the common control center 3 configures the vending machine system 100 so as to perform data communication with individual control centers (2a to 2d) to be connected according to the procedure based on the sequence information. Thereby, the common management center 3 can easily perform communication based on the sequence information included in the communication parameters.

また、本実施形態では、上記のように、通信パラメータの通信方式に関するデータ(通信パラメータボディ)が、データフォーマットの情報を含み、データ変換部3cが、上記データフォーマットに基づいて、接続先となる個別管理センタ(2a~2d)に送信する変換後データを作成するように、自動販売機システム100を構成する。これにより、データ変換部3cは、通信パラメータに含まれるデータフォーマットの情報に基づいて、容易に通信を行うことができる。 Further, in the present embodiment, as described above, the data (communication parameter body) regarding the communication method of the communication parameter includes data format information, and the data conversion unit 3c becomes the connection destination based on the data format. The vending machine system 100 is configured to create post-conversion data to be sent to individual management centers (2a-2d). Thereby, the data converter 3c can easily perform communication based on the data format information included in the communication parameter.

また、本実施形態では、上記のように、自動販売機システム100の通信方法は、複数の自動販売機(1a~1d)の各々が、通信方式決定情報および通信パラメータを、複数の自動販売機(1a~1d)の各々に対して共通して適用される通信方式毎の通信仕様に基づいて共通管理センタ3に送信するステップを備える。また、自動販売機システム100の通信方法は、共通管理センタ3が、自動販売機(1a~1d)から送信された通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、通信方式に関するデータ(通信パラメータボディ)を変換後データに変換するとともに、変換後データを、通信パラメータの宛先情報に基づいて決定された接続先となる個別管理センタ(2a~2d)に送信するステップを備える。これにより、共通管理センタ3から、互いに共通の通信方式に対応する個別管理センタ(2a~2d)に変換後データが送信される場合に、各々の変換後データの作成における通信仕様を共通化することができる。その結果、各々の変換後データを互いに異なる通信仕様に基づいて作成する場合に比べて、共通管理センタ3において対応可能な通信仕様の数を低減することができるので、共通管理センタ3の構成を簡略化することができる。また、複数の個別管理センタ(2a~2d)の各々にデータ変換の機能を設ける必要がないので、個別管理センタ(2a~2d)の構成が複雑化するのを抑制することができる。これにより、共通管理センタ3および個別管理センタ(2a~2d)の構成が複雑化することに起因して自動販売機システム100の構成が複雑化するのを抑制することが可能な自動販売機システム100の通信方法を提供することができる。 Further, in the present embodiment, as described above, the communication method of the vending machine system 100 is such that each of the plurality of vending machines (1a to 1d) transmits the communication method determination information and the communication parameters to the plurality of vending machines. (1a to 1d) is transmitted to the common management center 3 based on the communication specifications for each communication method commonly applied to each of them. Further, the communication method of the vending machine system 100 is based on the communication specifications corresponding to the communication method determined by the common control center 3 based on the communication method determination information transmitted from the vending machines (1a to 1d). , converts the data (communication parameter body) related to the communication method into post-conversion data, and transmits the post-conversion data to the individual management center (2a-2d) as the connection destination determined based on the destination information of the communication parameters. Have a step. As a result, when the post-conversion data is transmitted from the common management center 3 to the individual management centers (2a to 2d) corresponding to the common communication method, the communication specifications for creating each post-conversion data are made common. be able to. As a result, the number of communication specifications that can be handled by the common management center 3 can be reduced compared to the case where each post-conversion data is created based on mutually different communication specifications. can be simplified. Moreover, since it is not necessary to provide a data conversion function in each of the plurality of individual management centers (2a to 2d), it is possible to prevent the configuration of the individual management centers (2a to 2d) from becoming complicated. Thus, a vending machine system capable of suppressing complication of the configuration of the vending machine system 100 due to complication of the configurations of the common management center 3 and the individual management centers (2a to 2d). 100 communication methods can be provided.

[変形例]
なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味および範囲内でのすべての変更(変形例)が含まれる。
[Variation]
It should be noted that the embodiments disclosed this time should be considered as examples and not restrictive in all respects. The scope of the present invention is indicated by the scope of the claims rather than the description of the above-described embodiments, and includes all modifications (modifications) within the meaning and scope equivalent to the scope of the claims.

たとえば、上記実施形態では、自動販売機(1a~1d)から共通管理センタ3に、通信方式決定情報と通信パラメータとが同時に送信される例を示したが、本発明はこれに限られない。たとえば、通信方式決定情報により共通管理センタ3に対して変換後の通信方式が通知された後に、通信パラメータが送信されてもよい。 For example, in the above embodiment, an example was shown in which the communication method decision information and the communication parameters were simultaneously transmitted from the vending machines (1a to 1d) to the common management center 3, but the present invention is not limited to this. For example, the communication parameters may be transmitted after the communication system determination information notifies the common management center 3 of the post-conversion communication system.

また、上記実施形態では、通信方式決定情報には、HTTP、TCP、および、FTPという通信方式の種類を直接的に示す情報が記載されている例を示したが、本発明はこれに限られない。たとえば、通信方式決定情報には、HTTP(TCP、FTP)に対応するシーケンス情報が記載されており、共通管理センタ3は通信方式決定情報に記載されているシーケンス情報に基づいて通信方式を識別してもよい。 Further, in the above-described embodiment, the communication method determination information includes information directly indicating the type of communication method such as HTTP, TCP, and FTP. However, the present invention is not limited to this. Absent. For example, the communication method determination information includes sequence information corresponding to HTTP (TCP, FTP), and the common control center 3 identifies the communication method based on the sequence information described in the communication method determination information. may

また、上記実施形態では、個別管理センタ2aと、個別管理センタ2bおよび2dと、個別管理センタ2cとが、互いに異なる通信方式に対応する例を示したが、本発明はこれに限られない。たとえば、個別管理センタ2a~2dが互いに共通の通信方式に対応していてもよい。 Further, in the above-described embodiment, an example was shown in which the individual management center 2a, the individual management centers 2b and 2d, and the individual management center 2c correspond to different communication methods, but the present invention is not limited to this. For example, the individual management centers 2a-2d may correspond to a common communication method.

また、上記実施形態では、自動販売機1a~1dは、互いに共通の通信方式に対応する例を示したが、本発明はこれに限られない。たとえば、自動販売機1a~1dは、互いに異なる通信方式に対応していてもよい。 Further, in the above-described embodiment, the vending machines 1a to 1d are exemplified as compatible with a common communication system, but the present invention is not limited to this. For example, the vending machines 1a-1d may support different communication methods.

また、上記実施形態では、自動販売機および個別管理センタの各々が4つずつ設けられている例を示したが、本発明はこれに限られない。自動販売機および個別管理センタの各々は、複数設けられていれば、設けられる台数は4つに限られない。 Further, in the above embodiment, an example in which four vending machines and four individual management centers are provided has been shown, but the present invention is not limited to this. The number of vending machines and individual control centers to be provided is not limited to four, as long as a plurality of each are provided.

1a、1b、1c、1d 自動販売機
2a、2b、2c、2d 個別管理センタ
3 共通管理センタ
3c データ変換部
100 自動販売機システム
1a, 1b, 1c, 1d vending machine 2a, 2b, 2c, 2d individual control center 3 common control center 3c data converter 100 vending machine system

Claims (6)

複数の自動販売機と、
対応する前記自動販売機との間において前記自動販売機に関するデータの送受信を行うとともに、複数の通信方式のうちのいずれかの通信方式に対応して設けられる複数の個別管理センタと、
前記複数の自動販売機の各々から、前記複数の個別管理センタのうちの対応する前記個別管理センタの通信方式の情報を含む通信方式決定情報、および、データフォーマットの情報および前記個別管理センタに対する操作指示の手順であるシーケンス情報の少なくとも1つを含む前記個別管理センタの前記通信方式に関するデータと接続先となる前記個別管理センタの宛先情報とを含む通信パラメータを同時に受信するとともに、前記複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、前記通信方式に関するデータを変換後データに変換するデータ変換部を含む共通管理センタと、を備え、
前記共通管理センタは、前記自動販売機から送信された前記通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、前記通信方式に関するデータを前記データ変換部により前記変換後データに変換するとともに、前記変換後データを、前記通信パラメータの前記宛先情報に基づいて決定された接続先となる前記個別管理センタに送信するように構成されている、自動販売機システム。
multiple vending machines;
a plurality of individual management centers that transmit and receive data related to the vending machines to and from the corresponding vending machines and are provided corresponding to any one of a plurality of communication methods;
From each of the plurality of vending machines, communication method determination information including communication method information of the corresponding individual management center among the plurality of individual management centers , data format information, and operation to the individual management center simultaneously receiving data relating to the communication method of the individual management center including at least one piece of sequence information as an instruction procedure and communication parameters including destination information of the individual management center to be connected to; a common management center including a data conversion unit that converts data related to the communication method into post-conversion data based on communication specifications for each communication method commonly applied to each of the vending machines;
The common management center converts the data related to the communication method by the data conversion unit based on the communication specifications corresponding to the communication method determined based on the communication method determination information transmitted from the vending machine. A vending machine system configured to convert the converted data into data and transmit the converted data to the individual management center as a connection destination determined based on the destination information of the communication parameters.
前記データ変換部は、前記通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、前記変換後データの枠組みであるフレーム部分を作成するとともに、前記自動販売機から送信された前記通信パラメータの前記通信方式に関するデータを、前記データ変換部によって作成された前記フレーム部分に当てはめることにより前記変換後データを作成するように構成されている、請求項1に記載の自動販売機システム。 The data conversion unit creates a frame portion, which is a framework of the post-conversion data, based on communication specifications corresponding to the communication method determined based on the communication method determination information, and transmits the data from the vending machine. 2. The vending machine according to claim 1, wherein the post-conversion data is created by applying the data relating to the communication method of the communication parameter obtained from the communication parameter to the frame portion created by the data conversion unit. system. 前記通信パラメータは、接続先となる前記個別管理センタにおいて前記変換後データが使用されるプログラムを識別するための情報を含む、請求項1または2に記載の自動販売機システム。 3. The vending machine system according to claim 1, wherein said communication parameter includes information for identifying a program in which said post-conversion data is used in said individual management center as a connection destination. 前記通信パラメータの前記通信方式に関するデータは、前記個別管理センタに対する操作指示の手順である前記シーケンス情報を含み、
前記共通管理センタは、前記シーケンス情報に基づいた手順に沿って接続先となる前記個別管理センタとデータ通信を行うように構成されている、請求項1~3のいずれか1項に記載の自動販売機システム。
the data relating to the communication method of the communication parameter includes the sequence information, which is a procedure for instructing operations to the individual management center;
4. The automated system according to any one of claims 1 to 3, wherein said common management center is configured to perform data communication with said individual management center as a connection destination according to a procedure based on said sequence information. vending machine system.
前記通信パラメータの前記通信方式に関するデータは、前記データフォーマットの情報を含み、
前記データ変換部は、前記データフォーマットに基づいて、接続先となる前記個別管理センタに送信する前記変換後データを作成するように構成されている、請求項1~4のいずれか1項に記載の自動販売機システム。
the data related to the communication method of the communication parameter includes information on the data format;
5. The data conversion unit according to any one of claims 1 to 4, wherein the data conversion unit is configured to create the post-conversion data to be transmitted to the individual management center as a connection destination based on the data format. vending machine system.
複数の自動販売機の各々が、複数の通信方式のうちのいずれかの通信方式に対応して設けられる複数の個別管理センタのうちの対応する前記個別管理センタの通信方式の情報を含む通信方式決定情報、および、データフォーマットの情報および前記個別管理センタに対する操作指示の手順であるシーケンス情報の少なくとも1つを含む前記個別管理センタの前記通信方式に関するデータと、前記複数の自動販売機のうちの対応する前記自動販売機との間において前記自動販売機に関するデータの送受信を行うとともに、前記複数の個別管理センタのうち、接続先となる前記個別管理センタの宛先情報とを含む通信パラメータを、前記複数の自動販売機の各々に対して共通して適用される通信方式毎の通信仕様に基づいて、前記通信方式に関するデータを変換後データに変換する共通管理センタに同時に送信するステップと、
前記共通管理センタが、前記自動販売機から送信された前記通信方式決定情報に基づいて決定された通信方式に対応する通信仕様に基づいて、前記通信方式に関するデータを前記変換後データに変換するとともに、前記変換後データを、前記通信パラメータの前記宛先情報に基づいて決定された接続先となる前記個別管理センタに送信するステップと、を備える、自動販売機システムの通信方法。
A communication method in which each of a plurality of vending machines includes information on a communication method of a corresponding individual control center among a plurality of individual control centers provided corresponding to one of a plurality of communication methods. data relating to the communication method of the individual control center including at least one of decision information, data format information, and sequence information that is a sequence of operation instructions to the individual control center ; Data relating to the vending machine is transmitted/received to/from the corresponding vending machine, and communication parameters including destination information of the individual control center to be connected among the plurality of individual control centers are set to the Simultaneously transmitting data related to the communication method to a common management center that converts data after conversion based on communication specifications for each communication method commonly applied to each of a plurality of vending machines;
The common management center converts data related to the communication method into the post-conversion data based on communication specifications corresponding to the communication method determined based on the communication method determination information transmitted from the vending machine. and transmitting the post-conversion data to the individual management center as a connection destination determined based on the destination information of the communication parameters.
JP2018194496A 2018-10-15 2018-10-15 Vending machine system and communication method for the vending machine system Active JP7210993B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018194496A JP7210993B2 (en) 2018-10-15 2018-10-15 Vending machine system and communication method for the vending machine system
CN201910923940.0A CN111049791A (en) 2018-10-15 2019-09-27 Vending machine system and communication method of vending machine system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018194496A JP7210993B2 (en) 2018-10-15 2018-10-15 Vending machine system and communication method for the vending machine system

Publications (2)

Publication Number Publication Date
JP2020064363A JP2020064363A (en) 2020-04-23
JP7210993B2 true JP7210993B2 (en) 2023-01-24

Family

ID=70231755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018194496A Active JP7210993B2 (en) 2018-10-15 2018-10-15 Vending machine system and communication method for the vending machine system

Country Status (2)

Country Link
JP (1) JP7210993B2 (en)
CN (1) CN111049791A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042045A (en) 2004-07-28 2006-02-09 Fuji Electric Retail Systems Co Ltd Network connecting repeater
JP2008136053A (en) 2006-11-29 2008-06-12 Kyocera Corp Remote monitoring control system, monitoring object control device and communication terminal
JP2013013049A (en) 2011-05-31 2013-01-17 Fujitsu Ltd Sensor data collection system
JP2013150137A (en) 2012-01-19 2013-08-01 Seiko Epson Corp Data transmission device, data transfer server, and data transmission method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5035480B1 (en) * 2012-01-27 2012-09-26 オムロン株式会社 Data relay device, data transmission device, network system
CN107124421B (en) * 2017-05-11 2019-10-18 珠海格力电器股份有限公司 Communication means, multi-protocol gateway equipment based on multi-protocols and can storage medium
CN107947982A (en) * 2017-11-24 2018-04-20 合肥维博自动化科技有限公司 A kind of device software management system
CN108449312B (en) * 2018-01-31 2021-01-22 北京奇艺世纪科技有限公司 Protocol conversion method, device, system and gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042045A (en) 2004-07-28 2006-02-09 Fuji Electric Retail Systems Co Ltd Network connecting repeater
JP2008136053A (en) 2006-11-29 2008-06-12 Kyocera Corp Remote monitoring control system, monitoring object control device and communication terminal
JP2013013049A (en) 2011-05-31 2013-01-17 Fujitsu Ltd Sensor data collection system
JP2013150137A (en) 2012-01-19 2013-08-01 Seiko Epson Corp Data transmission device, data transfer server, and data transmission method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
北上 眞二 Shinji Kitagami,M2M技術の全体像と標準化動向,平成25年電気学会全国大会講演論文集 [3] エレクトロニクス/情報工学システム/センサ・マイクロマシン THE 2013 ANNUAL MEETING RECORD I.E.E. JAPAN,2013年03月20日

Also Published As

Publication number Publication date
JP2020064363A (en) 2020-04-23
CN111049791A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US7698405B2 (en) MILARRS systems and methods
US11140162B2 (en) Response method and system in virtual network computing authentication, and proxy server
EP3454213B1 (en) Function library build architecture for serverless execution frameworks
US9037735B1 (en) Establishing websocket protocol extensions
US20130268632A1 (en) Server assisted authenticated device
US11700262B2 (en) System and method to securely execute datacenter management operations remotely
US7979521B2 (en) Method and system for relocating and using enterprise management tools in a service provider model
CN104407856B (en) Software tool develops the packaging method and device of APMB package
JP2013250915A (en) Service providing device, information process device, image formation device, control method of printing system and computer program
US10367894B2 (en) Information processing apparatus, method for controlling the same, non-transitory computer-readable storage medium, and information processing system
TW201534101A (en) Facilitating interactive support sessions for an embedded device using a portable device
US7603450B2 (en) Methods and applets for providing and contributing to an IT network management service
US20080199012A1 (en) Method for identifying a server device in a network
JP7210993B2 (en) Vending machine system and communication method for the vending machine system
JP5889437B2 (en) Parameter setting system and information processing apparatus
US20090013082A1 (en) Field communication system, field server, field device, and field communication method
KR20180038385A (en) Apparatus and method for testing machine to machine application
CN105721395A (en) Data synchronization configuration method, apparatus and system
JP6516539B2 (en) Communication device, communication method, and program
CN112565458B (en) Platform remote control method and device, storage medium and electronic equipment
JP6631065B2 (en) Communication path switching apparatus, control method of communication path switching apparatus, and program
US7549010B2 (en) Communication apparatus and method
CN111031072A (en) Data acquisition system, method and computer equipment
CN109257264B (en) System and method for opening Ethernet virtual private network service
CN106534369B (en) Communication means and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220905

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: 20221213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221226

R150 Certificate of patent or registration of utility model

Ref document number: 7210993

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150