WO2020026335A1 - Server device and system - Google Patents

Server device and system Download PDF

Info

Publication number
WO2020026335A1
WO2020026335A1 PCT/JP2018/028619 JP2018028619W WO2020026335A1 WO 2020026335 A1 WO2020026335 A1 WO 2020026335A1 JP 2018028619 W JP2018028619 W JP 2018028619W WO 2020026335 A1 WO2020026335 A1 WO 2020026335A1
Authority
WO
WIPO (PCT)
Prior art keywords
devices
client
type
control
management
Prior art date
Application number
PCT/JP2018/028619
Other languages
French (fr)
Japanese (ja)
Inventor
三露 学
Original Assignee
Quadrac株式会社
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 Quadrac株式会社 filed Critical Quadrac株式会社
Priority to PCT/JP2018/028619 priority Critical patent/WO2020026335A1/en
Priority to JP2018563924A priority patent/JP6544817B1/en
Priority to PCT/JP2018/031173 priority patent/WO2020026456A1/en
Publication of WO2020026335A1 publication Critical patent/WO2020026335A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • the present disclosure relates to server devices and systems.
  • Patent Document 1 An information processing system including a server-side tamper-resistant device, a server, a client, and a client-side tamper-resistant device has been proposed (see Patent Document 1).
  • a transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device, A management device to which the data, the type of the request, and the type of the client device are input from the transmitting / receiving device, A plurality of control devices having a plurality of first devices and a plurality of second devices, The management device selects one control device from the plurality of control devices, and outputs to the selected one control device data input from the transmission / reception device, a request type, and a client device type.
  • the selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device, The selected one first device selects one second device from the plurality of second devices based on a type of request input from the management device, and a result of the processing in the second device Based on the, output a control signal of the client device,
  • the selected one second device is a server device that processes data input from the management device.
  • a transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device, A plurality of management devices to which the data and the type of the client device are input from the transmission / reception device, A plurality of control devices having a plurality of first devices and one second device, The transmitting / receiving device selects one management device from the plurality of management devices based on the type of the received request, and outputs the received data and the type of the client device to the selected one management device.
  • the selected one management device selects one control device from the plurality of control devices, and outputs data input from the transmission / reception device and a type of the client device to the selected one control device.
  • the selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device, The one selected first device outputs a control signal of the client device based on a result of the process in the second device,
  • the second device is a server device that processes data input from the management device.
  • a system comprising the server device and the plurality of client devices connected to the server device via the network.
  • a server device includes a first device that controls a client device, and a second device that processes data in response to a request from the client device, and both devices use the client device.
  • Control and data processing respectively. Therefore, development and control can be performed separately from the control of the client device and the data processing, thereby shortening the development period and diverting existing assets (control methods and data of the client device which has already been developed and operated). Can be used as it is).
  • FIG. 1 is a diagram illustrating a configuration example of a system according to a first embodiment.
  • FIG. 6 is a diagram illustrating a storage example in a first table. It is a figure showing the example of storage in the 2nd table. It is a figure showing the example of storage in the 3rd table.
  • FIG. 4 is a diagram illustrating an operation example of the system according to the first embodiment.
  • FIG. 9 is a diagram illustrating a configuration example of a server according to a second embodiment. It is a figure showing the example of storage in the 4th table.
  • FIG. 9 is a diagram illustrating an operation example of a system according to a second embodiment.
  • FIG. 1 is a diagram illustrating a configuration example of a system according to the first embodiment.
  • the system 1 includes a plurality of user devices 11 and 12, a plurality of client devices 21 and 22, and a server device 30.
  • the plurality of client devices 21 and 22 are connected to the server device 30 via the network 40.
  • the control device 332 has first devices A and B and second devices P, Q and R, similarly to the control device 331.
  • the plurality of user devices 11 and 12 are devices owned and operated by the user.
  • the plurality of user devices 11 and 12 include a smartphone, an IC card (Integrated Circuit Card) or a smart card (Smart Card) in which a non-contact IC chip or a non-contact IC chip function is incorporated.
  • the user device includes, for example, electronic money balance, personal information such as name, date of birth, gender, address, card ID, card expiration date, floor limit, card usage history, commuter pass information, and / or Is stored as encoded image data.
  • the “image data” in this specification includes a two-dimensional barcode such as a QR code (registered trademark).
  • the number of user devices in the system 1 may be two or more, and may be three or more, or four or more.
  • the plurality of client devices 21 and 22 include a POS terminal installed at a supermarket or a convenience store, a ticket gate installed at a ticket gate of a station, and an ETC installed at an entrance of an expressway. (Electronic Toll Collection) devices, terminals installed in government offices, terminals installed in leisure facilities such as amusement parks, movie theaters, zoos (terminals that charge when entering and / or exiting), restaurants and other restaurants Cash register etc. are included.
  • the plurality of client devices 21 and 22 can include client devices of different types.
  • the type of the client device is information for identifying the type of the client device, and the types of client devices operating with different control signals are different from each other.
  • the input of data is performed, for example, by operating an input device such as a keyboard or a touch panel, reading image data attached to a product package with a POS terminal, or reading image data displayed on a display of a user device with a camera device.
  • the data is input to the client device.
  • the data includes product price information, commuter pass information, user account, card ID, electronic money balance information, credit card expiration date, and the like.
  • the plurality of client devices 21 and 22 transmit the input data, the type of the request, and the type of the client device to the server device 30 via the network 40, and process the input data to the server device 30.
  • Request The request from the client device 21 and the request from the client device 22 are transmitted independently of each other, and the server device 30 can process each request received from each client device in parallel.
  • the plurality of client devices 21 and 22 may transmit the client device identification information for identifying the client device to the server device 30 in addition to the input data, the request type, and the client device type. Good. In this way, the server device 30 can easily grasp from which client device the request has been transmitted.
  • the request type is information indicating a data processing method.
  • the data input to the client device is price information
  • a request is made to the server device to make a payment by the first method based on the price information.
  • the information indicating the settlement processing in the first method is the type of the request.
  • the client device is a ticket gate at a station
  • the data input to the client device is commuter pass information
  • the server device requests the server device to confirm that the commuter pass information is valid
  • Information indicating ticket information confirmation processing is the type of request.
  • the method of the settlement process differs between the case of indicating the settlement process in Suica (registered trademark) and the case of indicating the settlement process in Edy (registered trademark), and the type of request is different.
  • the plurality of client devices 21 and 22 may include a reader / writer device that transmits and receives data to and from the plurality of user devices 11 and 12 by contact communication, short-range wireless communication, image reading, or the like.
  • the server device 30 communicates with the plurality of user devices 11 and 12 via the plurality of client devices 21 and 22 (eg, mutual authentication using key information, reading / writing of user data). And transmission and reception of a response indicating the execution result of the command), and processing of data requested by the plurality of client devices 21 and 22.
  • the short-range wireless communication includes a method in which a client device and a user device communicate without contact, such as NFC (Near Field Communication), and a contact communication, in which a client device and a user device contact each other, such as ISO7816.
  • a method for performing communication is included.
  • the number of client devices in the system 1 may be two or more, and may be three or more, or four or more.
  • the server device 30 is a device that controls the plurality of client devices 21 and 22 while processing data in response to requests from the plurality of client devices 21 and 22, and is connected to the plurality of client devices 21 and 22 via the network 40. Connected.
  • the network 40 is, for example, the Internet. Communication between the plurality of client devices 21 and 22 and the server device 30 is performed according to a protocol such as HTTPS, TCP / IP, or UDP.
  • the server device 30 includes, for example, an arithmetic device such as a CPU and a storage device including a RAM and a hard disk.
  • the storage device stores, for example, programs and data (including each table described later).
  • the server device 30 operates by, for example, an arithmetic device reading a program from a storage device and executing the program.
  • the transmission / reception device 31, the management device 32, the control devices 331, 332, the first devices A, B, and the second devices P, Q, R, which will be described later, are realized by, for example, an arithmetic device reading a program from a storage device and executing the program. can do. That is, the arithmetic device that executes the program operates as the management device 32, the control devices 331, 332, and the like.
  • the number of server devices included in the system 1 may be two, three, or four or more.
  • the client device can switch the server device that requests data processing.
  • the communication destination of one or more client devices arranged in a certain area or a commercial facility is set to one server device, and the communication destination of one or more client devices arranged in another area or a commercial facility is set.
  • the processing of one server device may be distributed to a plurality of devices. In this case, when viewed from the client device, substantially one server device appears to be operating, so that the entire plurality of devices can be regarded as one server device.
  • the server device 30 includes a transmission / reception device 31, a management device 32, and a plurality of control devices 331 and 332. Hereinafter, each device will be described.
  • the transmission / reception device 31 is a device that manages transmission / reception of data.
  • the transmission / reception device 31 receives data input from the plurality of client devices 21 and 22 to the plurality of client devices 21 and 22 via the network 40, the type of request, and the client device. Receive the type.
  • the transmission / reception device 31 transmits the data output from the management device 32 to the plurality of client devices 21 and 22 via the network 40.
  • the transmission / reception device 31 can perform transmission / reception in a packet format, for example.
  • the transmission / reception device 31 may encrypt a transmission path set on the network 40 when transmitting / receiving data.
  • the management device 32 manages the plurality of control devices 331 and 332, and receives data, a request type, and a client device type from the transmission / reception device 31.
  • the number of the management devices 32 is one.
  • the management device 32 selects one control device from the plurality of control devices 331 and 332, and inputs the data input from the transmission / reception device 31 to the selected one control device, the request type, the client device type, and the like. Is output.
  • the selection of one control device by the management device 32 can be executed, for example, by selecting a non-operating control device as one control device. This selection is made by, for example, associating information indicating that the device is in operation from the first table shown in FIG.
  • the management device 32 stores information indicating that the device is in operation in the first table in association with the identification information of the selected control device.
  • Control devices 331, 332) are devices that process requests from the client devices 21 and 22. Requests from one client device are processed by one control device. Therefore, when the server device 30 has n (n is an integer of 2 or more) control devices, requests from n client devices can be processed in parallel.
  • the number of control devices included in the server device 30 may be two or more, and may be three or more, or four or more.
  • the control devices 331 and 332 have the same configuration, and process data in response to requests from the client devices and the first devices A and B that control the client devices 21 and 22, respectively. And a plurality of second devices P, Q, and R.
  • the number of first devices and second devices included in one control device is not limited, but the plurality of first devices A and B included in one control device are configured by first devices that control different types of client devices. You. For example, when one control device has two first devices A and B, the first first device A is a device that controls the display display and sound of a payment terminal placed in a convenience store,
  • the first device B can be a device that controls opening and closing of a door of a ticket gate installed at a station.
  • the plurality of second devices P and Q included in one control device execute different types of processing.
  • the first second device P is a device that executes a payment process according to the first method
  • the second device P is a second device.
  • the second device Q is a device that executes a payment process according to the second method
  • the third second device R can be a device that executes a process of checking commuter pass information.
  • the control devices 331 and 332 select one of the first devices A and B based on the type of the client device input from the management device 32. This selection is stored in association with the type of the client device input from the management device, for example, from the second table shown in FIG. 3 that stores the identification information of the first device and the type of the client device in association with each other. This can be performed by reading the identification information of the first device that is being read, and selecting the first device identified by the read identification information of the first device. The selected one first device selects one of the plurality of second devices P, Q, and R based on the type of the request input from the management device 32, and selects the selected one of the first devices. A control signal for the client device is output based on the result of the processing in the two devices.
  • This selection is stored in association with the type of request input from the management device, for example, from the third table shown in FIG. 4 that stores the identification information of the second device and the type of request in association with each other. This can be performed by reading the identification information of the second device and selecting the second device identified by the read identification information of the second device.
  • the control signals output from the first devices A and B are transmitted to the plurality of client devices 21 and 22 via the management device 32, the transmission / reception device 31, and the network 40. For example, when the client device identification information is received from the client device and this information is stored in the first table shown in FIG. 2, the transmitting / receiving device 31 and the management device 32 determine whether the client device identified by the information has A control signal can be transmitted to it.
  • the selected one second device processes data input from the management device 32.
  • This processing includes mutual authentication using key information, updating (increase / decrease) the balance of electronic mail stored in the user device by transmitting / receiving a command or response, checking the balance of electronic money, and checking the expiration date of the account. And confirmation of commuter pass information.
  • the commuter pass information can be confirmed by, for example, determining whether the commuter pass information input to the client device is stored in a storage device of the server device 30 or another device.
  • FIG. 2 is a diagram illustrating a storage example in the first table.
  • the identification information of the control device and the information indicating that it is operating are stored in association with each other.
  • the client device identification information can be used as the information indicating that it is operating.
  • the client device identification information can be stored in association with the control device identification information together with the information indicating that the device is operating. This makes it possible to easily determine which control device is processing a request from which client device.
  • FIG. 3 is a diagram illustrating a storage example in the second table. As shown in FIG. 3, the identification information of the first device and the type of the client device are stored in the second table in association with each other. By referring to the second table, it is possible to easily determine which first device is a device that controls which type of client device.
  • FIG. 4 is a diagram illustrating a storage example in the third table.
  • the third table stores the identification information of the second device and the type of request in association with each other.
  • the third table it is possible to easily determine which second device is a device that processes data according to which type of request.
  • FIG. 5 is a sequence diagram illustrating an operation example of the system according to the first embodiment.
  • An operation example of the system 1 when the client device 21 requests the server device 30 to process data will be described with reference to FIG. Note that the operation when the client device 22 makes a request is the same as the operation when the client device 21 makes a request, and a description thereof will be omitted.
  • Step 11 First, the user device 11 approaches the client device 21, and data is input to the client device 21.
  • the client device 21 is a POS terminal installed in a supermarket
  • the user device 11 is a smartphone capable of short-range wireless communication with a reader / writer device included in the client device 21, and data is purchased by the user of the user device 11. Is the price information (1,000 yen) of the product desired.
  • Step 12 the client device 21 transmits the input data, the type of the request, and the type of the client device to the server device 30 via the network 40.
  • the type of request is a settlement process according to a first method (for example, the method of Suica (registered trademark)), and the type of the client device is information indicating a POS terminal.
  • Step 13 the server device 30 receives the data input to the client device 21, the type of the request, and the type of the client device by the transmitting / receiving device 31, and the transmitting / receiving device 31 receives the received data, the type of the request, , And the type of the client device are output to the management device 32.
  • Step 14 the management device 32 selects one control device from among the plurality of control devices 331 and 332, and sends the data input from the transmission / reception device 31, the type of request, and the client device to the selected one control device. Output the type.
  • the control device 331 is selected.
  • the control device 331 selects one of the first devices A and B based on the type of the client device input from the management device 32.
  • the first device A is a first device that controls a POS terminal
  • the first device B is a first device that controls a ticket gate at a station. Since the type of the client device is information indicating the POS terminal, the control device 331 selects the first device A that controls the POS terminal.
  • the selected one first device A selects one second device from the plurality of second devices P, Q, and R based on the type of the request input from the management device.
  • the second device P is a second device that performs a payment process according to the first method
  • the second device Q is a second device that performs a payment process according to the second method
  • the second device R is a second device that performs a process of checking commuter pass information. Since the type of the request is the settlement process according to the first method, the first device A selects the second device P that performs the settlement process according to the first method.
  • the selected one second device P processes the data input from the management device 32. Since the data input from the management device 32 is the price information (1,000 yen) of the product, the second device P performs the short-range wireless communication with the client device 21 in the user device 11 according to the first method. , A process of reducing the balance of electronic money prescribed by the first method by 1,000 yen. Thereafter, the second device P outputs to the first device A information indicating payment completion (or payment success) or information indicating payment incomplete (or payment failure) according to the execution result. Here, it is assumed that information indicating completion of payment is output from the second device P to the first device A.
  • Step 18 the selected one first device A outputs a control signal of the client device based on the processing result of the selected second device P. That is, when information indicating the completion of payment is output from the second device P, a control signal instructing output of a sound or display indicating the completion of payment is output, and when information indicating completion of payment is output, And outputs a control signal for instructing output such as a sound or display indicating that payment has not been completed.
  • a control signal including an output of a sound indicating completion of settlement and information for instructing blinking of an LED is output.
  • the output control signal is output from the first device A, and then transmitted to the client device 21 via the management device 32, the transmission / reception device 31, and the network 40.
  • the first device A After the information is output from the second device P, the first device A performs a predetermined process (including transmission of a command to the client device and reception of a response from the client device) before outputting the control signal. ) May be performed.
  • Step 19 the client device receives the control signal and executes it. Since the control signal output from the first device A is a signal for outputting a sound indicating completion of settlement and for instructing the blinking of the LED, the client device outputs a sound indicating completion of settlement by executing the control signal. Blink the LED.
  • the server device includes the first device that controls the client device and the second device that processes data in response to a request from the client device, and the two devices control the client device. And data processing are respectively performed. Therefore, development and control can be performed separately from the control of the client device and the data processing, thereby shortening the development period and diverting existing assets (control methods and data of the client device which has already been developed and operated). Can be used as it is).
  • the server device can process data input to each client device and appropriately control each client device. For example, while checking the validity of commuter pass information, which is data input to a ticket gate at a station, and opening and closing the door of the ticket gate, settlement based on price information, which is data input to a POS terminal of a supermarket, To make the POS terminal output a sound indicating the completion of payment.
  • commuter pass information which is data input to a ticket gate at a station
  • price information which is data input to a POS terminal of a supermarket
  • the server device includes a plurality of control devices, and the requests from the plurality of client devices can be processed by each of the plurality of control devices. Therefore, by increasing or decreasing the number of control devices provided in the server device according to the use environment or the like, requests from a plurality of client devices can be processed in parallel and at high speed within a necessary and sufficient range.
  • FIG. 6 is a diagram illustrating a configuration example of a server device according to the second embodiment.
  • the second embodiment is different from the first embodiment in the configuration of the server device 30, and the other configurations are the same as the first embodiment.
  • the configuration of the server device 30 according to the second embodiment will be described, focusing on differences from the first embodiment.
  • the control device 332 has first devices A, B, and a second device P, similarly to the control device 331, and the control device 334 has the same configuration as the control device 333.
  • First device A, B, and a second device Q is a diagram illustrating a configuration example of a server device according to the second embodiment.
  • the second embodiment is different from the first embodiment in the configuration of the server device 30, and the other configurations are the same as the first embodiment.
  • the configuration of the server device 30 according to the second embodiment will be described, focusing on differences from the first embodiment.
  • the control device 332 has first devices A, B, and a second device P, similarly to the control device 331, and the control device
  • the transmission / reception device 33 transmits the data input to the plurality of client devices 21 and 22 from the plurality of client devices 21 and 22 via the network 40, the type of request, and the client.
  • the device type is received.
  • the transmission / reception device 33 further selects one management device from the plurality of management devices 321 and 322 based on the type of the received request, and transmits the data received by the selected one management device. And the type of the client device. This selection is performed, for example, by reading the identification information associated with the type of the received request from the fourth table shown in FIG. 7 in which the identification information of the management device and the type of the request are stored in association with each other. This can be performed by selecting a management device selected by the read identification information.
  • the server device 30 includes a plurality of management devices 321 and 322.
  • the data and the type of the client device are input from the transmission / reception device 31 to the plurality of management devices 321 and 322.
  • a plurality of control devices are assigned to each of the plurality of management devices 321 and 322.
  • the control devices 331 and 332 are assigned to the management device 321, and the control devices 333 and 334 are assigned to the management device 322.
  • the one management device selected as the transmission / reception device 31 selects one control device from the plurality of control devices, and outputs the data input from the transmission / reception device and the type of the client device to the selected one control device. I do.
  • one control device is selected from the control devices 331 and 332 assigned to itself, and in the case of the management device 322, the control device 333 and 334 assigned to itself is selected. Select one control device from the list. This selection can be performed using, for example, the first table shown in FIG. 2 as in the first embodiment.
  • the number of management devices included in the server device 30 may be two or more, and may be three or more, or four or more.
  • the plurality of control devices 331, 332, 333, and 334 include a plurality of first devices A and one second device. However, the control devices assigned to the same management device have the same second device, but the control devices assigned to different management devices have different second devices.
  • the control devices 331 and 332 assigned to the management device 321 include the same second device P (eg, a second device that performs a settlement process according to the first method) and are assigned to the management device 322.
  • the control devices 333 and 334 have the same second device Q (eg, a second device that performs a process of checking commuter pass information).
  • the second device P included in the control devices 331 and 332 assigned to the management device 321 and the second device Q included in the control devices 333 and 334 assigned to the management device 322 have a format of data to be processed. , Data contents, and / or data processing methods are different.
  • the one control device selected as the management device selects one first device from among the plurality of first devices based on the type of the client device input from the management device, and selects the one selected first device. Outputs a control signal of the client device based on the result of the process in the second device. This selection can be performed using, for example, the second table shown in FIG. 3 as in the first embodiment.
  • the second device included in the control device (the control device is selected by the management device using, for example, the first table illustrated in FIG. 2) processes data input from the management device.
  • the number of control devices assigned to one management device may be two or more, and may be three or more, or four or more.
  • FIG. 7 is a diagram illustrating a storage example in the fourth table.
  • the identification information of the management device and the type of the request are stored in association with each other.
  • the control devices C and D are assigned to the management device A
  • the control devices E and F are assigned to the management device B
  • the control devices C and D each have the second device P.
  • the devices E and F each have the second device Q
  • the type of the request that can process data by the second device P is X
  • the data can be processed by the second device Q.
  • the request type is Y
  • the request type X is stored in association with the identification information of the management device A
  • the request type Y is stored in association with the identification information of the management device B.
  • FIG. 8 is a sequence diagram illustrating an operation example of the system according to the second embodiment.
  • an example of the operation of the system when the client device 21 requests the server device 30 to process data will be described. Note that the operation when the client device 22 makes a request is the same as the operation when the client device 21 makes a request, and a description thereof will be omitted.
  • Step 21 First, the user device 11 approaches the client device 21, and data is input to the client device 21.
  • the client device 21 is a POS terminal installed in a supermarket
  • the user device 11 is a smartphone capable of short-range wireless communication with a reader / writer device included in the client device 21, and data is purchased by the user of the user device 11. Is the price information (1,000 yen) of the product desired.
  • the client device 21 transmits the input data, the type of the request, and the type of the client device to the server device 30 via the network 40.
  • the type of request is a settlement process according to a first method (for example, the method of Suica (registered trademark)), and the type of the client device is information indicating a POS terminal.
  • the server device 30 receives the data input to the client device 21, the type of the request, and the type of the client device at the transmitting / receiving device 31, and the transmitting / receiving device 31 receives one of the data based on the received request type. And outputs the received data and the type of the client device to the selected one management device.
  • the control devices 331 and 332 assigned to the management device 321 include a second device P that performs settlement processing according to the first method.
  • the control devices 333 and 334 assigned to the management device 322 include: It is assumed that a second device Q that performs a settlement process according to the second method is provided. Since the type of the request is the settlement process using the first method, the transmission / reception device 31 is assigned to the control device 331 or 332 including the second device P that performs the settlement process according to the first method. Device 321 is selected.
  • Step 24 the management device 321 selects one control device from the plurality of control devices 331 and 332, and outputs the data input from the transmission / reception device 31 and the type of the client device to the selected one control device. I do. Here, it is assumed that the control device 331 is selected.
  • Step 25 the control device 331 selects one of the first devices A and B based on the type of the client device input from the management device 32.
  • the first device A is a first device that controls a POS terminal
  • the first device B is a first device that controls a ticket gate at a station. Since the type of the client device is information indicating the POS terminal, the control device 331 selects the first device A that controls the POS terminal.
  • the second device P included in the control device 331 processes the data input from the management device 321. Since the data input from the management device 321 is the price information of the product (1,000 yen), the second device P uses the user device 11 that performs short-range wireless communication with the client device 21 according to the first method. It is assumed that a process for reducing the electronic money balance prescribed by the first method by 1,000 yen is executed. Thereafter, the second device P outputs to the first device A information indicating payment completion (or payment success) or information indicating payment incomplete (or payment failure) according to the execution result. Here, it is assumed that information indicating completion of payment is output from the second device P to the first device A.
  • Step 27 the selected one first device A outputs a control signal of the client device based on the result of the processing in the second device P. That is, when information indicating the completion of payment is output from the second device P, a control signal instructing output of a sound or display indicating the completion of payment is output, and when information indicating completion of payment is output, And outputs a control signal for instructing output such as a sound or display indicating that payment has not been completed.
  • a control signal including an output of a sound indicating completion of settlement and information for instructing blinking of an LED is output.
  • the output control signal is output from the first device A, and then transmitted to the client device 21 via the management device 32, the transmission / reception device 31, and the network 40.
  • the first device A After the information is output from the second device P, the first device A performs a predetermined process (including transmission of a command to the client device and reception of a response from the client device) before outputting the control signal. ) May be performed.
  • Step28 the client device receives the control signal and executes it. Since the control signal output from the first device A is a signal for outputting a sound indicating completion of settlement and for instructing the blinking of the LED, the client device outputs a sound indicating completion of settlement by executing the control signal. Blink the LED.
  • the same effect as the first embodiment can be obtained.
  • the memory space on the storage device included in the server device 30 can be divided for each management device (for example, the management device P can read / write data from / to the memory area A in the memory space).
  • the management device Q can be given read / write authority to the memory area B in the memory space), so that the second device P can peek into or destroy the memory region B of the second device Q.
  • the second device Q can be prevented from seeing or destroying the memory area A of the second device P. Therefore, for example, the memory area used by the settlement processing according to the first method and the memory area used by the settlement processing according to the second method can be separated to enhance security.
  • each of the above-mentioned requests and each of the data may be composed of one data, or may be composed of a plurality of data.
  • the transmission of each request and each data described above may be transmitted in one transmission, or may be transmitted in a plurality of transmissions.
  • the reception of each request and each data described above may be received in one reception, or may be received in a plurality of receptions.
  • "a certain request X or certain data Y includes certain data Z” includes not only a case where the request X or the data Y includes the data Z itself but also a case where the data Z which can specify the certain data Z is included. This includes the case that includes data other than the data itself.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

