CN111009074A - Management server, vending machine, and device identification information providing method - Google Patents

Management server, vending machine, and device identification information providing method Download PDF

Info

Publication number
CN111009074A
CN111009074A CN201910912130.5A CN201910912130A CN111009074A CN 111009074 A CN111009074 A CN 111009074A CN 201910912130 A CN201910912130 A CN 201910912130A CN 111009074 A CN111009074 A CN 111009074A
Authority
CN
China
Prior art keywords
identification information
device identification
vending machine
hash value
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910912130.5A
Other languages
Chinese (zh)
Other versions
CN111009074B (en
Inventor
木村友彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Publication of CN111009074A publication Critical patent/CN111009074A/en
Application granted granted Critical
Publication of CN111009074B publication Critical patent/CN111009074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a management server, a vending machine and a device identification information giving method, which can give unique device identification information to devices such as the vending machine connected with a network. The disclosed device is provided with: a communication identification information acquisition unit that acquires unique communication identification information for communication connection of the vending machine; a local information acquisition unit that acquires local device identification information set locally for the vending machine; a hash value generation unit that generates a hash value by using a hash function for text information obtained by combining one or more pieces of communication identification information and one or more pieces of local device identification information; and a management section that manages the generated hash value as device identification information of each vending machine, and registers the hash value to the vending machine.

Description

Management server, vending machine, and device identification information providing method
Technical area
The present invention relates to a management server, a vending machine, and a device identification information providing method capable of providing unique device identification information to a device such as a vending machine connected to a network.
Background
In recent years, with the advancement of networking, vending machines have come to be communicably connected to a terminal (for example, a personal computer, hereinafter referred to as a center computer) of a monitoring center via a network such as the internet. Further, it is possible to manage data (sales data, stock data, and the like) of the vending machine, various settings, and the like from the center computer (for example, see patent document 1).
Patent document 1: japanese patent laid-open No. 2000-149106
Disclosure of Invention
Problems to be solved by the invention
Further, although the vending machine is given with device identification information specific to a company that manufactures the vending machine or a company that sells the vending machine, there is no unique device identification information that uniquely identifies the vending machine across companies. Therefore, when maintenance such as program update and setting change is to be performed remotely for a vending machine and there is a vending machine having the same device identification information, there is a possibility that erroneous maintenance is performed for a vending machine that is not the maintenance target.
The present invention has been made in view of the above problems, and an object thereof is to provide a management server, a vending machine, and a device identification information providing method that can provide unique device identification information to a device such as a vending machine connected to a network.
Means for solving the problems
In order to solve the above-described problems and achieve the object, a management server according to the present invention is a management server that manages a plurality of devices via a network, the management server including: a communication identification information acquisition unit that acquires unique communication identification information for communication connection of the device; a local information acquisition unit that acquires local device identification information set locally for the device; a hash value generation unit that generates a hash value by using a hash function for text information obtained by combining the one or more pieces of communication identification information acquired by the communication identification information acquisition unit and the one or more pieces of local device identification information acquired by the local information acquisition unit; and a management unit that manages the hash value generated for each of the devices as device identification information for each of the devices, and registers the hash value in each of the devices.
In the management server according to the present invention, the communication identification information is an IP address and/or an IMSI.
In the above-described invention, the management server according to the present invention is characterized in that the local device identification information is a device code and/or an installation location code.
In addition, the vending machine according to the present invention is characterized in that the vending machine is assigned the device identification information by the management server according to any one of the above inventions.
A device identification information providing method according to the present invention is a device identification information providing method for a management server that manages a plurality of devices via a network using device identification information, the method including the steps of: a communication identification information acquisition step of acquiring unique communication identification information for communication connection of the device; a local information acquisition step of acquiring local device identification information set locally for the device; a hash value generation step of generating a hash value by using a hash function for text information obtained by combining the one or more pieces of communication identification information acquired in the communication identification information acquisition step and the one or more pieces of local device identification information acquired in the local information acquisition step; and a management step of managing the hash value generated for each of the devices as device identification information of each of the devices, and registering the hash value to each of the devices.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present invention, unique device identification information can be given to a device such as a vending machine connected to a network.
Drawings
Fig. 1 is a block diagram showing a configuration of a management system including a management server as an embodiment of the present invention.
Fig. 2 is a flowchart showing a procedure of the device identification information generation and management processing performed by the control unit.
Fig. 3 is a diagram showing an example of the device identification information generated by each vending machine.
Fig. 4 is a block diagram showing a configuration of a modification of the management system in which the vending machine shown in fig. 1 is connected to a network via a router.
Fig. 5 is a diagram showing an example of the device identification information generated by each vending machine in the modification shown in fig. 4.
Description of the reference numerals
10: a management server; 11: an input section; 12: a display unit; 13: a communication unit; 14: a storage unit; 15: a control unit; 21: a communication identification information acquisition unit; 22: a local information acquisition unit; 23: a hash value generation unit; 24: a management unit; 30: a router; A. b, C: a vending machine; d: management information; D10A, D10B, D10C: communicating the identification information; D20A, D20B, D20C: local device identification information; DA. DB and DC: device identification information; h: a hash function; n: a network.
Detailed Description
The following describes a mode for carrying out the present invention with reference to the drawings.
< integral Structure >
Fig. 1 is a block diagram showing a configuration of a management system including a management server 10 as an embodiment of the present invention. As shown in fig. 1, the management server 10 and the vending machine A, B, C as a plurality of devices are connected via a network N. The management server 10 performs maintenance management such as data collection of the vending machine A, B, C and program update for the vending machine A, B, C. For example, the vending machine A, B, C is issued an update program to perform program update of the respective vending machine A, B, C via the network N. At this time, the management server 10 generates the device identification information DA, DB, and DC for uniquely identifying the vending machine A, B, C, and identifies the vending machine A, B, C to be managed using the generated device identification information DA, DB, and DC.
The vending machine A, B, C is an example of an apparatus, and includes communication identification information D10A, D10B, and D10C, and local apparatus identification information D20A, D20B, and D20C, respectively. The communication identification information D10A, D10B, and D10C are unique communication identification information for communication connection, and examples thereof include an IP address (Internet Protocol address), an IMSI (International Mobile Subscriber Identity) in a SIM Card (Subscriber Identity Module Card) for wireless communication connection, and the like. The local device identification information D20A, D20B, and D20C are device identification information assigned locally by each company, and are, for example, a device code (a device code assigned by each company as a serial number) and a location code (an installation location code of a vending machine).
The management server 10 uses a hash function to generate hash values for text information obtained by combining one or more communication identification information D10A, D10B, D10C and one or more local device identification information D20A, D20B, D20C, and registers and manages the hash values as device identification information DA, DB, DC for each vending machine A, B, C in the management server 10 and each vending machine A, B, C.
< Structure of management Server >
As shown in fig. 1, the management server 10 includes an input unit 11, a display unit 12, a communication unit 13, a storage unit 14, and a control unit 15.
The input unit 11 is an input device such as a keyboard or a mouse, the display unit 12 is a display device such as a liquid crystal panel, and the communication unit 13 is a communication interface unit for connecting to each vending machine A, B, C via the network N.
The storage unit 14 is a storage device including a hard disk device, a nonvolatile memory, and the like, and stores the hash function H and management information D including device identification information DA, DB, and DC.
The control unit 15 is a control unit for controlling the entire management server 10, and includes a communication identification information acquisition unit 21, a local information acquisition unit 22, a hash value generation unit 23, and a management unit 24. The control unit 15 executes corresponding processing by storing programs corresponding to the communication identification information acquisition unit 21, the local information acquisition unit 22, the hash value generation unit 23, and the management unit 24 in a storage device such as a nonvolatile memory or a magnetic disk device in advance, loading the programs into a memory, and executing the programs by a CPU.
The communication identification information acquiring unit 21 acquires the IP addresses and IMSIs of one or more pieces of communication identification information D10A, D10B, and D10C, which are unique pieces of communication identification information for communication connection of the individual vending machines A, B, C. The communication identification information D10A, D10B, and D10C may be acquired from the individual vending machine A, B, C, or may be acquired from the management server 10 when the management server 10 itself manages the communication identification information D10A, D10B, and D10C.
The local information acquirer 22 acquires one or more device codes and location codes as the local device identification information D20A, D20B, and D20C set locally for each vending machine A, B, C. The local device identification information D20A, D20B, and D20C may be acquired from the individual vending machine A, B, C, or may be acquired from the management server 10 when the local device identification information D20A, D20B, and D20C are managed by the management server 10 itself.
The hash value generation unit 23 generates a hash value by using a hash function H for text information obtained by combining one or more communication identification information pieces D10A, D10B, and D10C and one or more local device identification information pieces D20A, D20B, and D20C.
The management unit 24 manages the hash value generated for each vending machine A, B, C as the device identification information DA, DB, DC for each vending machine A, B, C, and registers the hash value in each vending machine A, B, C.
< creation and management of device identification information >
Next, the generation and management processing procedure of the device identification information DA, DB, DC by the control unit 15 will be described with reference to a flowchart shown in fig. 2. Fig. 2 is a flowchart showing the procedure of the process of generating and managing the device identification information DA, DB, and DC by the control unit 15.
As shown in fig. 2, first, the control unit 15 selects one of the vending machines A, B, C as a device (step S110). Thereafter, the communication identification information acquiring unit 21 acquires the communication identification information D10A, D10B, D10C (step S120). After that, the local information acquirer 22 acquires the local device identification information D20A, D20B, D20C (step S130).
Then, the hash value generation unit 23 generates a hash value by using the hash function H for text information obtained by combining one or more pieces of communication identification information D10A, D10B, D10C and one or more pieces of local device identification information D20A, D20B, D20C (step S140).
The management unit 24 manages the generated hash value as the device identification information DA, DB, and DC of the selected vending machine, and registers the hash value in the selected vending machine (step S150).
After that, the control unit 15 determines whether or not all the vending machines have been selected (step S160). In the case where all the vending machines have not been selected (step S160: NO), the flow proceeds to step S110, and the next vending machine is selected to repeat the above-described processing. On the other hand, when all the vending machines have been selected (step S160: YES), the present process is ended.
< example of device identification information >
Fig. 3 is a diagram showing an example of the device identification information DA, DB, DC generated by each vending machine A, B, C. As shown in fig. 3, each vending machine A, B, C has a communication function of directly connecting to the network N, and therefore has a global IP address. In addition, since wireless communication is performed, IMSI is also included. In addition, each vending machine A, B, C has a local machine code and location code. In addition, the first "440" in the IMSI indicates a country number, and the next "10" indicates an identification number of a carrier.
Thus, in fig. 3, text information is generated which includes the global IP address and IMSI as 2 pieces of communication identification information and the machine code and the location code as 2 pieces of local device identification information, and a hash value of a fixed length of 32 bits (128 bits) is generated for this arbitrary length of text information using, for example, the hash function MD 5. The hash value is device identification information of each mobile vending machine. Since the hash function changes text information of an arbitrary length into a hash value of a fixed length, it is preferable to use a plurality of pieces of communication identification information and a plurality of pieces of local apparatus identification information as many as possible.
< modification example >
As shown in fig. 4, each vending machine A, B, C may be connected to the network N via one router 30. In this case, as shown in fig. 5, although the IP address is a local IP address, the IP address is different in each vending machine A, B, C. Further, since the router has a wireless communication function, the IMSI is the same value for each vending machine A, B, C. In addition, although the machine codes are different, the position codes are the same value.
As described above, although the same communication identification information and the same local device identification information may be present depending on the communication connection method, at least the IP address and the device code are different from each other even in this case, and thus it is possible to assign unique device identification information to the vending machine and register the device identification information by combining them. In the present modification, a hash function MD5 for generating a 128-bit hash value is also used.
In the above-described embodiment and modification, the management server 10 generates the device identification information, but the present invention is not limited to this, and the device identification information may be generated by another device, distributed to the vending machine A, B, C, and registered in the management server 10.
As described above, in the present embodiment and the modification, a hash value is generated using a hash function for text information obtained by combining one or more pieces of communication identification information of the vending machine and one or more pieces of local device identification information of the vending machine, and the hash value is registered and managed as unique device identification information in the vending machine, so that remote processing is not executed at all for a wrong vending machine.
Note that each configuration illustrated in the above-described embodiment and modification is a schematic functional configuration, and it is not necessarily required to physically have a configuration as illustrated in the drawings. That is, the way of dispersing and combining the respective devices and components is not limited to the illustrated way, and all or a part of them may be configured to be functionally or physically dispersed and combined in arbitrary units according to various usage situations and the like.

Claims (5)

1. A management server that manages a plurality of devices via a network, the management server comprising:
a communication identification information acquisition unit that acquires unique communication identification information for communication connection of the device;
a local information acquisition unit that acquires local device identification information set locally for the device;
a hash value generation unit that generates a hash value by using a hash function for text information obtained by combining the one or more pieces of communication identification information acquired by the communication identification information acquisition unit and the one or more pieces of local device identification information acquired by the local information acquisition unit; and
a management unit that manages the hash value generated for each of the devices as device identification information for each of the devices, and registers the hash value in each of the devices.
2. The management server according to claim 1,
the communication identification information is an IP address and/or IMSI.
3. The management server according to claim 1 or 2,
the local device identification information is a device code and/or a set location code.
4. A vending machine, characterized in that,
the vending machine is assigned the device identification information by the management server according to any one of claims 1 to 3.
5. A device identification information assigning method for a management server that manages a plurality of devices via a network using device identification information, the device identification information assigning method comprising the steps of:
a communication identification information acquisition step of acquiring unique communication identification information for communication connection of the device;
a local information acquisition step of acquiring local device identification information set locally for the device;
a hash value generation step of generating a hash value by using a hash function for text information obtained by combining the one or more pieces of communication identification information acquired in the communication identification information acquisition step and the one or more pieces of local device identification information acquired in the local information acquisition step; and
a management step of managing the hash value generated for each of the devices as device identification information of each of the devices, and registering the hash value to each of the devices.
CN201910912130.5A 2018-10-04 2019-09-25 Management server, vending machine, and device identification information providing method Active CN111009074B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018189484A JP7210989B2 (en) 2018-10-04 2018-10-04 Management server, vending machine, and method for adding device identification information
JP2018-189484 2018-10-04

Publications (2)

Publication Number Publication Date
CN111009074A true CN111009074A (en) 2020-04-14
CN111009074B CN111009074B (en) 2021-12-14

Family

ID=70110809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910912130.5A Active CN111009074B (en) 2018-10-04 2019-09-25 Management server, vending machine, and device identification information providing method

Country Status (2)

Country Link
JP (1) JP7210989B2 (en)
CN (1) CN111009074B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090039562A (en) * 2007-10-18 2009-04-22 (주)케이티에프테크놀로지스 Method of authenticating subscriber information in a mobile communication system
CN102214302A (en) * 2010-04-07 2011-10-12 索尼公司 Recognition device, recognition method, and program
CN103093206A (en) * 2013-01-21 2013-05-08 信帧电子技术(北京)有限公司 Car logo recognition method and device
CN104202440A (en) * 2014-09-02 2014-12-10 腾讯科技(深圳)有限公司 Method for identifying terminal, server and system
CN104823198A (en) * 2012-10-05 2015-08-05 微软技术许可有限责任公司 Secure identification of computing device and secure identification methods
CN105357204A (en) * 2015-11-17 2016-02-24 腾讯科技(深圳)有限公司 Method and apparatus for generating terminal identifying information
CN105653713A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Method and device for determining existence of equipment identification codes
CN106797315A (en) * 2014-09-24 2017-05-31 诺基亚技术有限公司 Control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8369264B2 (en) * 2005-10-28 2013-02-05 Skyhook Wireless, Inc. Method and system for selecting and providing a relevant subset of Wi-Fi location information to a mobile client device so the client device may estimate its position with efficient utilization of resources
JP5453344B2 (en) * 2011-05-10 2014-03-26 三菱電機株式会社 Communication adapter, controller and network system
JP6191463B2 (en) * 2012-02-03 2017-09-06 日本電気株式会社 Base station apparatus, communication system
JP5677392B2 (en) * 2012-09-26 2015-02-25 三菱電機株式会社 Communication adapter, identification code generation method, program, and network system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090039562A (en) * 2007-10-18 2009-04-22 (주)케이티에프테크놀로지스 Method of authenticating subscriber information in a mobile communication system
CN102214302A (en) * 2010-04-07 2011-10-12 索尼公司 Recognition device, recognition method, and program
CN104823198A (en) * 2012-10-05 2015-08-05 微软技术许可有限责任公司 Secure identification of computing device and secure identification methods
CN103093206A (en) * 2013-01-21 2013-05-08 信帧电子技术(北京)有限公司 Car logo recognition method and device
CN104202440A (en) * 2014-09-02 2014-12-10 腾讯科技(深圳)有限公司 Method for identifying terminal, server and system
CN106797315A (en) * 2014-09-24 2017-05-31 诺基亚技术有限公司 Control device
CN105357204A (en) * 2015-11-17 2016-02-24 腾讯科技(深圳)有限公司 Method and apparatus for generating terminal identifying information
CN105653713A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Method and device for determining existence of equipment identification codes

Also Published As

Publication number Publication date
CN111009074B (en) 2021-12-14
JP7210989B2 (en) 2023-01-24
JP2020060806A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
CN106559388B (en) Method and device for binding equipment
CN107169094B (en) Information aggregation method and device
CN107371234B (en) Registration method, device and terminal
CN112202747A (en) Target device binding method and device, storage medium and electronic device
US20200231195A1 (en) Method for operating a rail vehicle
CN106415591A (en) Electronic device, system and method for nfc
CN113835844A (en) Management method and device of container cluster and cloud computing platform
CN108040117A (en) Information-pushing method and device
CN110798824A (en) Electronic table card control method, intelligent terminal and system
CN112887451B (en) Domain name resolution method and device and computer equipment
CN111009074B (en) Management server, vending machine, and device identification information providing method
US11140554B2 (en) Management of a multi-SIM offer with multiple activation codes
CN105511914A (en) Application update method, device and system
CN103176805A (en) Executable program installation method and executable program installation system
CN108965491B (en) Method, device and system for distributing communication addresses of lower computers
CN113301557B (en) eSIM card state management method, device, equipment and storage medium
CN113194477B (en) Intelligent equipment networking method and device, electronic equipment and storage medium
CN110012109B (en) Method for establishing engineering information capable of realizing high accuracy
CN110493818B (en) Detection method and device of wireless fidelity module, storage medium and electronic device
CN105516394A (en) DNS (Domain Name System) address management method and terminal
CN112685064A (en) Device identification processing method and device, storage medium and electronic device
JP6159782B2 (en) Information processing apparatus control method, information processing apparatus and control program, terminal control method and terminal control program
CN111008220A (en) Dynamic identification method and device of data source, storage medium and electronic device
US20180115460A1 (en) Automatic provisioning of a network access point
CN117395139B (en) Double-stack network host nano-tube system, method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant