Configuration system, management server and its configuration instruction program, router and its configuration execution program
The SMS-based router configuration system addresses the challenge of managing multiple routers by enabling remote configuration through a management server and router system, ensuring efficient and convenient setup without Internet access.
Patent Information
- Application Number
- JP2023002723
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-01-11
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-01-11
AI Technical Summary
Existing router configuration methods require physical presence at the installation location due to the use of Internet-based communication protocols, making it cumbersome to manage multiple routers, especially in secure networks.
A configuration system utilizing a management server and SMS-based communication to remotely configure routers, including a management server that generates and transmits configuration commands via SMS, and routers that receive and execute these commands, with features like transaction numbers, sequence numbers, and group transmission to ensure accurate and efficient configuration.
Enables remote router configuration without Internet access, simplifying the management of multiple routers and reducing the need for physical presence, thereby enhancing operational efficiency and convenience.
Smart Images

Figure 0007557558000005 
Figure 0007557558000010 
Figure 0007557558000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a configuration system including a management server and a router, a management server and its configuration instruction program for configuring the router in the configuration system, and a router and its configuration execution program. [Background technology]
[0002] In recent years, communication technology has developed remarkably. One of the devices that support such communication technology is a router. In such a router, a communication carrier may use a specific tool or connect via USB to perform basic settings for communication, and then install the router at the location where it will be used. In this case, in order to change the settings of the router, it is necessary to go to the location where the router is installed and perform the settings, and if there are a large number of routers, the process becomes very complicated. Patent Document 1 discloses a management system that can perform operation settings of multiple terminal devices managed by a server. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-22125 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the above-mentioned Patent Document 1, the settings are made using a so-called Internet line. Also, there are known routers that perform web settings for routing in existing network communications.
[0005] However, when using a communication protocol based on the Internet Protocol (IP) such as the Internet line as a method for configuring a router, it is necessary to perform communication between the router and a management server and perform registration processing in advance from the viewpoint of security. However, when managing a router installed on a secure network such as a closed network of a company, it is necessary to set up the router and the network in advance to allow the communication, and if such setting is not made, the advantage of remote configuration cannot necessarily be enjoyed. Therefore, a method is required to easily configure a router without going through an Internet line. The present invention has been made in response to such a demand, and an object of the present invention is to provide a configuration system that can configure a router without going through an Internet line, a management server and a configuration instruction program included in the configuration system, and a router and a configuration execution program included in the configuration system. [Means for solving the problem]
[0006] In order to solve the above problems, a configuration system according to one embodiment of the present invention comprises a management server connected to a network and a plurality of routers connected to a mobile communications network, the management server comprises a receiving unit that receives a configuration command indicating the configuration contents to be set in the router and an input specifying the destination router, a generating unit that generates a configuration SMS containing the configuration command for the specified destination, and a first transmitting unit that transmits the configuration SMS to the specified destination router, and the router comprises a receiving unit that receives the configuration SMS and a setting unit that performs configuration of the router in accordance with the configuration command described in the configuration SMS.
[0007] In the above setting system, the router may further include a second transmitting unit configured to transmit a notification SMS indicating a processing result of the setting of the router itself in accordance with the setting command by the setting unit to the management server.
[0008] In addition, in the above setting system, when the receiving unit receives the setting SMS, the second transmitting unit may send a response SMS indicating that the setting SMS has been received to the management server, and the first transmitting unit may resend the setting SMS if the response SMS is not received within a predetermined time after sending the setting SMS.
[0009] Furthermore, in the above setting system, the generation unit generates a setting SMS to which a transaction number is assigned to distinguish each setting SMS from other setting SMS, and when the first transmission unit resends the setting SMS, it sends a setting SMS to which the same transaction number as the setting SMS that has already been sent is assigned, and when the receiving unit receives multiple setting SMSs with the same transaction number, the setting unit performs configuration of the device based on a setting command described in any one of the multiple setting SMSs with the same transaction number.
[0010] In addition, in the above setting system, when the number of characters in the setting command exceeds a predetermined character limit, the generation unit divides the setting command so that the number of characters after division does not exceed the character limit, thereby generating a plurality of divided commands, and generates a setting SMS to which a sequence number indicating the order of the divided commands is assigned for each generated divided command, the first transmission unit transmits a plurality of setting SMS corresponding to each of the plurality of divided commands to a destination router, and when the setting unit receives a plurality of setting SMS including sequence numbers, it combines the divided commands in accordance with the sequence numbers to generate a setting command, and executes the setting in accordance with the generated setting command.
[0011] In addition, in the above-mentioned setting system, when the receiving unit receives the designation of multiple routers as destinations and the number of setting SMS to be sent exceeds a predetermined number, the first sending unit may divide the multiple routers into multiple groups and send a setting SMS to each group at a time that does not overlap with other groups.
[0012] In addition, in the above-mentioned configuration system, the router may include a memory unit that stores the telephone number of the management server, and a judgment unit that, when the receiving unit receives a configuration SMS, judges whether the telephone number of the sender of the configuration SMS matches the telephone number stored in the memory unit, and the configuration unit may perform configuration of its own device based on the configuration command described in the configuration SMS only when the judgment unit judges that the telephone number of the sender matches the telephone number stored in the memory unit.
[0013] In the setting system, the second transmission unit may transmit log data obtained when the setting of the device itself is executed based on the setting command, as a processing result, in the notification SMS.
[0014] In addition, a management server according to one embodiment of the present invention is a management server that communicates with a plurality of routers connected to a mobile communication network, and includes a reception unit that receives a setting command indicating the setting contents to be set in the router and an input specifying the destination router, a generation unit that generates a setting SMS containing the setting command for the specified destination, and a first transmission unit that transmits the setting SMS to the specified destination router.
[0015] In addition, the setting instruction program executed on the management server computer provides the management server computer, which communicates with a plurality of routers connected to the mobile communications network, with a reception function that receives a setting command indicating the setting contents to be set in the router and an input specifying the destination router, a generation function that generates a setting SMS containing the setting command for the specified destination, and a first transmission function that transmits the setting SMS to the specified destination router.
[0016] In addition, a router according to one embodiment of the present invention includes a receiving unit that receives a configuration SMS via a mobile communications network, the configuration SMS including a configuration command indicating the configuration contents for the router, and a configuration unit that performs configuration of the router in accordance with the configuration command described in the configuration SMS.
[0017] The setting execution program executed in the router's computer enables the computer to realize a receiving function of receiving a setting SMS containing setting commands indicating the setting contents for the device via the mobile communications network, and a setting function of executing settings for the device in accordance with the setting commands contained in the setting SMS. Effect of the Invention
[0018] A management server according to an embodiment of the present invention can use SMS to configure a router via an Internet line without using web configuration. [Brief description of the drawings]
[0019] [Figure 1] FIG. 1 is a conceptual diagram illustrating an example of a system configuration of a setting system. [Diagram 2] 2 is a block diagram showing an example of the configuration of a management server; [Diagram 3] FIG. 2 is a block diagram showing an example of the configuration of a router. [Figure 4] FIG. 11 is a conceptual data diagram showing an example of the data structure of router information. [Diagram 5] 11 is a sequence diagram showing an example of an exchange between a management server and a router in the configuration system. [Figure 6] 13 is a flowchart illustrating an example of the operation of the management server. [Figure 7] 13 is a flowchart showing an example of the operation of a router. [Figure 8] 13 is a flowchart showing an example of the operation of the management server when transmitting a setting SMS to a plurality of routers. [Figure 9] 13 is a flowchart showing an example of the operation of the management server when transmitting a setting SMS when a setting command exceeds the character limit of SMS. [Figure 10] 13 is a flowchart showing an example of the operation of a router when receiving a setting SMS in a case where a setting command exceeds the character limit of an SMS. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] A setting system, its management server, and a router according to an embodiment of the present invention will be described in detail below with reference to the drawings.
[0021] <Embodiment> <Summary> Fig. 1 is a system diagram showing an example of the system configuration of a setting system according to an embodiment. The setting system shown in Fig. 1 includes a management server 100 and routers 200 (200a, 200b, 200c) to which the management server 100 issues setting instructions.
[0022] The management server 100 sends a configuration SMS, which describes a configuration command indicating the configuration contents as the body of the SMS (Short Message Service), to the router 200 to be configured via the communication carrier 300. When the router 200 receives the configuration SMS, it extracts the configuration command contained in the body and configures its own device according to the configuration command. In this way, in the configuration system, by using SMS, the management server 100 can configure the router 200 at any time.
[0023] Each device will be described in detail below.
[0024] <Configuration> <Example of management server 100 configuration> FIG. 2 is a block diagram showing an example of the configuration of the management server 100. As shown in FIG.
[0025] The management server 100 is a server device that manages and instructs the settings of the routers 200 arranged on the network. The management server 100 is a computer system realized by a server device, a PC, a notebook PC, a tablet terminal, etc., but is not limited to these.
[0026] 2, the management server 100 includes a communication unit 110, an input unit 120, a control unit 130, a storage unit 140, and an output unit 150. The communication unit 110, the input unit 120, the control unit 130, the storage unit 140, and the output unit 150 may be configured to be able to communicate with each other.
[0027] The communication unit 110 is a communication interface having a function for executing communication with other devices. The communication unit 110 may execute communication using any communication protocol as long as it is capable of communicating with other devices, and may execute communication by either wired or wireless means. The communication unit 110 executes communication using an Internet line and a telephone line network provided by a communication carrier 300 (a communication business operator). The communication unit 110 may be separately configured into a configuration using an Internet line and a configuration using a telephone line network. The communication unit 110 may have a telephone number for receiving SMS.
[0028] The communication unit 110 communicates with the communication carrier 300 according to an instruction from the control unit 130. For example, the communication unit 110 transmits a setting SMS including a setting command indicating the setting contents to be set in the router 200 to the communication destination router 200 according to an instruction from the control unit 130. The communication unit 110 also receives, for example, a response SMS indicating that the setting SMS has been received, a notification SMS indicating the setting result, and the like from the router 200 via the communication carrier 300, and transmits them to the control unit 130. The communication unit 110 may also receive setting contents (setting commands) to be set in the router 200 from a terminal device that has accessed the management server 100, and transmit them to the control unit 130. Here, the terminal device may be a computer system such as a PC, smartphone, or mobile phone of a user who uses the router 200.
[0029] The input unit 120 is an input interface having a function of receiving input from an operator of the management server 100 or the like and transmitting the input to the control unit 130. The input unit 120 may be realized by soft keys such as a touch panel, or may be realized by hard keys. Alternatively, the input unit 120 may be a microphone for receiving voice input. The input unit 120 receives input of information specifying the setting contents and setting commands, input of information specifying the router 200 to be set, and the like, and transmits the input to the control unit 130.
[0030] The storage unit 140 has a function of storing various programs and data required for the operation of the management server 100. The storage unit 140 can be realized by, for example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc., but is not limited to these. The storage unit 140 may store a setting instruction program that instructs the router 200 to set the router 200 via SMS. This information may be stored in cloud storage, and the management server 100 may be configured to use the programs and data stored in the cloud storage. The storage unit 140 may store router information 141 for managing each router 200. Details of the router information 141 will be described later.
[0031] The output unit 150 has a function of outputting specified information in accordance with an instruction from the control unit 130. The output by the output unit 150 may be either an image signal or an audio signal. In the case of an image signal, the output may be to a monitor connected to (or provided in) the management server 100. In the case of an audio signal, the output may be to a speaker connected to (or provided in) the management server 100. The output unit 150 may display, for example, information indicating the setting contents instructed to the router 200 and information indicating the result of the setting in the router 200.
[0032] The control unit 130 is a processor having a function of controlling each unit of the management server 100. The control unit 130 may be realized by a single core or by multiple cores.
[0033] The control unit 130 includes a reception unit 131, a generation unit 132, and a communication control unit 133 as functions realized by the control unit 130.
[0034] The reception unit 131 receives an input specifying a setting command indicating the setting contents to be set in the router 200 and the router 200 to be the destination. The reception unit 131 receives, for example, an input of information capable of identifying the setting command and information specifying the destination router 200 from an operator of the management server 100 via the input unit 120. Alternatively, the reception unit 131 receives an input of information capable of identifying the setting command and information indicating the destination router 200 by communication via the communication unit 110 and a terminal device accessing the management server 100. The reception unit 131 transmits the received information to the generation unit 132.
[0035] The generation unit 132 generates a setting SMS whose destination is the specified router 200 and whose text contains information indicating the contents of the specified setting command.
[0036] The Third-Generation-Partnership-Project (3GPP (registered trademark)) standard stipulates that a terminal that receives an SMS notifies (acks) an SMS processing device (SMSC: Short Message Service Center) (not shown) in a mobile communication system that the SMS has been received. If the ack is not confirmed within a specified time, the SMSC performs a process to resend the SMS.
[0037] Here, the same setting SMS may be sent to multiple routers 200 (router 200a and router 200b). When the same setting SMS is received, the SMSC sends the setting SMS to the routers 200a and 200b. Here, assume that the communication conditions of the routers 200a and 200b are poor, so that the router 200a fails to receive the setting SMS and the router 200b fails to send the ack. In this way, there may be different reasons why the ack does not reach the SMSC. However, the SMSC cannot determine the reason why the ack signal does not reach the routers 200a and 200b. Therefore, the SMSC resends the setting SMS to the routers 200a and 200b in accordance with the 3GPP standard. When the resent configuration SMS reaches router 200a and router 200b, router 200a will receive one configuration SMS and router 200b will receive two configuration SMS, and router 200a and router 200b will perform configuration of their own devices in accordance with the configuration SMS.
[0038] Depending on the model of the router or the settings to be performed, communication interruptions may occur due to reasons such as the need to restart the router as a result of the settings. In the above example, if communication interruptions occur as a result of the settings, one communication interruption will occur in router 200a and two communication interruptions will occur in router 200b. However, in router 200b, the desired settings have been applied in the first setting SMS, so processing the resent setting SMS is essentially unnecessary.
[0039] Therefore, the generating unit 132 may generate the setting SMS by assigning a transaction number to the setting SMS so that each router 200 can distinguish it from other setting SMS. As an example, the transaction number may be assigned by describing a number that can uniquely identify each setting SMS, with a predetermined number of characters from the beginning of the body of the SMS as a separator, and the generating unit 132 may generate the setting SMS by writing the contents of the setting command after that. In this way, even if a processed setting SMS is resent, the router 200 can distinguish whether it is a resent SMS or not. As a result, the router 200 does not need to execute unnecessary reconfiguration processing.
[0040] Incidentally, the specifications defined in the 3GPP standard stipulate the amount of data that can be transmitted at one time. In addition, the manufacturer of the communication terminal or the communication carrier may limit the amount of data that can be transmitted, and there is a restriction on the number of characters that can be transmitted (hereinafter referred to as the "character limit"). For example, the character limit for major communication carriers in Japan is 670 full-width characters and 1530 half-width characters. If the number of characters in the setting command exceeds the character limit, the transmission will fail.
[0041] On the other hand, if the content of the setting command does not fit within the SMS character limit, i.e., if the number of characters in the setting command is not less than the SMS character limit, the generating unit 132 may divide the setting command so that the number of characters is less than the SMS character limit, and generate multiple divided setting SMS. In this way, the management server 100 can transmit the setting command to the router 200 even if the number of characters in the setting command is not less than the SMS character limit.
[0042] When sending multiple split setting SMS, the order of the split setting SMS sent by the management server 100 may not match the order of the split setting SMS received by the router 200 due to the influence of network conditions or SMSC load conditions. In other words, the router 200 may not receive the split setting SMS in the order intended by the management server 100. Depending on the model of the router 200 or the contents of the setting command, if the command is input in a different order, the meaning of the command may be interpreted differently, resulting in different setting contents. Therefore, it is conceivable that unintended setting may be performed if the router 200 processes the commands in the order in which they were received.
[0043] In response to this, when generating unit 132 divides a setting command and generates multiple divided setting SMS, it may assign sequence numbers indicating the order to the divided setting SMS. When multiple divided setting SMS with sequence numbers are received, router 200 can combine the setting contents in the order indicated by the sequence numbers. In this way, router 200 can recognize the order of received divided setting SMS, and can prevent unintended setting from being performed.
[0044] For the sake of clarity, it is stated that the number of characters is less than the number of characters in the SMS. More strictly speaking, this means that the number of characters available in the SMS as a setting command is less than the number of characters obtained by subtracting the number of characters used as a transaction number and the number of characters used as a sequence number from the character limit of the SMS. When the setting command is divided into a plurality of parts, the generating unit 132 may assign a sequence number in addition to the transaction number in order to indicate the order of each divided setting SMS. Alternatively, the generating unit 132 may be configured to assign only the sequence number in the case of a divided setting SMS. The transaction numbers of the divided setting SMS may be the same number. That is, the setting SMS may be provided with a field for recording the transaction number, a field for recording the sequence number, a field for recording the total number of divisions of the divided setting SMS, and a field for recording the setting command. When the setting SMS is not a divided setting SMS, the field for recording the sequence number and the field for recording the total number of divisions may be filled with "0". This is a configuration that takes into consideration the case where multiple different sets of split setting SMS are sent with little time difference between the sending times of each set, and when one set of split setting SMS is sent, the generation unit 132 may assign only a sequence number without assigning a transaction number.
[0045] The communication control unit 133 (first transmission unit) transmits the setting SMS generated by the generation unit 132 to the communication carrier 300 via the communication unit 110 so that the setting SMS is transmitted to the router 200, which is the designated transmission destination. Furthermore, when there are a predetermined number or more setting SMS generated by the generation unit 132, the communication control unit 133 may divide the setting SMS into a plurality of groups and transmit the setting SMS so that the transmission timings of the groups do not overlap.
[0046] The above is a description of an example of the configuration of the management server 100.
[0047] <Example of router 200 configuration> The router 200 is a communication device having a function of connecting (relaying) one or more computer systems (such as PCs, notebook PCs, tablet terminals, smartphones, and mobile phones) connected to the router 200 (the local network of the router 200) to an external network. The router 200 may be a device that executes routing of communication between one or more computer systems connected to the router 200 and the outside in a telephone line network or a TCP / IP network provided by the communication carrier 300. The router 200 is connected to at least a mobile communication network provided by the communication carrier 300. The router 200 may be a router that complies with private 5G.
[0048] Fig. 3 is a block diagram showing an example of a functional configuration of the router 200. As shown in Fig. 3, the router 200 includes a communication unit 210, a control unit 230, and a storage unit 240. The router 200 may also include an input unit 220 and an output unit 250.
[0049] The communication unit 210 communicates with the communication carrier 300 according to instructions from the control unit 230. The communication unit 210, for example, receives a setting SMS from the communication carrier 300 and transmits it to the control unit 230. Furthermore, the communication unit 210, for example, according to instructions from the control unit 230, transmits to the communication carrier 300 a response SMS indicating that the setting SMS has been received, addressed to the management server 100, and transmits a notification SMS including information on whether the setting has been successful.
[0050] The input unit 220 is an input interface having a function of receiving input from an operator of the router 200 or the like and transmitting the input to the control unit 230. The input unit 220 may be realized by soft keys such as a touch panel, or may be realized by hard keys. Alternatively, the input unit 220 may be a microphone for receiving voice input. The input unit 220 transmits information indicating the input contents to the control unit 230. As an example, the input unit 220 may receive input when the settings of the router 200 are manually input, and transmit the input to the control unit 230.
[0051] The storage unit 240 has a function of storing various programs and data required for the operation of the management server 100. The storage unit 240 can be realized by, for example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc., but is not limited to these. The storage unit 240 may store a setting execution program that analyzes the text of a setting SMS and executes the setting of the router 200 according to the contents of a setting command obtained by the analysis. The storage unit 240 may also store the telephone number of the management server 100 that can send a setting SMS to the router 200. Note that this information may be stored in cloud storage, and the router 200 may be configured to use the programs and data stored in the cloud storage.
[0052] The output unit 250 has a function of outputting designated information according to an instruction from the control unit 230. The output by the output unit 250 may be either an image signal or an audio signal. In the case of outputting an image signal, the output may be to a monitor connected to (or provided in) the management server 100. In the case of outputting an audio signal, the output may be to a speaker connected to (or provided in) the management server 100. In addition, the output unit 250 may be an indicator such as an LED light. For example, the output unit 250 may output information indicating that the setting has been successful (for example, by lighting an indicator green), output information indicating that the setting has failed (for example, by lighting an indicator red), or output information indicating that the setting process is in progress (for example, by lighting an indicator orange).
[0053] The control unit 230 is a processor having a function of controlling each unit of the management server 100. The control unit 230 may be realized by a single core or by multiple cores.
[0054] The control unit 230 includes a communication control unit 231, a setting unit 232, and a determination unit 233 as functions realized by the control unit 230.
[0055] The communication control unit 231 (receiving unit, second transmitting unit) receives the setting SMS transmitted from the management server 100 via the communication unit 210. Upon receiving the setting SMS, the communication control unit 231 transmits a response SMS indicating that the setting SMS has been received, to the telephone number of the management server 100 that is the transmission source of the setting SMS. The communication control unit 231 may transmit a response SMS every time a setting SMS is received, and may transmit a response SMS every time a setting SMS having the same transaction number or the same sequence number is received multiple times. This allows the router 200 to make the management server 100 recognize that the setting SMS has been received, and does not send a response SMS if the setting SMS has not been received. Therefore, the management server 100 recognizes that the router 200 may not have received the setting SMS, and can trigger retransmission of the setting SMS.
[0056] Furthermore, the communication control unit 231 generates a notification SMS based on the information indicating the result of the setting process transmitted from the setting unit 232, and transmits the SMS via the communication unit 210 to the telephone number of the management server 100 that transmitted the setting SMS. This enables the router 200 to inform the management server 100 of whether or not the setting according to the setting command in the setting SMS was successful, the setting process, etc. In particular, if the router 200 fails to perform the setting, the notification SMS is delivered to the management server 100, so that the management server 100 can quickly take the next action.
[0057] Furthermore, when the communication control unit 231 receives a plurality of setting SMS, and the same setting SMS, i.e., setting SMS having the same transaction number and the same sequence number, the plurality of setting SMS are the same setting SMS, so that the communication control unit 231 may transmit only one of them to the setting unit 232 and execute the setting. At this time, the communication control unit 231 may reject (delete) the other setting SMS that was not transmitted to the setting unit 232. As a result, the same setting SMS is not transmitted to the setting unit 232, so that the setting unit 232 can be prevented from repeatedly executing settings that are not actually unnecessary. By configuring the router 200 not to repeatedly execute settings that are not actually unnecessary, the processing load of the processor of the router 200 can be reduced compared to the case where settings are duplicated. Furthermore, even if the device needs to be restarted due to the above-mentioned settings, the number of restarts can be minimized.
[0058] The result of the setting process included in the notification SMS may be information only on whether the setting was successful or not, or may include information on the process, i.e., log data in the setting process, in addition to the success or failure. The response SMS may be SMS Delivered as defined by the 3GPP standard.
[0059] The setting unit 232 executes the setting of the router 200 in accordance with the contents of the setting command transmitted from the communication control unit 231 or the determination unit 233. The setting of the router 200 may include various settings, and mainly refers to settings related to communication control. As a specific example, the setting of the router 200 may include settings for a mobile network (network mode, profile name, user name, password, authentication method, etc.), settings for a public wireless LAN (availability, network name, encryption method, password, etc.), settings for a LAN (IP address, subnet mask, enable / disable of DHCP function and address range when enabled, DNS settings, etc.), firewall (setting of filtering target (address), rule settings, etc.), Wifi settings (availability, SSID, password, etc.), etc., but is not limited thereto. In addition, the setting of the router 200 does not need to include all of the settings shown as specific examples here, and may include only a part of them. In addition, the setting by the setting unit 232 may be a new setting or a change to an existing setting.
[0060] Furthermore, when the setting unit 232 receives a split setting SMS in which a setting command is divided into multiple parts and transmitted, the setting unit 232 waits until it receives the total number of split setting SMS having the same transaction number but different sequence numbers. When the setting unit 232 receives all the split setting SMS, it extracts setting commands from each split setting SMS. Then, it combines the extracted setting commands in the order of the sequence numbers assigned to the split setting SMS. Then, the setting unit 232 performs the setting of its own device according to the combined setting command.
[0061] When the determination unit 233 receives a setting SMS, the determination unit 233 determines whether the setting SMS is a valid setting SMS for the device itself. Specifically, the determination unit 233 determines whether the received setting SMS is a valid setting SMS based on whether the telephone number of the management server 100 capable of instructing the device itself to perform settings, which is stored in advance in the storage unit 240, matches the telephone number of the sender of the received setting SMS. When the determination unit 233 determines that the received setting SMS is a valid setting SMS for the device itself (when the telephone number of the setting SMS matches the telephone number in the storage unit 240), the determination unit 233 may transmit the setting SMS to the setting unit 232. When the determination unit 233 determines that the received setting SMS is not a valid setting SMS for the device itself (when the telephone number of the setting SMS does not match the telephone number in the storage unit 240), the determination unit 233 may reject (delete) the setting SMS, or may simply not execute the setting of the setting SMS. This determination may or may not be performed, and furthermore, the user of the router 200 may set whether or not to perform this determination.
[0062] The above is an example of the configuration of the router 200.
[0063] Note that the communication carrier 300 is a business operator that has general communication functions and is capable of communication by SMS, so a detailed configuration description will be omitted.Similarly, the terminal device that inputs the settings to be executed for the router 200 to the management server 100 is also a general computer device, so a detailed configuration description will be omitted.
[0064] <Data> Fig. 4 is a conceptual data diagram showing an example of the configuration of the router information 141. The router information 141 is referred to as destination information when the management server 100 transmits a setting SMS to the router 200. As shown in Fig. 4, the router information 141 is information in which a router identifier 401, a telephone number 402, and an installation location 403 are associated with each other.
[0065] The router identifier 401 is identification information assigned to uniquely identify each router 200 present on the configuration system. The router identifier 401 may be any information that can distinguish each router 200, and may be a unique number or name, or may use an address on the network.
[0066] The telephone number 402 is a telephone number assigned to the router indicated by the corresponding router identifier 401, and may be information designated as the destination of an SMS.
[0067] The installation location 403 is information indicating where the router indicated by the corresponding router identifier 401 is installed. Here, the latitude and longitude are indicated as (X1, Y1), but this is not limiting, and the name of the installation location, for example, the reception room on the 5th floor of building A, may be used.
[0068] In the example shown in FIG. 4, it can be seen that the telephone number 402 of the router 200 indicated by the router identifier 401 "R001002" is "090-XXXX-YYYY" and the installation location 403 is "(X2, Y2)".
[0069] The router information 141 only needs to include information that can identify the destination when sending a configuration SMS to each router 200, and may include information other than that shown in Fig. 4, and does not need to include information such as the installation location 403. The existence of the router information 141 enables the management server 100 to appropriately specify a router 200 and send a configuration SMS including a configuration command.
[0070] The above is an example of the configuration of the router information 141.
[0071] <Operation> Fig. 5 is a sequence diagram showing an example of communication between devices in the setting system. The sequence shown in Fig. 5 shows a series of flows from when the management server 100 issues a setting instruction to the router 200 until completion.
[0072] 5, the management server 100 receives an input of the setting contents to be set in the router 200 (step S501). The management server 100 generates a setting SMS according to the input contents and transmits it to the communication carrier 300 (step S502).
[0073] When the communication carrier 300 receives the setting SMS, it transmits the setting SMS to the router 200 of the specified telephone number (step S503).
[0074] The router 200 receives the setting SMS (step S504). In response to receiving the setting SMS, the router 200 transmits a response SMS addressed to the management server 100 to the communication carrier 300 (step S505).
[0075] When the communication carrier 300 receives the response SMS, it transmits it to the management server 100 (step S506). This enables the management server 100 to recognize that the transmitted setting SMS has reached the router 200.
[0076] The router 200 executes the configuration of the router 200 according to the configuration contents indicated in the received configuration SMS (step S507).Then, the router 200 transmits a notification SMS including information on the results of the executed configuration to the communication carrier 300, addressed to the management server 100 (step S508).
[0077] When the communication carrier 300 receives the notification SMS, it transmits it to the management server 100 (step S509). This enables the management server 100 to recognize the result of the setting in the router 200 that instructed the setting.
[0078] The above is an example of the exchange related to the settings in the setting system.
[0079] Fig. 6 is a flowchart showing an example of the operation of the management server 100 for realizing the exchange shown in Fig. 5. The example of the operation shown in Fig. 6 shows a series of flows from the transmission of one setting SMS to the completion of the setting in the router 200.
[0080] 6, in the management server 100, the receiving unit 131 of the control unit 130 receives input of setting contents to be set in the router 200 and information indicating the router 200 to be set via the communication unit 110 or the input unit 120 (step S601). The receiving unit 131 transmits the received contents to the generation unit 132.
[0081] The generating unit 132 generates a setting SMS based on the transmitted setting contents and information on the router 200. The generating unit 132 generates a setting SMS that is assigned a new transaction number, includes in its text a setting command indicating the transmitted setting contents, and has the telephone number of the router 200 as the setting destination as the destination. The generating unit 132 transmits the generated setting SMS to the communication control unit 133. The communication control unit 231 transmits the setting SMS transmitted from the generating unit 132 to the communication carrier 300 via the communication unit 110 (step S602).
[0082] The communication control unit 133 judges whether or not a response SMS to the transmitted setting SMS has been received (step S603). If not received (NO in step S603), the communication control unit 133 judges whether or not a predetermined time has passed since the transmission of the setting SMS (step S604). The predetermined time may be 5 minutes as an example, but it may be any time as long as it does not cause any inconvenience in the operation of the setting system, and may be shorter or longer than 5 minutes. If the predetermined time has passed since the transmission of the setting SMS (YES in step S604), the communication control unit 133 resends the same setting SMS as the transmitted setting SMS (step S605). This can improve the probability that the setting SMS will reach the router 200. If the predetermined time has not passed since the transmission of the setting SMS (NO in step S604), the process returns to step S603.
[0083] If a response SMS has been received from the router 200 (YES in step S603), the communication control unit 133 then receives a notification SMS indicating the result of the setting process transmitted from the router 200 via the communication unit 110 (step S606). Then, the control unit 130 executes processing according to the content of the received notification SMS (step S607) and ends the processing. Here, the processing according to the content of the notification SMS may, for example, be storing and managing information indicating that the setting in the corresponding router 200 was successful in association with the notification SMS in the storage unit 140 when the notification SMS indicates successful setting. Alternatively, it may be instructing the corresponding router 200 to perform setting again or causing the output unit 150 to output information indicating that the setting was unsuccessful when the notification SMS indicates unsuccessful setting.
[0084] The above is an example of the basic operation of the management server 100.
[0085] FIG. 7 is a flowchart showing an example of the operation of router 200 for realizing the exchange shown in FIG.
[0086] As shown in FIG. 7, in the router 200, the communication control unit 231 of the control unit 230 receives the setting SMS via the communication unit 210 (step S701). When the communication control unit 231 receives the setting SMS, it transmits a response SMS indicating that the setting SMS has been received, via the communication unit 210, with the phone number of the sender of the setting SMS as the destination (the management server 100) (step S702). The communication control unit 231 transmits the setting SMS to the setting unit 232. At this time, the communication control unit 231 may first transmit the setting SMS to the determination unit 233, and the determination unit 233 may determine whether or not the phone number of the sender of the received setting SMS matches the phone number of the management server 100 stored in the storage unit 240 and capable of instructing the router to perform settings. Then, the setting SMS may be configured to be transmitted to the setting unit 232 only when they match.
[0087] When the setting SMS is transmitted, the setting unit 232 extracts a setting command from the setting SMS (step S703). That is, the setting unit 232 extracts the contents other than the transaction number, sequence number, total division number, and the contents of the fields from the setting SMS as a setting command.
[0088] The setting unit 232 executes the setting of its own device (router 200) according to the contents of the extracted setting command (step S704). The setting here may be the setting of the numerical value of the setting item described above, or may be the selection of one of a plurality of possible states for one setting item when there are a plurality of possible states for the setting item. The setting unit 232 transmits the contents of the processing result of the setting process to the communication control unit 231.
[0089] The communication control unit 231 generates a notification SMS indicating the processing result based on the contents of the transmitted processing result, sends it via the communication unit 210 to the telephone number of the management server 100 (step S705), and terminates the processing.
[0090] The above is an example of the basic operation of the router 200.
[0091] Incidentally, the number of configuration SMS to be sent is expected to increase depending on the number of installed routers 200. When configuring many routers 200 at once, sending many configuration SMS from the management server 100 at once may cause traffic congestion, affecting other communications, or causing frequent resending of configuration SMS that do not reach the routers 200.
[0092] Therefore, in order to prevent such a situation from occurring, the management server 100 divides the setting SMS and sends it. An example of the operation of the management server 100 when performing such processing will be described with reference to the flowchart shown in Fig. 8. Fig. 8 shows an example of the processing up to sending the setting SMS, and the contents common to Fig. 6 will be described in a simplified manner.
[0093] As shown in FIG. 8, the reception unit 131 in the management server 100 receives the contents of a setting command and the specification of a plurality of routers 200 as routers 200 to be set (step S801).
[0094] The generation unit 132 generates a setting SMS in accordance with the received content (step S802). The generation unit 132 transmits the generated setting SMS to the communication control unit 133.
[0095] The communication control unit 133 judges whether the number of setting SMS to be transmitted exceeds a predetermined threshold (step S803). The threshold may be any value, but is preferably a value that may cause communication congestion if the number of setting SMS to be transmitted exceeds the threshold. Note that the number of destination routers 200 may be used as an alternative to the number of setting SMS to be transmitted.
[0096] If the number of setting SMS to be sent exceeds a predetermined threshold (YES in step S803), the communication control unit 133 divides the destinations into multiple (two or more) groups (step S804). The number of divisions is preferably a number that makes the number of setting SMS in each group equal to or less than the threshold.
[0097] Then, the communication control unit 133 transmits the setting SMS with a time difference for each group (step S805), and ends the process. That is, for example, if there are three groups, groups A, B, and C, the communication control unit 133 may transmit the setting SMS for group A at 10:00, the setting SMS for group B at 11:00, and the setting SMS for group C at 12:00. Note that this time difference may be any time and does not have to be one hour.
[0098] On the other hand, if the number of setting SMS to be sent is equal to or less than the threshold value (NO in step S803), the possibility of traffic congestion is low, so the communication control unit 133 sends the generated setting SMS collectively (step S806) and terminates the process.
[0099] The above is an example of the operation performed by the management server 100 when sending a setting SMS in the case where there are many destinations.
[0100] Next, there may be cases where the setting command exceeds the character limit of SMS. A method for sending a setting SMS when the character limit of SMS is exceeded will be described with reference to the flowchart shown in Fig. 9. The flowchart shown in Fig. 9 shows the process up to sending the setting SMS.
[0101] As shown in Fig. 9, the reception unit 131 receives a setting command (step S901). The generation unit 132 judges whether the number of characters in the received setting command exceeds the SMS character limit (step S902). As described above, strictly speaking, this is a comparison of the number of characters in the setting command with the number of characters that can be used as a setting command within the SMS character limit. If the number of characters in the setting command does not exceed the SMS character limit (NO in step S902), the generation unit 132 generates a setting SMS as usual, and the communication control unit 133 transmits the generated setting SMS and ends the process.
[0102] If the number of characters in the setting command exceeds the SMS character limit (YES in step S902), the generating unit 132 divides the setting command so that the number of characters falls within the SMS character limit (step S903). Then, the generating unit 132 generates divided setting SMS with sequence numbers added, using the setting command for each division. The generating unit 132 transmits each generated divided setting SMS to the communication control unit 133.
[0103] The communication control unit 133 transmits each of the received division setting SMS to the same router 200 (step S904), and ends the process.
[0104] Fig. 10 is a flowchart showing an example of the operation of the router 200 when a division setting SMS is received from the management server 100. In Fig. 10, the same processes as those in Fig. 7 are denoted by the same reference numerals, and the explanation will be simplified.
[0105] As shown in FIG. 10, the router 200 receives a setting SMS (step S701) and transmits a response SMS (step S702).
[0106] The communication control unit 231 determines whether or not a sequence number is set in the received setting SMS (step S1001). That is, as an example, the communication control unit 231 may perform this determination based on whether or not the field of the sequence number in the setting SMS is 1 or more.
[0107] If a sequence number is not set in the setting SMS (NO in step S1001), the setting unit 232 extracts the setting command as usual (step S703) and executes the setting according to the setting command (step S704), and the communication control unit 231 generates a notification SMS based on the processing result and transmits it to the management server 100 (step S705), thereby completing the processing.
[0108] If a sequence number is set in the setting SMS (YES in step S1001), communication control unit 231 waits until it receives all split setting SMS that include the same transaction number and have other sequence numbers (step S1002). Upon receiving all split setting SMS, communication control unit 231 transmits each of the received split setting SMS to setting unit 232. Note that if a transaction number is not assigned to the split setting SMS here, the configuration may be such that it checks only the sequence number and the total number of divisions to confirm whether a split setting SMS has been received.
[0109] The setting unit 232 extracts a setting command from each of the transmitted divided setting SMS (step S1003). Then, the setting unit 232 combines the extracted setting commands in the order of the corresponding sequence numbers (step S1004). After that, the setting unit 232 executes the setting according to the setting command obtained by combining (step S704), and the communication control unit 231 transmits a notification SMS based on the setting result to the management server 100 (step S705), and ends the process.
[0110] 9 and 10, if a setting command is too long, the management server 100 divides the contents of the setting command into multiple parts and sends them, allowing the router 200 to acquire all the setting contents and to handle many setting contents. Also, by assigning sequence numbers, the router 200 can recognize in what order the setting commands should be combined, and the router 200 can execute the setting without misunderstanding the contents of the setting command.
[0111] <Summary> As shown in the above embodiment, the management server 100 can instruct the router 200 to configure the router 200 by SMS without going to the router 200, and the router 200 can configure itself according to the instruction. In addition, by using SMS, the management server 100 can instruct the routers 200 to configure multiple routers 200 at once, providing a configuration system for the routers 200 that is more convenient than the conventional web configuration in which routers are accessed one by one via the web. In addition, the configuration system can easily configure routers in a communication system by using SMS, which contributes to the revitalization of the communication business and the achievement of Goal 9 of the Sustainable Development Goals (SDGs), "Build resilience and promote innovation and infrastructure."
[0112] <Supplementary Information> In the above embodiment, the management server 100 transmits the setting SMS to the router 200 by executing a setting instruction program or the like by the processor of the management server 100, but this may be realized by a logic circuit (hardware) formed in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)) or a dedicated circuit in the device. Similarly, the router 200 executes a setting execution program or the like by the processor of the router 200, but this may be realized by a logic circuit or a dedicated circuit formed in an integrated circuit or the like in the device. These circuits may be realized by one or more integrated circuits, and the functions of the multiple functional units shown in the above embodiment may be realized by one integrated circuit. LSIs are sometimes called VLSIs, super LSIs, ultra LSIs, etc., depending on the degree of integration.
[0113] The setting instruction program and the setting execution program may be recorded on a processor-readable recording medium, and the recording medium may be a "non-transient tangible medium" such as a tape, a disk, a card, a semiconductor memory, or a programmable logic circuit. The setting instruction program and the setting execution program may be supplied to the processor via any transmission medium (such as a communication network or a broadcast wave) capable of transmitting the program. That is, for example, the program may be downloaded from a network and executed using an information processing device such as a smartphone. The present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
[0114] The above-mentioned setting instruction program and setting execution program can be implemented using, for example, scripting languages such as ActionScript and JavaScript (registered trademark), and object-oriented programming languages such as Objective-C, Java (registered trademark), C++, Python, and R, but are not limited to these. [Explanation of symbols]
[0115] 100 Management Server 110 Receiving unit 120 Input section 130 Control section 131 Reception 132 Generation part 133 Communication control unit (first transmission unit) 140 Storage section 150 Output section 200, 200a, 200b, 200c Routers 210 Communications Department 220 Input section 230 Control Unit 231 Communication control unit (receiving unit, second transmitting unit) 232 Setting section 233 Judgment section 240 Storage section 250 Output section
Claims
1. A management server connected to the network; A plurality of routers connected to a mobile communication network; It consists of The management server includes: a reception unit for receiving a setting command indicating the setting contents to be set in the router and an input specifying a destination router; a generating unit for generating a setting SMS including the setting command for a specified destination; a first transmission unit that transmits the setting SMS to a router that is a designated destination; Equipped with The router A receiving unit for receiving the setting SMS; A setting unit that executes setting of the device itself in accordance with a setting command written in the setting SMS; a second transmission unit configured to transmit a notification SMS indicating a processing result of the setting of the device itself in accordance with the setting command by the setting unit to the management server, the second transmission unit, when the reception unit receives the setting SMS, transmits a response SMS indicating that the setting SMS has been received to the management server; when the first transmission unit does not receive the response SMS within a predetermined time after transmitting the setting SMS, retransmits the setting SMS without distinguishing whether the receiving unit has received the setting SMS or not, the generating unit generates a setting SMS to which a transaction number is assigned for each setting SMS to distinguish the setting SMS from other setting SMS; When retransmitting the setting SMS, the first transmission unit transmits the setting SMS to which the same transaction number as that of the setting SMS that has already been transmitted is assigned, When the receiving unit receives a plurality of setting SMSes having the same transaction number, regardless of whether the second transmitting unit has succeeded or failed in transmitting the response SMS, the setting unit executes the setting of the device based on the setting command described in any one of the plurality of setting SMSes having the same transaction number. Configuration system.
2. A management server connected to the network; A plurality of routers connected to a mobile communication network; It consists of The management server includes: a reception unit for receiving a setting command indicating the setting contents to be set in the router and an input specifying a destination router; a generating unit for generating a setting SMS including the setting command for a specified destination; a first transmission unit that transmits the setting SMS to a router that is a designated destination; Equipped with The router A receiving unit for receiving the setting SMS; A setting unit that executes setting of the device itself in accordance with a setting command written in the setting SMS; a second transmission unit configured to transmit a notification SMS indicating a processing result of the setting of the device itself in accordance with the setting command by the setting unit to the management server, the second transmission unit, when the reception unit receives the setting SMS, transmits a response SMS indicating that the setting SMS has been received to the management server; the first transmission unit retransmits the setting SMS when the response SMS is not received within a predetermined time after transmitting the setting SMS; the generating unit generates a setting SMS to which a transaction number is assigned to distinguish each setting SMS from other setting SMS, the transaction number being described in a body of the SMS; When retransmitting the setting SMS, the first transmission unit transmits the setting SMS to which the same transaction number as that of the setting SMS that has already been transmitted is assigned, When the receiving unit receives a plurality of setting SMSs having the same transaction number, the setting unit executes the setting of the device based on the setting command described in any one of the plurality of setting SMSs having the same transaction number. Configuration system.
3. When the reception unit receives the designation of a plurality of routers as destinations and the number of setting SMS to be transmitted exceeds a predetermined number, the first transmission unit divides the plurality of routers into a plurality of groups and transmits the setting SMS to each of the groups at a timing that does not overlap with the other groups.
3. The setting system according to claim 1 or 2.
4. The router includes a storage unit that stores a telephone number of the management server; a determination unit that, when the receiving unit receives the setting SMS, determines whether or not a telephone number of a sender of the setting SMS matches a telephone number stored in the storage unit, The setting unit executes the setting of the device itself based on the setting command written in the setting SMS only when the determination unit determines that the transmission source telephone number matches the telephone number stored in the storage unit.
3. The setting system according to claim 1 or 2.
5. The second transmission unit transmits, as a processing result, log data when the setting of the device itself is executed based on the setting command, in the response SMS.
3. The setting system according to claim 1 or 2.
6. A setting method in a setting system including a management server connected to a network and including a reception unit, a generation unit, and a first transmission unit, and a plurality of routers connected to a mobile communication network, the routers including a reception unit, a setting unit, and a second transmission unit, comprising: a receiving step in which the receiving unit receives a setting command indicating a setting content to be set in the router and an input specifying a destination router; a generating step of generating a setting SMS including the setting command for a specified destination by the generating unit; a first transmission step in which the first transmission unit transmits the setting SMS to a router that is a designated destination; a receiving step of the receiving unit receiving the setting SMS; a setting step in which the setting unit executes setting of the device itself in accordance with a setting command written in the setting SMS; a second transmission step in which the second transmission unit transmits to the management server a notification SMS indicating a processing result of the setting of the device by the setting unit in accordance with the setting command; the second transmission unit, when the reception unit receives the setting SMS, transmits a response SMS indicating that the setting SMS has been received to the management server; when the first transmission unit does not receive the response SMS within a predetermined time after transmitting the setting SMS, retransmits the setting SMS without distinguishing whether the receiving unit has received the setting SMS or not, the generating unit generates a setting SMS to which a transaction number is assigned for each setting SMS to distinguish the setting SMS from other setting SMS; When retransmitting the setting SMS, the first transmission unit transmits the setting SMS to which the same transaction number as that of the setting SMS that has already been transmitted is assigned, When the receiving unit receives a plurality of setting SMSes having the same transaction number, regardless of whether the second transmitting unit has succeeded or failed in transmitting the response SMS, the setting unit executes the setting of the device based on the setting command described in any one of the plurality of setting SMSes having the same transaction number. How to set it up.
7. A setting method in a setting system including a management server connected to a network and including a reception unit, a generation unit, and a first transmission unit, and a plurality of routers connected to a mobile communication network, the routers including a reception unit, a setting unit, and a second transmission unit, comprising: a receiving step in which the receiving unit receives a setting command indicating a setting content to be set in the router and an input specifying a destination router; a generating step of generating a setting SMS including the setting command for a specified destination by the generating unit; a first transmission step in which the first transmission unit transmits the setting SMS to a router that is a designated destination; a receiving step of the receiving unit receiving the setting SMS; a setting step in which the setting unit executes setting of the device itself in accordance with a setting command written in the setting SMS; a second transmission unit configured to transmit a notification SMS indicating a processing result of the setting of the device itself in accordance with the setting command by the setting unit to the management server, the second transmission unit, when the reception unit receives the setting SMS, transmits a response SMS indicating that the setting SMS has been received to the management server; the first transmission unit retransmits the setting SMS when the response SMS is not received within a predetermined time after transmitting the setting SMS; the generating unit generates a setting SMS to which a transaction number is assigned to distinguish each setting SMS from other setting SMS, the transaction number being described in a body of the SMS; When retransmitting the setting SMS, the first transmission unit transmits the setting SMS to which the same transaction number as that of the setting SMS that has already been transmitted is assigned, When the receiving unit receives a plurality of setting SMSs having the same transaction number, the setting unit executes the setting of the device based on the setting command described in any one of the plurality of setting SMSs having the same transaction number. How to set it up.
8. A management server in a configuration system including a management server connected to a network and a plurality of routers connected to a mobile communication network, The management server includes: a reception unit for receiving a setting command indicating the setting contents to be set in the router and an input specifying a destination router; a generation unit that generates a setting SMS including the setting command for a specified destination, the setting SMS including a transaction number in the body of the SMS for distinguishing the setting SMS from other setting SMS; a first transmission unit that transmits the setting SMS to a router that is a designated destination; A management server comprising:
Citation Information
Patent Citations
Short message content extraction method and system
CN104244204A
Communication device, server, and system
JP2017147672A
Management system and management method
JP2019022125A
Network device configuration
WO2006009470A1
Methods and systems for configuring system
WO2015162539A1