In order to enable shortening development time and diverting already existing assets, this server device is connected to multiple client devices over a network and is provided with a management device and multiple control devices which comprise multiple first devices and multiple second devices. The management device selects one control device from the multiple control devices, and outputs, to the selected one control device, data inputted from a transmitting/receiving device, a request type and a client device type. The selected one control device selects one first device from the multiple first devices on the basis of the type of the client device inputted from the management device, the selected one first device selects one second device from multiple second devices on the basis of the request type inputted from the management device and outputs a control signal of the client device on the basis of processing results in the second device, and the selected one second device processes the data inputted from the management device.

Description

サーバ装置及びシステムServer device and system
 本開示はサーバ装置及びシステムに関する。 (4) The present disclosure relates to server devices and systems.
 サーバ側耐タンパ装置、サーバ、クライアント、およびクライアント側耐タンパ装置からなる情報処理システムが提案されている(特許文献1参照)。 An information processing system including a server-side tamper-resistant device, a server, a client, and a client-side tamper-resistant device has been proposed (see Patent Document 1).
特開2005-198205号公報JP 2005-198205 A
 しかしながら、特許文献1のサーバでは、クライアントに対する処理と、クライアント側耐タンパ装置に対する処理と、を切り離して開発や制御などすることができない虞がある。 However, in the server of Patent Literature 1, there is a possibility that the processing for the client and the processing for the tamper-resistant device on the client side cannot be separated and development and control cannot be performed.
 上記の課題は、例えば、次の本発明の一実施形態により解決することができる。 課題 The above problem can be solved, for example, by the following embodiment of the present invention.
 複数のクライアント装置にネットワークを介して接続され、
 前記クライアント装置から前記ネットワークを介して前記クライアント装置に入力されたデータと要求の種別と前記クライアント装置の種別とを受信する送受信装置と、
 前記送受信装置から前記データと前記要求の種別と前記クライアント装置の種別とを入力される管理装置と、
 複数の第1装置と複数の第2装置とを有する複数の制御装置と、を備え、
 前記管理装置は、前記複数の制御装置の中から一の制御装置を選択し、前記選択した一の制御装置に前記送受信装置から入力されたデータと要求の種別とクライアント装置の種別とを出力し、
 前記選択された一の制御装置は、前記管理装置から入力されたクライアント装置の種別に基づいて前記複数の第1装置の中から一の第1装置を選択し、
 前記選択された一の第1装置は、前記管理装置から入力された要求の種別に基づいて前記複数の第2装置の中から一の第2装置を選択し、前記第2装置における処理の結果に基づいて、前記クライアント装置の制御信号を出力し、
 前記選択された一の第2装置は、前記管理装置から入力されたデータを処理するサーバ装置。
