CN111132090B - Method and device for accessing Internet of things - Google Patents

Method and device for accessing Internet of things Download PDF

Info

Publication number
CN111132090B
CN111132090B CN201911329001.XA CN201911329001A CN111132090B CN 111132090 B CN111132090 B CN 111132090B CN 201911329001 A CN201911329001 A CN 201911329001A CN 111132090 B CN111132090 B CN 111132090B
Authority
CN
China
Prior art keywords
terminal
internet
things
gateway
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911329001.XA
Other languages
Chinese (zh)
Other versions
CN111132090A (en
Inventor
丁海
朱晓雨
徐佳琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201911329001.XA priority Critical patent/CN111132090B/en
Publication of CN111132090A publication Critical patent/CN111132090A/en
Application granted granted Critical
Publication of CN111132090B publication Critical patent/CN111132090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/42Security arrangements using identity modules using virtual identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for accessing an Internet of things, relates to the field of Internet of things, and solves the problem that part of Internet of things equipment cannot be accessed to the Internet of things of an operator. The method for accessing the Internet of things provided by the invention comprises the following steps: the method comprises the steps that a terminal sends a request message for requesting to acquire an IP address to a gateway, correspondingly, the terminal receives eSIM card information and a first IP address sent by the gateway, and sends a connection message for requesting to establish connection between the first IP address and the Internet of things to the gateway, so that the terminal can conveniently carry the eSIM card information to access the Internet of things, wherein the connection message comprises the eSIM card information and the first IP address.

Description

Method and device for accessing Internet of things
Technical Field
The invention relates to the field of Internet of things, in particular to a method and a device for accessing the Internet of things.
Background
In recent years, telecom operators have invested a great deal in building operator internet of things. The operator Internet of things is used for uniformly operating and managing billions of Internet of things equipment.
Most of intelligent electric appliances/intelligent household type internet of things devices are generally accessed to a fixed network (such as a home local area network) through a WIFI network, so that the internet of things devices cannot be accessed to an operator internet of things.
Disclosure of Invention
The invention provides a method and a device for accessing an Internet of things, which are used for solving the problem that part of Internet of things equipment cannot be accessed to the Internet of things of an operator.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for accessing an internet of things, where after a request message for requesting to acquire an Internet Protocol (IP) address is sent to a gateway, a terminal can receive embedded identity module (eSIM) card information and a first IP address sent by the gateway. And then, the terminal sends a connection message (the connection message comprises the eSIM card information and the first IP address) for requesting to establish connection between the first IP address and the Internet of things to the gateway, so that the terminal can access the Internet of things by carrying the eSIM card information.
As can be seen, after the terminal sends the request message for requesting to acquire the IP address, the terminal can acquire not only the first IP address but also the eSIM information. The terminal sends the acquired eSIM information to the Internet of things through the gateway, connection between the first IP address and the Internet of things is established, and the terminal is enabled to be accessed to the Internet of things, so that the problem that part of existing Internet of things equipment (including but not limited to Internet of things equipment without an eSIM module) cannot be accessed to the Internet of things of an operator is solved.
In a second aspect, the invention provides a method for accessing an internet of things, where a gateway receives a connection message sent by a terminal for requesting to establish a connection between a first IP address and the internet of things, and the gateway sends the connection message to core network equipment of the internet of things, so that the terminal can access the internet of things with eSIM card information, where the connection message includes the eSIM card information and the first IP address.
In a third aspect, the present invention provides a terminal, including: the device comprises a first sending unit, a receiving unit and a second sending unit.
Specifically, the first sending unit is configured to send a request message for requesting to acquire an IP address. A receiving unit for receiving the eSIM card information and the first IP address. And the second sending unit is used for sending a connection message for requesting to establish connection between the first IP address and the Internet of things so that the terminal can conveniently access the Internet of things by carrying the eSIM card information, and the connection message comprises the eSIM card information and the first IP address.
In a fourth aspect, the present invention provides a gateway comprising: the device comprises a first receiving unit, a determining unit, an allocating unit, a first sending unit, a second receiving unit and a second sending unit. The first receiving unit is used for receiving a request message which is sent by the terminal and used for requesting to acquire the IP address. And the determining unit is used for determining whether the terminal is legal or not. And the allocation unit is used for allocating the first IP address to the terminal. And a first transmitting unit for transmitting the first IP address and information of the pre-stored eSIM card to the terminal. And the second receiving unit is used for receiving a connection message used for requesting to establish connection between the first IP address and the Internet of things and sent by the terminal so that the terminal can conveniently access the Internet of things by carrying the eSIM card information, and the connection message comprises the eSIM card information and the first IP address. And the second sending unit is used for sending the connection message to the core network equipment of the Internet of things.
In a fifth aspect, the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a terminal, cause the terminal to perform the method of accessing the internet of things as described in the first aspect.
In a sixth aspect, the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a gateway, cause the gateway to perform the method of accessing the internet of things as described in the second aspect.
In a seventh aspect, a computer program product is provided, which contains instructions that, when executed on a terminal, cause the terminal to perform the method for accessing the internet of things according to the first aspect.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run on a gateway, cause the gateway to perform the method of accessing the internet of things as described in the second aspect.
In a ninth aspect, there is provided a terminal comprising: a processor and a memory, the memory being used to store a program, the processor calling the program stored in the memory to perform the method of accessing the internet of things as described in the first aspect.
In a tenth aspect, there is provided a gateway comprising: a processor and a memory, the memory being used to store a program, the processor calling the program stored in the memory to perform the method of accessing the internet of things as described in the second aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an Internet of things system provided by an embodiment of the invention;
fig. 2 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for accessing an internet of things according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
The method for accessing the Internet of things provided by the embodiment of the invention is suitable for the Internet of things system. As shown in fig. 1, the internet of things system may include at least one terminal 100, a gateway 200, and an internet of things server 300. The gateway 200 is connected with each terminal 100 and the physical network server 300.
The terminal 100 may also be referred to as an internet of things device. The internet of things equipment comprises but is not limited to intelligent household appliances (such as a refrigerator, a microwave oven, a water heater and a washing machine), intelligent meters (such as an intelligent water meter, an intelligent electric meter and an intelligent gas meter), monitoring equipment, a printer, a sweeping robot and the like. The terminal 100 and the gateway 200 may be connected through a wireless fidelity (WIFI) network.
The gateway 200 includes, but is not limited to, an optical modem (also referred to as an optical modem), a modem, and the like. The gateway 200 accesses a core network device of the internet of things through a Virtual Local Area Network (VLAN), and is connected to the internet of things server 300 through the core network device of the internet of things and a mobile core network.
The internet of things server 300 may be referred to as an operator internet of things unified management platform or an eSIM card management platform, and performs unified management and charging on the accessed internet of things devices.
The terminal 100 provided by the embodiment of the present invention, as shown in fig. 2, may include at least one processor 101, a communication line 102, a memory 103, and a communication interface 104. Specifically, the method comprises the following steps:
a processor 101 for executing computer-executable instructions stored in the memory 103 to implement steps or actions of the terminal. The processor 101 may be a chip. For example, the Field Programmable Gate Array (FPGA) may be an Application Specific Integrated Circuit (ASIC), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit (DSP), a Micro Controller Unit (MCU), a Programmable Logic Device (PLD) or other integrated chips.
A communication line 102 for transmitting information between the processor 101 and the memory 103.
The memory 103 is used for storing and executing computer execution instructions and is controlled by the processor 101 to execute. The memory 103 may be separate and coupled to the processor via the communication line 102. The memory 103 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and apparatus described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
A communication interface 104 for communicating with other devices or a communication network. The communication network may be an ethernet, a Radio Access Network (RAN), or a Wireless Local Area Network (WLAN).
The gateway 200 provided in the embodiment of the present invention, as shown in fig. 3, may include at least one processor 201, a communication line 202, a memory 203, and a communication interface 204. Specifically, the method comprises the following steps:
processor 201 for executing computer-executable instructions stored in memory 203 to implement steps or actions of gateway 200. The processor 201 may be a chip. For example, the device may be an FPGA, an ASIC, an SoC, a CPU, an NP, a DSP, an MCU, a PLD, or other integrated chips.
A communication line 202 for transmitting information between the processor 201 and the memory 203.
The memory 203 is used for storing and executing computer execution instructions and is controlled by the processor 201 to execute. The memory 203 may be separate and coupled to the processor via the communication line 202. The memory 203 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a ROM, PROM, EPROM, EEPROM, or flash memory, among others. Volatile memory can be RAM, which acts as external cache memory. By way of example and not limitation, many forms of RAM are available, such as SRAM, DRAM, SDRAM, DDR SDRAM, ESDRAM, SLDRAM, and DR RAM. It should be noted that the memory of the systems and apparatus described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
A communication interface 204 for communicating with other devices or a communication network. The communication network may be an ethernet, RAN, or WLAN, among others.
The method for accessing the internet of things provided by the embodiment of the present invention is described below with reference to the internet of things system shown in fig. 1, the terminal 100 shown in fig. 2, and the network manager 200 shown in fig. 3.
The processing procedure of the gateway 200 is the same for each terminal 100 in fig. 1. The following describes an example of a process performed by the gateway 200 for one terminal 100.
As shown in fig. 4, a method for accessing an internet of things provided by the embodiment of the present invention includes:
s401, the terminal 100 sends a request message to the gateway 200.
Wherein, the request message is used for requesting to acquire the IP address.
Optionally, the request message conforms to a Dynamic Host Configuration Protocol (DHCP) protocol.
The request message includes an identification of the terminal 100.
Optionally, the identifier of the terminal 100 includes a product type of the terminal 100, a vendor name of the terminal 100, an operator of the terminal 100, and a version of the terminal 100.
Optionally, the request message further includes a preset key. The preset key is used for encrypting the request message, thereby increasing the security of the request message.
Illustratively, if the request message is a DHCP request (DHCP request), the DHCP request includes an identifier of the terminal 100 and a preset key. Table 1 shows the format of the identification of the terminal 100 and the preset key in the DHCP request. In table 1, PID represents a product type of the terminal 100, VID represents a vendor name of the terminal 100, SP represents an operator of the terminal 100, Version represents a Version of the terminal 100, and PWD represents a preset key. Of course, in practical applications, these information may also be represented by other symbols, which is not limited in the embodiments of the present invention.
TABLE 1
Figure BDA0002329094380000051
There may be a variety of values for the PID, VID, SP, Version, or PWD described above. The values are different, and the meanings expressed are different. For example: when the PID value is 0, the terminal is represented as a television; and when the PID value is 1, the terminal is represented as a refrigerator. The description of PID values herein is merely an example and is not a limitation on PID values.
Alternatively, the identifier and the preset key of the terminal 100 may be located in the option 60 (i.e., option 60) field in the DHCP request.
S402, the gateway 200 receives the request message sent by the terminal 100.
S403, the gateway 200 determines whether the terminal 100 is legitimate.
In the case where the request message includes the identity of the terminal 100, the gateway 200 determines whether the terminal 100 is legitimate according to the identity of the terminal 100.
In one implementation, if the identifier of the terminal 100 is in the preset identifier set, the gateway 200 determines that the terminal 100 is legal. Otherwise, the gateway 200 determines that the terminal 100 is illegal.
For example, if the preset identifier set is {1, …,10000 }; the values of PID, VID, SP, Version and PWD are all expressed by one bit.
If the PID value is 1 and the VID, SP, Version, and PWD values are all 0, the identifier of the terminal 100 is 10000. The identification "10000" is located in the set {1, …,10000}, the gateway 200 determines that the terminal 100 is legitimate.
If the values of PID and VID are both 1, and the values of SP, Version, and PWD are all 0, the identifier of the terminal 100 is 11000. The flag "11000" is not located in the set {1, …,10000}, the gateway 200 determines that the terminal 100 is illegal.
In a second implementation, the gateway 200 determines whether the terminal 100 is legal by determining whether the identifier of the terminal 100 satisfies a preset rule.
Besides the above manners, the gateway 200 may also determine whether the terminal 100 is legal by using other manners, which is not described in detail in the embodiments of the present invention.
In the case that the request message includes the identifier of the terminal 100 and the preset key, the gateway 200 determines whether the terminal 100 is legal or not according to the identifier of the terminal 100 and the preset key.
For example, after receiving the request message sent by the terminal 100, the gateway 200 first allocates a first IP address through a DHCP procedure, and then authenticates the extension information (the identifier of the terminal 100 and a preset key) of the terminal 100, sends the information of the eSIM card to the terminal 100 if the authentication is passed, and does not send the information of the eSIM card to the terminal 100 if the authentication is not passed, where the authentication is a terminal that determines whether the terminal 100 is customized by an operator.
If the gateway 200 determines that the terminal 100 is legitimate, the gateway 200 assigns an IP address (i.e., a first IP address described below) to the terminal 100 and transmits the eSIM card information to the terminal 100, i.e., proceeds to S404. If the gateway 200 determines that the terminal 100 is illegal, the gateway 200 allocates only an IP address (i.e., a first IP address described below) to the terminal 100. In the embodiment of the present invention, after the gateway 200 determines that the terminal 100 is illegal, the processing procedure of the gateway 200 may refer to the processing procedure of the gateway 200 in the prior art, which is not described in detail in the embodiment of the present invention.
S404, the gateway 200 assigns a first IP address to the terminal 100, and sends the first IP address and information of the pre-stored eSIM card to the terminal 100.
The information of the eSIM card includes a number corresponding to the eSIM card and a key corresponding to the eSIM card. After the gateway 200 transmits the information of the eSIM card to the terminal 100, the terminal 100 can complete network access according to the information of the eSIM card.
The gateway 200 may also transmit a network address of the eSIM card management platform (i.e., the internet of things server 300 in fig. 1) to the terminal 100, so that the terminal 100 determines an address of an internet of things to be connected.
Optionally, the gateway 200 may send the first IP address and the information of the pre-stored eSIM card to the terminal 200, and send the network address of the eSIM card management platform to the terminal 200; or may simultaneously send the network address of the eSIM card management platform (the internet of things server 300), the first IP address, and information of the pre-stored eSIM card to the terminal 200; the network address of the eSIM card management platform may also be sent to the terminal 200 first, and then the first IP address and the information of the pre-stored eSIM card may be sent to the terminal 200.
Optionally, the gateway 200 may further send a physical identifier of the gateway 200 to the terminal 100, so that the terminal 100 connects to the internet of things through the gateway 200 according to the physical address of the gateway 200.
For example, the information of the eSIM card may be information of the eSIM card for the home user, which is acquired by the gateway 200 through an over-the-air card writing process by using a network address of an eSIM card management platform (the internet of things server 300) preset in advance, or may be acquired by the gateway 200 through the communication interface 204 from a storage medium (for example, a usb disk, a mobile hard disk, a magnetic disk, or an optical disk, which is capable of storing information of the eSIM card).
The above eSIM card for the home subscriber means that all terminals 100 in the home can share one eSIM card to access the internet of things server 300.
For example, if the gateway 200 sends the eSIM authentication-related information to the terminal 100 through a DHCP message, the DHCP message includes information of an eSIM card (a number corresponding to the eSIM card and a key corresponding to the eSIM card), a network address of an eSIM card management platform (the internet of things server 300), a physical identifier of the gateway 200, an esimwd indicates the key corresponding to the eSIM card, an IMSI indicates the number corresponding to the eSIM card, a URL indicates the network address of the eSIM card management platform (the internet of things server 300), and an RGSN indicates the physical identifier of the gateway 200, which is also indicated by other letters, but the present invention is not limited thereto.
As shown in table 2, the eSIM authentication-related information includes: information of the eSIM card, a network address of the eSIM card management platform (the internet of things server 300), and a physical identification of the gateway 200, such as a media access control address (MAC)/Serial Number (SN). In table 2, IMSI is used to represent the information of the eSIM card obtained by the home gateway, esimwd is used to represent the key string corresponding to the eSIM card, URL (uniform resource locator) is used to represent the address of the eSIM card management platform, and RGSN is used to represent the physical identifier corresponding to the gateway 200.
TABLE 2
Figure BDA0002329094380000081
Alternatively, the eSIM authentication-related information described above may be located in an option 60 (i.e., option 60) field of the DHCP message.
S405, the terminal 100 receives the eSIM card information and the first IP address transmitted by the gateway 200.
In the case where the gateway 200 also transmits the network address of the eSIM card management platform (the internet of things server 300), the terminal 100 also receives the eSIM card management platform (the internet of things server 300) transmitted by the gateway 200.
In the case where the gateway 200 also transmits the physical identifier of the gateway 200, the terminal 100 also receives the physical identifier of the gateway 200 transmitted by the gateway 200.
S406, the terminal 100 sends a connection message to the gateway 200.
The connection message includes eSIM card information and a first IP address, and the connection message is used to request establishment of a connection between the first IP address and the internet of things, so that the terminal 100 can access the internet of things with the eSIM card information.
The connection message includes eSIM card information, a first IP address, and an identifier of the terminal.
Illustratively, after the terminal 100 obtains the sent eSIM card information and the first IP address returned by the gateway, the terminal 100 initiates an authentication message to the IP address corresponding to the URL of the eSIM card management platform, carrying the number of the eSIM card and the key corresponding to the eSIM card.
S407, the gateway 200 receives the connection message sent by the terminal 100.
S408, the gateway 200 sends a connection message to the core network equipment of the Internet of things.
Optionally, the gateway 200 further sends the physical identifier of the gateway 200 to the core network device of the internet of things. So that the internet of things server 300 uniformly manages all the terminals 100 connected to the gateway 200.
For example, the core network device of the internet of things may be a Broadband Remote Access Server (BRAS), or may be other core network devices, which is not limited in the present invention.
For example, after the gateway 200 obtains the connection message (authentication message) sent by the terminal 100, in order to ensure end-to-end security, the gateway 200 sends the connection message to the BRAS using the single encrypted VLAN channel, the BRAS forwards the connection message to the mobile core network, the mobile core network authenticates the connection message according to the data flow of the internet of things, and after the authentication is passed, the information of the terminal 100 is entered into the operator internet of things unified management platform (internet of things server 300) to perform corresponding management and charging.
As shown in fig. 5, the terminal 100 provided in the embodiment of the present invention is configured to execute the method for accessing to the internet of things, where the terminal 100 includes a first sending unit 501, a receiving unit 502, and a second sending unit 503.
A first sending unit 501, configured to send a request message, where the request message is used to request to acquire an IP address.
A receiving unit 502 configured to receive eSIM card information and a first IP address.
The second sending unit 503 is configured to send a connection message, where the connection message includes eSIM card information and a first IP address, and the connection message is used to request to establish a connection between the first IP address and the internet of things, so that the terminal can access the internet of things with the eSIM card information.
Illustratively, as shown in fig. 2 and fig. 5, the first sending unit 501, the receiving unit 502, and the second sending unit 503 in fig. 5 communicate with other devices (e.g., the gateway 200) through the communication interface 104 in fig. 2. The first sending unit 501, the receiving unit 502, and the second sending unit 503 call the program in the memory 103 via the communication line 102 by the processor 101 in fig. 2 to execute the above method for accessing the internet of things.
The gateway 200 provided in the embodiment of the present invention is configured to execute the method for accessing to the internet of things, as shown in fig. 6, the gateway 200 includes: a first receiving unit 601 and a first transmitting unit 602.
The first receiving unit 601 is configured to receive a connection message sent by the terminal, where the connection message includes eSIM card information and a first IP address, and the connection message is used to request to establish a connection between the first IP address and the internet of things, so that the terminal carries the eSIM card information to access the internet of things.
A first sending unit 602, configured to send a connection message to a core network device of the internet of things.
Optionally, the gateway 200 further includes: second receiving section 603, determining section 604, assigning section 605, and second transmitting section 606.
A second receiving unit 603, configured to receive a request message sent by the terminal, where the request message is used to request to acquire an IP address.
A determining unit 604, configured to determine whether the terminal is legal.
An assigning unit 605 is configured to assign a first IP address to the terminal.
A second transmitting unit 606 for transmitting the first IP address and information of the pre-stored eSIM card to the terminal.
Illustratively, as shown in fig. 3 and fig. 6, the first receiving unit 601, the first sending unit 602, the second receiving unit 603, and the second sending unit 606 in fig. 6 communicate with other devices (e.g., the terminal 200, the internet of things server 300) through the communication interface 204 in fig. 3. The first receiving unit 601, the first sending unit 602, the second receiving unit 603, the determining unit 604, the allocating unit 605, and the second sending unit 606 in fig. 6 call the program in the memory 203 via the communication line 202 by the processor 201 in fig. 3 to execute the above method for accessing the internet of things.
Embodiments of the present invention provide a computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a terminal, cause the terminal to perform a method of accessing the internet of things as in fig. 4.
Embodiments of the present invention provide a computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a gateway, cause the gateway to perform a method of accessing the internet of things as in fig. 4.
Embodiments of the present invention provide a computer program product including instructions, which when executed on a terminal, cause the terminal to execute the method for accessing the internet of things as shown in fig. 4.
Embodiments of the present invention provide a computer program product containing instructions that, when executed on a gateway, cause the gateway to perform a method for accessing the internet of things as shown in fig. 4.
Since the terminal, the gateway, the computer-readable storage medium, and the computer program product in the embodiments of the present invention may be applied to the method for accessing the internet of things, reference may also be made to the above method embodiments for obtaining technical effects, and details of the embodiments of the present invention are not repeated herein.
The above units may be individually configured processors, or may be implemented by being integrated into one of the processors of the controller, or may be stored in a memory of the controller in the form of program codes, and the functions of the above units may be called and executed by one of the processors of the controller. The processor herein may be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided by the present invention, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (17)

1. A method for accessing an Internet of things is characterized by comprising the following steps:
a request message sent by a terminal to a gateway is used for requesting to acquire a network protocol IP address;
the terminal receives embedded identity identification eSIM card information and a first IP address sent by the gateway;
the terminal sends a connection message to the gateway, wherein the connection message comprises the eSIM card information and the first IP address, and the connection message is used for requesting to establish connection between the first IP address and the Internet of things, so that the terminal can conveniently carry the eSIM card information to access the Internet of things.
2. The method of claim 1, wherein the request message conforms to a dynamic host configuration DHCP protocol request message, and wherein the request message includes an identification of the terminal.
3. The method according to claim 2, wherein the identification of the terminal comprises a product type of the terminal, a vendor name of the terminal, an operator of the terminal, and a version of the terminal.
4. A method according to claim 2 or 3, wherein the request message further comprises a preset key.
5. The method of claim 1, wherein the information for the eSIM card comprises a number corresponding to the eSIM card and a key corresponding to the eSIM card.
6. A method for accessing an Internet of things is characterized by comprising the following steps:
a gateway receives a connection message sent by a terminal, wherein the connection message comprises embedded identity identification (eSIM) card information and a first network protocol (IP) address, and the connection message is used for requesting to establish connection between the first IP address and the Internet of things so as to facilitate the terminal to access the Internet of things with the eSIM card information;
and the gateway sends the connection message to the core network equipment of the Internet of things.
7. The method of claim 6, further comprising:
the gateway receives a request message sent by the terminal, wherein the request message is used for requesting to acquire an IP address;
the gateway determines that the terminal is legal;
and the gateway allocates the first IP address for the terminal and sends the first IP address and the information of the eSIM card to the terminal.
8. The method of claim 7, wherein the request message conforms to a dynamic host configuration DHCP protocol request message, and wherein the request message comprises an identification of the terminal.
9. The method according to claim 8, wherein the identification of the terminal comprises a product type of the terminal, a vendor name of the terminal, an operator of the terminal, and a version of the terminal.
10. The method according to claim 8 or 9, wherein the gateway determines the validity of the terminal, comprising:
and determining that the terminal is legal according to the identifier of the terminal.
11. The method according to claim 8 or 9, wherein the request message further comprises a preset key;
the gateway determines the legality of the terminal, and the method comprises the following steps:
and the gateway determines the legality of the terminal according to the identifier of the terminal and the preset key.
12. The method of claim 6, wherein the information for the eSIM card comprises a number corresponding to the eSIM card and a key corresponding to the eSIM card.
13. A terminal, comprising:
a first sending unit, configured to send a request message, where the request message is used to request to acquire a network protocol IP address;
the embedded identity identification eSIM card comprises a receiving unit, a first identification unit and a second identification unit, wherein the receiving unit is used for receiving embedded identity identification eSIM card information and a first IP address;
and a second sending unit, configured to send a connection message, where the connection message includes the eSIM card information and the first IP address, and the connection message is used to request establishment of a connection between the first IP address and the internet of things, so that the terminal carries the eSIM card information to access the internet of things.
14. A gateway, comprising:
the first receiving unit is used for receiving a connection message sent by a terminal, wherein the connection message comprises embedded identity identification (eSIM) card information and a first network protocol (IP) address, and the connection message is used for requesting to establish connection between the first IP address and the Internet of things so as to facilitate the terminal to carry the eSIM card information to access the Internet of things;
and the first sending unit is used for sending the connection message to the core network equipment of the Internet of things.
15. A terminal, comprising: a processor and a memory, the memory for storing a program, the processor calling the program stored in the memory to execute the method of accessing the internet of things as claimed in any one of claims 1-5.
16. A gateway, comprising: a processor and a memory, the memory for storing a program, the processor calling the program stored in the memory to execute the method of accessing the internet of things as claimed in any one of claims 6-12.
17. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions; the instructions, when executed by a terminal, cause the terminal to perform a method of accessing the internet of things as claimed in any one of claims 1-5; the instructions, when executed by a gateway, cause the gateway to perform the method of accessing the internet of things of any of claims 6-12.
CN201911329001.XA 2019-12-20 2019-12-20 Method and device for accessing Internet of things Active CN111132090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329001.XA CN111132090B (en) 2019-12-20 2019-12-20 Method and device for accessing Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329001.XA CN111132090B (en) 2019-12-20 2019-12-20 Method and device for accessing Internet of things

Publications (2)

Publication Number Publication Date
CN111132090A CN111132090A (en) 2020-05-08
CN111132090B true CN111132090B (en) 2022-03-29

Family

ID=70501037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329001.XA Active CN111132090B (en) 2019-12-20 2019-12-20 Method and device for accessing Internet of things

Country Status (1)

Country Link
CN (1) CN111132090B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135283B (en) * 2020-09-28 2024-05-03 大唐微电子技术有限公司 Identification module and Internet of things equipment
CN117880367A (en) * 2022-10-11 2024-04-12 华为技术有限公司 Communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203563159U (en) * 2013-10-30 2014-04-23 中国联合网络通信有限公司物联网研究院 M2M UICC available IoT (Internet of Things) high-definition set top box
CN106385664A (en) * 2016-09-14 2017-02-08 Tcl通讯(宁波)有限公司 IOT (Internet of Things) intelligent equipment communication method and system based on virtual SIM card
CN107846668A (en) * 2016-09-18 2018-03-27 展讯通信(上海)有限公司 A kind of things-internet gateway and its communication means
CN110248355A (en) * 2019-05-07 2019-09-17 深圳联想懂的通信有限公司 Code number management method, equipment, platform and system based on internet of things equipment eUICC card

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348671B2 (en) * 2016-07-11 2019-07-09 Salesforce.Com, Inc. System and method to use a mobile number in conjunction with a non-telephony internet connected device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203563159U (en) * 2013-10-30 2014-04-23 中国联合网络通信有限公司物联网研究院 M2M UICC available IoT (Internet of Things) high-definition set top box
CN106385664A (en) * 2016-09-14 2017-02-08 Tcl通讯(宁波)有限公司 IOT (Internet of Things) intelligent equipment communication method and system based on virtual SIM card
CN107846668A (en) * 2016-09-18 2018-03-27 展讯通信(上海)有限公司 A kind of things-internet gateway and its communication means
CN110248355A (en) * 2019-05-07 2019-09-17 深圳联想懂的通信有限公司 Code number management method, equipment, platform and system based on internet of things equipment eUICC card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
物联网智能终端设备识别方法;肖清旺等;《电信科学》;20170228(第2期);全文 *

Also Published As

Publication number Publication date
CN111132090A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
KR102398276B1 (en) Method and apparatus for downloading and installing a profile
EP3281436B1 (en) Method and apparatus for downloading a profile in a wireless communication system
CN112437456B (en) Communication method and equipment in non-public network
US20200374698A1 (en) Communication method and communications apparatus
US9319412B2 (en) Method for establishing resource access authorization in M2M communication
CN106656547B (en) Method and device for updating network configuration of household electrical appliance
EP3972306B1 (en) Information verification method and related device
CN107113892B (en) Method and device for automatically networking gateway equipment
CN109644522A (en) For passing through the method and system of wireless network secure loading equipemtn
CN111132090B (en) Method and device for accessing Internet of things
KR101988477B1 (en) Method of registration of devices for M2M network using M2M gateway and M2M gateway for it
CN112187751A (en) Network access method and device for equipment, storage medium and electronic device
CN104660567A (en) D2D terminal access authentication method as well as D2D terminal and server
JP2023165679A (en) Device for remotely managing apparatuses, method, and program therefor
MX2015004797A (en) Devices and method for controlling access to an account.
US11812262B2 (en) Device authentication
KR20120072044A (en) Open wireless access network apparatus and connecting method for the same
JP2019186922A (en) Automatic activation and on-board of connected device
WO2022094936A1 (en) Access method, device, and cloud platform device
CN114338132A (en) Secret-free login method, client application, operator server and electronic equipment
US10009755B2 (en) Obtaining of access rights to a network, implemented by a communicating object
GB2569804A (en) Device authentication
CN113709914B (en) Mesh network distribution method, server, mesh device and storage medium
JP7276960B2 (en) Relay device, relay method and relay program
WO2022270228A1 (en) Device and method for providing communication service for accessing ip network, and program therefor

Legal Events

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