HK1229127B - Methods and systems for configuring system - Google Patents
Methods and systems for configuring system Download PDFInfo
- Publication number
- HK1229127B HK1229127B HK17102518.0A HK17102518A HK1229127B HK 1229127 B HK1229127 B HK 1229127B HK 17102518 A HK17102518 A HK 17102518A HK 1229127 B HK1229127 B HK 1229127B
- Authority
- HK
- Hong Kong
- Prior art keywords
- configuration
- sms message
- network
- cellular
- received
- Prior art date
Links
Description
技术领域Technical Field
本发明总体而言涉及计算机网络的领域。更具体来说,本发明涉及其中第一系统配置第二系统的方法和系统。所述第一系统确定至少一种配置和第二系统的身份信息且随后将所述至少一种配置发送到第二系统。The present invention generally relates to the field of computer networks. More specifically, the present invention relates to a method and system in which a first system configures a second system. The first system determines at least one configuration and identity information of the second system and then sends the at least one configuration to the second system.
背景技术Background Art
如果路由器、VPN路由器、集线器、服务器以及其它支持网络的装置等网络设备的配置不正确,那么所述网络设备可能不能够通过因特网协议(IP)通信。当一些网络设备能够执行通过SMS消息接收的命令时,所述命令可以用于配置和管理网络设备。网络设备通常还通过SMS消息向远程运行的管理应用报告错误和状态。所属领域的技术人员还熟知的是,移动网络运营商已经使用空中协议来更新或改变智能卡(订户身份模块(SIM)卡或通用集成电路卡(UICC))中的数据,而不必补发所述卡。OTA使得移动网络运营商能够引入新服务或以快速且有成本效益的方式修改智能卡的内容。在一个实例中,已经证实移动电话的电子邮件账号设置可以经由SMS配置。If the configuration of network devices such as routers, VPN routers, hubs, servers and other network-supporting devices is incorrect, the network devices may not be able to communicate via the Internet Protocol (IP). When some network devices are able to execute commands received via SMS messages, the commands can be used to configure and manage the network devices. Network devices also typically report errors and status to remotely running management applications via SMS messages. It is also well known to those skilled in the art that mobile network operators have used over-the-air protocols to update or change data in smart cards (Subscriber Identity Module (SIM) cards or Universal Integrated Circuit Cards (UICC)) without having to reissue the cards. OTA enables mobile network operators to introduce new services or modify the contents of smart cards in a fast and cost-effective manner. In one example, it has been demonstrated that email account settings for mobile phones can be configured via SMS.
然而,网络设备通常用主机名或序列号识别。因此,网络管理员需要手动地记录与嵌入有网络设备的SIM卡相关联的电话号码。并且,网络管理员需要手动地发出SMS消息以配置网络设备以便使网络设备可通过IP到达。当存在待通过SMS配置的大量网络设备时,管理问题对于网络管理员而言可能变成耗时的任务。此外,如果网络设备不嵌入有用于接收SMS消息的接口,那么网络设备不能直接通过SMS消息配置。本发明提供用于减少在用于配置网络设备的网络管理员身上的负担的方法和系统,尤其当网络设备不具有用于接收配置的有效因特网协议(IP)地址时。However, network devices are typically identified by host names or serial numbers. Therefore, network administrators need to manually record the phone numbers associated with the SIM cards embedded with the network devices. Furthermore, network administrators need to manually send SMS messages to configure the network devices so that the network devices can be reached via IP. When there are a large number of network devices to be configured via SMS, the management problem can become a time-consuming task for the network administrator. Furthermore, if the network device is not embedded with an interface for receiving SMS messages, the network device cannot be configured directly via SMS messages. The present invention provides methods and systems for reducing the burden on network administrators for configuring network devices, especially when the network device does not have a valid Internet Protocol (IP) address for receiving configuration.
发明内容Summary of the Invention
本发明揭示用于配置第二系统的方法和第一系统。配置的步骤包含确定第二系统的身份信息、确定至少一种配置以及将所述至少一种配置发送到第二系统。例如,配置通过短消息服务(SMS消息)发送到第二系统。第二系统可以具有能够接收SMS消息的嵌入式或外部蜂窝式调制解调器。The present invention discloses a method for configuring a second system and a first system. The configuration step includes determining identity information of the second system, determining at least one configuration, and sending the at least one configuration to the second system. For example, the configuration is sent to the second system via a short message service (SMS) message. The second system may have an embedded or external cellular modem capable of receiving SMS messages.
根据一个实施例,至少一种配置与通过第一系统接收的请求相对应。所述请求包括第二系统的身份信息且可以从第二系统接收。例如,第二系统在其第一次启动时使用请求SMS消息将其序列号发送到预配置手机号,且随后第一系统在从第二系统接收序列号之后使用配置SMS消息将配置发送到第一系统。预配置手机号可以与第一系统相对应。According to one embodiment, at least one configuration corresponds to a request received by a first system. The request includes identification information of a second system and may be received from the second system. For example, the second system may send its serial number to a pre-configured mobile phone number using a request SMS message when it is first booted up, and the first system may then send the configuration to the first system using a configuration SMS message after receiving the serial number from the second system. The pre-configured mobile phone number may correspond to the first system.
根据一个实施例,第二系统用由第一系统发送的至少一种配置来配置。According to one embodiment, the second system is configured with at least one configuration sent by the first system.
根据一个实施例,至少一种配置包括接入点名称(APN)。所述APN可以由第二系统用来连接到因特网。According to one embodiment, at least one configuration includes an Access Point Name (APN). The APN may be used by the second system to connect to the Internet.
根据本发明的一个实施例,至少一种配置用于配置第二系统以建立一个或多个虚拟专用网络(VPN)连接。至少一种配置还可以用于配置第二系统以组合一个或多个VPN连接以形成集中式VPN连接。According to one embodiment of the present invention, at least one configuration is used to configure the second system to establish one or more virtual private network (VPN) connections. At least one configuration can also be used to configure the second system to combine one or more VPN connections to form a centralized VPN connection.
根据一个实施例,将至少一种配置发送到至少一个其它系统。例如,第二系统和至少一个其它系统需要用相同配置来配置,且因此将至少一种配置发送到第二系统和至少一个其它系统。According to one embodiment, at least one configuration is sent to at least one other system. For example, the second system and at least one other system need to be configured with the same configuration, and therefore at least one configuration is sent to the second system and at least one other system.
根据本发明的一个实施例,至少一种配置包含用于配置IP地址、域名系统(DNS)、动态主机配置协议(DHCP)、插入模式、VPN接合等的设置。According to one embodiment of the present invention, the at least one configuration includes settings for configuring an IP address, Domain Name System (DNS), Dynamic Host Configuration Protocol (DHCP), insert mode, VPN engagement, and the like.
根据一个实施例,至少一种配置通过耦合到第二系统的通用串行总线(USB)调制解调器发送。根据一个实施例,至少一种配置通过近场通信(NFC)发送。根据一个实施例,至少一种配置使用多媒体信息服务(MMS)消息、蓝牙、红外(IR)等发送。According to one embodiment, at least one configuration is sent via a universal serial bus (USB) modem coupled to the second system. According to one embodiment, at least one configuration is sent via near field communication (NFC). According to one embodiment, at least one configuration is sent using a multimedia messaging service (MMS) message, Bluetooth, infrared (IR), etc.
根据本发明中一个实施例,第一系统仅在从网络管理员接收确认之后将所述至少的配置发送到第二系统。According to one embodiment of the present invention, the first system sends the at least one configuration to the second system only after receiving confirmation from the network administrator.
根据本发明中一个实施例,当第二系统具有多个蜂窝式调制解调器时,第一系统将至少一种配置发送到多个蜂窝式调制解调器中的一个。在一个变型例中,将相同的至少一种配置发送到多个蜂窝式调制解调器中的至少两个。在一个变型例中,将配置分解且发送到多个蜂窝式调制解调器中的至少两个。According to one embodiment of the present invention, when the second system has multiple cellular modems, the first system transmits at least one configuration to one of the multiple cellular modems. In one variation, the same at least one configuration is transmitted to at least two of the multiple cellular modems. In another variation, the configuration is split and transmitted to at least two of the multiple cellular modems.
具体实施方式DETAILED DESCRIPTION
以下说明仅提供优选的示例性实施例,且并非意图限制本发明的范围、适用性或配置。实际上,优选的示例性实施例的以下说明将为所属领域的技术人员提供实施本发明的优选的示例性实施例的有用描述。应理解,在不脱离如在所附权利要求书中阐述的本发明的精神和范围的情况下,可以对元件的功能和布置进行各种改变。The following description provides only preferred exemplary embodiments and is not intended to limit the scope, applicability or configuration of the present invention. In fact, the following description of the preferred exemplary embodiments will provide a useful description of the preferred exemplary embodiments of the present invention for those skilled in the art. It should be understood that various changes can be made to the function and arrangement of the elements without departing from the spirit and scope of the present invention as set forth in the appended claims.
在以下描述中给出具体细节以提供对实施例的透彻理解。然而,所属领域的技术人员应理解,所述实例可在没有这些具体细节的情况下实践。例如,可以框图示出电路以免以不必要的细节混淆实施例。在其它情况下,在没有不必要的细节的情况下示出熟知的电路、过程、算法、结构以及技术以便避免混淆实施例。In the following description, specific details are given to provide a thorough understanding of the embodiments. However, those skilled in the art will appreciate that the examples may be practiced without these specific details. For example, circuits may be shown in block diagrams to avoid obscuring the embodiments with unnecessary detail. In other cases, well-known circuits, processes, algorithms, structures, and techniques are shown without unnecessary detail to avoid obscuring the embodiments.
并且,应注意,实施例可以描述为过程,所述过程描绘为流程图、流程图表、数据流图、结构图或框图。尽管流程图可将操作描述为依序过程,但许多操作可并行或同时执行。另外,操作的次序可以重新布置。过程在其操作完成时终止,但是可以具有不包含在图中的另外步骤。过程可以与方法、函数、步骤、子例程、子程序等相对应。当过程与函数相对应时,其终止与所述函数返回到调用函数或主函数相对应。Furthermore, it should be noted that embodiments may be described as processes, which may be depicted as flow charts, flow diagrams, data flow diagrams, structure diagrams, or block diagrams. Although a flow chart may depict operations as a sequential process, many operations may be performed in parallel or simultaneously. In addition, the order of the operations may be rearranged. A process terminates when its operations are completed, but may have additional steps not included in the diagram. A process may correspond to a method, function, procedure, subroutine, subprogram, etc. When a process corresponds to a function, its termination corresponds to the function returning to the calling function or main function.
实施例或其各部分可以用程序指令实施,所述程序指令可在处理单元上操作以用于执行如本文中所描述的功能以及操作。构成各种实施例的程序指令可以存储在存储介质中。The embodiments or parts thereof may be implemented with program instructions, which are operable on a processing unit to perform the functions and operations described herein. The program instructions constituting various embodiments may be stored in a storage medium.
此外,如本文中所揭示,术语“存储介质”可以表示用于存储数据的一个或多个装置,包含只读存储器(ROM)、可编程只读存储器(PROM)、可擦除可编程只读存储器(EPROM)、随机存取存储器(RAM)、磁RAM、磁芯存储器、软性磁盘、软磁盘、硬盘、磁带、CD-ROM、快闪存储器装置、存储卡和/或用于存储信息的其它机器可读介质。术语“机器可读介质”包含但不限于便携式或固定存储装置、光学存储介质、磁性媒体、存储器芯片或盒式磁盘、无线信道以及能够存储、包含或携载指令和/或数据的各种其它媒体。机器可读介质可以通过虚拟化来实现,且可以是虚拟机器可读介质,包含在基于云的实例中的虚拟机器可读介质。Furthermore, as disclosed herein, the term "storage medium" may refer to one or more devices for storing data, including read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), random access memory (RAM), magnetic RAM, magnetic core memory, flexible disk, floppy disk, hard disk, magnetic tape, CD-ROM, flash memory device, memory card, and/or other machine-readable media for storing information. The term "machine-readable medium" includes, but is not limited to, portable or fixed storage devices, optical storage media, magnetic media, memory chips or cartridges, wireless channels, and various other media capable of storing, containing, or carrying instructions and/or data. Machine-readable media may be implemented through virtualization and may be virtual machine-readable media, including virtual machine-readable media in cloud-based instances.
如本文中所使用的术语“计算机可读介质”、“主存储器”或“辅助存储器”是指参与将指令提供到处理单元以用于执行的任何媒体。计算机可读介质仅是机器可读介质的一个实例,所述机器可读介质可以携载指令以用于实施本文中所描述的方法和/或技术中的任一个。此类媒体可采用许多形式,包含但不限于非易失性媒体、易失性媒体及传输媒体。非易失性媒体包含例如光盘或磁盘。易失性媒体包含动态存储器。传输媒体包含同轴电缆、铜线以及光纤。传输媒体还可以采用声波或光波的形式,例如在无线电波以及红外线数据通信期间产生的声波或光波。As used herein, the terms "computer-readable medium," "primary memory," or "secondary memory" refer to any medium that participates in providing instructions to a processing unit for execution. A computer-readable medium is merely one example of a machine-readable medium that can carry instructions for implementing any of the methods and/or techniques described herein. Such media can take many forms, including but not limited to non-volatile media, volatile media, and transmission media. Non-volatile media include, for example, optical or magnetic disks. Volatile media include dynamic memory. Transmission media include coaxial cables, copper wire, and optical fiber. Transmission media can also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
易失性存储器可以用于在通过处理单元执行指令期间存储临时变量或其它中间信息。非易失性存储器或静态存储器可以用于存储用于处理器的静态信息以及指令,以及各种系统配置参数。Volatile memory may be used to store temporary variables or other intermediate information during execution of instructions by the processing unit. Non-volatile memory or static memory may be used to store static information and instructions for the processor, as well as various system configuration parameters.
存储介质可以包含多个软件模块,所述软件模块可以实施为通过处理单元使用任何合适的计算机指令类型来执行的软件代码。软件代码可以作为一系列指令或命令、或作为程序存储在存储介质中。The storage medium may contain a plurality of software modules, which may be implemented as software codes executed by the processing unit using any suitable computer instruction type. The software codes may be stored in the storage medium as a series of instructions or commands, or as a program.
在将一个或多个指令的一个或多个序列携载到处理器以用于执行时,可以涉及各种形式的计算机可读介质。例如,指令可以首先携载在来自远程计算机的磁盘上。替代地,远程计算机可以将所述指令加载到其动态存储器中,且将指令发送到运行一个或多个指令的一个或多个序列的系统。When carrying one or more sequences of one or more instructions to a processor for execution, various forms of computer-readable media may be involved. For example, the instructions may first be carried on a disk from a remote computer. Alternatively, the remote computer may load the instructions into its dynamic memory and send the instructions to the system that executes the one or more sequences of one or more instructions.
处理单元可以是微处理器、微控制器、数字信号处理器(DSP)、那些装置的任何组合,或经配置以处理信息的任何其它电路。A processing unit may be a microprocessor, a microcontroller, a digital signal processor (DSP), any combination of those devices, or any other circuit configured to process information.
处理单元执行程序指令或代码段以用于实施本发明的实施例。此外,实施例可以由硬件、软件、固件、中间件、微码、硬件描述语言或其任意组合来实施。当用软件、固件、中间件或微码实施时,用于执行必要任务的程序指令可以存储于计算机可读存储介质中。处理单元可以通过虚拟化来实现,且可以是虚拟处理单元,包含在基于云的实例中的虚拟处理单元。The processing unit executes program instructions or code segments for implementing embodiments of the present invention. Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware, or microcode, the program instructions for performing the necessary tasks may be stored in a computer-readable storage medium. The processing unit may be implemented through virtualization and may be a virtual processing unit, such as a virtual processing unit included in a cloud-based instance.
本发明的实施例涉及使用计算机系统来实施本文中所描述的技术。在实施例中,本发明的处理单元可以驻留在计算机平台等机器上。根据本发明的一个实施例,本文中所描述的技术由计算机系统执行,以响应于处理单元执行易失性存储器中所包含的一个或多个指令的一个或多个序列。此类指令可以从另一计算机可读介质读取到易失性存储器中。对易失性存储器中所包含的指令的序列的执行使得处理单元执行本文中所描述的过程步骤。在替代实施例中,硬接线电路可以用于取代或结合软件指令来实施本发明。因此,本发明的实施例不限于硬件电路以及软件的任何具体组合。Embodiments of the present invention relate to using a computer system to implement the techniques described herein. In embodiments, the processing unit of the present invention may reside on a machine such as a computer platform. According to one embodiment of the present invention, the techniques described herein are performed by a computer system in response to the processing unit executing one or more sequences of one or more instructions contained in a volatile memory. Such instructions may be read into the volatile memory from another computer-readable medium. Execution of the sequence of instructions contained in the volatile memory causes the processing unit to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the present invention. Therefore, embodiments of the present invention are not limited to any specific combination of hardware circuitry and software.
程序指令等代码段可以表示步骤、函数、子程序、程序、例程、子例程、模块、软件包、类或者指令、数据结构或程序语句的任何组合。代码段可以通过传递和/或接收信息、数据、自变量、参数或存储器内容而耦合到另一代码段或硬件电路。信息、自变量、参数、数据等可以经由包含存储器共享、消息传递、令牌传递、网络传输等任何合适的方式传递、转发或传输。A code segment, such as a program instruction, may represent a step, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, independent variables, parameters, or memory contents. Information, independent variables, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means, including memory sharing, message passing, token passing, network transmission, or the like.
替代地,硬接线电路可以用于取代或结合软件指令以实施符合本发明的原理的过程。因此,符合本发明的原理的实施方案不限于硬件电路和软件的任何具体组合。Alternatively, hard-wired circuitry may be used in place of or in combination with software instructions to implement processes consistent with the principles of the invention. Thus, implementations consistent with the principles of the invention are not limited to any specific combination of hardware circuitry and software.
可以由节点提供的网络接口是以太网接口、帧中继接口、光纤接口、电缆接口、DSL接口、令牌环接口、串行总线接口、通用串行总线(USB)接口、火线接口、外围组件互连(PCI)接口等。The network interfaces that can be provided by the node are Ethernet interfaces, frame relay interfaces, fiber optic interfaces, cable interfaces, DSL interfaces, token ring interfaces, serial bus interfaces, universal serial bus (USB) interfaces, FireWire interfaces, peripheral component interconnect (PCI) interfaces, etc.
网络接口可以通过独立的电子组件实施或者可以与其它电子组件集成。取决于配置,网络接口可以不具有网络连接或具有至少一个网络连接。网络接口可以是以太网接口、帧中继接口、光纤接口、电缆接口、数字订户线(DSL)接口、令牌环接口、串行总线接口、通用串行总线(USB)接口、火线接口、外围组件互连(PCI)接口等。The network interface can be implemented by a standalone electronic component or can be integrated with other electronic components. Depending on the configuration, the network interface may have no network connection or at least one network connection. The network interface can be an Ethernet interface, a frame relay interface, a fiber optic interface, a cable interface, a digital subscriber line (DSL) interface, a token ring interface, a serial bus interface, a universal serial bus (USB) interface, a FireWire interface, a peripheral component interconnect (PCI) interface, etc.
网络接口可以连接到有线或无线接入网络。接入网络可以携载一个或多个网络协议数据。有线接入网络可以使用以太网、光纤、电缆、DSL、帧中继、令牌环、串行总线、USB、火线、PCI或可以传递信息的任何材料来实施。无线接入网络可以使用红外线、高速分组接入(HSPA)、HSPA+、长期演进(LTE)、WiMax、GPRS、EDGE、GSM、CDMA、WiFi、CDMA2000、WCDMA、TD-SCDMA、蓝牙、WiBRO、演进数据优化(EV-DO);数字增强型无绳通信(DECT);数字AMPS(IS-136/TDMA);集成数字增强型(iDEN)或任何其它无线技术来实施。The network interface can connect to a wired or wireless access network. The access network can carry one or more network protocol data. A wired access network can be implemented using Ethernet, fiber optic, cable, DSL, frame relay, token ring, serial bus, USB, FireWire, PCI, or any material that can transmit information. A wireless access network can be implemented using infrared, High Speed Packet Access (HSPA), HSPA+, Long Term Evolution (LTE), WiMax, GPRS, EDGE, GSM, CDMA, WiFi, CDMA2000, WCDMA, TD-SCDMA, Bluetooth, WiBRO, Evolution-Data Optimized (EV-DO), Digital Enhanced Cordless Telecommunications (DECT), Digital AMPS (IS-136/TDMA), Integrated Digital Enhanced (iDEN), or any other wireless technology.
蜂窝式调制解调器能够与一个或多个蜂窝式网络通信。蜂窝调制解调器可以是嵌入式蜂窝式调制解调器或外部蜂窝式调制解调器。蜂窝式调制解调器连接到蜂窝式网络以提供蜂窝式通信。例如,蜂窝式网络可以是由威瑞森(Verizon)、AT&T、中国移动或沃达丰(Vodafone)等操作的蜂窝式网络。蜂窝式网络还可以是提供无线通信服务,但不拥有无线或蜂窝式网络基础设施的移动虚拟网络运营商(MVNO)或移动其它许可运营商(MOLO),MVNO经由所述无线或蜂窝式网络基础设施向其客户提供服务。The cellular modem is capable of communicating with one or more cellular networks. The cellular modem can be an embedded cellular modem or an external cellular modem. The cellular modem connects to the cellular network to provide cellular communication. For example, the cellular network can be a cellular network operated by Verizon, AT&T, China Mobile, or Vodafone. The cellular network can also be a mobile virtual network operator (MVNO) or mobile other licensed operator (MOLO) that provides wireless communication services but does not own the wireless or cellular network infrastructure. The MVNO provides services to its customers via the wireless or cellular network infrastructure.
实施例或其各部分可以用计算机数据信号来实施,所述计算机数据信号可以采用用于经由传输媒体通信的任何合适形式,使得所述计算机数据信号可读以用于通过功能装置(例如,处理单元)来执行从而执行本文中所描述的操作。计算机数据信号可以包含可以经由传输媒体传播的任何二进制数字电子信号,所述传输媒体例如电子网络信道、光纤、空气、电磁媒体、射频(RF)链路等,且因此数据信号可以采用电信号、光信号、射频或其它无线通信信号等形式。在某些实施例中,代码段可以经由计算机网络来下载,所述计算机网络例如因特网、内联网、局域网(LAN)、城域网(MAN)、广域网(WAN)、PSTN、卫星通信系统、电缆传输系统和/或类似者。The embodiments or portions thereof may be implemented using computer data signals, which may be in any suitable form for communication via a transmission medium such that the computer data signals are readable for execution by a functional device (e.g., a processing unit) to perform the operations described herein. A computer data signal may comprise any binary digital electronic signal that can be propagated via a transmission medium such as an electronic network channel, optical fiber, air, electromagnetic media, a radio frequency (RF) link, and the like, and thus the data signal may be in the form of an electrical signal, an optical signal, a radio frequency or other wireless communication signal, and the like. In some embodiments, the code segments may be downloaded via a computer network such as the Internet, an intranet, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a PSTN, a satellite communication system, a cable transmission system, and/or the like.
图1A图示根据本发明的各种实施例的系统的框图。系统101可以是对应地提供网络功能性或具有联网能力的网络节点或网络主机。例如,系统101可以是路由器、集线器、网关、IEEE 802.11接入点、数据库服务器、网络服务器、虚拟化路由器、膝上型计算机、计算机、智能电话、平板计算机等。系统101包括处理单元104、主存储器106、辅助存储器105、系统总线107、网络接口102以及蜂窝式调制解调器103。FIG1A illustrates a block diagram of a system according to various embodiments of the present invention. System 101 may be a network node or network host that provides network functionality or has networking capabilities, respectively. For example, system 101 may be a router, a hub, a gateway, an IEEE 802.11 access point, a database server, a network server, a virtualized router, a laptop, a computer, a smartphone, a tablet computer, etc. System 101 includes a processing unit 104, a main memory 106, an auxiliary memory 105, a system bus 107, a network interface 102, and a cellular modem 103.
系统101可以具有的网络接口102的数目不受限制。系统101可以不具有网络接口、具有一个或多个网络接口。当系统101不具有网络接口时,所述系统通过蜂窝式调制解调器103通信。在一个变型例中,网络接口102也能够用于蜂窝式通信,如果所述网络接口内置有此类能力或如果所述网络接口连接到外部蜂窝式调制解调器的话。The number of network interfaces 102 that system 101 can have is unlimited. System 101 can have no network interface, one or more network interfaces. When system 101 has no network interface, the system communicates via cellular modem 103. In one variation, network interface 102 can also be used for cellular communication if such capability is built into the network interface or if the network interface is connected to an external cellular modem.
结合图1C所示,系统101可以使用至少一个蜂窝式调制解调器(例如蜂窝式调制解调器103)来连接到蜂窝式网络,例如蜂窝式网络122。蜂窝式调制解调器103a和103b可以使用嵌入式蜂窝式调制解调器、内部蜂窝式调制解调器或外部蜂窝式调制解调器实施。例如,蜂窝式调制解调器103a或103b可以是基于通用串行总线(USB)的蜂窝式调制解调器。在一个变型例中,蜂窝式调制解调器103a或103b连接到网络接口,例如网络接口102,且因此系统101可以通过网络接口102使用蜂窝式调制解调器103。在一个变型例中,蜂窝式调制解调器103a或103b通过专用或公共互连网络(例如互连网络121)连接到系统101,使得系统101可以通过蜂窝式调制解调器103a或103b发送和接收SMS消息。As shown in conjunction with FIG1C , system 101 can use at least one cellular modem (e.g., cellular modem 103) to connect to a cellular network, such as cellular network 122. Cellular modems 103a and 103b can be implemented using embedded cellular modems, internal cellular modems, or external cellular modems. For example, cellular modem 103a or 103b can be a Universal Serial Bus (USB)-based cellular modem. In one embodiment, cellular modem 103a or 103b is connected to a network interface, such as network interface 102, and thus system 101 can use cellular modem 103 through network interface 102. In one embodiment, cellular modem 103a or 103b is connected to system 101 via a private or public interconnection network (e.g., interconnection network 121), so that system 101 can send and receive SMS messages via cellular modem 103a or 103b.
在图1A中,网络接口102和蜂窝式调制解调器103等特定元件用字母后缀(“a”、“b”等)指定。特定元件将由其对应的后缀102a、102b和103a、103b指代。对没有其特定后缀的元件102、103的参考将被理解为对整个群组的参考。In FIG1A , specific components such as the network interface 102 and the cellular modem 103 are designated with letter suffixes ("a," "b," etc.). Specific components will be referred to by their corresponding suffixes 102a, 102b and 103a, 103b. Reference to components 102, 103 without their specific suffixes will be understood as a reference to the entire group.
图1B图示根据各种实施例的用于配置另一系统的系统(例如系统111)的框图。系统111包括处理单元114、主存储器116、辅助存储器115、系统总线117、网络接口112以及蜂窝式调制解调器113。系统111可以类似于系统101。1B illustrates a block diagram of a system for configuring another system, such as system 111, according to various embodiments. System 111 includes a processing unit 114, a main memory 116, a secondary memory 115, a system bus 117, a network interface 112, and a cellular modem 113. System 111 may be similar to system 101.
在一个实施例中,双安全数字(SD)或闪存(CF)卡用作辅助存储器105或115或者辅助存储器105和115的部分。In one embodiment, dual Secure Digital (SD) or Flash (CF) cards are used as part of the secondary storage 105 or 115 or both.
图1C图示根据本发明的各种实施例的网络环境。系统101通过蜂窝式调制解调器103a和103b无线地连接到蜂窝式网络122。系统111通过蜂窝式调制解调器113连接到蜂窝式网络123。蜂窝式网络122和123连接到互连网络121。因此,系统101和系统111可以通过对应地通过蜂窝式网络122和123连接到互连网络121而具有互联网连接性。在一个变型例中,系统111和系统101连接到相同的蜂窝式网络,例如蜂窝式网络122。在一个变型例中,系统101通过蜂窝式调制解调器103a连接到蜂窝式网络122且通过蜂窝式调制解调器103b连接到蜂窝式网络123。在一个变型例中,系统111可以通过网络接口112直接连接到互连网络121。类似地,系统111可以通过网络接口102a和/或102b直接连接到互连网络121。互连网络121可以是因特网。FIG1C illustrates a network environment according to various embodiments of the present invention. System 101 is wirelessly connected to cellular network 122 via cellular modems 103a and 103b. System 111 is connected to cellular network 123 via cellular modem 113. Cellular networks 122 and 123 are connected to interconnected network 121. Thus, system 101 and system 111 can have internet connectivity by connecting to interconnected network 121 via cellular networks 122 and 123, respectively. In one variation, system 111 and system 101 are connected to the same cellular network, such as cellular network 122. In one variation, system 101 is connected to cellular network 122 via cellular modem 103a and to cellular network 123 via cellular modem 103b. In one variation, system 111 can directly connect to interconnected network 121 via network interface 112. Similarly, system 111 can directly connect to interconnected network 121 via network interfaces 102a and/or 102b. The interconnected network 121 may be the Internet.
接收配置SMS消息Receive configuration SMS messages
图2是图示本发明中一个实施例的流程图且应结合图1A观察。系统101接收配置以配置自身。所述配置在SMS消息中接收。为了更易于阅读,通过SMS消息接收的配置称为“配置SMS消息”。配置SMS消息可以由系统111发送。系统111能够发出配置以配置另一系统,例如系统101。在接收配置SMS消息后,系统101随后能够产生用于网络设备的配置。在步骤201处,系统101通过蜂窝式调制解调器103a和103b中的一个接收配置SMS消息。系统101不限于仅具有两个蜂窝式调制解调器,使得系统101可以具有一个或多个蜂窝式调制解调器。所接收的配置SMS消息可以存储在主存储器106或辅助存储器105中。取决于在配置SMS消息中的配置的大小,配置SMS消息可以一个或多个部分被接收。当配置SMS消息以超过一个部分被接收时,所述超过一个部分在系统101处通过处理单元104连接成一个配置SMS消息。优选地,仅暂时存储配置SMS消息,因为当已经执行流程图的所有过程时,存储配置SMS消息可能不必要地消耗存储空间。FIG2 is a flow chart illustrating one embodiment of the present invention and should be viewed in conjunction with FIG1A . System 101 receives a configuration to configure itself. The configuration is received in an SMS message. For ease of reading, a configuration received via an SMS message is referred to as a "configuration SMS message." A configuration SMS message may be sent by system 111. System 111 can issue a configuration to configure another system, such as system 101. After receiving the configuration SMS message, system 101 can then generate a configuration for a network device. At step 201, system 101 receives the configuration SMS message via one of cellular modems 103a and 103b. System 101 is not limited to having only two cellular modems; system 101 may have one or more cellular modems. The received configuration SMS message may be stored in primary memory 106 or secondary memory 105. Depending on the size of the configuration in the configuration SMS message, the configuration SMS message may be received in one or more parts. When a configuration SMS message is received in more than one part, the parts are concatenated into a single configuration SMS message at system 101 by processing unit 104. Preferably, the configuration SMS message is only temporarily stored, because storing the configuration SMS message may unnecessarily consume storage space when all the processes of the flowchart have been executed.
在接收完整的配置SMS消息之后,在步骤202中,处理单元104根据存储在主存储器106或辅助存储器105中的程序指令验证配置SMS消息。验证可以包含认证和验证配置SMS消息和/或由配置SMS消息携载的内容的完整性。例如,为了验证内容,使用密码来对所述内容解密。如果内容可以通过处理单元104解密,那么内容得到认证且确定内容尚未被篡改。在一个变型例中,针对完整性,通过处理单元104检查内容的格式。处理单元104确定配置SMS消息是否从经授权以产生用于系统101的配置的可靠源到达。验证步骤用于至少两个目的。第一目的是确保配置SMS消息具有完整性。第二目的是确保配置SMS消息从经授权源发送。After receiving the complete configuration SMS message, in step 202, processing unit 104 verifies the configuration SMS message according to program instructions stored in main memory 106 or secondary memory 105. Verification can include authenticating and verifying the integrity of the configuration SMS message and/or the content carried by the configuration SMS message. For example, in order to verify the content, a password is used to decrypt the content. If the content can be decrypted by processing unit 104, then the content is authenticated and it is determined that the content has not been tampered with. In a variant, the format of the content is checked for integrity by processing unit 104. Processing unit 104 determines whether the configuration SMS message arrives from a reliable source authorized to generate configurations for system 101. The verification step serves at least two purposes. The first purpose is to ensure that the configuration SMS message has integrity. The second purpose is to ensure that the configuration SMS message is sent from an authorized source.
在步骤203处,配置由处理单元104实质上基于配置SMS消息的内容而产生。配置SMS消息的内容转换成配置,所述配置可以采用机器可读程序指令或配置文件的形式。在一个实例中,配置可以用于将IP地址分配到系统101的一个或多个网络接口和/或蜂窝式调制解调器。配置还可以包括与蜂窝式调制解调器相对应的接入点名称(APN)字符串,所述接入点名称字符串由蜂窝式调制解调器用于建立其基于因特网协议(IP)的连接性。At step 203, a configuration is generated by processing unit 104 based substantially on the contents of the configuration SMS message. The contents of the configuration SMS message are converted into a configuration, which may be in the form of machine-readable program instructions or a configuration file. In one example, the configuration may be used to assign an IP address to one or more network interfaces and/or cellular modems of system 101. The configuration may also include an access point name (APN) string corresponding to the cellular modem, which is used by the cellular modem to establish its Internet Protocol (IP)-based connectivity.
在步骤204处,处理单元104随后根据配置来配置系统101。所述配置可以首先加载到辅助存储器105或主存储器106中。随后处理单元104执行功能,例如初始化、建立通信、健康检查、诊断、故障处理以及其它功能。在一个变型例中,处理单元104基于程序指令和配置执行网络功能。网络功能可以包含建立VPN连接、集中VPN连接、配置域名服务(DNS)、配置动态DNS(DDNS)、配置DHCP以及配置插入模式。At step 204, processing unit 104 then configures system 101 according to the configuration. The configuration may be initially loaded into secondary memory 105 or primary memory 106. Processing unit 104 then performs functions such as initialization, establishing communications, health checks, diagnostics, troubleshooting, and other functions. In one variation, processing unit 104 performs network functions based on program instructions and the configuration. Network functions may include establishing a VPN connection, centralizing VPN connections, configuring Domain Name Service (DNS), configuring Dynamic DNS (DDNS), configuring DHCP, and configuring plug-in mode.
图4是图示在网络节点(例如系统101)中执行以用于配置网络节点的另一过程的流程图。所述过程在步骤400处开始。在步骤401中,由处理单元104产生用于通过SMS接收配置的请求。在步骤402中,选择系统101的一个或多个蜂窝式调制解调器或网络接口以用于通过SMS发送请求。出于说明的目的,选择蜂窝式调制解调器103a以用于发送请求。与蜂窝式调制解调器113相对应的手机号可以在系统101中预配置且存储在辅助存储器105中。在步骤403中,通过蜂窝式调制解调器103a将包含请求的请求SMS消息发送到系统111。所述请求可以包括系统101的身份信息和所请求的配置的类型。例如,系统101可以请求包括APN信息的配置。APN信息随后可以用于允许系统101通过蜂窝式调制解调器103a连接到因特网。当APN由系统101通过配置SMS消息接收时,系统101随后可以将APN用于IP连接性。替代地,系统101可以请求用于建立VPN连接、集中VPN连接、配置DNS、DHCP或插入模式的配置。在发送请求之后,系统101等待一个或多个配置SMS消息。在步骤404中,处理单元104确定是否接收任何配置SMS消息。系统101等待配置SMS消息,直到在步骤405中等待时间到期。如果在等待时间到期之前未接收到配置SMS消息,那么在步骤401处产生新请求。等待时间可以在几秒到一分钟的范围内。指定等待时间,因为如果在所述等待时间内未接收到配置SMS消息,那么很可能包含请求的请求SMS消息未成功地发射到系统111或由系统111发送的配置SMS消息并未成功地到达系统101。因此,当等待时间到期时,再次发送请求。如果在等待时间到期之前接收到配置SMS消息,那么处理单元104在步骤406中验证配置SMS消息且确定配置SMS消息是否有效。如果配置SMS消息无效,那么处理单元104在步骤401中产生另一请求。如果配置SMS消息有效,那么处理单元104在步骤407中至少部分地基于配置SMS消息的内容产生配置。系统101随后根据所产生的配置在步骤408中得到配置。替代地,处理单元104从配置SMS消息检索配置且基于从配置SMS消息检索的配置来配置系统101。FIG4 is a flow chart illustrating another process performed in a network node (e.g., system 101) for configuring the network node. The process begins at step 400. In step 401, processing unit 104 generates a request for receiving a configuration via SMS. In step 402, one or more cellular modems or network interfaces of system 101 are selected for sending the request via SMS. For illustrative purposes, cellular modem 103a is selected for sending the request. The mobile phone number corresponding to cellular modem 113 may be preconfigured in system 101 and stored in auxiliary memory 105. In step 403, a request SMS message containing the request is sent to system 111 via cellular modem 103a. The request may include identification information of system 101 and the type of configuration requested. For example, system 101 may request a configuration including APN information. The APN information can then be used to allow system 101 to connect to the Internet via cellular modem 103a. When system 101 receives the APN via the configuration SMS message, system 101 can then use the APN for IP connectivity. Alternatively, system 101 may request configuration for establishing a VPN connection, a centralized VPN connection, configuring DNS, DHCP, or inserting mode. After sending the request, system 101 waits for one or more configuration SMS messages. In step 404, processing unit 104 determines whether any configuration SMS messages have been received. System 101 waits for a configuration SMS message until a wait time expires in step 405. If no configuration SMS message is received before the wait time expires, a new request is generated at step 401. The wait time can range from a few seconds to a minute. The wait time is specified because if no configuration SMS message is received within the wait time, it is likely that the request SMS message containing the request was not successfully transmitted to system 111 or that the configuration SMS message sent by system 111 did not successfully reach system 101. Therefore, when the wait time expires, the request is sent again. If a configuration SMS message is received before the wait time expires, processing unit 104 verifies the configuration SMS message and determines whether the configuration SMS message is valid in step 406. If the configuration SMS message is invalid, processing unit 104 generates another request in step 401. If the configuration SMS message is valid, processing unit 104 generates a configuration based at least in part on the contents of the configuration SMS message in step 407. System 101 is then configured according to the generated configuration in step 408. Alternatively, processing unit 104 retrieves the configuration from the configuration SMS message and configures system 101 based on the configuration retrieved from the configuration SMS message.
在本发明的一个实施例中,用于从用于配置系统101的系统111接收配置SMS消息的请求可以由另一装置产生且随后由另一装置发射到系统111。例如,系统101是路由器,且系统101的用户或管理员使用膝上型计算机来产生请求,且随后将请求从膝上型计算机发送到系统111。所述请求包括系统101的身份信息。在一个变型例中,如果所请求的配置包含用于一个或多个具体网络接口或蜂窝式调制解调器的配置,那么所述请求进一步包括所述一个或多个网络接口或蜂窝式调制解调器(请求用于其的配置)的身份信息。在一个变型例中,系统101可以将请求发射到系统111,使得系统111将配置SMS消息发射到可包含或可不包含系统101的多个装置。所述请求包括需要被配置的多个装置的身份信息。In one embodiment of the present invention, a request to receive a configuration SMS message from system 111 for configuring system 101 can be generated by another device and then transmitted to system 111 by the other device. For example, system 101 is a router, and a user or administrator of system 101 generates the request using a laptop computer and then transmits the request from the laptop computer to system 111. The request includes identification information for system 101. In one variation, if the requested configuration includes configuration for one or more specific network interfaces or cellular modems, the request further includes identification information for the one or more network interfaces or cellular modems for which configuration is requested. In one variation, system 101 can transmit the request to system 111, causing system 111 to transmit the configuration SMS message to multiple devices, which may or may not include system 101. The request includes identification information for the multiple devices to be configured.
配置SMS消息和请求SMS消息的内容可以采用字符串格式、二进制格式、XML格式,或可以用于SMS消息的任何其它格式。The contents of the configuration SMS message and the request SMS message may be in a string format, a binary format, an XML format, or any other format that may be used for SMS messages.
在一个实施例中,系统101直接将请求SMS消息发送到用于接收配置SMS消息的系统111的网络管理员或用户的移动电话。网络管理员随后根据由系统101发送的请求将用于发送配置SMS消息的指令发送到系统111。In one embodiment, system 101 sends a request SMS message directly to a mobile phone of a network administrator or user of system 111 for receiving configuration SMS messages. The network administrator then sends instructions for sending the configuration SMS message to system 111 based on the request sent by system 101.
在本发明的一个实施例中,系统101通过与系统111(例如SMS服务器)相关联的装置或电话将请求SMS消息发送到系统111。例如,系统111是不具有SMS能力的膝上型计算机或路由器,即,系统111不具有插入在蜂窝式调制解调器113中的SIM卡。请求SMS消息由系统101通过系统101的蜂窝式调制解调器发送到SMS服务器,且SMS服务器随后通过互连网络121(例如因特网)将所述请求转发到系统111。请求SMS消息包括用于在系统101处接收配置的请求。类似地,系统111通过SMS服务器将配置SMS消息发送到系统101。系统111首先通过因特网将IP包形式的配置SMS消息发送到SMS服务器,且SMS服务器随后通过系统101的蜂窝式调制解调器将配置SMS消息转发到系统101。In one embodiment of the present invention, system 101 sends a request SMS message to system 111 via a device or phone associated with system 111 (e.g., an SMS server). For example, system 111 is a laptop or router without SMS capabilities, i.e., system 111 does not have a SIM card inserted in cellular modem 113. The request SMS message is sent by system 101 to the SMS server via system 101's cellular modem, and the SMS server then forwards the request to system 111 via interconnected network 121 (e.g., the Internet). The request SMS message includes a request to receive configuration at system 101. Similarly, system 111 sends a configuration SMS message to system 101 via the SMS server. System 111 first sends the configuration SMS message in the form of IP packets to the SMS server via the Internet, and the SMS server then forwards the configuration SMS message to system 101 via system 101's cellular modem.
配置SMS消息可以基于一个或多个条件在步骤406和202中得到验证。在一个变型例中,处理单元104确定配置SMS消息是否是完整的,即是否已经接收到配置的所有部分。如果确定配置SMS消息不完整,那么系统101等待配置SMS消息的其余部分,且如果在预定义时间段内未接收到其余部分,则使配置SMS消息无效。在步骤406中,当配置SMS消息无效时,所述过程再次从步骤401开始。如果确定配置SMS消息是完整的,那么配置SMS消息得到验证。在一个变型例中,如果配置SMS消息被加密,那么处理单元104首先确定配置SMS消息是否是完整的。如果配置SMS消息是完整的,那么处理单元104随后确定配置SMS消息是否可以通过处理单元104解密。如果配置SMS消息成功地解密,那么配置SMS消息得到验证。否则,配置SMS消息无效。在另一变型例中,如果配置SMS消息成功地解密,那么处理单元104确定配置SMS消息的发送方的电话号码是否匹配预配置电话号码。如果发送方的电话号码匹配预配置电话号码,那么配置SMS消息得到验证。配置SMS消息的成功解密可以确认配置SMS消息具有完整性、未被篡改且由系统111发送。配置SMS消息可以由系统111使用已经存储在系统101中的预共享密钥加密。否则配置SMS消息无效。The configuration SMS message may be validated in steps 406 and 202 based on one or more conditions. In one variation, processing unit 104 determines whether the configuration SMS message is complete, i.e., whether all portions of the configuration have been received. If the configuration SMS message is determined to be incomplete, system 101 awaits the remainder of the configuration SMS message and, if the remainder is not received within a predefined time period, invalidates the configuration SMS message. In step 406, if the configuration SMS message is invalid, the process begins again at step 401. If the configuration SMS message is determined to be complete, the configuration SMS message is validated. In one variation, if the configuration SMS message is encrypted, processing unit 104 first determines whether the configuration SMS message is complete. If the configuration SMS message is complete, processing unit 104 then determines whether the configuration SMS message can be decrypted by processing unit 104. If the configuration SMS message is successfully decrypted, the configuration SMS message is validated. Otherwise, the configuration SMS message is invalid. In another variation, if the configuration SMS message is successfully decrypted, processing unit 104 determines whether the phone number of the sender of the configuration SMS message matches a preconfigured phone number. If the sender's phone number matches the preconfigured phone number, the configuration SMS message is authenticated. Successful decryption of the configuration SMS message confirms that the configuration SMS message has integrity, has not been tampered with, and was sent by system 111. The configuration SMS message may be encrypted by system 111 using a pre-shared key stored in system 101. Otherwise, the configuration SMS message is invalid.
根据一个优选实施例,当系统101根据通过配置SMS消息接收的配置得到配置时,系统101开始通过IP发射和/或接收数据。因此,在没有接收配置的情况下,系统101可能不能够发射和/或接收数据。例如,系统101不具有IP地址且不能发射和/或接收IP包。According to a preferred embodiment, when system 101 is configured according to the configuration received via the configuration SMS message, system 101 begins transmitting and/or receiving data via IP. Therefore, without receiving the configuration, system 101 may not be able to transmit and/or receive data. For example, system 101 may not have an IP address and may not be able to transmit and/or receive IP packets.
在一个实施例中,直到系统101根据通过配置SMS消息接收的配置得到配置,系统101才发射或接收数据包。这确保系统101在连接到网络之前接收最新的配置。因为不正确的配置可能不利地影响网络。例如,系统101初始地由系统101的制造商配置以充当DHCP服务器。如果系统101在没有进一步配置的情况下连接到网络,那么系统101将会将IP地址分配到其它主机,因为系统101充当DHCP服务器。为了避免此情况,本发明允许直到通过配置SMS消息接收到配置且处理单元104已经配置系统101时,系统101才执行其功能。所述配置例如包含用于将系统101配置为DHCP客户端而非DHCP服务器的指令。随后系统101在其连接到网络时将不将IP地址分配到其它主机。In one embodiment, system 101 does not transmit or receive data packets until system 101 is configured according to the configuration received via the configuration SMS message. This ensures that system 101 receives the latest configuration before connecting to the network. This is because an incorrect configuration may adversely affect the network. For example, system 101 is initially configured by the manufacturer of system 101 to act as a DHCP server. If system 101 is connected to the network without further configuration, then system 101 will assign IP addresses to other hosts because system 101 acts as a DHCP server. To avoid this situation, the present invention allows system 101 to perform its functions until a configuration is received via the configuration SMS message and processing unit 104 has configured system 101. The configuration, for example, includes instructions for configuring system 101 as a DHCP client rather than a DHCP server. Subsequently, system 101 will not assign IP addresses to other hosts when it is connected to the network.
在另一个实例中,所述配置包含用于允许系统101与远程网络节点建立一个或多个VPN连接的信息。当系统101用所述配置来配置时,系统101随后能够建立一个或多个VPN连接且通过所建立的一个或多个VPN连接发射和/或接收机密信息。VPN连接可以例如使用SSH隧道技术采用隧道的形式。不存在VPN连接必须是SSH隧道的限制。例如,VPN连接还可以使用IPSec协议形成。In another example, the configuration includes information for allowing system 101 to establish one or more VPN connections with a remote network node. When system 101 is configured with the configuration, system 101 can subsequently establish one or more VPN connections and transmit and/or receive confidential information via the established one or more VPN connections. The VPN connection can, for example, take the form of a tunnel using SSH tunneling technology. There is no limitation on the VPN connection being an SSH tunnel. For example, the VPN connection can also be established using the IPSec protocol.
在一个变型例中,直到根据通过配置SMS消息接收的配置建立VPN连接,系统101才发射或接收数据包。使用配置SMS消息来配置VPN连接减少了网络管理员在手动地配置VPN连接时的负担。配置SMS消息使得系统101能够建立VPN连接且随后安全地与内部网络通信。In one variation, system 101 does not transmit or receive data packets until the VPN connection is established according to the configuration received via the configuration SMS message. Using the configuration SMS message to configure the VPN connection reduces the burden on network administrators when manually configuring the VPN connection. The configuration SMS message enables system 101 to establish the VPN connection and subsequently communicate securely with the internal network.
示例性地,系统101从系统111接收配置SMS消息以与远程网络节点建立VPN连接。配置SMS消息可以响应于由系统101发送的请求SMS消息来接收。还可能的是,在不从系统101接收请求SMS消息的情况下,由系统111发送配置SMS消息。配置SMS消息指定将VPN技术用于建立VPN连接,所述VPN技术例如IPSec、SpeedFusion、OpenVPN、SSH隧道等。配置SMS消息可以进一步指定系统101的网络接口或蜂窝式调制解调器的身份信息、远程网络节点的IP地址、远程网络节点的身份信息、加密标准,以及可选地用于通过VPN连接连接到VPN的共享密钥。如果远程网络节点具有超过一个网络接口或蜂窝式调制解调器,那么还指定具体网络接口或蜂窝式调制解调器的IP地址。Illustratively, system 101 receives a configuration SMS message from system 111 to establish a VPN connection with a remote network node. The configuration SMS message may be received in response to a request SMS message sent by system 101. It is also possible that system 111 sends the configuration SMS message without receiving a request SMS message from system 101. The configuration SMS message specifies a VPN technology to be used to establish the VPN connection, such as IPSec, SpeedFusion, OpenVPN, SSH tunneling, etc. The configuration SMS message may further specify the identity information of a network interface or cellular modem of system 101, the IP address of the remote network node, the identity information of the remote network node, an encryption standard, and optionally a shared key for connecting to the VPN via the VPN connection. If the remote network node has more than one network interface or cellular modem, the IP address of the specific network interface or cellular modem is also specified.
远程网络节点还可经配置以通过系统111通过另一配置SMS消息与系统101建立VPN连接,所述另一配置SMS消息指定系统101的网络接口或蜂窝式调制解调器的IP地址、系统101的身份信息、加密标准以及可选地共享密钥。The remote network node may also be configured to establish a VPN connection with system 101 through system 111 via another configuration SMS message that specifies the IP address of system 101's network interface or cellular modem, system 101's identity information, encryption standards, and optionally a shared key.
当系统101接收配置SMS消息时,处理单元104基于配置SMS消息产生配置。例如,所述配置指定IPSec作为VPN技术且指定网络接口102a,系统101通过所述网络接口建立VPN连接。加密标准被指定为256位AES加密且共享密钥是“newyork”。因此,当系统101用所述配置来配置时,系统101通过网络接口102a与远程网络节点建立VPN连接。用于通过VPN连接传输或接收的数据的加密标准是256位AES加密。When system 101 receives the configuration SMS message, processing unit 104 generates a configuration based on the configuration SMS message. For example, the configuration specifies IPSec as the VPN technology and network interface 102a, through which system 101 establishes a VPN connection. The encryption standard is specified as 256-bit AES encryption, and the shared key is "newyork." Therefore, when system 101 is configured with the configuration, system 101 establishes a VPN connection with the remote network node via network interface 102a. The encryption standard used for data transmitted or received over the VPN connection is 256-bit AES encryption.
在一个变型例中,配置SMS消息可以包括用于集中根据所述配置建立的多个VPN连接的配置。用于允许系统101建立多个VPN连接的信息以及用于允许系统101集中VPN连接的信息可以在相同配置或不同配置中。用于建立VPN连接和集中VPN连接的配置可以在相同配置SMS消息或不同配置SMS消息中。具有集中式VPN连接的益处包含允许系统101利用可通过网络接口102a接入的接入连接且可通过蜂窝式调制解调器103a接入的无线通信连接。In one variation, the configuration SMS message may include a configuration for centralizing multiple VPN connections established according to the configuration. The information for allowing system 101 to establish multiple VPN connections and the information for allowing system 101 to centralize VPN connections may be in the same configuration or in different configurations. The configurations for establishing VPN connections and centralizing VPN connections may be in the same configuration SMS message or in different configuration SMS messages. Benefits of having a centralized VPN connection include allowing system 101 to utilize an access connection accessible via network interface 102a and a wireless communication connection accessible via cellular modem 103a.
例如,系统101接收第一配置SMS消息以与远程网络节点建立集中式VPN连接。。出于说明的目的,第一配置SMS消息由系统111发送以配置系统101以使用网络接口102a与远程网络节点建立第一VPN连接,且使用蜂窝式调制解调器103a与远程网络节点建立第二VPN连接。第一配置SMS消息进一步为系统101提供信息以配置所述系统自身,以便集中第一VPN连接和第二VPN连接以形成集中式VPN连接。For example, system 101 receives a first configuration SMS message to establish a centralized VPN connection with a remote network node. For illustrative purposes, the first configuration SMS message is sent by system 111 to configure system 101 to establish a first VPN connection with the remote network node using network interface 102a, and to establish a second VPN connection with the remote network node using cellular modem 103a. The first configuration SMS message further provides system 101 with information to configure itself to consolidate the first and second VPN connections to form the centralized VPN connection.
在一个示例中,第一配置SMS消息仅经发送用于配置系统101以建立第一VPN连接,且第二配置SMS消息经发送用于配置系统101以建立第二VPN连接,且第三配置SMS消息经发送用于配置系统101以通过集中第一和第二VPN连接形成集中式VPN连接。In one example, a first configuration SMS message is sent only to configure system 101 to establish a first VPN connection, a second configuration SMS message is sent to configure system 101 to establish a second VPN connection, and a third configuration SMS message is sent to configure system 101 to form a centralized VPN connection by concentrating the first and second VPN connections.
在另一示例中,第一配置SMS消息经发送用于配置系统101以建立第一和第二VPN连接,且第二配置SMS消息经发送用于配置系统101以通过集中第一和第二VPN连接形成集中式VPN连接。In another example, a first configuration SMS message is sent to configure system 101 to establish first and second VPN connections, and a second configuration SMS message is sent to configure system 101 to form a centralized VPN connection by pooling the first and second VPN connections.
配置SMS消息包括用于系统101的一个或多个蜂窝式调制解调器或网络接口的配置。例如,蜂窝式调制解调器103a和103b连接到不同的载体且需要使用不同的APN来连接到因特网。在一个变型例中,当配置SMS消息包括用于超过一个蜂窝式调制解调器的配置时,配置SMS消息包括用于蜂窝式调制解调器103a和蜂窝式调制解调器103b两者的APN。配置SMS消息还包括用于识别哪一个APN用于哪一个蜂窝式调制解调器的信息。替代地,由系统111发送包括用于蜂窝式调制解调器103a的APN的第一配置SMS消息,且由系统111发送包括用于蜂窝式调制解调器103b的APN的第二配置SMS消息。第一和第二配置SMS消息可以由系统101通过相同或不同的蜂窝式调制解调器接收。第一和第二配置SMS消息对应地包括蜂窝式调制解调器103a和103b的身份信息,使得处理单元104可以识别哪一个配置SMS消息用于哪一个蜂窝式调制解调器。The configuration SMS message includes configurations for one or more cellular modems or network interfaces of system 101. For example, cellular modems 103a and 103b are connected to different carriers and require different APNs to connect to the internet. In one variation, when the configuration SMS message includes configurations for more than one cellular modem, the configuration SMS message includes the APNs for both cellular modem 103a and cellular modem 103b. The configuration SMS message also includes information identifying which APN is for which cellular modem. Alternatively, system 111 sends a first configuration SMS message including the APN for cellular modem 103a, and system 111 sends a second configuration SMS message including the APN for cellular modem 103b. The first and second configuration SMS messages can be received by system 101 via the same or different cellular modems. The first and second configuration SMS messages include identity information for cellular modems 103a and 103b, respectively, allowing processing unit 104 to identify which configuration SMS message is for which cellular modem.
根据本发明的一个实施例,系统111在一个或多个配置SMS消息中将配置发送到系统101以用于配置APN且用于配置VPN连接。例如,蜂窝式调制解调器103a尚未配置APN,且因此不能连接到因特网。系统111将第一配置SMS消息发送到系统101,所述第一配置SMS消息包括与插入在蜂窝式调制解调器103a中的SIM卡相对应的APN。第一配置SMS消息可以由系统111发送到系统101以响应于由系统101发送的请求SMS消息,或可以由系统111主动发送。系统101随后使用APN以具有在蜂窝式调制解调器103a处的IP连接性。第一配置SMS消息进一步包括用于使系统101通过蜂窝式调制解调器103a与远程网络节点建立VPN连接的配置。因为蜂窝式调制解调器103a现在能够连接到互联网,所以系统101能够通过蜂窝式调制解调器103a建立VPN连接。替代地,系统111将第二配置SMS消息发送到系统101,所述第二配置SMS消息包括使系统101通过蜂窝式调制解调器103a与远程网络节点建立VPN连接的配置。因此系统101首先通过蜂窝式调制解调器103a使用在第一配置SMS消息中的APN连接到因特网,且随后基于在第二配置SMS消息中从系统111接收的配置通过蜂窝式调制解调器103a与远程通信节点建立VPN连接。According to one embodiment of the present invention, system 111 sends configurations for configuring an APN and a VPN connection to system 101 in one or more configuration SMS messages. For example, cellular modem 103a does not yet have an APN configured and is therefore unable to connect to the internet. System 111 sends a first configuration SMS message to system 101 that includes the APN corresponding to the SIM card inserted in cellular modem 103a. The first configuration SMS message may be sent by system 111 to system 101 in response to a request SMS message sent by system 101, or it may be sent proactively by system 111. System 101 then uses the APN to establish IP connectivity at cellular modem 103a. The first configuration SMS message further includes configurations for system 101 to establish a VPN connection with a remote network node via cellular modem 103a. Because cellular modem 103a is now able to connect to the internet, system 101 is able to establish a VPN connection via cellular modem 103a. Alternatively, system 111 sends a second configuration SMS message to system 101, the second configuration SMS message including configurations for system 101 to establish a VPN connection with the remote network node via cellular modem 103a. Thus, system 101 first connects to the Internet via cellular modem 103a using the APN in the first configuration SMS message, and then establishes a VPN connection with the remote communication node via cellular modem 103a based on the configurations received from system 111 in the second configuration SMS message.
在一个变型例中,系统111首先发送配置SMS消息,其包括与插入在蜂窝式调制解调器103a中的SIM卡相对应的APN。系统101随后能够使用APN具有通过蜂窝式调制解调器103a的IP连接性。系统111随后使用IP包而非SMS消息将第二配置发送到系统101,因为系统101具有通过蜂窝式调制解调器103a的IP连接性。第二配置经发送以使系统101通过蜂窝式调制解调器103a与远程网络节点建立VPN连接。系统101首先通过蜂窝式调制解调器103a使用APN连接到因特网,且随后基于使用IP包从系统111接收的第二配置通过蜂窝式调制解调器103a与远程通信节点建立VPN连接。In one variation, system 111 first sends a configuration SMS message that includes the APN corresponding to the SIM card inserted in cellular modem 103a. System 101 is then able to use the APN to establish IP connectivity through cellular modem 103a. System 111 then sends a second configuration to system 101 using IP packets rather than SMS messages because system 101 has IP connectivity through cellular modem 103a. The second configuration is sent to cause system 101 to establish a VPN connection with a remote network node through cellular modem 103a. System 101 first connects to the Internet through cellular modem 103a using the APN, and then establishes a VPN connection with the remote communication node through cellular modem 103a based on the second configuration received from system 111 using IP packets.
在一个变型例中,系统111首先发送配置SMS消息,其包括与插入在蜂窝式调制解调器103a中的SIM卡相对应的第一APN,以及与插入在蜂窝式调制解调器103b中的SIM卡相对应的第二APN。两个蜂窝式调制解调器103a和103b随后对应地使用第一和第二APN而具有IP连接性。系统111随后将一个或多个配置发送到系统101以用于对应地使用蜂窝式调制解调器103a和103b与远程网络节点建立第一VPN连接和第二VPN连接,且随后集中第一和第二VPN连接以形成集中式VPN连接。用于建立且集中VPN连接的配置可以使用IP包或配置SMS消息发送。In one variation, system 111 first sends a configuration SMS message that includes a first APN corresponding to the SIM card inserted in cellular modem 103a and a second APN corresponding to the SIM card inserted in cellular modem 103b. Both cellular modems 103a and 103b then have IP connectivity using the first and second APNs, respectively. System 111 then sends one or more configurations to system 101 for establishing a first VPN connection and a second VPN connection with a remote network node using cellular modems 103a and 103b, respectively, and then consolidates the first and second VPN connections to form a centralized VPN connection. The configurations for establishing and consolidating the VPN connections can be sent using an IP packet or a configuration SMS message.
所述配置或配置SMS消息可以或可以不响应于由系统101发送的请求SMS消息来发送。The configuration or configuration SMS message may or may not be sent in response to a request SMS message sent by system 101 .
以此方式,系统101可以经配置以具有IP连接性并且还建立VPN连接,而不必使网络管理员手动地配置所述VPN连接。这使得网络管理员更加便于配置系统101等网络节点。In this way, the system 101 can be configured to have IP connectivity and also establish a VPN connection without having to have the network administrator manually configure the VPN connection. This makes it more convenient for the network administrator to configure a network node such as the system 101.
当装置开启时接收多个SMS消息Receive multiple SMS messages when the device is turned on
根据本发明的一个实施例,系统101对应地在多个配置SMS消息中接收多个配置。例如,当系统101尚未通电或系统101断开时,由系统111将包括第一配置的第一配置SMS消息发送到系统101。网络管理员随后可以决定在第一配置SMS消息已经发送到系统101之后用第二配置来配置系统101。因此,当系统101尚未通电、系统101仍断开或系统101不能够接收SMS消息时,网络管理员将用于将包括第二配置的第二配置SMS消息发送到系统101的指令发送到系统111。当系统101稍后能够接收SMS消息时,由系统101接收两个配置SMS消息,即第一配置SMS消息和第二配置SMS消息。处理单元104随后忽略第一配置SMS消息且验证第二配置SMS消息,因为第二消息是最新的。因此,处理单元104用在第二配置SMS消息中接收的第二配置来配置系统101。According to one embodiment of the present invention, system 101 receives multiple configurations in multiple configuration SMS messages. For example, when system 101 is not powered on or is disconnected, system 111 sends a first configuration SMS message containing a first configuration to system 101. A network administrator may subsequently decide to configure system 101 with a second configuration after the first configuration SMS message has been sent to system 101. Therefore, when system 101 is not powered on, is still disconnected, or is unable to receive SMS messages, the network administrator sends an instruction to system 111 to send a second configuration SMS message containing the second configuration to system 101. When system 101 later becomes able to receive SMS messages, system 101 receives two configuration SMS messages: the first configuration SMS message and the second configuration SMS message. Processing unit 104 then ignores the first configuration SMS message and verifies the second configuration SMS message because it is the most recent. Therefore, processing unit 104 configures system 101 with the second configuration received in the second configuration SMS message.
根据本发明的一个实施例,系统101通过多个蜂窝式调制解调器在多个配置SMS消息中接收配置。例如,配置的大小是这样,使得它需要使用至少三个配置SMS消息来发送。所述配置首先划分成三个部分,且随后将每个部分转换成单独的配置SMS消息。将三个配置SMS消息发送到系统101的不同蜂窝式调制解调器。出于说明的目的,将第一配置SMS消息发送到蜂窝式调制解调器103a且将第二部分和第三配置SMS消息发送到蜂窝式调制解调器103b。随后在系统101处组合第一、第二和第三配置SMS消息的内容以检索完整配置。这可以帮助减少所需用于接收完整配置的时间,因为蜂窝式调制解调器103a和103b可以同时接收配置SMS消息。According to one embodiment of the present invention, system 101 receives a configuration via multiple cellular modems in multiple configuration SMS messages. For example, the size of the configuration is such that it requires at least three configuration SMS messages to send. The configuration is first divided into three parts, and each part is then converted into a separate configuration SMS message. The three configuration SMS messages are sent to different cellular modems of system 101. For illustrative purposes, the first configuration SMS message is sent to cellular modem 103a, and the second and third configuration SMS messages are sent to cellular modem 103b. The contents of the first, second, and third configuration SMS messages are then combined at system 101 to retrieve the complete configuration. This can help reduce the time required to receive the complete configuration, as cellular modems 103a and 103b can receive the configuration SMS messages simultaneously.
在本发明的一个实施例中,将相同的配置SMS消息发送到蜂窝式调制解调器103a和103b两者。将相同的配置SMS消息发送到两个蜂窝式调制解调器,因此如果通过蜂窝式调制解调器中的一个进行的发送出故障或被延迟,那么系统101可以通过蜂窝式调制解调器中的另一个可靠地且快速地接收配置SMS消息。In one embodiment of the present invention, the same configuration SMS message is sent to both cellular modems 103a and 103b. The same configuration SMS message is sent to both cellular modems so that if transmission through one of the cellular modems fails or is delayed, system 101 can reliably and quickly receive the configuration SMS message through the other cellular modem.
发射配置SMS消息Send configuration SMS message
图3是图示根据本发明的一个实施例用于发射配置SMS消息的过程的流程图且应结合图1A和图1B观察。系统111用于发送用于配置网络节点(例如系统101)的配置SMS消息。所述配置SMS消息发送到一个或多个接收方。Figure 3 is a flow chart illustrating a process for transmitting a configuration SMS message according to one embodiment of the present invention and should be viewed in conjunction with Figures 1A and 1B. System 111 is configured to transmit a configuration SMS message for configuring a network node (e.g., system 101). The configuration SMS message is transmitted to one or more recipients.
在步骤301中,处理单元114确定一个或多个系统、设备、网络节点或需要被配置的任何装置的身份信息。例如,系统101需要被配置,且在步骤301中确定系统101的身份信息。所述身份信息可以包括系统101的序列号、插入在蜂窝式调制解调器103a中的订户身份模块(SIM)卡的序列号、系统101的型号、与蜂窝式调制解调器103a相对应的手机号和/或类似者。身份信息可以从数据库检索或可以由网络管理员发送到系统111。In step 301, processing unit 114 determines identity information for one or more systems, devices, network nodes, or any other device that needs to be configured. For example, system 101 needs to be configured, and in step 301, identity information for system 101 is determined. The identity information may include the serial number of system 101, the serial number of a subscriber identity module (SIM) card inserted in cellular modem 103a, the model number of system 101, the mobile phone number corresponding to cellular modem 103a, and/or the like. The identity information may be retrieved from a database or may be sent to system 111 by a network administrator.
在步骤302中,处理单元114确定配置。在一个变型例中,根据系统101的身份信息从服务器检索配置。替代地,网络管理员可以在系统111中输入具有系统101的相对应的身份信息的配置。网络管理员可以通过网络界面、应用程序设计接口(API)、命令行接口或控制台在本地或远程地在系统111中输入配置。在一个变型例中,网络管理员在系统111中输入配置的部分,且在处理单元114处运行的程序可以至少部分基于由网络管理员输入的配置的部分完成配置的其余部分。例如,网络管理员输入配置的包含系统101的身份信息和插入在蜂窝式调制解调器103a中的订户身份模块(SIM)卡的序列号的部分。在处理单元114处运行的程序随后可以从辅助存储器115或远程服务器检索相对应的APN,且通过将相对应的APN插入在所述配置中完成配置的其余部分。这允许自动地从辅助存储器115检索配置,因此使得网络管理员更容易配置系统101。In step 302, processing unit 114 determines a configuration. In one variation, the configuration is retrieved from a server based on the identity information of system 101. Alternatively, a network administrator may enter the configuration with the corresponding identity information of system 101 into system 111. The network administrator may enter the configuration into system 111 locally or remotely via a web interface, an application programming interface (API), a command line interface, or a console. In one variation, the network administrator enters a portion of the configuration into system 111, and a program running at processing unit 114 may complete the remainder of the configuration based at least in part on the portion of the configuration entered by the network administrator. For example, the network administrator may enter a portion of the configuration that includes the identity information of system 101 and the serial number of the subscriber identity module (SIM) card inserted into cellular modem 103a. The program running at processing unit 114 may then retrieve the corresponding APN from auxiliary storage 115 or a remote server and complete the remainder of the configuration by inserting the corresponding APN into the configuration. This allows for automatic retrieval of the configuration from auxiliary storage 115, thereby making it easier for the network administrator to configure system 101.
在步骤303中,处理单元114将配置转换成配置SMS消息。处理单元114还可以对配置SMS消息中的内容加密,使得接收方可以认证所接收的配置SMS消息。In step 303, the processing unit 114 converts the configuration into a configuration SMS message. The processing unit 114 may also encrypt the content in the configuration SMS message so that the recipient can authenticate the received configuration SMS message.
取决于配置的大小,配置SMS消息可以具有一个或多个部分。例如,如果配置的大小是这样,使得它在转换成配置SMS消息时用掉超过160个7位字符,那么随后将配置SMS消息划分在超过一个部分中,因为每个部分可以仅具有至多160个7位字符。对配置SMS消息中的内容加密增加了配置SMS消息的长度。因此,在一个变型例中,为了减少配置SMS消息的长度,压缩所述配置SMS消息以形成经压缩配置SMS消息。配置SMS消息可以使用各种压缩技术中的一个来压缩,例如,霍夫曼编码、朗佩尔-齐夫-韦尔奇(LZW)压缩、紧缩压缩技术,或可以用于压缩SMS消息的任何其它压缩技术。压缩配置SMS消息的步骤是可选的。Depending on the size of the configuration, the configuration SMS message may have one or more parts. For example, if the size of the configuration is such that it takes up more than 160 7-bit characters when converted into a configuration SMS message, then the configuration SMS message is then divided into more than one part because each part may only have at most 160 7-bit characters. Encrypting the content in the configuration SMS message increases the length of the configuration SMS message. Therefore, in one variation, in order to reduce the length of the configuration SMS message, the configuration SMS message is compressed to form a compressed configuration SMS message. The configuration SMS message may be compressed using one of various compression techniques, for example, Huffman coding, Lamper-Zip-Welch (LZW) compression, a compact compression technique, or any other compression technique that may be used to compress SMS messages. The step of compressing the configuration SMS message is optional.
在步骤304中,随后通过蜂窝式调制解调器113将配置SMS消息发射到包含系统101的一个或多个接收方。一个或多个接收方可以由网络管理员输入。一个或多个接收方可以包含与系统101的一个或多个蜂窝式调制解调器相对应的手机号。一个或多个接收方还可以包含与超过一个装置的蜂窝式调制解调器相对应的手机号。所述超过一个装置可以是网络节点或网络主机,例如路由器、集线器、网关、IEEE 802.11接入点、数据库服务器、网络服务器、虚拟化路由器、膝上型计算机、计算机、智能电话或平板计算机。当一个或多个接收方包含与多个装置的蜂窝式调制解调器相对应的手机号时,可以通过将配置SMS消息发出到多个装置来同时或几乎同时配置类似于系统101的多个装置。多个装置是类似的且将用相同配置来配置。多个装置可以在载体和插入在其对应的蜂窝式调制解调器中的SIM卡的数据计划方面类似,或可以在其型号方面类似。在一个变型例中,数据库用于存储一个或多个接收方的身份信息和与所述身份信息相对应的手机号。数据库可以在外部服务器、辅助存储器115或主存储器116中。In step 304, a configuration SMS message is then transmitted via cellular modem 113 to one or more recipients comprising system 101. The one or more recipients may be entered by a network administrator. The one or more recipients may include mobile phone numbers corresponding to one or more cellular modems of system 101. The one or more recipients may also include mobile phone numbers corresponding to cellular modems of more than one device. The more than one device may be a network node or network host, such as a router, hub, gateway, IEEE 802.11 access point, database server, web server, virtualized router, laptop, computer, smartphone, or tablet. When the one or more recipients include mobile phone numbers corresponding to cellular modems of multiple devices, multiple devices similar to system 101 can be configured simultaneously or nearly simultaneously by sending the configuration SMS message to the multiple devices. The multiple devices are similar and will be configured with the same configuration. The multiple devices may be similar in terms of the carrier and the data plan of the SIM card inserted in their corresponding cellular modem, or may be similar in terms of their model number. In one variation, a database is used to store the identity information of the one or more recipients and the mobile phone numbers corresponding to the identity information. The database may be in an external server, secondary storage 115 , or main storage 116 .
如果配置SMS消息具有超过一个部分,那么在超过一个部分中将配置SMS消息发射到系统101。在一个变型例中,一旦配置由网络管理员输入,就发射配置SMS消息。替代地,仅当系统101开启或通电时,将配置SMS消息发射到系统101。例如,系统101可以在其开启或通电时将通知发送到系统111。替代地,具体时间由网络管理员预配置,且在具体时间处发射配置SMS消息。替代地,仅在从系统101接收包括用于接收配置的请求的请求SMS消息之后,将配置SMS消息发射到系统101。If the configuration SMS message has more than one part, the configuration SMS message is transmitted to system 101 in more than one part. In one variation, the configuration SMS message is transmitted once the configuration is entered by the network administrator. Alternatively, the configuration SMS message is transmitted to system 101 only when system 101 is turned on or powered on. For example, system 101 may send a notification to system 111 when it is turned on or powered on. Alternatively, a specific time is preconfigured by the network administrator, and the configuration SMS message is transmitted at the specific time. Alternatively, the configuration SMS message is transmitted to system 101 only after receiving a request SMS message from system 101 that includes a request to receive the configuration.
在一个实施例中,图3的过程在从网络管理员接收用于发送配置的指令之后开始。网络管理员可以通过网络界面、API、命令行接口或控制台将指令发送到处理单元114。In one embodiment, the process of Figure 3 begins after receiving an instruction from a network administrator to send a configuration. The network administrator may send the instruction to the processing unit 114 via a web interface, API, command line interface, or console.
存在用于确定系统101的身份信息的许多方法。在一个实例中,系统101通过SMS消息、MMS消息、近场通信(NFC)、蓝牙、Wi-Fi直连或USB调制解调器将其身份信息发送到系统111。替代地,网络管理员可以通过网络界面、API、命令行接口或控制台将身份信息发送到系统111。替代地,系统111能够扫描条码或QR码。因此,系统111通过扫描印刷或标记在系统101的表面上的条码或QR码检索系统101的身份信息。There are many methods for determining the identity information of system 101. In one example, system 101 sends its identity information to system 111 via an SMS message, an MMS message, near field communication (NFC), Bluetooth, Wi-Fi Direct, or a USB modem. Alternatively, a network administrator can send the identity information to system 111 via a web interface, an API, a command line interface, or a console. Alternatively, system 111 can scan a barcode or QR code. Thus, system 111 retrieves the identity information of system 101 by scanning a barcode or QR code printed or marked on a surface of system 101.
图5是图示根据一个实施例的如何发射配置SMS消息的流程图。在步骤501中,系统111从网络节点(例如系统101)接收请求。所述请求采用通过蜂窝式调制解调器113接收的请求SMS消息的形式。所述请求可以包括系统101的身份信息,例如序列号、型号等。所述请求可以进一步包括插入在一个或多个蜂窝式调制解调器中的SIM卡的身份信息,例如,插入在一个或多个蜂窝式调制解调器中的SIM卡(请求用于其的配置)的载体信息和相对应的序列号。所述请求还可以包含与由用于接收配置的系统101指定的一个或多个蜂窝式调制解调器相关联的手机号。在一个变型例中,当系统101第一次启动时,从系统101接收请求。替代地,当系统101准备好接收配置时,从系统101接收请求。Figure 5 is a flow chart illustrating how a configuration SMS message is transmitted according to one embodiment. In step 501, system 111 receives a request from a network node (e.g., system 101). The request takes the form of a request SMS message received via cellular modem 113. The request may include identification information of system 101, such as a serial number, model number, etc. The request may further include identification information of a SIM card inserted in one or more cellular modems, such as carrier information and corresponding serial number of the SIM card inserted in one or more cellular modems (for which configuration is requested). The request may also include a mobile phone number associated with one or more cellular modems designated by system 101 for receiving configuration. In one variant, the request is received from system 101 when system 101 is first started. Alternatively, the request is received from system 101 when system 101 is ready to receive configuration.
在步骤502中通过处理单元114检索与系统101相对应的配置。在一个变型例中,至少部分基于系统101的身份信息从辅助存储器115或主存储器116检索配置。替代地,所述配置可以从其中配置存储在具有与配置相对应的身份信息的数据库中的外部服务器检索。In step 502, a configuration corresponding to system 101 is retrieved by processing unit 114. In one variant, the configuration is retrieved from secondary storage 115 or primary storage 116 based at least in part on the identity information of system 101. Alternatively, the configuration may be retrieved from an external server where the configuration is stored in a database having identity information corresponding to the configuration.
在步骤503中将所检索的配置在消息中发送到网络管理员以确认所述配置是否应该发送到系统101。包括所述配置的消息可以是电子邮件、即时消息、SMS、电话呼叫、网页中显示的消息、网页处的弹出消息以及可以用于将所述消息发送到网络管理员的其它指示符。随后提示网络管理员确认所述配置。替代地,网络管理员直接输入配置,且在步骤502中通过处理单元114检索网络管理员的输入。在此情况下,步骤503和504可以省略且执行步骤505。In step 503, the retrieved configuration is sent to the network administrator in a message to confirm whether the configuration should be sent to system 101. The message containing the configuration can be an email, instant message, SMS, phone call, a message displayed on a web page, a pop-up message on a web page, or other indicators that can be used to send the message to the network administrator. The network administrator is then prompted to confirm the configuration. Alternatively, the network administrator directly enters the configuration, and the network administrator's input is retrieved by processing unit 114 in step 502. In this case, steps 503 and 504 can be omitted and step 505 is executed.
在步骤504中,处理单元114确定是否从网络管理员接收到确认。如果网络管理员不确认所述配置应该发送到系统101,那么在步骤506中不将所述配置发射到系统101。如果从网络管理员接收到确认,那么在步骤505中将配置和认证信息转换成一个或多个配置SMS消息。所述认证信息包含于配置SMS消息中,使得系统101可以验证配置SMS消息。认证信息可以包含数字证书、共享密钥或加密信息。In step 504, processing unit 114 determines whether confirmation has been received from the network administrator. If the network administrator does not confirm that the configuration should be sent to system 101, then the configuration is not transmitted to system 101 in step 506. If confirmation has been received from the network administrator, then in step 505 the configuration and authentication information is converted into one or more configuration SMS messages. The authentication information is included in the configuration SMS message so that system 101 can verify the configuration SMS message. The authentication information may include a digital certificate, a shared key, or encryption information.
在步骤507中,确定配置SMS消息的一个或多个接收方。所述一个或多个接收方可以包含与系统101的一个或多个蜂窝式调制解调器(例如在请求中指定的系统101的蜂窝式调制解调器103)相对应的手机号。在一个变型例中,将相同配置SMS消息发射到系统101的至少两个蜂窝式调制解调器103。在另一变型例中,将配置SMS消息划分成至少两个部分且在各部分中将所述配置SMS消息发射到系统101的至少两个蜂窝式调制解调器103。配置SMS消息的接收方中的至少一个是系统101。配置SMS消息的一个或多个接收方可以包含类似于系统101的装置且可能需要与系统101相同的配置。替代地,一个或多个接收方包含系统101的用户的个人手机号,以便将系统101用配置SMS消息中的配置来配置告知所述用户。In step 507, one or more recipients of the configuration SMS message are determined. The one or more recipients may include mobile phone numbers corresponding to one or more cellular modems of system 101 (e.g., cellular modems 103 of system 101 specified in the request). In one variation, the same configuration SMS message is transmitted to at least two cellular modems 103 of system 101. In another variation, the configuration SMS message is divided into at least two parts and the configuration SMS message is transmitted to at least two cellular modems 103 of system 101 in each part. At least one of the recipients of the configuration SMS message is system 101. The one or more recipients of the configuration SMS message may include devices similar to system 101 and may require the same configuration as system 101. Alternatively, the one or more recipients include personal mobile phone numbers of users of system 101 so that the users are informed that system 101 is configured with the configuration in the configuration SMS message.
在步骤508中,配置SMS消息随后由系统111通过蜂窝式调制解调器113发射到一个或多个接收方。在一个变型例中,系统111继续重新发射配置SMS消息,直到从配置SMS消息的接收方接收到确认。In step 508, the configuration SMS message is then transmitted by system 111 to one or more recipients via cellular modem 113. In one variation, system 111 continues to retransmit the configuration SMS message until an acknowledgement is received from the recipient of the configuration SMS message.
在一个变型例中,省略步骤501。一旦购买系统101,网络管理员就将用于将配置SMS消息发送到系统101的指令发送到系统111。因此,甚至在开启系统101之前,就检索配置SMS消息且将其发送到系统101。因此,系统111不在步骤501中等待接收请求。当系统101开启时,初始化系统101的一个或两个蜂窝式调制解调器103,且接收配置SMS消息。In one variation, step 501 is omitted. Once system 101 is purchased, the network administrator sends instructions to system 111 for sending a configuration SMS message to system 101. Thus, even before system 101 is turned on, the configuration SMS message is retrieved and sent to system 101. Thus, system 111 does not wait to receive a request in step 501. When system 101 is turned on, one or both cellular modems 103 of system 101 are initialized and the configuration SMS message is received.
在一个变型例中,当用管理软件注册系统101时,通知系统111。一旦用管理软件注册系统101,系统111就将配置SMS消息发送到系统101。所述管理软件可以安装在远程服务器或云基础设施中。In one variation, system 111 is notified when system 101 is registered with the management software. Once system 101 is registered with the management software, system 111 sends a configuration SMS message to system 101. The management software may be installed in a remote server or cloud infrastructure.
在本发明的一个实施例中,配置SMS消息中的配置包括APN。例如,系统101将请求SMS消息发送到系统111以用于接收与插入在蜂窝式调制解调器103a中的SIM卡相对应的APN。网络管理员可以通过网页、API或控制台手动地将与SIM卡相对应的APN设定到系统111且在本地或远程地将APN设置存储在数据库中。基于APN设置产生配置。众所周知,与SIM卡相对应的APN设置在购买SIM卡时由因特网服务提供商(ISP)提供。在一些情况下,ISP还提供用户名和密码,所述用户名和密码在接入因特网时可能需要用于认证SIM卡。如果ISP还提供用户名和密码,那么所述配置还包括用户名和密码。请求SMS消息可以包括SIM卡的身份信息,例如与SIM卡相对应的序列号。基于与SIM卡相对应的序列号,从数据库检索配置且随后将其转换成配置SMS消息。随后将配置SMS消息发射到系统101。In one embodiment of the present invention, the configuration in the configuration SMS message includes an APN. For example, system 101 sends a request SMS message to system 111 to receive the APN corresponding to the SIM card inserted in cellular modem 103a. A network administrator can manually set the APN corresponding to the SIM card to system 111 via a webpage, API, or console and store the APN settings locally or remotely in a database. The configuration is generated based on the APN settings. As is well known, the APN settings corresponding to the SIM card are provided by the Internet Service Provider (ISP) when the SIM card is purchased. In some cases, the ISP also provides a username and password, which may be required to authenticate the SIM card when accessing the internet. If the ISP also provides a username and password, the configuration also includes the username and password. The request SMS message may include identification information of the SIM card, such as the serial number corresponding to the SIM card. Based on the serial number corresponding to the SIM card, the configuration is retrieved from the database and then converted into a configuration SMS message. The configuration SMS message is then transmitted to system 101.
示例性地,系统111通过发送配置SMS消息来配置十个路由器。所述路由器具有类似于系统101的架构且所有路由器的蜂窝式调制解调器具有由相同ISP提供的SIM卡。所述SIM卡还订阅由ISP提供的相同数据计划。在此情况下,所有十个路由器可以能够使用相同APN和相同用户名和密码获得数据连接。系统111的网络管理员随后通过网页、应用可编程接口或控制台输入APN,且可选地,与SIM卡相对应的用户名和密码。替代地,APN、用户名和密码已经存储在辅助存储器115中。包括APN的配置SMS消息由系统111产生且随后同时或逐个地发送到所有十个路由器。这大大地使得管理员更便于配置多个装置,而不必手动地在路由器中的每一个中输入配置。Exemplarily, system 111 configures ten routers by sending configuration SMS messages. The routers have a similar architecture to system 101, and the cellular modems of all routers have SIM cards provided by the same ISP. The SIM cards are also subscribed to the same data plan provided by the ISP. In this case, all ten routers can obtain data connectivity using the same APN and the same username and password. The network administrator of system 111 then enters the APN and, optionally, the username and password corresponding to the SIM card via a web page, application programmable interface, or console. Alternatively, the APN, username, and password are already stored in auxiliary memory 115. The configuration SMS message including the APN is generated by system 111 and then sent to all ten routers simultaneously or individually. This greatly facilitates the administrator's configuration of multiple devices, without having to manually enter the configuration into each router.
在另一个实例中,存在与ISP相对应的两个APN。使用第一APN来接入由ISP提供的网络将公共IP地址给予系统,而使用第二APN来接入由ISP提供的网络将私有IP地址给予系统。仅出于说明的目的,由香港CSL有限公司提供的SIM卡插入在蜂窝式调制解调器103a中,且订阅将公共IP地址提供到蜂窝式调制解调器103a的数据计划。并且,出于说明的目的,对于由香港CSL有限公司提供的SIM卡,订阅提供公共IP地址的数据计划的成本大大高于订阅提供私有IP地址的数据计划的成本。所需用于用公共IP地址接入因特网的APN是“Ite.public”,而所需用于用私有IP地址接入因特网的APN是“Ite.internet”。系统111可以通过经由配置SMS消息将相对应的APN发送到系统101来配置系统101以或者具有公共IP地址或者具有私有IP地址。当系统111将具有APN“Ite.public”的配置SMS消息发送到系统101时,系统101通过在连接时提供APN“Ite.public”使用公共IP地址通过蜂窝式调制解调器103a连接到因特网。替代地,当系统111将具有APN“Ite.internet”的配置SMS消息发送到系统101时,系统101通过在连接时提供APN“Ite.public”使用私有IP地址通过蜂窝式调制解调器103a连接到因特网。然而,如果SIM卡订阅提供私有IP地址的数据计划,那么系统101可能不能够使用APN“Ite.public”来连接到互联网。在此情况下,系统111将具有APN“Ite.internet”的配置SMS消息发送到系统101,所述APN“Ite.internet”随后由系统101用来通过蜂窝式调制解调器103a连接到互联网。In another example, there are two APNs corresponding to an ISP. Using the first APN to access the network provided by the ISP provides the system with a public IP address, while using the second APN to access the network provided by the ISP provides the system with a private IP address. For illustrative purposes only, a SIM card provided by CSL Limited in Hong Kong is inserted into cellular modem 103a, and a data plan that provides a public IP address to cellular modem 103a is subscribed to. Also, for illustrative purposes, for the SIM card provided by CSL Limited in Hong Kong, the cost of subscribing to a data plan that provides a public IP address is significantly higher than the cost of subscribing to a data plan that provides a private IP address. The APN required for accessing the Internet with a public IP address is "Ite.public," while the APN required for accessing the Internet with a private IP address is "Ite.internet." System 111 can configure system 101 to have either a public IP address or a private IP address by sending the corresponding APN to system 101 via a configuration SMS message. When system 111 sends a configuration SMS message with the APN "Ite.public" to system 101, system 101 connects to the Internet via cellular modem 103a using a public IP address by providing the APN "Ite.public" when connecting. Alternatively, when system 111 sends a configuration SMS message with the APN "Ite.internet" to system 101, system 101 connects to the Internet via cellular modem 103a using a private IP address by providing the APN "Ite.public" when connecting. However, if the SIM card is subscribed to a data plan that provides a private IP address, system 101 may not be able to connect to the Internet using the APN "Ite.public". In this case, system 111 sends a configuration SMS message with the APN "Ite.internet" to system 101, which is then used by system 101 to connect to the Internet via cellular modem 103a.
在另一个实例中,SIM卡订阅由第一ISP提供的允许网络共享的第一数据计划或由第一ISP提供的不允许网络共享的第二数据计划。订阅第一数据计划的成本大大高于订阅第二数据计划的成本。SIM卡插入在系统101的蜂窝式调制解调器103b中。如果SIM卡订阅第一数据计划,那么第一APN可以用于连接到因特网并且还允许网络共享。如果SIM卡订阅第二数据计划,那么第二APN可以用于连接到因特网。出于说明的目的,SIM卡订阅第二数据计划。在此情况下,系统111将具有第二APN的配置SMS消息发送到系统101,使得系统101可以使用第二APN连接到因特网。In another example, a SIM card is subscribed to a first data plan provided by a first ISP that allows tethering, or a second data plan provided by the first ISP that does not allow tethering. The cost of subscribing to the first data plan is significantly higher than the cost of subscribing to the second data plan. The SIM card is inserted into cellular modem 103b of system 101. If the SIM card is subscribed to the first data plan, the first APN can be used to connect to the Internet and also allow tethering. If the SIM card is subscribed to the second data plan, the second APN can be used to connect to the Internet. For illustrative purposes, the SIM card is subscribed to the second data plan. In this case, system 111 sends a configuration SMS message with the second APN to system 101, enabling system 101 to connect to the Internet using the second APN.
在另一个实例中,SIM卡订阅第一数据计划。系统111将具有第一APN的配置SMS消息发送到系统101以配置系统101以连接到因特网且允许网络共享。替代地,系统111可以将具有第二APN的配置SMS消息发送到系统101以配置系统101以连接到因特网而不允许网络共享。In another example, the SIM card is subscribed to a first data plan. System 111 sends a configuration SMS message with a first APN to system 101 to configure system 101 to connect to the Internet and allow tethering. Alternatively, system 111 may send a configuration SMS message with a second APN to system 101 to configure system 101 to connect to the Internet without allowing tethering.
应了解,网络管理员能够选择使用哪个APN,且因此可以控制如何通过系统111配置系统101。It should be appreciated that a network administrator can select which APN to use and, therefore, can control how system 101 is configured via system 111 .
在一个变型例中,将优先级分配给与特定ISP相对应的APN。例如,当SIM卡订阅允许网络共享的第一数据计划时,系统101将较高优先级分配给第一APN且将较低优先级分配给第二APN。包括第一APN和第二APN两者的配置SMS消息由系统111发送到系统101。系统101首先检查具有较高优先级的APN(即第一APN)是否可以用于连接到因特网。如果系统101可以使用第一APN成功地连接到互联网,那么使用第一APN。如果系统101不能使用第一APN连接到互联网,那么系统101使用具有较低优先级的APN(即第二APN)来连接到因特网。In one variation, a priority is assigned to an APN corresponding to a specific ISP. For example, when a SIM card is subscribed to a first data plan that allows tethering, system 101 assigns a higher priority to the first APN and a lower priority to the second APN. A configuration SMS message including both the first APN and the second APN is sent by system 111 to system 101. System 101 first checks whether the APN with a higher priority (i.e., the first APN) can be used to connect to the Internet. If system 101 can successfully connect to the Internet using the first APN, the first APN is used. If system 101 cannot connect to the Internet using the first APN, system 101 uses the APN with a lower priority (i.e., the second APN) to connect to the Internet.
在本发明的一个实施例中,在系统111处创建用于根据APN的相对应的ISP存储APN的APN数据库。APN数据库可以在本地存储在辅助存储器115中或远程地存储在网络服务器或外部存储器单元中。当网络管理员购买具有来自ISP的数据计划的SIM卡时,所述ISP提供相对应的APN。网络管理员手动地将APN输入到数据库中。数据库可以根据与APN相对应的ISP布置。数据库可以进一步根据与APN相对应的数据计划布置,因为针对由相同ISP提供的不同数据计划,APN可以不同。当系统111配置系统101时,处理单元114查找数据库,且根据ISP和插入在蜂窝式调制解调器103a中的SIM卡所订阅的数据计划找到合适的APN。系统111随后通过配置SMS消息将合适的APN发送到系统101。在一个变型例中,当未在数据库中找到合适的APN时,网络管理员手动地输入与SIM卡相对应的APN,且通过系统111检索网络管理员的输入且随后通过配置SMS消息将APN发送到系统101。In one embodiment of the present invention, an APN database is created at system 111 to store APNs based on their corresponding ISPs. The APN database can be stored locally in secondary memory 115 or remotely on a network server or external storage unit. When a network administrator purchases a SIM card with a data plan from an ISP, the ISP provides the corresponding APN. The network administrator manually enters the APN into the database. The database can be organized based on the ISP corresponding to the APN. The database can further be organized based on the data plan corresponding to the APN, as different data plans provided by the same ISP may have different APNs. When system 111 configures system 101, processing unit 114 searches the database and finds the appropriate APN based on the ISP and the data plan subscribed to by the SIM card inserted in cellular modem 103a. System 111 then sends the appropriate APN to system 101 via a configuration SMS message. In one variant, if no appropriate APN is found in the database, the network administrator manually enters the APN corresponding to the SIM card, and the network administrator's input is retrieved by system 111 and then sent to system 101 via a configuration SMS message.
在一个实施例中,存储在数据库中的APN包含在其中使用系统101的特定地区或国家中的大部分或所有ISP的默认APN。如果需要除默认APN外的APN来使用SIM卡接入互联网,那么网络管理员手动地输入在购买SIM卡时提供的APN且将所述APN从系统111发送到系统101。In one embodiment, the APNs stored in the database include the default APNs for most or all ISPs in a particular region or country in which the system 101 is used. If an APN other than the default APN is required to access the Internet using a SIM card, the network administrator manually enters the APN provided when the SIM card was purchased and sends the APN from the system 111 to the system 101.
在一个实施例中,当由特定ISP提供的SIM卡插入在系统101的蜂窝式调制解调器103a中时,系统111通过配置SMS消息将与特定ISP相对应的多个APN发送到系统101。处理单元104逐个地随机确定多个APN中的哪一个可以用于接入因特网。系统101随后使用多个APN中的一个以通过蜂窝式调制解调器103a接入因特网。In one embodiment, when a SIM card provided by a specific ISP is inserted into the cellular modem 103a of the system 101, the system 111 sends multiple APNs corresponding to the specific ISP to the system 101 via a configuration SMS message. The processing unit 104 randomly determines which of the multiple APNs can be used to access the Internet. The system 101 then uses one of the multiple APNs to access the Internet through the cellular modem 103a.
在本发明的一个实施例中,系统111由系统101的管理员操作。如果系统101经配置使得当从除系统111外的任何位置接收SMS消息时,将SMS消息转发到管理员,则通知管理员关于SMS消息。SMS消息可以由系统101通过蜂窝式调制解调器103a或103b接收。例如,通过将SMS消息转发到系统111或属于管理员的任何其它手机号,可以通知管理员关于SMS消息。SMS消息可以通过蜂窝式调制解调器103a或103b转发。替代地,通过经由网络接口102a和/或102b将包括SMS消息的内容的消息发送到管理员,可以通知管理员关于SMS消息。所述消息可以是电子邮件、电话呼叫、网页中显示的消息、网页处的弹出消息以及可以用于通知管理员关于SMS消息的其它指示符。出于说明的目的,插入在蜂窝式调制解调器103a中的SIM卡的服务提供商提供数据计划,所述数据计划允许用户在具体的分钟数上以固定的月速率使用数据服务。当具体的分钟数用完时,每分钟的数据使用的成本变得相当高。服务提供商通过蜂窝式调制解调器103a将告知已经超出具体分钟数的SMS消息发送到系统101。系统101随后通知管理员关于由服务提供商发送的SMS消息,使得管理员可以采用必要的步骤。管理员可能想要停止通过蜂窝式调制解调器103a使用移动数据以降低成本。因此,关键的是,系统101通知管理员关于SMS消息。In one embodiment of the present invention, system 111 is operated by an administrator of system 101. If system 101 is configured to forward SMS messages to the administrator when they are received from anywhere other than system 111, the administrator is notified of the SMS message. The SMS message can be received by system 101 via cellular modem 103a or 103b. For example, the administrator can be notified of the SMS message by forwarding the SMS message to system 111 or any other mobile phone number belonging to the administrator. The SMS message can be forwarded via cellular modem 103a or 103b. Alternatively, the administrator can be notified of the SMS message by sending a message including the contents of the SMS message to the administrator via network interface 102a and/or 102b. The message can be an email, a phone call, a message displayed on a web page, a pop-up message on a web page, or other indicators that can be used to notify the administrator of the SMS message. For illustrative purposes, the service provider of the SIM card inserted in cellular modem 103a provides a data plan that allows the user to use data services for a specific number of minutes at a fixed monthly rate. When the specified number of minutes has been used up, the cost per minute of data usage becomes quite high. The service provider sends an SMS message to system 101 via cellular modem 103a, notifying the user that the specified number of minutes has been exceeded. System 101 then notifies the administrator of the SMS message sent by the service provider so that the administrator can take the necessary steps. The administrator may want to stop using mobile data via cellular modem 103a to reduce costs. Therefore, it is crucial that system 101 notifies the administrator of the SMS message.
在一个优选实施例中,系统111是由网络管理员操作的移动电话。系统101是路由器、网关、移动电话或类似者。优选地,所述系统具有蜂窝式调制解调器,所述系统通过所述蜂窝式调制解调器可以接收配置SMS消息。In a preferred embodiment, system 111 is a mobile phone operated by a network administrator. System 101 is a router, gateway, mobile phone, or the like. Preferably, the system has a cellular modem through which the system can receive configuration SMS messages.
在本发明的一个实施例中,系统101可以使用MMS、NFC、蓝牙、Wi-Fi直连、USB调制解调器或在系统101已经配置用于IP连接性之前可以使用的任何其它无线通信技术来接收配置。因此,所述配置还可以不使用配置SMS消息来接收。In one embodiment of the present invention, system 101 may receive the configuration using MMS, NFC, Bluetooth, Wi-Fi Direct, USB modem, or any other wireless communication technology that may be used before system 101 has been configured for IP connectivity. Thus, the configuration may also be received without using a configuration SMS message.
图6是图示根据一个实施例的用于配置网络节点的过程的流程图。USB调制解调器通过网络接口102a耦合到网络节点,例如系统101。当USB调制解调器在步骤601中耦合到系统101时,系统101随后可以能够具有IP连接性,且因此在步骤602中经由USB调制解调器将系统101的身份信息发送到系统111。身份信息可以是用于从系统111接收配置的请求的一部分。在步骤603中,配置由系统101通过USB调制解调器接收。所述配置可以在一个或多个IP包中由系统111发送且由系统101接收。所接收的配置随后在步骤604中存储在系统101的本地存储器中,例如辅助存储器105。在步骤605中,处理单元104根据所述配置来配置系统101。USB调制解调器可以使用Wi-Fi、3G、LTE、4G或其它无线技术来提供到系统101的暂时性IP连接性。所接收的配置可以嵌入在一个或多个IP包中。例如,所述配置包括与插入在蜂窝式调制解调器103a中的SIM卡相对应的APN。当系统101通过USB调制解调器接收APN时,系统101能够使用蜂窝式调制解调器103a连接到因特网。因此,即使在USB调制解调器从网络接口102a移除之后,系统101仍可以连接到因特网。FIG6 is a flow chart illustrating a process for configuring a network node according to one embodiment. A USB modem is coupled to a network node, such as system 101, via network interface 102a. When the USB modem is coupled to system 101 in step 601, system 101 may then be able to gain IP connectivity and, therefore, transmit identity information of system 101 to system 111 via the USB modem in step 602. This identity information may be part of a request to receive a configuration from system 111. In step 603, the configuration is received by system 101 via the USB modem. The configuration may be sent and received by system 111 in one or more IP packets. The received configuration is then stored in a local memory of system 101, such as secondary memory 105, in step 604. In step 605, processing unit 104 configures system 101 according to the configuration. The USB modem may use Wi-Fi, 3G, LTE, 4G, or other wireless technologies to provide temporary IP connectivity to system 101. The received configuration may be embedded in one or more IP packets. For example, the configuration includes the APN corresponding to the SIM card inserted into the cellular modem 103a. When the system 101 receives the APN via the USB modem, the system 101 can connect to the Internet using the cellular modem 103a. Therefore, even after the USB modem is removed from the network interface 102a, the system 101 can still connect to the Internet.
在本发明的一个实施例中,配置由系统101通过使用NFC技术来接收。例如,移动电话111a和路由器101a到101d是支持NFC的装置,如图7中示出。移动电话111a执行为系统111,且将配置发送到路由器101a到101d。路由器101a、101b、101c和101d执行为系统101,且从移动电话111a接收配置。例如,当移动电话111a极为接近路由器101a时,路由器101a可以使用NFC将其身份信息发送到移动电话111a且移动电话111a随后基于身份信息确定配置且使用NFC将所述配置发送到路由器101a。替代地,移动电话111a基于来自网络管理员的指令发送配置,且并不等到从路由器101a接收到身份信息。当多个路由器(例如路由器101a、101b、101c和101d)堆叠在一起时,网络管理员可以非常便于通过仅在所述路由器上滑动移动电话用相同配置来配置多个路由器的全部。当路由器是类似的且需要用相同配置来配置时,这是尤其有益的。In one embodiment of the present invention, the configuration is received by system 101 using NFC technology. For example, mobile phone 111a and routers 101a to 101d are NFC-enabled devices, as shown in Figure 7. Mobile phone 111a operates as system 111 and sends the configuration to routers 101a to 101d. Routers 101a, 101b, 101c, and 101d operate as system 101 and receive the configuration from mobile phone 111a. For example, when mobile phone 111a is in close proximity to router 101a, router 101a can use NFC to send its identity information to mobile phone 111a. Mobile phone 111a then determines the configuration based on the identity information and sends the configuration to router 101a using NFC. Alternatively, mobile phone 111a sends the configuration based on instructions from a network administrator and does not wait until the identity information is received from router 101a. When multiple routers (e.g., routers 101a, 101b, 101c, and 101d) are stacked together, it is very convenient for a network administrator to configure all of the multiple routers with the same configuration by simply sliding a mobile phone over the routers. This is especially beneficial when the routers are similar and need to be configured with the same configuration.
尽管已经通过若干示例性实施例描述本发明,但本发明不限于此类实施例。在不脱离本发明的精神和原理的情况下做出的任何修改、等效替换或改进都应该落入本发明的范围内。Although the present invention has been described through several exemplary embodiments, the present invention is not limited to such embodiments. Any modification, equivalent replacement or improvement made without departing from the spirit and principle of the present invention should fall within the scope of the present invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1A图示根据本发明的各种实施例的系统的框图。FIG. 1A illustrates a block diagram of a system according to various embodiments of the present invention.
图1B图示根据本发明的各种实施例的用于配置另一系统的系统的框图。FIG. 1B illustrates a block diagram of a system for configuring another system according to various embodiments of the present invention.
图1C图示根据本发明的各种实施例的网络环境。FIG. 1C illustrates a network environment according to various embodiments of the present invention.
图2是图示根据本发明的一个实施例的过程的流程图。FIG2 is a flow chart illustrating a process according to one embodiment of the present invention.
图3是图示根据本发明的一个实施例的用于发射配置SMS消息的过程的流程图。FIG3 is a flow chart illustrating a process for transmitting a configuration SMS message according to one embodiment of the present invention.
图4是图示根据本发明的一个实施例的用于配置系统的过程的流程图。FIG4 is a flow chart illustrating a process for configuring a system according to one embodiment of the present invention.
图5是图示根据本发明的一个实施例的用于发射配置SMS消息的过程的流程图。FIG5 is a flow chart illustrating a process for transmitting a configuration SMS message according to one embodiment of the present invention.
图6是图示根据本发明的一个实施例的用于配置网络节点的过程的流程图。FIG6 is a flow chart illustrating a process for configuring a network node according to one embodiment of the present invention.
图7是示出可以如何使用NFC技术配置一个或多个系统的图式。FIG. 7 is a diagram illustrating how one or more systems may be configured using NFC technology.
Claims (20)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| GB1407199.7 | 2014-04-24 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1229127A1 HK1229127A1 (en) | 2017-11-10 |
| HK1229127B true HK1229127B (en) | 2021-02-19 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11018936B2 (en) | Methods and systems for configuring system | |
| TWI797290B (en) | Onboarding multiple access point (multi-ap) device using device provisioning protocol (dpp) | |
| JP7343632B2 (en) | Subscriber Identity Module Update | |
| CN109314855B (en) | Methods to be able to migrate subscriptions | |
| CN107534856B (en) | Method and apparatus for managing a terminal's profile in a wireless communication system | |
| US10595193B2 (en) | Method of provisioning a subscriber profile for a secure module | |
| CN102859964B (en) | Network personalized method and apparatus for subscriber device | |
| CN110809308A (en) | A method and device for automatic connection between an IOT device and a WIFI router | |
| WO2015081882A1 (en) | Method and apparatus for downloading operator document | |
| US10575344B2 (en) | Communication apparatus, communication control method, and storage medium | |
| JP2014509468A (en) | Method and system for out-of-band delivery of wireless network credentials | |
| CN119421154A (en) | Flexible deployment of electronic user identity modules | |
| WO2015100615A1 (en) | Method and apparatus for processing service packet, and gateway device | |
| CN105791235B (en) | A configuration information download method and device | |
| CN110808942A (en) | A kind of contract information configuration method and communication device | |
| CN107113281A (en) | Content shared method, terminal, server and system | |
| JP6326735B2 (en) | Wireless communication system, wireless connection device, method, computer program | |
| HK40038119B (en) | Methods and systems for configuring system | |
| HK40038119A (en) | Methods and systems for configuring system | |
| HK1229127B (en) | Methods and systems for configuring system | |
| HK1229127A1 (en) | Methods and systems for configuring system | |
| WO2016112506A1 (en) | Method and device for configuring embedded universal integrated circuit card | |
| CN120113221A (en) | Method and system for data communication between network devices | |
| HK40002909B (en) | Methods, apparatus, and computer readable storage medium for authentication for next generation systems | |
| HK1237576B (en) | Method and apparatus for establishing short-distance wireless channel |