Connected to a plurality of client devices via a network,
A transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device,
A management device to which the data, the type of the request, and the type of the client device are input from the transmitting / receiving device,
A plurality of control devices having a plurality of first devices and a plurality of second devices,
The management device selects one control device from the plurality of control devices, and outputs to the selected one control device data input from the transmission / reception device, a request type, and a client device type. ,
The selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device,
The selected one first device selects one second device from the plurality of second devices based on a type of request input from the management device, and a result of the processing in the second device Based on the, output a control signal of the client device,
The selected one second device is a server device that processes data input from the management device.
 複数のクライアント装置にネットワークを介して接続され、
 前記クライアント装置から前記ネットワークを介して前記クライアント装置に入力されたデータと要求の種別と前記クライアント装置の種別とを受信する送受信装置と、
 前記送受信装置から前記データと前記クライアント装置の種別とを入力される複数の管理装置と、
 複数の第1装置と一の第2装置とを有する複数の制御装置と、を備え、
 前記送受信装置は、前記受信した要求の種別に基づいて前記複数の管理装置の中から一の管理装置を選択し、前記選択した一の管理装置に前記受信したデータとクライアント装置の種別とを出力し、
 前記選択された一の管理装置は、前記複数の制御装置の中から一の制御装置を選択し、前記選択した一の制御装置に前記送受信装置から入力されたデータとクライアント装置の種別とを出力し、
 前記選択された一の制御装置は、前記管理装置から入力されたクライアント装置の種別に基づいて前記複数の第1装置の中から一の第1装置を選択し、
 前記選択された一の第1装置は、前記第2装置における処理の結果に基づいて、前記クライアント装置の制御信号を出力し、
 前記第2装置は、前記管理装置から入力されたデータを処理するサーバ装置。
Connected to a plurality of client devices via a network,
A transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device,
A plurality of management devices to which the data and the type of the client device are input from the transmission / reception device,
A plurality of control devices having a plurality of first devices and one second device,
The transmitting / receiving device selects one management device from the plurality of management devices based on the type of the received request, and outputs the received data and the type of the client device to the selected one management device. And
The selected one management device selects one control device from the plurality of control devices, and outputs data input from the transmission / reception device and a type of the client device to the selected one control device. And
The selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device,
The one selected first device outputs a control signal of the client device based on a result of the process in the second device,
The second device is a server device that processes data input from the management device.
 前記サーバ装置と、前記サーバ装置に前記ネットワークを介して接続される前記複数のクライアント装置と、を備えたシステム。 シ ス テ ム A system comprising the server device and the plurality of client devices connected to the server device via the network.
 本発明の一実施形態によれば、サーバ装置が、クライアント装置を制御する第1装置と、クライアント装置からの要求に応じてデータの処理を行う第2装置と、を備え、両装置によりクライアント装置の制御とデータの処理をそれぞれ実行する。したがって、クライアント装置の制御とデータの処理とを互いに切り離して開発や制御などを行うことができ、開発期間の短縮や既存資産の流用(既に開発や運用などしているクライアント装置の制御方法やデータの処理方法をそのまま利用すること)が可能となる。 According to an embodiment of the present invention, a server device includes a first device that controls a client device, and a second device that processes data in response to a request from the client device, and both devices use the client device. Control and data processing, respectively. Therefore, development and control can be performed separately from the control of the client device and the data processing, thereby shortening the development period and diverting existing assets (control methods and data of the client device which has already been developed and operated). Can be used as it is).
実施形態1に係るシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a system according to a first embodiment. 第1テーブルにおける記憶例を示す図である。FIG. 6 is a diagram illustrating a storage example in a first table. 第2テーブルにおける記憶例を示す図である。It is a figure showing the example of storage in the 2nd table. 第3テーブルにおける記憶例を示す図である。It is a figure showing the example of storage in the 3rd table. 実施形態1に係るシステムの動作例を示す図である。FIG. 4 is a diagram illustrating an operation example of the system according to the first embodiment. 実施形態2に係るサーバの構成例を示す図である。FIG. 9 is a diagram illustrating a configuration example of a server according to a second embodiment. 第4テーブルにおける記憶例を示す図である。It is a figure showing the example of storage in the 4th table. 実施形態2に係るシステムの動作例を示す図である。FIG. 9 is a diagram illustrating an operation example of a system according to a second embodiment.
[実施形態1に係るシステム1]
 図1は実施形態1に係るシステムの構成例を示す図である。図1に示すように、システム1は、複数のユーザ装置11、12と、複数のクライアント装置21、22と、サーバ装置30と、を備えている。複数のクライアント装置21、22はネットワーク40を介してサーバ装置30に接続される。以下、詳細に説明する。なお、図1における図示は省略するが、制御装置332も、制御装置331と同様に、第1装置A、B、第2装置P、Q、Rを有しているものとする。
[System 1 according to Embodiment 1]
FIG. 1 is a diagram illustrating a configuration example of a system according to the first embodiment. As illustrated in FIG. 1, the system 1 includes a plurality of user devices 11 and 12, a plurality of client devices 21 and 22, and a server device 30. The plurality of client devices 21 and 22 are connected to the server device 30 via the network 40. The details will be described below. Although not shown in FIG. 1, it is assumed that the control device 332 has first devices A and B and second devices P, Q and R, similarly to the control device 331.
(複数のユーザ装置11、12)
 複数のユーザ装置11、12は、ユーザが所有し操作する装置である。複数のユーザ装置11、12には、非接触ICチップや非接触ICチップ機能などが内蔵された、スマートフォンや、ICカード(Integrated Circuit Card)ないしはスマートカード(Smart Card)などが含まれる。ユーザ装置は、例えば、電子マネーの残高のほか、氏名、生年月日、性別、住所などの個人情報、カードID、カードの有効期限、フロアリミット、カード使用履歴、定期券情報、及び/又はこれらの情報が符号化された画像データなどを記憶している。なお、本明細書における「画像データ」にはQRコード(登録商標)などの2次元バーコードが含まれる。
(Plural user devices 11, 12)
The plurality of user devices 11 and 12 are devices owned and operated by the user. The plurality of user devices 11 and 12 include a smartphone, an IC card (Integrated Circuit Card) or a smart card (Smart Card) in which a non-contact IC chip or a non-contact IC chip function is incorporated. The user device includes, for example, electronic money balance, personal information such as name, date of birth, gender, address, card ID, card expiration date, floor limit, card usage history, commuter pass information, and / or Is stored as encoded image data. The “image data” in this specification includes a two-dimensional barcode such as a QR code (registered trademark).
 システム1が有するユーザ装置の数は2つ以上であればよく、3つ以上、あるいは4つ以上であってもよい。 The number of user devices in the system 1 may be two or more, and may be three or more, or four or more.
(複数のクライアント装置21、22)
 複数のクライアント装置21、22は、複数のクライアント装置21、22には、スーパーマーケットやコンビニエンスストアに設置されたPOS端末、駅の改札口に設置された改札機、高速道路の出入り口に設置されたETC(Electronic Toll Collection)装置、役所に設置された端末、遊園地、映画館、動物園などのレジャー施設に設置された端末(入場時及び/又は退場時に課金を行う端末)、レストランなどの飲食店のレジなどが含まれる。複数のクライアント装置21、22には、種別が異なるクライアント装置を含めることができる。クライアント装置の種別は、クライアント装置の種類を識別する情報であり、異なる制御信号で動作するクライアン装置は互いに種別が異なる。
(Plural client devices 21 and 22)
The plurality of client devices 21 and 22 include a POS terminal installed at a supermarket or a convenience store, a ticket gate installed at a ticket gate of a station, and an ETC installed at an entrance of an expressway. (Electronic Toll Collection) devices, terminals installed in government offices, terminals installed in leisure facilities such as amusement parks, movie theaters, zoos (terminals that charge when entering and / or exiting), restaurants and other restaurants Cash register etc. are included. The plurality of client devices 21 and 22 can include client devices of different types. The type of the client device is information for identifying the type of the client device, and the types of client devices operating with different control signals are different from each other.
 複数のユーザ装置11、12が複数のクライアント装置21、22に近接した際、複数のクライアント装置21、22にはデータがそれぞれ入力される。本実施形態では、ユーザ装置11がクライアント装置21に近接し、ユーザ装置12がクライアント装置22に近接するものとする。データの入力は、例えば、キーボードやタッチパネルなどの入力装置を操作したり、POS端末で商品の包装に付された画像データを読み取ったり、ユーザ装置のディスプレイに表示される画像データをカメラ装置で読み取ったりなどすることにより、クライアント装置に入力される。データには、商品の価格情報、定期券情報、ユーザアカウント、カードID、電子マネーの残高情報、クレジットカードの有効期限などが含まれる。 When the plurality of user devices 11 and 12 approach the plurality of client devices 21 and 22, data is input to the plurality of client devices 21 and 22, respectively. In the present embodiment, it is assumed that the user device 11 approaches the client device 21 and the user device 12 approaches the client device 22. The input of data is performed, for example, by operating an input device such as a keyboard or a touch panel, reading image data attached to a product package with a POS terminal, or reading image data displayed on a display of a user device with a camera device. For example, the data is input to the client device. The data includes product price information, commuter pass information, user account, card ID, electronic money balance information, credit card expiration date, and the like.
 複数のクライアント装置21、22は、入力されたデータと、要求の種別と、クライアント装置の種別とを、ネットワーク40を介してサーバ装置30に送信し、入力されたデータの処理をサーバ装置30に要求する。クライアント装置21からの要求と、クライアント装置22からの要求とは、互いに独立に送信されるものとし、サーバ装置30は、各クライアント装置から受信した各要求を並列で処理することができる。なお、複数のクライアント装置21、22は、入力されたデータと、要求の種別と、クライアント装置の種別と、に加えて、クライアント装置を識別するクライアント装置識別情報をサーバ装置30に送信してもよい。このようにすれば、サーバ装置30において、どのクライアント装置から要求が送信されてきたのかを容易に把握することができる。 The plurality of client devices 21 and 22 transmit the input data, the type of the request, and the type of the client device to the server device 30 via the network 40, and process the input data to the server device 30. Request. The request from the client device 21 and the request from the client device 22 are transmitted independently of each other, and the server device 30 can process each request received from each client device in parallel. Note that the plurality of client devices 21 and 22 may transmit the client device identification information for identifying the client device to the server device 30 in addition to the input data, the request type, and the client device type. Good. In this way, the server device 30 can easily grasp from which client device the request has been transmitted.
 要求の種別とは、データの処理方法を示す情報である。例えば、クライアント装置がスーパーマーケットに設置されたPOS端末であり、クライアント装置に入力されたデータが価格情報であり、この価格情報に基づいて第1の方式で決済を行うことをサーバ装置に要求する場合には、第1の方式での決済処理を示す情報が要求の種別となる。また、例えば、クライアント装置が駅の改札機であり、クライアント装置に入力されたデータが定期券情報であり、この定期券情報が有効であることの確認をサーバ装置に要求する場合には、定期券情報の確認処理を示す情報が要求の種別となる。なお、Suica(登録商標)での決済処理を示す場合とEdy(登録商標)での決済処理を示す場合とでは、決済処理の方式が異なり、要求の種別が異なる。 The request type is information indicating a data processing method. For example, when the client device is a POS terminal installed in a supermarket, the data input to the client device is price information, and a request is made to the server device to make a payment by the first method based on the price information. , The information indicating the settlement processing in the first method is the type of the request. For example, if the client device is a ticket gate at a station, the data input to the client device is commuter pass information, and the server device requests the server device to confirm that the commuter pass information is valid, Information indicating ticket information confirmation processing is the type of request. It should be noted that the method of the settlement process differs between the case of indicating the settlement process in Suica (registered trademark) and the case of indicating the settlement process in Edy (registered trademark), and the type of request is different.
 複数のクライアント装置21、22は、接触通信または近距離無線通信または画像読み取りなどにより複数のユーザ装置11、12との間でデータを送受信するリーダライタ装置などを備えていてもよい。このようにすれば、サーバ装置30は、複数のクライアント装置21、22を介して複数のユーザ装置11、12と通信行うことにより(例:鍵情報を用いた相互認証、ユーザデータのリード/ライトを行うコマンドの送受信、コマンドの実行結果を示すレスポンスの送受信)、複数のクライアント装置21、22から要求されたデータの処理を実行することができる。近距離無線通信には、NFC(Near Field Communication)などのようにクライアント装置とユーザ装置が非接触で通信を行う方式のほか、接触通信はISO7816などのようにクライアント装置とユーザ装置が接触して通信を行う方式が含まれる。 The plurality of client devices 21 and 22 may include a reader / writer device that transmits and receives data to and from the plurality of user devices 11 and 12 by contact communication, short-range wireless communication, image reading, or the like. In this way, the server device 30 communicates with the plurality of user devices 11 and 12 via the plurality of client devices 21 and 22 (eg, mutual authentication using key information, reading / writing of user data). And transmission and reception of a response indicating the execution result of the command), and processing of data requested by the plurality of client devices 21 and 22. The short-range wireless communication includes a method in which a client device and a user device communicate without contact, such as NFC (Near Field Communication), and a contact communication, in which a client device and a user device contact each other, such as ISO7816. A method for performing communication is included.
 システム1が有するクライアント装置の数は2つ以上であればよく、3つ以上、あるいは4つ以上であってもよい。 The number of client devices in the system 1 may be two or more, and may be three or more, or four or more.
(サーバ装置30)
 サーバ装置30は、複数のクライアント装置21、22からの要求に応じてデータを処理しつつ、複数のクライアント装置21、22を制御する装置であり、複数のクライアント装置21、22にネットワーク40を介して接続される。ネットワーク40は例えばインターネットである。複数のクライアント装置21、22とサーバ装置30との間の通信は例えばHTTPS、TCP/IP、またはUDPなどのプロトコルに従って行われる。サーバ装置30は例えばCPUなどの演算装置とRAMやハードディスクなどからなる記憶装置を備えている。記憶装置には例えばプログラムやデータ(後述する各テーブルを含む。)が記憶されている。サーバ装置30は、例えば演算装置が記憶装置からプログラムを読み出し実行することにより動作する。後述の送受信装置31、管理装置32、制御装置331、332、第1装置A、B、及び第2装置P、Q、Rは、例えば、演算装置が記憶装置からプログラムを読み出し実行することにより実現することができる。つまり、プログラムを実行する演算装置が管理装置32や制御装置331、332などとして動作する。
(Server device 30)
The server device 30 is a device that controls the plurality of client devices 21 and 22 while processing data in response to requests from the plurality of client devices 21 and 22, and is connected to the plurality of client devices 21 and 22 via the network 40. Connected. The network 40 is, for example, the Internet. Communication between the plurality of client devices 21 and 22 and the server device 30 is performed according to a protocol such as HTTPS, TCP / IP, or UDP. The server device 30 includes, for example, an arithmetic device such as a CPU and a storage device including a RAM and a hard disk. The storage device stores, for example, programs and data (including each table described later). The server device 30 operates by, for example, an arithmetic device reading a program from a storage device and executing the program. The transmission / reception device 31, the management device 32, the control devices 331, 332, the first devices A, B, and the second devices P, Q, R, which will be described later, are realized by, for example, an arithmetic device reading a program from a storage device and executing the program. can do. That is, the arithmetic device that executes the program operates as the management device 32, the control devices 331, 332, and the like.
 システム1が有するサーバ装置の数は2つであってもよいし、3つであってもよいし、4つ以上であってもよい。この場合、クライアント装置は、データの処理を要求するサーバ装置を切り替えることができる。また、例えば、ある地域や商業施設などに配置される1つ以上のクライアント装置の通信先を一のサーバ装置に設定し、他の地域や商業施設などに配置される1つ以上のクライアント装置の通信先を他のサーバ装置に設定することにより、サーバ装置の負荷を軽減することができる。また、1つのサーバ装置の処理は、複数の装置に分散されていてもよい。この場合は、クライアント装置からみたときに、実質的に1台のサーバ装置が動作しているように見えるため、当該複数の装置全体を1つのサーバ装置とみなすことができる。 The number of server devices included in the system 1 may be two, three, or four or more. In this case, the client device can switch the server device that requests data processing. Further, for example, the communication destination of one or more client devices arranged in a certain area or a commercial facility is set to one server device, and the communication destination of one or more client devices arranged in another area or a commercial facility is set. By setting the communication destination to another server device, the load on the server device can be reduced. Further, the processing of one server device may be distributed to a plurality of devices. In this case, when viewed from the client device, substantially one server device appears to be operating, so that the entire plurality of devices can be regarded as one server device.
(送受信装置31、管理装置32、複数の制御装置331、332)
 サーバ装置30は、送受信装置31、管理装置32、及び複数の制御装置331、332を備えている。以下、各装置について説明する。
(Transceiving device 31, management device 32, multiple control devices 331, 332)
The server device 30 includes a transmission / reception device 31, a management device 32, and a plurality of control devices 331 and 332. Hereinafter, each device will be described.
 送受信装置31は、データの送受信を管理する装置であり、複数のクライアント装置21、22からネットワーク40を介して、複数のクライアント装置21、22に入力されたデータ、要求の種別、及びクライアント装置の種別を受信する。また、送受信装置31は、管理装置32から出力されたデータをネットワーク40を介して複数のクライアント装置21、22に送信する。送受信装置31は、例えばパケットの形式で送受信を行うことができる。送受信装置31は、データの送受信にあたり、ネットワーク40上に設定される伝送路の暗号化を行ってもよい。 The transmission / reception device 31 is a device that manages transmission / reception of data. The transmission / reception device 31 receives data input from the plurality of client devices 21 and 22 to the plurality of client devices 21 and 22 via the network 40, the type of request, and the client device. Receive the type. The transmission / reception device 31 transmits the data output from the management device 32 to the plurality of client devices 21 and 22 via the network 40. The transmission / reception device 31 can perform transmission / reception in a packet format, for example. The transmission / reception device 31 may encrypt a transmission path set on the network 40 when transmitting / receiving data.
 管理装置32は、複数の制御装置331、332を管理する装置であり、送受信装置31から、データと、要求の種別と、クライアント装置の種別と、を入力される。本実施形態では、管理装置32の数は1つである。管理装置32は、複数の制御装置331、332の中から一の制御装置を選択し、選択した一の制御装置に送受信装置31から入力されたデータと、要求の種別と、クライアント装置の種別とを出力する。管理装置32による一の制御装置の選択は、例えば、未稼働の状態にある制御装置を一の制御装置として選択することにより実行することができる。この選択は、例えば、図2に示す、制御装置の識別情報と稼働中であることを示す情報とが対応付けて記憶される第1テーブルから、稼働中であることを示す情報が対応付けられていない識別情報を読み出し、この読み出した識別情報により選択される制御装置を選択することにより行うことができる。この場合、管理装置32は、一の制御装置の選択後、第1テーブルにおいて、選択した制御装置の識別情報に対応付けて稼働中であることを示す情報を記憶する。 The management device 32 manages the plurality of control devices 331 and 332, and receives data, a request type, and a client device type from the transmission / reception device 31. In the present embodiment, the number of the management devices 32 is one. The management device 32 selects one control device from the plurality of control devices 331 and 332, and inputs the data input from the transmission / reception device 31 to the selected one control device, the request type, the client device type, and the like. Is output. The selection of one control device by the management device 32 can be executed, for example, by selecting a non-operating control device as one control device. This selection is made by, for example, associating information indicating that the device is in operation from the first table shown in FIG. 2 in which the identification information of the control device and the information indicating that the device is in operation are stored in association with each other. This can be performed by reading out the identification information that has not been read and selecting the control device selected by the read out identification information. In this case, after selecting one control device, the management device 32 stores information indicating that the device is in operation in the first table in association with the identification information of the selected control device.
