Apparatus, method and program for remotely managing devices
The method generates credentials for IoT devices using identification numbers like IMSI to streamline secure remote management, addressing the challenge of high setup costs and time in existing methods.
Patent Information
- Application Number
- JP2021135106
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2024-08-15
- Estimated Expiration
- 2037-07-04
AI Technical Summary
Existing methods for remotely managing IoT devices require pre-setting authentication information, leading to increased man-hours and costs as the number of connected devices grows exponentially, making initial setup cumbersome and costly.
A method for remotely managing devices by generating credentials based on an identification number, such as IMSI, stored in the device, which facilitates secure connection to a management server through a cellular network, reducing the need for prior manual setup.
Facilitates secure and efficient initial setup of IoT devices by generating credentials on-demand, reducing setup costs and time, and ensuring secure remote management.
Smart Images

Figure 0007535022000001 
Figure 0007535022000006 
Figure 0007535022000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus, a method, and a program for remotely managing a device. [Background technology]
[0002] With the advancement of sensing and communication technologies, the number of devices connected to computer networks is increasing, and the idea of the Internet of Things, in which all things are networked, is becoming more widespread. Hereinafter, networked devices, not limited to those connected to the Internet, will be referred to as "IoT devices."
[0003] IoT devices can connect to a network to send collected data to servers and storage, and receive data from servers. They can also update firmware, install new software, and receive commands for existing software. When considering a case where many devices are deployed in remote locations, connecting them to a network makes it possible to dynamically detect and manage the settings and status of these devices. Summary of the Invention [Problem to be solved by the invention]
[0004] Although such device management is theoretically possible, it is not easy in reality. In other words, in order to collect and distribute information remotely, a secure connection must be established with a server that performs the management. One method is to provide the same or corresponding authentication information for communication using a specific communication method to both the management server and the device in advance, and for example, the software that runs when the device is turned on can use the authentication information to establish a connection with the management server.
[0005] However, with this method, authentication information must be set for each device before it is used, which can lead to an increase in the number of steps in the manufacturing process, and thus to higher costs. With the number of devices expected to connect to the Internet reaching 20 billion to 100 billion by 2020, the cost of initial setup will increase as the number of devices increases explosively.
[0006] The present invention has been made in consideration of these problems, and its object is to facilitate the initial setting of authentication information for each device in an apparatus, method, and program for remotely managing multiple devices. [Means for solving the problem]
[0007] In order to achieve this object, a first aspect of the present invention is a method for remotely managing a device, comprising the steps of receiving, from a device having an identification number stored therein for connecting to a cellular network, an initial setting request including a device ID of the device, together with the identification number or an ID corresponding thereto, via the cellular network; obtaining a customer ID associated with the identification number based on the identification number or the ID corresponding thereto; generating credentials for the device using the customer ID and the device ID; and transmitting initial setting information including the credentials or authentication information corresponding thereto to the device.
[0008] In addition, a second aspect of the present invention is a method for remotely managing a device, comprising the steps of receiving, via the cellular network, a device ID of the device transmitted from a device connected to a gateway in which an identification number for connecting to a cellular network is stored, together with the identification number of the gateway or an ID corresponding thereto, as an initial connection request; obtaining a customer ID corresponding to the identification number based on the identification number or the ID corresponding thereto; generating credentials for the device using the customer ID and the device ID; and transmitting initial setting information including the credentials or authentication information corresponding thereto to the device.
[0009] A third aspect of the present invention is characterized in that, in the first or second aspect, the identification number includes an IMSI.
[0010] A fourth aspect of the present invention is characterized in that in any one of the first to third aspects, the identification number is stored in a SIM card.
[0011] Moreover, a fifth aspect of the present invention, in any one of the first to fourth aspects, is characterized in that the credentials are credentials for connecting to a wired network.
[0012] Moreover, a sixth aspect of the present invention, in any one of the first to fourth aspects, is characterized in that the credentials are credentials for connecting to a wireless network.
[0013] Moreover, a seventh aspect of the present invention, in the sixth aspect, is characterized in that the wireless network is a network other than a cellular network that can be connected by the identification number.
[0014] An eighth aspect of the present invention, in the sixth or seventh aspect, is characterized in that the communication in the wireless network uses an LwM2M protocol.
[0015] Furthermore, a ninth aspect of the present invention, in any one of the first to eighth aspects, is characterized in that the credential is transmitted via the cellular network.
[0016] Furthermore, a tenth aspect of the present invention is characterized in that, in the first or second aspect, the receiving and transmitting are performed in a communication device for providing communication in the cellular network, and the generating is performed in a management device for managing the equipment, and the management device is capable of communicating with the communication device outside the cellular network.
[0017] An eleventh aspect of the present invention, in the tenth aspect, is characterized in that said obtaining is performed in said communication device.
[0018] A twelfth aspect of the present invention, in the tenth or eleventh aspect, is characterized in that the initial setting information includes connection destination information of the management device.
[0019] Moreover, a thirteenth aspect of the present invention is characterized in that, in the twelfth aspect, the management device has a first management device and a second management device, the generation is performed in the first management device, and the connection destination information is a connection destination URL of the second management device.
[0020] In addition, a 14th aspect of the present invention is a program for causing a computer to execute a method for remotely managing an apparatus, the method being characterized in that it includes the steps of receiving, via a cellular network, from an apparatus in which an identification number for connecting to a cellular network is stored, an initial setting request including a device ID of the apparatus, together with the identification number or an ID corresponding thereto, obtaining a customer ID corresponding to the identification number based on the identification number or the ID corresponding thereto, generating credentials for the apparatus using the customer ID and the apparatus ID, and transmitting initial setting information including the credentials or authentication information corresponding thereto to the apparatus.
[0021] A fifteenth aspect of the present invention is an apparatus for remotely managing equipment, which receives, from an equipment having an identification number stored therein for connecting to a cellular network, an initial setting request including a equipment ID of the equipment, together with the identification number or an ID corresponding thereto, via the cellular network, obtains a customer ID corresponding to the identification number based on the identification number or the ID corresponding thereto, generates credentials for the equipment using the customer ID and the equipment ID, and transmits initial setting information including the credentials or authentication information corresponding thereto to the equipment. Effect of the Invention
[0022] According to one aspect of the present invention, credentials for a device to be managed are generated based on an identification number, such as an IMSI, for connecting to a cellular network that is pre-stored in the device, and are subsequently provided to the device, thereby greatly facilitating the initial setup required for a secure connection for remote management between the device and a management device for managing the device. [Brief description of the drawings]
[0023] [Figure 1] 1 is a diagram illustrating a management system according to a first embodiment of the present invention. [Diagram 2] 1 is a flow chart illustrating a method according to a first embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram for explaining an initial setting request in the method according to the first embodiment of the present invention. [Figure 4] FIG. 2 is a diagram for explaining initial setting information in the method according to the first embodiment of the present invention. [Diagram 5] FIG. 11 is a diagram for explaining a managed device according to a second embodiment of the present invention. [Figure 6] FIG. 13 illustrates a web console according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0025] (First embodiment) Fig. 1 shows a management system according to a first embodiment of the present invention. The management system 100 includes a communication device 110 that communicates with a plurality of devices 151, 152, and 153 via a cellular network, and a management device 130 that can communicate with the communication device 110 and manages the plurality of devices 151, 152, and 153. The number of devices can be one or more, and although Fig. 1 shows an example of three devices, the number is not limited to this. The following description will be given taking the device 151 as an example.
[0026] The communication device 110 can be a communication device of an MNO (Mobile Network Operator), or a communication device of an MVNO (Mobile Virtual Network Operator) that provides wireless communication services by connecting to the communication infrastructure of the MNO. A SIM card 151-1 provided by an MNO or MVNO is inserted into the device 151, and communication with the communication device 110 over a cellular network is possible after verification by the HLR / HSS. In this embodiment, communication between the device 151 and the communication device 110 is performed in a core network of the cellular network, and communication between the communication device 110 and the management device 130 is performed outside the cellular network.
[0027] Between the MNO and the MVNO, there may be an MVNE (Mobile Virtual Network Provider) that provides support services for the MVNO to smoothly carry out its business, and the MVNE may have a communication infrastructure for connecting to the MNO's communication infrastructure to provide wireless communication services. In this case, the communication device 110 becomes the MVNE's communication device. The MVNE may also provide the SIM card 151-1.
[0028] Communication device 110 can communicate with database 120, which stores, for each SIM card, a correspondence between an identification number such as an IMSI or an ID corresponding thereto and a customer ID such as a user name or company name of the SIM card. Instead of accessing database 120, communication device 110 may have its own storage device or storage medium (not shown) in which the correspondence is stored.
[0029] In this specification, the description will be mainly given taking a SIM card as an example, but the identification number such as IMSI may be stored not only in the physical SIM card 151-1 possessed by the device 151, but also in a semiconductor chip (also called "eSIM") incorporated in the device 151, and one or more IMSIs may be stored in software that is mounted in a secure area in a module of the device 151 and one or more IMSIs may be stored in the software. There are various possible modes in which the device 151 holds the identification number directly or indirectly. In the present invention, as described later, an initial setting for management is performed using an identification number for connecting to a cellular network that is pre-stored in the device 151, and the reliability of the IMSI is verified at the stage of connecting to the cellular network, and subsequent communication is highly confidential due to encryption, thereby achieving a high level of security.
[0030] The management device 130 can communicate with the database 140, and the database 140 stores data required for the initial setting of the device 151, as described later. Instead of accessing the database 140, the communication device 110 may have its own storage device or storage medium and store the above-mentioned correspondence therein. As shown in FIG. 1, the management device 130 can be divided into a first management device 131 for performing the initial setting required for management and a second management device 132 for performing management after the initial setting, and although an example will be described below, they may be the same device. In that case, no transmission or reception or delivery of data is performed between the first management device 131 and the second management device 132. The same applies when the communication device 110 and the management device 130 are the same device.
[0031] The device 151 may be any device having a required communication function, and may have an identification number for connecting to a cellular network. In order to transmit the results of sensing in the device 151, such as the remaining battery level, radio wave intensity, and operating status, to the management system 100, and to execute commands from the management system 100, it is required that software written in a programming language such as C or Java (registered trademark) can be executed. Extension using a different programming language (Ruby, Go, Javascript (registered trademark), etc.) in a form of wrapping the implementation of C is also possible. For example, the device 151 may be a device on which an OS such as Linux (registered trademark) or Android (registered trademark) is installed. The device 151 may be provided with the minimum or limited software required for management by the management device 130, and the management device 130 may be responsible for many processes, thereby making the device 151 less powerful. From this viewpoint, it is preferable that at least a part of the management device 130 is implemented on a cloud, further a public cloud or a private cloud. As a specific example, a configuration may be considered in which the LwM2M protocol is used over an IP protocol for device management, with the device 151 acting as an LwM2M client, the first management device 131 acting as an LwM2M bootstrap server, and the second management device 132 acting as an LwM2M server.
[0032] Each device described in this specification is not limited to a single physical device, but may be a plurality of mutually accessible devices. As illustrated, the first management device 131 includes a communication unit 131-1 such as a communication interface, a processing unit 131-2 such as a processor or CPU, and a storage unit 131-3 including a storage device or storage medium such as a memory or a hard disk, and the functions described below can be realized by executing the programs for performing the processes stored in the storage unit 131-3 or the storage device or storage medium accessible from the first management device 131 in the processing unit 131-2. As illustrated, other devices can be realized by similar hardware. The above program may include one or more programs, and may be recorded in a computer-readable storage medium to form a non-transient program product.
[0033] 2 is a flowchart showing a method according to the first embodiment of the present invention. First, the communication device 110 receives a device ID, such as a device name (sometimes called an "endpoint") of the device 151, from the device 151 via a cellular network together with an identification number, such as an IMSI, stored in the SIM card 151-1 or a corresponding ID, such as a TEID (S201). As an example, when the device 151 is turned on, a predetermined software runs, and the management device 1 3 If the device does not have the credentials to connect to 0, an initial setting request including the device ID may be sent for initial setting, and the following processing may proceed automatically.
[0034] 3 is a diagram for explaining an example of an initial setting request transmitted from a device. From the device 151, first data 310 according to each protocol of CoAP / UDP / IP is transmitted as an initial setting request, and second data 320 according to each protocol of GTP / UDP / IP is added in the cellular network and received by the communication device 110. In the CoAP area according to the CoAP protocol, "POST / bs" is described together with an end point as a bootstrap request according to the LwM2M protocol. In the UDP area, a port number of software operating in the device 151 is described, and in the IP area, the IP address of the first management device 131 as the destination and the IP address of the device 151 as the source are described.
[0035] Since the device 151 has a SIM card inserted and can have a phone number, it can send and receive SMS messages. Messages conforming to the LwM2M protocol can be sent and received over SMS, and in this case, the transport layer for carrying CoAP messages is SMS instead of UDP / IP.
[0036] Next, the communication device 110 accesses the database 120 as necessary to acquire a customer ID associated with the identification number or the ID corresponding thereto (S202). In the example of the data structure shown in FIG. 3, the GTP area of the second data 320 includes a TEID corresponding to the IMSI, and the customer ID can be acquired using this. The communication device 110 passes the acquired customer ID and device ID to the management device 130, and the management device 130 uses these IDs to generate credentials for the device 151 (S203). The generated credentials for the device 151 or the corresponding authentication information are associated with the customer ID and device ID and registered in the database 140 or the storage unit 131-3. The "credentials" used here is a general term for information used for user authentication, including IDs and passwords.
[0037] Here, it has been described that the customer ID is acquired in communication device 110, but it is also possible for communication device 110 to pass the received initial setting request 310 as is or substantially as is to management device 130, or to pass the required device ID, IP address, etc. to management device 130, and acquire the customer ID by referring to a correspondence between an identification number such as an IMSI or an ID corresponding thereto and a customer ID such as the user name of the SIM card or the company name in management device 130. The correspondence may be accessed and referenced in database 120, or may be stored in database 140 and accessed and referenced.
[0038] Such credentials or corresponding authentication information are communication The credential is transmitted to the device 151 via the device 110 through the cellular network (S204). In addition to the credential or the corresponding authentication information, destination information including the IP address or host name of the second management device 132 to which the device 151 is connected is transmitted to the device 151, and this information is called initial setting information. The destination information included in the initial setting information may be selectable according to at least one of the customer ID and the device ID for the purpose of load balancing or the like.
[0039] FIG. 4 is a diagram for explaining an example of the initial setting information transmitted from the management device. From the management device 131, the first data 410 according to each protocol of CoAP / UDP / IP is transmitted as the initial setting information, and the second data 420 according to each protocol of GTP / UDP / IP is added in the cellular network and sent to the device 151. In the CoAP area according to the CoAP protocol, a destination URL including a protocol and a port number in addition to an IP address is described as "coaps: / / <IP address or host name of the second management device 132>:5684" as the destination information. In addition, the CoAP area includes a code indicating that an initial setting request such as "201" has been properly processed in the LwM2M protocol, and in response to receiving this, the device 151 can proceed with the subsequent connection processing. In the UDP area, the port number of the software operating in the device 151 is described, and in the IP area, the IP address of the device 151 as the destination and the IP address of the first management device 131 as the sender are described.
[0040] The device 151 that has received the initial setting information including the credentials or the corresponding authentication information and connection destination information uses this to establish a secure connection with the second management device 132 through the management device 130.
[0041] In this way, the device 151 and the management device 152 can communicate with each other by generating credentials for the device 151 based on an identification number such as an IMSI for connecting to a cellular network that is pre-kitted in the device 151 and providing the credentials afterwards. 3 This makes it possible to greatly facilitate the initial settings required for a secure connection for remote management between the management system 100 and the network administrator 100.
[0042] Please note that unless the word "only" is used, such as "based only on XX," "in response to XX," or "in the case of XX only," this specification assumes that additional information may also be taken into consideration.
[0043] In addition, all or part of the management system 100 and the databases 120 and 140 may be instances on a cloud or on a public cloud or private cloud. In this specification, "cloud" refers to a system that can dynamically provision and provide computing resources such as CPU, memory, storage, and network bandwidth on a network according to demand. For example, a cloud can be used by AWS or the like. In addition, "public cloud" refers to a cloud that can be used by multiple tenants.
[0044] Second Embodiment In the first embodiment, the device 151 was the subject of management, but in the second embodiment of the present invention, the device 151, which stores an identification number for connecting to a cellular network, serves as a gateway, and subordinate devices 501, 502, and 503 connected to the device 151 are subject to management. Here, an example of three devices is shown as an example.
[0045] When the device 151 receives the device ID of the dependent device 501 from the dependent device 501, for example, in the data structure illustrated in FIG. 3, the device 151 converts the source IP address described in the IP area 310 of the first data to its own IP address of the gateway, and transmits the converted data to the communication device 110 as an initial setting request. Along with the conversion of the IP address, the port of the UDP layer may also be converted. The process thereafter is the same as in the first embodiment. When the device 151 receives the initial setting information transmitted to the dependent device 501, it performs reverse conversion of the IP address, and passes to the dependent device 501 the credentials included in the initial setting information or the corresponding authentication information and connection destination information.
[0046] (Third embodiment) Management functions such as confirmation of information from the device 151 and control of the device 151 performed by the second management device 132 through the management device 130 can be provided to the outside by providing an API. Also, a web console can be provided. Fig. 6 shows an example of a web console 600 that can be displayed on a web browser. [Explanation of symbols]
[0047] 100 Management Systems 110 Communication equipment 120 Databases 130 Management device 131 First management device 131-1 Communications Department 131-2 Processing section 131-3 Storage section 132 Second management device 140 Databases 151, 152, 153 equipment 151-1 SIM card 310 First Data 320 Second Data 410 First Data 420 Second Data 501, 502, 503 Slave equipment 600 Web Console
Claims
1. A method for remotely managing a device by a management system including a communication device and a management device capable of communicating with the communication device, the method comprising: receiving, by the communication device, an initial setting request from a device in which an identification number for connecting to a cellular network is stored, together with the identification number or an ID corresponding to the identification number, via the cellular network; generating, by the management device, in response to the communication device receiving the initial configuration request together with the identification number or the ID, credentials for the device, the credentials enabling the device to connect to the management device via a wireless network other than the cellular network; transmitting initial setting information including the credential and connection destination information to the device through the communication device via the cellular network; a step of, after the device establishes a connection with the management device using the initial setting information, the management device provides a management function for the device by an API; Includes.
2. The method of claim 1 , wherein the identification number includes an IMSI.
3. 3. The method according to claim 1 or 2, characterized in that the communication in the wireless network uses the LwM2M protocol.
4. The method according to any one of claims 1 to 3, characterized in that the management device is capable of communicating with the communication device outside a cellular network.
5. The management device includes a first management device and a second management device, The generation is performed in the first management device; The method according to any one of claims 1 to 4, wherein the connection information is a connection URL of the second management device.
6. the first management device includes an LwM2M bootstrap server; The method of claim 5 , wherein the second management device comprises an LwM2M server.
7. A program for causing a management system including a communication device and a management device capable of communicating with the communication device to execute a method for remotely managing a device, the method comprising: receiving, by the communication device, an initial setting request from a device in which an identification number for connecting to a cellular network is stored, together with the identification number or an ID corresponding to the identification number, via the cellular network; generating, by the management device, in response to receiving the initial configuration request together with the identification number or the ID, credentials for the device, the credentials enabling the device to connect to the management device via a wireless network other than the cellular network; transmitting initial setting information including the credential and connection destination information to the device through the communication device via the cellular network; a step of, after the device establishes a connection with the management device using the initial setting information, the management device provides a management function for the device by an API; Includes.
8. A management system for remotely managing a device, comprising: A communication device and a management device capable of communicating with the communication device, the communication device receives an initial setting request from a device in which an identification number for connecting to a cellular network is stored, together with the identification number or an ID corresponding to the identification number, via the cellular network; in response to receiving the initial configuration request along with the identification number or the ID, the management device generates credentials for the device, the credentials enabling the device to connect to the management device via a wireless network other than the cellular network; Transmitting initial setting information including connection destination information for the credential to the device via the communication device through the cellular network; The management device is configured to provide a management function for the device by an API after the device establishes a connection with the management device using the initial setting information.
Citation Information
Patent Citations
METHOD FOR ACTIVATING USER, METHOD FOR AUTHENTICATING USER, METHOD FOR CONTROLLING USER TRAFFIC, METHOD FOR CONNECTING USER CONNECTION OF 3G Wi-Fi DETOUR NETWORK, AND 3G TRAFFIC DETOUR SYSTEM
JP2017103817A
Authentication in data communication
US20090183003A1