(制御装置331、332)
 制御装置331、332は、クライアント装置21、22からの要求を処理する装置である。一のクライアント装置からの要求は一の制御装置により処理される。したがって、サーバ装置30がn個(nは2以上の整数)の制御装置を有する場合には、n個のクライアント装置からの要求を並列して処理することができる。サーバ装置30が有する制御装置の数は2つ以上であればよく、3つ以上、あるいは4つ以上であってもよい。
(Control devices 331, 332)
The control devices 331 and 332 are devices that process requests from the client devices 21 and 22. Requests from one client device are processed by one control device. Therefore, when the server device 30 has n (n is an integer of 2 or more) control devices, requests from n client devices can be processed in parallel. The number of control devices included in the server device 30 may be two or more, and may be three or more, or four or more.
 制御装置331、332は、同一の構成を有しており、それぞれ、複数のクライアント装置21、22を制御する複数の第1装置A、Bと、クライアント装置からの要求に応じてデータを処理する複数の第2装置P、Q、Rと、を有する。一の制御装置が有する第1装置及び第2装置の数は限定されないが、1つの制御装置が有する複数の第1装置A、Bは、異なる種別のクライアント装置を制御する第1装置により構成される。例えば、1つの制御装置が2つの第1装置A、Bを有する場合、1つ目の第1装置Aはコンビニに置かれる決済端末のディスプレイ表示や音を制御する装置であり、2つ目の第1装置Bは、駅に設置された改札機の扉の開閉を制御する装置とすることができる。また、1つの制御装置が有する複数の第2装置P、Qは、互いに異なる種別の処理を実行する。例えば、1つの制御装置が3つの第2装置P、Q、Rを有する場合、1つ目の第2装置Pは第1の方式に従った決済処理を実行する装置であり、2つ目の第2装置Qは第2の方式に従った決済処理を実行する装置であり、3つ目の第2装置Rは定期券情報の確認処理を実行する装置とすることができる。 The control devices 331 and 332 have the same configuration, and process data in response to requests from the client devices and the first devices A and B that control the client devices 21 and 22, respectively. And a plurality of second devices P, Q, and R. The number of first devices and second devices included in one control device is not limited, but the plurality of first devices A and B included in one control device are configured by first devices that control different types of client devices. You. For example, when one control device has two first devices A and B, the first first device A is a device that controls the display display and sound of a payment terminal placed in a convenience store, The first device B can be a device that controls opening and closing of a door of a ticket gate installed at a station. In addition, the plurality of second devices P and Q included in one control device execute different types of processing. For example, when one control device includes three second devices P, Q, and R, the first second device P is a device that executes a payment process according to the first method, and the second device P is a second device. The second device Q is a device that executes a payment process according to the second method, and the third second device R can be a device that executes a process of checking commuter pass information.
 制御装置331、332は、管理装置32から入力されたクライアント装置の種別に基づいて複数の第1装置A、Bの中から一の第1装置を選択する。この選択は、例えば、図3に示す、第1装置の識別情報とクライアント装置の種別とを対応付けて記憶する第2テーブルから、管理装置から入力されたクライアント装置の種別に対応付けて記憶されている第1装置の識別情報を読み出し、この読み出した第1装置の識別情報により識別される第1装置を選択することにより行うことができる。選択された一の第1装置は、管理装置32から入力された要求の種別に基づいて複数の第2装置P、Q、Rの中から一の第2装置を選択し、選択した一の第2装置における処理の結果に基づいて、クライアント装置の制御信号を出力する。この選択は、例えば、図4に示す、第2装置の識別情報と要求の種別とを対応付けて記憶する第3テーブルから、管理装置から入力された要求の種別に対応付けて記憶されている第2装置の識別情報を読み出し、この読み出した第2装置の識別情報により識別される第2装置を選択することにより行うことができる。第1装置A、Bから出力された制御信号は、管理装置32、送受信装置31、ネットワーク40を介して複数のクライアント装置21、22に送信される。例えば、クライアント装置からクライアント装置識別情報を受信しており、この情報が図2に示す第1テーブルに記憶されている場合、送受信装置31や管理装置32は、この情報により識別されるクライアント装置に対して制御信号を送信することができる。 The control devices 331 and 332 select one of the first devices A and B based on the type of the client device input from the management device 32. This selection is stored in association with the type of the client device input from the management device, for example, from the second table shown in FIG. 3 that stores the identification information of the first device and the type of the client device in association with each other. This can be performed by reading the identification information of the first device that is being read, and selecting the first device identified by the read identification information of the first device. The selected one first device selects one of the plurality of second devices P, Q, and R based on the type of the request input from the management device 32, and selects the selected one of the first devices. A control signal for the client device is output based on the result of the processing in the two devices. This selection is stored in association with the type of request input from the management device, for example, from the third table shown in FIG. 4 that stores the identification information of the second device and the type of request in association with each other. This can be performed by reading the identification information of the second device and selecting the second device identified by the read identification information of the second device. The control signals output from the first devices A and B are transmitted to the plurality of client devices 21 and 22 via the management device 32, the transmission / reception device 31, and the network 40. For example, when the client device identification information is received from the client device and this information is stored in the first table shown in FIG. 2, the transmitting / receiving device 31 and the management device 32 determine whether the client device identified by the information has A control signal can be transmitted to it.
 選択された一の第2装置は、管理装置32から入力されたデータを処理する。この処理には、鍵情報を用いた相互認証、コマンドやレスポンスの送受信によるユーザ装置内に記憶されている電子メール残高の更新(増額、減額)、電子マネー残高の確認、アカウントの有効期限の確認、定期券情報の確認などが含まれる。なお、定期券情報の確認は、例えば、サーバ装置30や他の装置が有する記憶装置に、クライアント装置に入力された定期券情報が記憶されているかどうかを判断することにより行うことができる。 (4) The selected one second device processes data input from the management device 32. This processing includes mutual authentication using key information, updating (increase / decrease) the balance of electronic mail stored in the user device by transmitting / receiving a command or response, checking the balance of electronic money, and checking the expiration date of the account. And confirmation of commuter pass information. The commuter pass information can be confirmed by, for example, determining whether the commuter pass information input to the client device is stored in a storage device of the server device 30 or another device.
(第1テーブル)
 図2は、第1テーブルにおける記憶例を示す図である。図2に示すとおり、第1テーブルには、制御装置の識別情報と稼働中であることを示す情報とが対応付けて記憶される。第1テーブルを参照することにより、どの制御装置が稼働中であるかを判断することができる。なお、クライアント装置からクライアント装置識別情報を受信している場合は、例えば、稼働中であることを示す情報として、クライアント装置識別情報を用いることができる。あるいは、稼働中であることを示す情報とともに、クライアント装置識別情報を制御装置の識別情報に対応付けて記憶することができる。このようにすれば、どの制御装置がどのクライアント装置からの要求を処理中であるのかを容易に判断することができる。
(First table)
FIG. 2 is a diagram illustrating a storage example in the first table. As shown in FIG. 2, in the first table, the identification information of the control device and the information indicating that it is operating are stored in association with each other. By referring to the first table, it is possible to determine which control device is operating. When the client device identification information is received from the client device, for example, the client device identification information can be used as the information indicating that it is operating. Alternatively, the client device identification information can be stored in association with the control device identification information together with the information indicating that the device is operating. This makes it possible to easily determine which control device is processing a request from which client device.
(第2テーブル)
 図3は、第2テーブルにおける記憶例を示す図である。図3に示すとおり、第2テーブルには、第1装置の識別情報とクライアント装置の種別とが対応付けて記憶される。第2テーブルを参照することにより、どの第1装置がどの種別のクライアント装置の制御を行う装置であるかを容易に判断することができる。
(Second table)
FIG. 3 is a diagram illustrating a storage example in the second table. As shown in FIG. 3, the identification information of the first device and the type of the client device are stored in the second table in association with each other. By referring to the second table, it is possible to easily determine which first device is a device that controls which type of client device.
(第3テーブル)
 図4は、第3テーブルにおける記憶例を示す図である。図4に示すとおり、第3テーブルには、第2装置の識別情報と要求の種別とが対応付けて記憶される。第3テーブルを参照することにより、どの第2装置がどの種別の要求に応じてデータを処理する装置であるかを容易に判断することができる。
(Third table)
FIG. 4 is a diagram illustrating a storage example in the third table. As shown in FIG. 4, the third table stores the identification information of the second device and the type of request in association with each other. By referring to the third table, it is possible to easily determine which second device is a device that processes data according to which type of request.
(動作例)
 図5は、実施形態1に係るシステムの動作例を示すシーケンス図である。図5を参照しつつ、クライアント装置21がサーバ装置30にデータの処理の要求を行う場合について、システム1の動作例を説明する。なお、クライアント装置22が要求を行う場合の動作は、クライアント装置21が要求を行う場合の動作と同じであるので、説明を省略する。
(Operation example)
FIG. 5 is a sequence diagram illustrating an operation example of the system according to the first embodiment. An operation example of the system 1 when the client device 21 requests the server device 30 to process data will be described with reference to FIG. Note that the operation when the client device 22 makes a request is the same as the operation when the client device 21 makes a request, and a description thereof will be omitted.
(Step11)
 まず、クライアント装置21にユーザ装置11が近接し、クライアント装置21にデータが入力される。ここでは、クライアント装置21はスーパーマーケットに設置されたPOS端末であり、ユーザ装置11はクライアント装置21が備えるリーダライタ装置と近距離無線通信が可能なスマートフォンであり、データはユーザ装置11のユーザが購入を希望する商品の価格情報(1,000円)であるものとする。
(Step 11)
First, the user device 11 approaches the client device 21, and data is input to the client device 21. Here, the client device 21 is a POS terminal installed in a supermarket, the user device 11 is a smartphone capable of short-range wireless communication with a reader / writer device included in the client device 21, and data is purchased by the user of the user device 11. Is the price information (1,000 yen) of the product desired.
(Step12)
 次に、クライアント装置21が、入力されたデータと、要求の種別と、クライアント装置の種別とを、ネットワーク40を介してサーバ装置30に送信する。ここでは、要求の種別は第1の方式(例えばSuica(登録商標)の方式)に従った決済処理であり、クライアント装置の種別はPOS端末を示す情報であるものとする。
(Step 12)
Next, the client device 21 transmits the input data, the type of the request, and the type of the client device to the server device 30 via the network 40. Here, it is assumed that the type of request is a settlement process according to a first method (for example, the method of Suica (registered trademark)), and the type of the client device is information indicating a POS terminal.
(Step13)
 次に、サーバ装置30が、クライアント装置21に入力されたデータと、要求の種別と、クライアント装置の種別とを送受信装置31で受信し、送受信装置31が、受信したデータと、要求の種別と、クライアント装置の種別とを、管理装置32に出力する。
(Step 13)
Next, the server device 30 receives the data input to the client device 21, the type of the request, and the type of the client device by the transmitting / receiving device 31, and the transmitting / receiving device 31 receives the received data, the type of the request, , And the type of the client device are output to the management device 32.
(Step14)
 次に、管理装置32が、複数の制御装置331、332の中から一の制御装置を選択し、選択した一の制御装置に、送受信装置31から入力されたデータと要求の種別とクライアント装置の種別とを出力する。ここでは、制御装置331が選択されるものとする。
(Step 14)
Next, the management device 32 selects one control device from among the plurality of control devices 331 and 332, and sends the data input from the transmission / reception device 31, the type of request, and the client device to the selected one control device. Output the type. Here, it is assumed that the control device 331 is selected.
(Step15)
 次に、制御装置331が、管理装置32から入力されたクライアント装置の種別に基づいて、複数の第1装置A、Bの中から一の第1装置を選択する。ここでは、第1装置AはPOS端末を制御する第1装置であり、第1装置Bは駅の改札機を制御する第1装置であるものとする。クライアント装置の種別はPOS端末を示す情報であるため、制御装置331は、POS端末を制御する第1装置Aを選択する。
(Step15)
Next, the control device 331 selects one of the first devices A and B based on the type of the client device input from the management device 32. Here, it is assumed that the first device A is a first device that controls a POS terminal, and the first device B is a first device that controls a ticket gate at a station. Since the type of the client device is information indicating the POS terminal, the control device 331 selects the first device A that controls the POS terminal.
(Step16)
 次に、選択された一の第1装置Aが、管理装置から入力された要求の種別に基づいて複数の第2装置P、Q、Rの中から一の第2装置を選択する。ここでは、第2装置Pが、第1の方式に従った決済処理を行う第2装置であり、第2装置Qが、第2の方式に従った決済処理を行う第2装置であり、第2装置Rが、定期券情報の確認処理を行う第2装置であるものとする。要求の種別は第1の方式に従った決済処理であるため、第1装置Aは、第1の方式に従った決済処理を行う第2装置Pを選択するものする。
(Step 16)
Next, the selected one first device A selects one second device from the plurality of second devices P, Q, and R based on the type of the request input from the management device. Here, the second device P is a second device that performs a payment process according to the first method, the second device Q is a second device that performs a payment process according to the second method, It is assumed that the second device R is a second device that performs a process of checking commuter pass information. Since the type of the request is the settlement process according to the first method, the first device A selects the second device P that performs the settlement process according to the first method.
(Step17)
 次に、選択された一の第2装置Pが、管理装置32から入力されたデータを処理する。管理装置32から入力されたデータは、商品の価格情報(1,000円)であるため、第2装置Pは、第1の方式に従い、クライアント装置21と近距離無線通信を行うユーザ装置11内における、第1の方式で規定された電子マネーの残高を1,000円減額する処理を実行するものとする。その後、第2装置Pは、実行結果に応じて、決済完了(または決済成功)を示す情報あるいは決済未了(または決済失敗)を示す情報を第1装置Aに出力する。ここでは、第2装置Pから第1装置Aに、決済完了を示す情報が出力されるものとする。
(Step 17)
Next, the selected one second device P processes the data input from the management device 32. Since the data input from the management device 32 is the price information (1,000 yen) of the product, the second device P performs the short-range wireless communication with the client device 21 in the user device 11 according to the first method. , A process of reducing the balance of electronic money prescribed by the first method by 1,000 yen. Thereafter, the second device P outputs to the first device A information indicating payment completion (or payment success) or information indicating payment incomplete (or payment failure) according to the execution result. Here, it is assumed that information indicating completion of payment is output from the second device P to the first device A.
(Step18)
 次に、選択された一の第1装置Aが、選択した第2装置Pにおける処理の結果に基づいて、クライアント装置の制御信号を出力する。つまり、第2装置Pから決済完了を示す情報が出力された場合は、決済完了を示す音や表示などの出力を命じる制御信号を出力し、決済未了を示す情報が出力された場合には、決済未了を示す音や表示などの出力を命じる制御信号を出力する。ここでは、決済完了を知らせる音の出力とLEDの点滅を命じる情報を含む制御信号が出力されるものとする。出力された制御信号は、第1装置Aから出力された後、管理装置32、送受信装置31、及びネットワーク40を介して、クライアント装置21に送信されるものとする。なお、第1装置Aは、第2装置Pから情報が出力された後、制御信号を出力する前に、所定の処理(クライアント装置へのコマンドの送信、クライアント装置からのレスポンスの受信を含む。)を実行してもよい。
(Step 18)
Next, the selected one first device A outputs a control signal of the client device based on the processing result of the selected second device P. That is, when information indicating the completion of payment is output from the second device P, a control signal instructing output of a sound or display indicating the completion of payment is output, and when information indicating completion of payment is output, And outputs a control signal for instructing output such as a sound or display indicating that payment has not been completed. Here, it is assumed that a control signal including an output of a sound indicating completion of settlement and information for instructing blinking of an LED is output. The output control signal is output from the first device A, and then transmitted to the client device 21 via the management device 32, the transmission / reception device 31, and the network 40. After the information is output from the second device P, the first device A performs a predetermined process (including transmission of a command to the client device and reception of a response from the client device) before outputting the control signal. ) May be performed.
(Step19)
 次に、クライアント装置が制御信号を受信し、これを実行する。第1装置Aから出力された制御信号は、決済完了を知らせる音の出力とLEDの点滅を命じる信号であるため、クライアント装置は、制御信号を実行することにより、決済完了を知らせる音を出力し、LEDを点滅させる。
(Step 19)
Next, the client device receives the control signal and executes it. Since the control signal output from the first device A is a signal for outputting a sound indicating completion of settlement and for instructing the blinking of the LED, the client device outputs a sound indicating completion of settlement by executing the control signal. Blink the LED.
 以上説明したシステムによれば、サーバ装置が、クライアント装置を制御する第1装置と、クライアント装置からの要求に応じてデータの処理を行う第2装置と、を備え、両装置によりクライアント装置の制御とデータの処理がそれぞれ実行される。したがって、クライアント装置の制御とデータの処理とを互いに切り離して開発や制御などを行うことができ、開発期間の短縮や既存資産の流用(既に開発や運用などしているクライアント装置の制御方法やデータの処理方法をそのまま利用すること)が可能となる。 According to the system described above, the server device includes the first device that controls the client device and the second device that processes data in response to a request from the client device, and the two devices control the client device. And data processing are respectively performed. Therefore, development and control can be performed separately from the control of the client device and the data processing, thereby shortening the development period and diverting existing assets (control methods and data of the client device which has already been developed and operated). Can be used as it is).
 また、複数のクライアント装置が異なる種別のクライアント装置を含む場合であっても、サーバ装置により、各クライアント装置に入力されたデータを処理し、各クライアント装置を適切に制御することができる。例えば、駅の改札機に入力されたデータである定期券情報の有効性を確認して当該改札機の扉の開閉を行いつつ、スーパーマーケットのPOS端末に入力されたデータである価格情報に基づく決済を行い、当該POS端末に決済完了を知らせる音を出力などさせることができる。 Also, even when a plurality of client devices include client devices of different types, the server device can process data input to each client device and appropriately control each client device. For example, while checking the validity of commuter pass information, which is data input to a ticket gate at a station, and opening and closing the door of the ticket gate, settlement based on price information, which is data input to a POS terminal of a supermarket, To make the POS terminal output a sound indicating the completion of payment.
 また、サーバ装置が複数の制御装置を備え、複数のクライアント装置からの要求を複数の制御装置それぞれに処理させることができる。したがって、サーバ装置が備える制御装置の数を使用環境等に応じて増減させることにより、必要且つ十分な範囲において、複数のクライアント装置からの要求を並列に高速に処理することができる。 In addition, the server device includes a plurality of control devices, and the requests from the plurality of client devices can be processed by each of the plurality of control devices. Therefore, by increasing or decreasing the number of control devices provided in the server device according to the use environment or the like, requests from a plurality of client devices can be processed in parallel and at high speed within a necessary and sufficient range.
[実施形態2に係るシステム]
 図6は、実施形態2に係るサーバ装置の構成例を説明する図である。実施形態2は、サーバ装置30の構成が実施形態1とは異なり、その他の構成は実施形態1と同じである。以下、実施形態2に係るサーバ装置30の構成について、実施形態1とは異なる点を説明する。なお、図6における図示は省略するが、制御装置332は、制御装置331と同様に、第1装置A、B、第2装置Pを有しており、制御装置334は、制御装置333と同様に、第1装置A、B、第2装置Qを有しているものとする。
[System according to Embodiment 2]
FIG. 6 is a diagram illustrating a configuration example of a server device according to the second embodiment. The second embodiment is different from the first embodiment in the configuration of the server device 30, and the other configurations are the same as the first embodiment. Hereinafter, the configuration of the server device 30 according to the second embodiment will be described, focusing on differences from the first embodiment. Although not shown in FIG. 6, the control device 332 has first devices A, B, and a second device P, similarly to the control device 331, and the control device 334 has the same configuration as the control device 333. First device A, B, and a second device Q.
(送受信装置33)
 実施形態2では、実施形態1の場合と同様に、送受信装置33が、複数のクライアント装置21、22からネットワーク40を介して複数のクライアント装置21、22に入力されたデータと要求の種別とクライアント装置の種別とを受信する。ただし、実施形態2では、さらに、送受信装置33は、受信した要求の種別に基づいて複数の管理装置321、322の中から一の管理装置を選択し、選択した一の管理装置に受信したデータとクライアント装置の種別とを出力する。この選択は、例えば、図7に示す、管理装置の識別情報と要求の種別とが対応付けて記憶される第4テーブルから、受信した要求の種別が対応付けられている識別情報を読み出し、この読み出した識別情報により選択される管理装置を選択することにより行うことができる。
(Transceiver 33)
In the second embodiment, as in the first embodiment, the transmission / reception device 33 transmits the data input to the plurality of client devices 21 and 22 from the plurality of client devices 21 and 22 via the network 40, the type of request, and the client. The device type is received. However, in the second embodiment, the transmission / reception device 33 further selects one management device from the plurality of management devices 321 and 322 based on the type of the received request, and transmits the data received by the selected one management device. And the type of the client device. This selection is performed, for example, by reading the identification information associated with the type of the received request from the fourth table shown in FIG. 7 in which the identification information of the management device and the type of the request are stored in association with each other. This can be performed by selecting a management device selected by the read identification information.
(管理装置321、322)
 実施形態2では、実施形態1の場合とは異なり、サーバ装置30が、複数の管理装置321、322を備えている。複数の管理装置321、322には、送受信装置31からデータとクライアント装置の種別とが入力される。複数の管理装置321、322それぞれには、複数の制御装置が割り当てられている。例えば、管理装置321には制御装置331、332が割り当てられており、管理装置322には制御装置333、334が割り当てられている。送受信装置31に選択された一の管理装置は、複数の制御装置の中から一の制御装置を選択し、選択した一の制御装置に送受信装置から入力されたデータとクライアント装置の種別とを出力する。例えば、管理装置321であれば、自己に割り当てられている制御装置331、332の中から一の制御装置を選択し、管理装置322であれば、自己に割り当てられている制御装置333、334の中から一の制御装置を選択する。この選択は、実施形態1の場合と同様に、例えば図2に示す第1テーブルを用いて行うことができる。サーバ装置30が有する管理装置の数は2つ以上であればよく、3つ以上、あるいは4つ以上であってもよい。
(Management devices 321 and 322)
In the second embodiment, unlike the first embodiment, the server device 30 includes a plurality of management devices 321 and 322. The data and the type of the client device are input from the transmission / reception device 31 to the plurality of management devices 321 and 322. A plurality of control devices are assigned to each of the plurality of management devices 321 and 322. For example, the control devices 331 and 332 are assigned to the management device 321, and the control devices 333 and 334 are assigned to the management device 322. The one management device selected as the transmission / reception device 31 selects one control device from the plurality of control devices, and outputs the data input from the transmission / reception device and the type of the client device to the selected one control device. I do. For example, in the case of the management device 321, one control device is selected from the control devices 331 and 332 assigned to itself, and in the case of the management device 322, the control device 333 and 334 assigned to itself is selected. Select one control device from the list. This selection can be performed using, for example, the first table shown in FIG. 2 as in the first embodiment. The number of management devices included in the server device 30 may be two or more, and may be three or more, or four or more.
(複数の制御装置331、332、333、334)
 複数の制御装置331、332、333、334は、複数の第1装置Aと一の第2装置とを有する。ただし、同じ管理装置に割り当てられている制御装置は同じ第2装置を有するが、異なる管理装置に割り当てられている制御装置は異なる第2装置を有する。例えば、管理装置321に割り当てられている制御装置331、332は同じ第2装置P(例:第1の方式に従った決済処理を行う第2装置)を備えており、管理装置322に割り当てられている制御装置333、334は同じ第2装置Q(例:定期券情報の確認処理を行う第2装置)を備えている。管理装置321に割り当てられている制御装置331、332が備える第2装置Pと、管理装置322に割り当てられている制御装置333、334が備える第2装置Qとは、処理対象となるデータの形式、データの内容、及び/又はデータの処理方法などが異なる。管理装置に選択された一の制御装置は、管理装置から入力されたクライアント装置の種別に基づいて複数の第1装置の中から一の第1装置を選択し、選択された一の第1装置は、第2装置における処理の結果に基づいて、クライアント装置の制御信号を出力する。この選択は、実施形態1の場合と同様に、例えば図3に示す第2テーブルを用いて行うことができる。なお、また、制御装置(制御装置は管理装置により例えば図2に示す第1テーブルを用いて選択される。)が備える第2装置は、管理装置から入力されたデータを処理する。一の管理装置に割り当てられる制御装置の数は2つ以上であればよく、3つ以上、あるいは4つ以上であってもよい。
(Plurality of control devices 331, 332, 333, 334)
The plurality of control devices 331, 332, 333, and 334 include a plurality of first devices A and one second device. However, the control devices assigned to the same management device have the same second device, but the control devices assigned to different management devices have different second devices. For example, the control devices 331 and 332 assigned to the management device 321 include the same second device P (eg, a second device that performs a settlement process according to the first method) and are assigned to the management device 322. The control devices 333 and 334 have the same second device Q (eg, a second device that performs a process of checking commuter pass information). The second device P included in the control devices 331 and 332 assigned to the management device 321 and the second device Q included in the control devices 333 and 334 assigned to the management device 322 have a format of data to be processed. , Data contents, and / or data processing methods are different. The one control device selected as the management device selects one first device from among the plurality of first devices based on the type of the client device input from the management device, and selects the one selected first device. Outputs a control signal of the client device based on the result of the process in the second device. This selection can be performed using, for example, the second table shown in FIG. 3 as in the first embodiment. The second device included in the control device (the control device is selected by the management device using, for example, the first table illustrated in FIG. 2) processes data input from the management device. The number of control devices assigned to one management device may be two or more, and may be three or more, or four or more.
(第4テーブル)
 図7は、第4テーブルにおける記憶例を示す図である。図7に示すとおり、第4テーブルには、管理装置の識別情報と要求の種別とが対応付けて記憶される。例えば、管理装置Aに制御装置C、Dが割り当てられており、管理装置Bに制御装置E、Fが割り当てられており、制御装置C、Dが第2装置Pをそれぞれ有しており、制御装置E、Fが第2装置Qをそれぞれ有しており、第2装置Pによってデータを処理することが可能な要求の種別がXであり、第2装置Qによってデータを処理することが可能な要求の種別がYである場合、管理装置Aの識別情報に要求の種別Xが対応付けて記憶され、管理装置Bの識別情報に、要求の種別Yが対応付けて記憶される。第4テーブルを参照することにより、どの種別の要求に応じてデータを処理することができる第2装置を備えた制御装置が、どの管理装置に割り当てられているのかを容易に判断することができる。
(4th table)
FIG. 7 is a diagram illustrating a storage example in the fourth table. As shown in FIG. 7, in the fourth table, the identification information of the management device and the type of the request are stored in association with each other. For example, the control devices C and D are assigned to the management device A, the control devices E and F are assigned to the management device B, and the control devices C and D each have the second device P. The devices E and F each have the second device Q, the type of the request that can process data by the second device P is X, and the data can be processed by the second device Q. When the request type is Y, the request type X is stored in association with the identification information of the management device A, and the request type Y is stored in association with the identification information of the management device B. By referring to the fourth table, it is possible to easily determine to which management device the control device including the second device capable of processing data according to which type of request is assigned. .
(動作例)
 図8は、実施形態2に係るシステムの動作例を示すシーケンス図である。図8を参照しつつ、クライアント装置21がサーバ装置30にデータの処理の要求を行う場合について、システムの動作例を説明する。なお、クライアント装置22が要求を行う場合の動作は、クライアント装置21が要求を行う場合の動作と同じであるので、説明を省略する。
(Operation example)
FIG. 8 is a sequence diagram illustrating an operation example of the system according to the second embodiment. With reference to FIG. 8, an example of the operation of the system when the client device 21 requests the server device 30 to process data will be described. Note that the operation when the client device 22 makes a request is the same as the operation when the client device 21 makes a request, and a description thereof will be omitted.
(Step21)
 まず、クライアント装置21にユーザ装置11が近接し、クライアント装置21にデータが入力される。ここでは、クライアント装置21はスーパーマーケットに設置されたPOS端末であり、ユーザ装置11はクライアント装置21が備えるリーダライタ装置と近距離無線通信が可能なスマートフォンであり、データはユーザ装置11のユーザが購入を希望する商品の価格情報(1,000円)であるものとする。
(Step 21)
First, the user device 11 approaches the client device 21, and data is input to the client device 21. Here, the client device 21 is a POS terminal installed in a supermarket, the user device 11 is a smartphone capable of short-range wireless communication with a reader / writer device included in the client device 21, and data is purchased by the user of the user device 11. Is the price information (1,000 yen) of the product desired.
(Step22)
 次に、クライアント装置21が、入力されたデータと、要求の種別と、クライアント装置の種別とを、ネットワーク40を介してサーバ装置30に送信する。ここでは、要求の種別は第1の方式(例えばSuica(登録商標)の方式)に従った決済処理であり、クライアント装置の種別はPOS端末を示す情報であるものとする。
(Step22)
Next, the client device 21 transmits the input data, the type of the request, and the type of the client device to the server device 30 via the network 40. Here, it is assumed that the type of request is a settlement process according to a first method (for example, the method of Suica (registered trademark)), and the type of the client device is information indicating a POS terminal.
(Step23)
 次に、サーバ装置30が、クライアント装置21に入力されたデータと、要求の種別と、クライアント装置の種別とを送受信装置31で受信し、送受信装置31が、受信した要求の種別に基づいて一の管理装置を選択し、選択した一の管理装置に、受信したデータと、クライアント装置の種別と、を出力する。管理装置321に割り当てられている制御装置331、332は、第1の方式に従った決済処理を行う第2装置Pを備えており、管理装置322に割り当てられている制御装置333、334は、第2の方式に従った決済処理を行う第2装置Qを備えているものとする。要求の種別は第1の方式での決済処理であるため、送受信装置31は、第1の方式に従った決済処理を行う第2装置Pを備えた制御装置331、332が割り当てられている管理装置321を選択するものする。
(Step23)
Next, the server device 30 receives the data input to the client device 21, the type of the request, and the type of the client device at the transmitting / receiving device 31, and the transmitting / receiving device 31 receives one of the data based on the received request type. And outputs the received data and the type of the client device to the selected one management device. The control devices 331 and 332 assigned to the management device 321 include a second device P that performs settlement processing according to the first method. The control devices 333 and 334 assigned to the management device 322 include: It is assumed that a second device Q that performs a settlement process according to the second method is provided. Since the type of the request is the settlement process using the first method, the transmission / reception device 31 is assigned to the control device 331 or 332 including the second device P that performs the settlement process according to the first method. Device 321 is selected.
(Step24)
 次に、管理装置321が、複数の制御装置331、332の中から一の制御装置を選択し、選択した一の制御装置に、送受信装置31から入力されたデータとクライアント装置の種別とを出力する。ここでは、制御装置331が選択されるものとする。
(Step 24)
Next, the management device 321 selects one control device from the plurality of control devices 331 and 332, and outputs the data input from the transmission / reception device 31 and the type of the client device to the selected one control device. I do. Here, it is assumed that the control device 331 is selected.
(Step25)
 次に、制御装置331が、管理装置32から入力されたクライアント装置の種別に基づいて、複数の第1装置A、Bの中から一の第1装置を選択する。ここでは、第1装置AはPOS端末を制御する第1装置であり、第1装置Bは駅の改札機を制御する第1装置であるものとする。クライアント装置の種別はPOS端末を示す情報であるため、制御装置331は、POS端末を制御する第1装置Aを選択する。
(Step 25)
Next, the control device 331 selects one of the first devices A and B based on the type of the client device input from the management device 32. Here, it is assumed that the first device A is a first device that controls a POS terminal, and the first device B is a first device that controls a ticket gate at a station. Since the type of the client device is information indicating the POS terminal, the control device 331 selects the first device A that controls the POS terminal.
(Step26)
 次に、制御装置331が備える第2装置Pが、管理装置321から入力されたデータを処理する。管理装置321から入力されたデータは、商品の価格情報(1,000円)であるため、第2装置Pは、第1の方式に従い、クライアント装置21と近距離無線通信を行うユーザ装置11における、第1の方式で規定された電子マネーの残高を1,000円減額する処理を実行するものとする。その後、第2装置Pは、実行結果に応じて、決済完了(または決済成功)を示す情報あるいは決済未了(または決済失敗)を示す情報を第1装置Aに出力する。ここでは、第2装置Pから第1装置Aに、決済完了を示す情報が出力されるものとする。
(Step 26)
Next, the second device P included in the control device 331 processes the data input from the management device 321. Since the data input from the management device 321 is the price information of the product (1,000 yen), the second device P uses the user device 11 that performs short-range wireless communication with the client device 21 according to the first method. It is assumed that a process for reducing the electronic money balance prescribed by the first method by 1,000 yen is executed. Thereafter, the second device P outputs to the first device A information indicating payment completion (or payment success) or information indicating payment incomplete (or payment failure) according to the execution result. Here, it is assumed that information indicating completion of payment is output from the second device P to the first device A.
(Step27)
 次に、選択された一の第1装置Aが、第2装置Pにおける処理の結果に基づいて、クライアント装置の制御信号を出力する。つまり、第2装置Pから決済完了を示す情報が出力された場合は、決済完了を示す音や表示などの出力を命じる制御信号を出力し、決済未了を示す情報が出力された場合には、決済未了を示す音や表示などの出力を命じる制御信号を出力する。ここでは、決済完了を知らせる音の出力とLEDの点滅を命じる情報を含む制御信号が出力されるものとする。出力された制御信号は、第1装置Aから出力された後、管理装置32、送受信装置31、及びネットワーク40を介して、クライアント装置21に送信されるものとする。なお、第1装置Aは、第2装置Pから情報が出力された後、制御信号を出力する前に、所定の処理(クライアント装置へのコマンドの送信、クライアント装置からのレスポンスの受信を含む。)を実行してもよい。
(Step 27)
Next, the selected one first device A outputs a control signal of the client device based on the result of the processing in the second device P. That is, when information indicating the completion of payment is output from the second device P, a control signal instructing output of a sound or display indicating the completion of payment is output, and when information indicating completion of payment is output, And outputs a control signal for instructing output such as a sound or display indicating that payment has not been completed. Here, it is assumed that a control signal including an output of a sound indicating completion of settlement and information for instructing blinking of an LED is output. The output control signal is output from the first device A, and then transmitted to the client device 21 via the management device 32, the transmission / reception device 31, and the network 40. After the information is output from the second device P, the first device A performs a predetermined process (including transmission of a command to the client device and reception of a response from the client device) before outputting the control signal. ) May be performed.
(Step28)
 次に、クライアント装置が制御信号を受信し、これを実行する。第1装置Aから出力された制御信号は、決済完了を知らせる音の出力とLEDの点滅を命じる信号であるため、クライアント装置は、制御信号を実行することにより、決済完了を知らせる音を出力し、LEDを点滅させる。
(Step28)
Next, the client device receives the control signal and executes it. Since the control signal output from the first device A is a signal for outputting a sound indicating completion of settlement and for instructing the blinking of the LED, the client device outputs a sound indicating completion of settlement by executing the control signal. Blink the LED.
 以上説明した実施形態2によっても、実施形態1と同様の効果を得ることができる。また、第2実施形態によれば、サーバ装置30が備える記憶装置上のメモリ空間を管理装置ごとに分けることが可能であるため(例えば管理装置Pにメモリ空間内のメモリ領域Aに対するリード/ライトの権限を与え、管理装置Qにメモリ空間内のメモリ領域Bに対するリード/ライトの権限を与えることが可能となるため)、第2装置Pが第2装置Qのメモリ領域Bを覗き見たり破壊したりなどすること防止し、また、その逆に、第2装置Qが第2装置Pのメモリ領域Aを覗き見たり破壊したりなどすることを防止できる。したがって、例えば、第1の方式に従う決済処理が使用するメモリ領域と、第2の方式に従う決済処理が使用するメモリ領域とを、分け隔てて、セキュリティを高めることができる。 に よ っ て According to the second embodiment described above, the same effect as the first embodiment can be obtained. Further, according to the second embodiment, since the memory space on the storage device included in the server device 30 can be divided for each management device (for example, the management device P can read / write data from / to the memory area A in the memory space). And the management device Q can be given read / write authority to the memory area B in the memory space), so that the second device P can peek into or destroy the memory region B of the second device Q. The second device Q can be prevented from seeing or destroying the memory area A of the second device P. Therefore, for example, the memory area used by the settlement processing according to the first method and the memory area used by the settlement processing according to the second method can be separated to enhance security.
 なお、上記した各要求や各データなどは1つのデータからなるものであってもよいし、複数のデータからなるものであってもよい。また、上記した各要求や各データなどの送信は1回の送信で送信されてもよいし、複数の送信に分けて送信されてもよい。同様に、上記した各要求や各データなどの受信は1回の受信で受信されてもよいし、複数の受信に分けて受信されてもよい。また、「ある要求XやあるデータYがあるデータZを含む」には、当該要求Xや当該データYが当該データZそのものを含む場合のほか、当該データZを特定することができる当該データZそのものではないデータを含む場合が含まれるものとする。 Note that each of the above-mentioned requests and each of the data may be composed of one data, or may be composed of a plurality of data. In addition, the transmission of each request and each data described above may be transmitted in one transmission, or may be transmitted in a plurality of transmissions. Similarly, the reception of each request and each data described above may be received in one reception, or may be received in a plurality of receptions. In addition, "a certain request X or certain data Y includes certain data Z" includes not only a case where the request X or the data Y includes the data Z itself but also a case where the data Z which can specify the certain data Z is included. This includes the case that includes data other than the data itself.
 以上、実施形態について説明したが、これらの説明によって特許請求の範囲に記載された構成は何ら限定されるものではない。 Although the embodiments have been described above, the descriptions described in the claims do not limit the configuration described in the claims.
1  システム
11、12  ユーザ装置
21、22  クライアント装置
30  サーバ装置
31  送受信装置
32、321、322  管理装置
331、332、333、334 制御装置
40  ネットワーク
A、B  第1装置
P、Q、R  第2装置
 
Reference Signs List 1 system 11, 12 user device 21, 22 client device 30 server device 31 transmitting / receiving device 32, 321, 322 management device 331, 332, 333, 334 control device 40 network A, B first device P, Q, R second device

Claims (3)

  1.  複数のクライアント装置にネットワークを介して接続され、
     前記クライアント装置から前記ネットワークを介して前記クライアント装置に入力されたデータと要求の種別と前記クライアント装置の種別とを受信する送受信装置と、
     前記送受信装置から前記データと前記要求の種別と前記クライアント装置の種別とを入力される管理装置と、
     複数の第1装置と複数の第2装置とを有する複数の制御装置と、を備え、
     前記管理装置は、前記複数の制御装置の中から一の制御装置を選択し、前記選択した一の制御装置に前記送受信装置から入力されたデータと要求の種別とクライアント装置の種別とを出力し、
     前記選択された一の制御装置は、前記管理装置から入力されたクライアント装置の種別に基づいて前記複数の第1装置の中から一の第1装置を選択し、
     前記選択された一の第1装置は、前記管理装置から入力された要求の種別に基づいて前記複数の第2装置の中から一の第2装置を選択し、前記第2装置における処理の結果に基づいて、前記クライアント装置の制御信号を出力し、
     前記選択された一の第2装置は、前記管理装置から入力されたデータを処理するサーバ装置。
    Connected to a plurality of client devices via a network,
    A transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device,
    A management device to which the data, the type of the request, and the type of the client device are input from the transmitting / receiving device,
    A plurality of control devices having a plurality of first devices and a plurality of second devices,
    The management device selects one control device from the plurality of control devices, and outputs to the selected one control device data input from the transmission / reception device, a request type, and a client device type. ,
    The selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device,
    The selected one first device selects one second device from the plurality of second devices based on a type of request input from the management device, and a result of the processing in the second device Based on the, output a control signal of the client device,
    The selected one second device is a server device that processes data input from the management device.
  2.  複数のクライアント装置にネットワークを介して接続され、
     前記クライアント装置から前記ネットワークを介して前記クライアント装置に入力されたデータと要求の種別と前記クライアント装置の種別とを受信する送受信装置と、
     前記送受信装置から前記データと前記クライアント装置の種別とを入力される複数の管理装置と、
     複数の第1装置と一の第2装置とを有する複数の制御装置と、を備え、
     前記送受信装置は、前記受信した要求の種別に基づいて前記複数の管理装置の中から一の管理装置を選択し、前記選択した一の管理装置に前記受信したデータとクライアント装置の種別とを出力し、
     前記選択された一の管理装置は、前記複数の制御装置の中から一の制御装置を選択し、前記選択した一の制御装置に前記送受信装置から入力されたデータとクライアント装置の種別とを出力し、
     前記選択された一の制御装置は、前記管理装置から入力されたクライアント装置の種別に基づいて前記複数の第1装置の中から一の第1装置を選択し、
     前記選択された一の第1装置は、前記第2装置における処理の結果に基づいて、前記クライアント装置の制御信号を出力し、
     前記第2装置は、前記管理装置から入力されたデータを処理するサーバ装置。
    Connected to a plurality of client devices via a network,
    A transmitting / receiving device that receives data and a request type and a type of the client device input to the client device via the network from the client device,
    A plurality of management devices to which the data and the type of the client device are input from the transmission / reception device,
    A plurality of control devices having a plurality of first devices and one second device,
    The transmitting / receiving device selects one management device from the plurality of management devices based on the type of the received request, and outputs the received data and the type of the client device to the selected one management device. And
    The selected one management device selects one control device from the plurality of control devices, and outputs data input from the transmission / reception device and a type of the client device to the selected one control device. And
    The selected one control device selects one first device from the plurality of first devices based on a type of the client device input from the management device,
    The one selected first device outputs a control signal of the client device based on a result of the process in the second device,
    The second device is a server device that processes data input from the management device.
  3.  請求項1または2に記載のサーバ装置と、前記サーバ装置に前記ネットワークを介して接続される前記複数のクライアント装置と、を備えたシステム。
     
    A system comprising: the server device according to claim 1; and the plurality of client devices connected to the server device via the network.
PCT/JP2018/028619 2018-07-31 2018-07-31 Server device and system WO2020026335A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2018/028619 WO2020026335A1 (en) 2018-07-31 2018-07-31 Server device and system
JP2018563924A JP6544817B1 (en) 2018-07-31 2018-08-23 Server device and system
PCT/JP2018/031173 WO2020026456A1 (en) 2018-07-31 2018-08-23 Server device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/028619 WO2020026335A1 (en) 2018-07-31 2018-07-31 Server device and system

Publications (1)

Publication Number Publication Date
WO2020026335A1 true WO2020026335A1 (en) 2020-02-06

Family

ID=69231471

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/JP2018/028619 WO2020026335A1 (en) 2018-07-31 2018-07-31 Server device and system
PCT/JP2018/031173 WO2020026456A1 (en) 2018-07-31 2018-08-23 Server device and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/031173 WO2020026456A1 (en) 2018-07-31 2018-08-23 Server device and system

Country Status (1)

Country Link
WO (2) WO2020026335A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175957A (en) * 1992-12-10 1994-06-24 Matsushita Electric Ind Co Ltd Peripheral equipment controller
JPH09223096A (en) * 1996-02-20 1997-08-26 Fuji Xerox Co Ltd Manager and client device
JP2002091860A (en) * 2000-09-19 2002-03-29 Toshiba Corp Computer readable recording medium recorded with program, and computer system
JP2006244009A (en) * 2005-03-02 2006-09-14 Seiko Epson Corp Download system, server unit, and driver providing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013065120A (en) * 2011-09-15 2013-04-11 Toshiba Corp Load distribution system, data access device, and load distribution method
US10069903B2 (en) * 2013-04-16 2018-09-04 Amazon Technologies, Inc. Distributed load balancer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175957A (en) * 1992-12-10 1994-06-24 Matsushita Electric Ind Co Ltd Peripheral equipment controller
JPH09223096A (en) * 1996-02-20 1997-08-26 Fuji Xerox Co Ltd Manager and client device
JP2002091860A (en) * 2000-09-19 2002-03-29 Toshiba Corp Computer readable recording medium recorded with program, and computer system
JP2006244009A (en) * 2005-03-02 2006-09-14 Seiko Epson Corp Download system, server unit, and driver providing method

Also Published As

Publication number Publication date
WO2020026456A1 (en) 2020-02-06

Similar Documents

Publication Publication Date Title
EP3414869B1 (en) Authentication systems and methods using location matching
US8135647B2 (en) Consumer authentication system and method
CN107004190A (en) System for handling electronic transaction
US11176540B2 (en) Card-to-card direct communication
CN108886522B (en) System and method for associating diverse location data for data security
CN105493114A (en) Mobile card sharing service method and system with enhanced security
US20220051228A1 (en) Method for operating a device for selecting a virtual card in a digital wallet
US12026712B2 (en) Dynamic application selection based on contextual data
CN104657854B (en) Allow the wireless power source of payment transaction
JP7096386B2 (en) Authentication device, authentication system, authentication method and program
JP7318042B2 (en) Terminal type identification in interaction processing
KR20190103113A (en) Financial transaction method of mobile equipment, apparatus thereof, and medium storing program source thereof
WO2020026335A1 (en) Server device and system
JP6544817B1 (en) Server device and system
JP6486556B2 (en) Method, server and system for collectively registering a plurality of digital contents
KR20230109687A (en) Medium for Temporary Account Access
JP2014160397A (en) Information processing system and display device
RU2461065C2 (en) Consumer authentication system and method
RU2649762C1 (en) Method for payment for goods or services by buyer using their personal device at retail outlet that has cash register
US20170221018A1 (en) Proxy payment system, proxy payment device, physical store device, and user device
WO2014027287A1 (en) Issuance, obtaining and utilization of personalized digital end user credentials for use in electronic transactions performed with a mobile device
JP7157269B1 (en) Terminal device, payment system, payment method, and program
KR101844331B1 (en) Voucher integrated management system and method for controlling thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928647

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP