US20210006556A1 - Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things - Google Patents
Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things Download PDFInfo
- Publication number
- US20210006556A1 US20210006556A1 US17/031,061 US202017031061A US2021006556A1 US 20210006556 A1 US20210006556 A1 US 20210006556A1 US 202017031061 A US202017031061 A US 202017031061A US 2021006556 A1 US2021006556 A1 US 2021006556A1
- Authority
- US
- United States
- Prior art keywords
- authentication information
- token
- time
- valid
- node
- 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.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012795 verification Methods 0.000 claims abstract description 47
- 238000004590 computer program Methods 0.000 claims 4
- 238000013475 authorization Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H04L29/06—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0853—Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0884—Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/126—Applying verification of the received information the source of the received data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H04W12/1205—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
- H04W12/125—Protection against power exhaustion attacks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/121—Timestamp
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/142—Denial of service attacks against network infrastructure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/108—Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
Definitions
- the present application relates to the field of the Internet of Things, and in particular, to a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things.
- the Internet of Things brings great convenience to people's life.
- authorization and authentication methods used by the Internet of Things both use a push model as a basic framework. For example, when a client requests a resource from a resource server (RS) on the other side of the Internet of Things or performs a resource operation, the client first needs to send a resource obtaining request to the RS, and after the RS returns information about an authorization server (AS), the client requests authorization from the AS. After obtaining an authorization credential from the AS, the client requests authentication from the RS by using the Datagram Transport Layer Security (DTLS) protocol. After authentication by the RS on the client succeeds, the client may request the resource from the RS or perform the resource operation.
- RS resource server
- DTLS Datagram Transport Layer Security
- the client may be unable to communicate with the RS directly.
- authentication information sent by the client to the RS needs to be forwarded by another node.
- the node that forwards an authentication request is a constrained node, because a constrained node has a limited quantity of resources, in particular, when bandwidth resources and power supply resources are limited, quality of communication between the client and the RS is affected directly.
- All nodes, including constrained nodes, in the Internet of Things forward authentication information unconditionally without filtering the information. If in an actual situation, a client in the Internet of Things maliciously sends a large amount of authentication information to an RS on the other side of the Internet of Things, nodes located between the client and the RS need to forward a large quantity of malicious authentication messages unconditionally. If the nodes that forward the authentication information are constrained nodes, it may cause that a large quantity of bandwidth resources of these nodes are occupied, and that electric power is consumed quickly. As a result, overall performance of the Internet of Things is affected, and even the Internet of Things is paralyzed.
- Embodiments of the present application provide a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things, so as to resolve a problem that in the Internet of Things, performance of the Internet of Things is affected because a constrained node forwards authentication information unconditionally.
- a forwarding method for authentication information in the Internet of Things includes: receiving authentication information; determining whether the authentication information is received for the first time; and if the authentication information is received not for the first time, forwarding the authentication information; or if the authentication information is received for the first time, determining whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discarding the authentication information, or if the authentication information is valid authentication information, verifying the valid authentication information, and forwarding the valid authentication information after the verification succeeds.
- the determining whether the authentication information is received for the first time includes: if the authentication information is forwarded in a security mode, determining that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determining that the authentication information is received for the first time.
- the determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- the verifying the valid authentication information includes: obtaining, from the valid authentication information, a forward token delivered by an authorization server; determining whether the forward token is a legitimate token; and if the forward token is a legitimate token, determining that the verification succeeds; or if the forward token is not a legitimate token, determining that the verification fails.
- the determining whether the forward token is a legitimate token includes: obtaining time validity of the forward token according to the forward token; determining whether the forward token is within a valid period; if the forward token is within the valid period, determining whether a route between the node and the resource server exists; and if the route exists, determining that the forward token is a legitimate token.
- the forwarding the valid authentication information after the verification succeeds includes: obtaining a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtaining an IP address of each forwarding node, and forwarding the valid authentication information according to the IP address of the forwarding node.
- the forwarding the valid authentication information according to the IP address of the forwarding node includes: deleting the forward token in the valid authentication information; and forwarding, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- a forwarding apparatus for authentication information in the Internet of Things includes: a receiving unit configured to receive authentication information; a first determining unit configured to determine whether the authentication information is received for the first time; a forwarding unit configured to: if the authentication information is received not for the first time, forward the authentication information; and a second determining unit configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- the first determining unit is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- the second determining unit is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- the second determining unit includes a verification subunit, and the verification subunit is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- the verification subunit is further configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and the resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- the forwarding the valid authentication information after the verification succeeds includes: the second determining unit further includes a valid authentication information forwarding subunit, and the valid authentication information forwarding subunit is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- the valid authentication information forwarding subunit is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- a forwarder for authentication information in the Internet of Things includes: a receiver configured to receive authentication information; and a processor configured to determine whether the authentication information is received for the first time, where the processor is further configured to: if the authentication information is received not for the first time, forward the authentication information; and the processor is further configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- the processor is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- the processor is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- the processor is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- the processor is configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and the resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- the processor is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- the processor is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- the embodiments of the present application disclose a forwarding method for authentication information in the Internet of Things.
- a constrained node After receiving authentication information for the first time, a constrained node verifies the authentication information, and forwards the authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information.
- the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- FIG. 1 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application
- FIG. 2 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application
- FIG. 3 shows a schematic diagram of a forwarding apparatus for authentication information in the Internet of Things according to an embodiment of the present application.
- FIG. 4 shows a schematic diagram of a forwarder for authentication information in the Internet of Things according to an embodiment of the present application.
- the following embodiments of the present application provide a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things, so as to improve performance of the Internet of Things.
- a constrained node refers to a node with limited capabilities in computing, storage, and power supply and limited bandwidth, especially a node with a limited power supply capability and limited bandwidth, for example, a mobile terminal such as a mobile phone that may act as a node in the Internet of Things.
- a “constrained node” in the embodiments of the present application may alternatively be a constrained node or a constrained device specified in RFC 7228 of the Internet Engineering Task Force (IETF).
- an embodiment of the present application provides a flowchart of a forwarding method for authentication information in the Internet of Things. As shown in FIG. 1 , the method is applied to a constrained node.
- the method includes the following steps.
- S 102 Determine whether the authentication information is received for the first time.
- That the authentication information is received for the first time means that the node receives, for the first time, the current authentication information sent by a source client to a destination resource server.
- the determining whether the authentication information is received for the first time includes: if the authentication information is forwarded in a security mode, determining that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determining that the authentication information is received for the first time.
- the determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- S 104 If the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- the determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- the authentication information may be the first handshake message (Client Hello).
- authentication information that is received for the first time and is not valid may be considered to be malicious authentication information. Discarding the malicious authentication information may avoid wasting of resources of the constrained node.
- a client obtains authorization from an authorization server, and the authorization server delivers a forward token while delivering an authorization token.
- the forward token may carry information such as time validity of the forward token, an IP address of the client, an address of the resource server, and a signature of the authorization server.
- a constrained node After receiving authentication information for the first time, a constrained node first determines whether the authentication information is valid authentication information. If the authentication information is valid authentication information, the constrained node verifies the valid authentication information, and forwards the valid authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- the method in this embodiment of the present application may be applied to a constrained node.
- the method in this embodiment may be applied to a proxy server as well.
- the proxy server may also be considered as a constrained node.
- the verifying the valid authentication information includes: obtaining, from the authentication information, a forward token delivered by an authorization server; determining whether the forward token is a legitimate token; and if the forward token is a legitimate token, determining that the verification succeeds; or if the forward token is not a legitimate token, determining that the verification fails.
- the forward token carried in the authentication information may replace a data field in the first handshake message with a forward token.
- the determining whether the forward token is a legitimate token includes: obtaining time validity of the forward token according to the forward token; determining whether the forward token is within a valid period; if the forward token is within the valid period, determining whether a route between the node and the resource server exists; and if the route exists, determining that the forward token is a legitimate token.
- the forwarding the authentication information after the verification succeeds includes: obtaining a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtaining an Internet Protocol IP address of each forwarding node, and forwarding the authentication information according to the IP address of the forwarding node.
- the forwarding the authentication information according to the IP address of the forwarding node includes: deleting the forward token in the valid authentication information; and forwarding, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- the forward token in the valid authentication information is deleted, and the valid authentication information is forwarded in a security mode. Therefore, after receiving the authentication information, a next node may determine without further verification that the authentication information is received not for the first time. This reduces resources of the constrained node and shortens a time for the authentication information to travel from the client to the resource server.
- the valid authentication information with the forward token deleted still contains all subsequent information that is of the authentication information and that is from the source address to the destination address.
- a constrained node determines whether the authentication information is valid authentication information, and if the authentication information is valid authentication information, the constrained node verifies the valid authentication information, and forwards the valid authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information.
- the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- FIG. 2 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application.
- the method is applied to a constrained node. As shown in FIG. 2 , the method includes the following steps.
- S 202 Determine whether the authentication information is forwarded in a security mode, where if the authentication information is forwarded in a security mode, that is, the authentication information is received not for the first time, S 203 continues; or if the authentication information is forwarded not in a security mode, that is, the authentication information is received for the first time, S 204 continues.
- S 204 Determine whether the authentication information includes a forward token; and if the authentication information does not include a forward token, that is, the authentication information is not valid authentication information, perform S 205 , or if the authentication information includes a forward token, that is, the authentication information is valid authentication information, perform S 206 .
- S 208 Determine whether the forward token is within a valid period; and if the forward token is not within the valid period, perform S 205 , or if the forward token is within the valid period, perform S 209 .
- S 209 Determine whether a route between the node and a resource server exists; and if the route does not exist, perform S 205 , or if the route exists, perform S 210 .
- a constrained node After receiving authentication information for the first time, a constrained node verifies the authentication information, and forwards the authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- FIG. 3 shows a schematic diagram of a structure of a forwarding apparatus for authentication information in the Internet of Things according to an embodiment of the present application. As shown in FIG.
- the apparatus includes: a receiving unit 301 configured to receive authentication information; a first determining unit 302 configured to determine whether the authentication information is received for the first time; a forwarding unit 303 configured to: if the authentication information is received not for the first time, forward the authentication information; and a second determining unit 304 configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- the first determining unit 302 is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- the second determining unit 304 is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- the second determining unit 304 includes a verification subunit, and the verification subunit is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- the verification subunit is further configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and a resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- the second determining unit 304 further includes a valid authentication information forwarding subunit, and the valid authentication information forwarding subunit is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- the valid authentication information forwarding subunit is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- FIG. 4 shows a schematic diagram of a forwarder for authentication information in the Internet of Things according to an embodiment of the present application.
- the forwarder includes: a receiver 401 configured to receive authentication information; and a processor 402 configured to determine whether the authentication information is received for the first time, where the processor 402 is further configured to: if the authentication information is received not for the first time, forward the authentication information; and the processor 402 is further configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- the processor 402 is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- the processor 402 is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- the processor 402 is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- the processor 402 is configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and a resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- the processor 402 is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- the processor 402 is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- the forwarder for authentication information in the Internet of Things after authentication information is received for the first time, determines whether the authentication information is valid authentication information, verifies the valid authentication information, and forwards the authentication information after the verification succeeds. This prevents not-valid authentication information from occupying bandwidth and consuming electric power of a constrained node, and improves performance of the Internet of Things.
- the embodiments of the present application disclose a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things.
- a constrained node after receiving authentication information for the first time, a constrained node determines whether the authentication information is valid authentication information, verifies the valid authentication information, and forwards the authentication information after the verification succeeds. This prevents invalid authentication information, for example, a large amount of malicious authentication information, from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information.
- the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- the general-purpose hardware includes a general-purpose integrated circuit, a general-purpose CPU, a general-purpose memory, a general-purpose component, and the like.
- application-specific hardware including an application-specific integrated circuit, an application-specific CPU, an application-specific memory, an application-specific component, and the like.
- the former one is more preferred. Based on such an understanding, the technical solutions may be implemented in a form of a software product.
- the software product is stored in a storage medium, such as a read-only memory (ROM), a random-access memory (RAM), a hard disk, or an optical disc, and includes a quantity of instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
- a storage medium such as a read-only memory (ROM), a random-access memory (RAM), a hard disk, or an optical disc
- a computer device which may be a personal computer, a server, or a network device
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
- This application is a continuation of U.S. patent application Ser. No. 15/639,248, filed on Jun. 30, 2017, which is a continuation of International Patent Application No. PCT/CN2015/096300, filed on Dec. 3, 2015, which claims priority to Chinese Patent Application No. 201510003726.5, filed on Jan. 4, 2015. All of the aforementioned applications are hereby incorporated by reference in their entireties.
- The present application relates to the field of the Internet of Things, and in particular, to a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things.
- The Internet of Things brings great convenience to people's life. In some approaches, authorization and authentication methods used by the Internet of Things both use a push model as a basic framework. For example, when a client requests a resource from a resource server (RS) on the other side of the Internet of Things or performs a resource operation, the client first needs to send a resource obtaining request to the RS, and after the RS returns information about an authorization server (AS), the client requests authorization from the AS. After obtaining an authorization credential from the AS, the client requests authentication from the RS by using the Datagram Transport Layer Security (DTLS) protocol. After authentication by the RS on the client succeeds, the client may request the resource from the RS or perform the resource operation.
- The client may be unable to communicate with the RS directly. In this case, authentication information sent by the client to the RS needs to be forwarded by another node. However, if the node that forwards an authentication request is a constrained node, because a constrained node has a limited quantity of resources, in particular, when bandwidth resources and power supply resources are limited, quality of communication between the client and the RS is affected directly.
- All nodes, including constrained nodes, in the Internet of Things forward authentication information unconditionally without filtering the information. If in an actual situation, a client in the Internet of Things maliciously sends a large amount of authentication information to an RS on the other side of the Internet of Things, nodes located between the client and the RS need to forward a large quantity of malicious authentication messages unconditionally. If the nodes that forward the authentication information are constrained nodes, it may cause that a large quantity of bandwidth resources of these nodes are occupied, and that electric power is consumed quickly. As a result, overall performance of the Internet of Things is affected, and even the Internet of Things is paralyzed.
- Embodiments of the present application provide a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things, so as to resolve a problem that in the Internet of Things, performance of the Internet of Things is affected because a constrained node forwards authentication information unconditionally.
- To resolve the foregoing technical problem, the embodiments of the present application disclose the following technical solutions.
- According to a first aspect, a forwarding method for authentication information in the Internet of Things is provided, where the method is applied to a constrained node and includes: receiving authentication information; determining whether the authentication information is received for the first time; and if the authentication information is received not for the first time, forwarding the authentication information; or if the authentication information is received for the first time, determining whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discarding the authentication information, or if the authentication information is valid authentication information, verifying the valid authentication information, and forwarding the valid authentication information after the verification succeeds.
- With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining whether the authentication information is received for the first time includes: if the authentication information is forwarded in a security mode, determining that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determining that the authentication information is received for the first time.
- With reference to the first aspect, in a second possible implementation manner of the first aspect, the determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- With reference to the first aspect, in a third possible implementation manner of the first aspect, the verifying the valid authentication information includes: obtaining, from the valid authentication information, a forward token delivered by an authorization server; determining whether the forward token is a legitimate token; and if the forward token is a legitimate token, determining that the verification succeeds; or if the forward token is not a legitimate token, determining that the verification fails.
- With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the determining whether the forward token is a legitimate token includes: obtaining time validity of the forward token according to the forward token; determining whether the forward token is within a valid period; if the forward token is within the valid period, determining whether a route between the node and the resource server exists; and if the route exists, determining that the forward token is a legitimate token.
- With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the forwarding the valid authentication information after the verification succeeds includes: obtaining a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtaining an IP address of each forwarding node, and forwarding the valid authentication information according to the IP address of the forwarding node.
- With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the forwarding the valid authentication information according to the IP address of the forwarding node includes: deleting the forward token in the valid authentication information; and forwarding, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- According to a second aspect, a forwarding apparatus for authentication information in the Internet of Things is provided, where the apparatus includes: a receiving unit configured to receive authentication information; a first determining unit configured to determine whether the authentication information is received for the first time; a forwarding unit configured to: if the authentication information is received not for the first time, forward the authentication information; and a second determining unit configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- With reference to the second aspect, in a first possible implementation manner of the second aspect, the first determining unit is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- With reference to the second aspect, in a second possible implementation manner of the second aspect, the second determining unit is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- With reference to the second aspect, in a third possible implementation manner of the second aspect, the second determining unit includes a verification subunit, and the verification subunit is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the verification subunit is further configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and the resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the forwarding the valid authentication information after the verification succeeds includes: the second determining unit further includes a valid authentication information forwarding subunit, and the valid authentication information forwarding subunit is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the valid authentication information forwarding subunit is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- According to a third aspect, a forwarder for authentication information in the Internet of Things, where the forwarder includes: a receiver configured to receive authentication information; and a processor configured to determine whether the authentication information is received for the first time, where the processor is further configured to: if the authentication information is received not for the first time, forward the authentication information; and the processor is further configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- With reference to the third aspect, in a first possible implementation manner of the third aspect, the processor is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time.
- With reference to the third aspect, in a second possible implementation manner of the third aspect, the processor is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information.
- With reference to the third aspect, in a third possible implementation manner of the third aspect, the processor is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails.
- With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the processor is configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and the resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- With reference to the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the processor is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node.
- With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the processor is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- The embodiments of the present application disclose a forwarding method for authentication information in the Internet of Things. In the method, after receiving authentication information for the first time, a constrained node verifies the authentication information, and forwards the authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- To describe the technical solutions in the embodiments of the present application more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show merely some embodiments of the present application, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
-
FIG. 1 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application; -
FIG. 2 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application; -
FIG. 3 shows a schematic diagram of a forwarding apparatus for authentication information in the Internet of Things according to an embodiment of the present application; and -
FIG. 4 shows a schematic diagram of a forwarder for authentication information in the Internet of Things according to an embodiment of the present application. - The following embodiments of the present application provide a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things, so as to improve performance of the Internet of Things.
- The following clearly describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are merely a part rather than all of the embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
- In the embodiments of the present application, a constrained node refers to a node with limited capabilities in computing, storage, and power supply and limited bandwidth, especially a node with a limited power supply capability and limited bandwidth, for example, a mobile terminal such as a mobile phone that may act as a node in the Internet of Things. A “constrained node” in the embodiments of the present application may alternatively be a constrained node or a constrained device specified in RFC 7228 of the Internet Engineering Task Force (IETF).
- As shown in
FIG. 1 , an embodiment of the present application provides a flowchart of a forwarding method for authentication information in the Internet of Things. As shown inFIG. 1 , the method is applied to a constrained node. - The method includes the following steps.
- S101: Receive authentication information.
- S102: Determine whether the authentication information is received for the first time.
- That the authentication information is received for the first time means that the node receives, for the first time, the current authentication information sent by a source client to a destination resource server.
- In S102, the determining whether the authentication information is received for the first time includes: if the authentication information is forwarded in a security mode, determining that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determining that the authentication information is received for the first time.
- S103: If the authentication information is received not for the first time, forward the authentication information.
- The determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- S104: If the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds.
- In S104, the determining whether the authentication information is valid authentication information includes: if the authentication information includes a forward token, determining that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determining that the authentication information is not valid authentication information.
- The authentication information may be the first handshake message (Client Hello).
- In this embodiment of the present application, authentication information that is received for the first time and is not valid may be considered to be malicious authentication information. Discarding the malicious authentication information may avoid wasting of resources of the constrained node.
- In this embodiment of the present application, a client obtains authorization from an authorization server, and the authorization server delivers a forward token while delivering an authorization token. The forward token may carry information such as time validity of the forward token, an IP address of the client, an address of the resource server, and a signature of the authorization server.
- In the forwarding method for authentication information in the Internet of Things according to this embodiment of the present application, after receiving authentication information for the first time, a constrained node first determines whether the authentication information is valid authentication information. If the authentication information is valid authentication information, the constrained node verifies the valid authentication information, and forwards the valid authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- Actually, the method in this embodiment of the present application may be applied to a constrained node. When a client sending authentication information comes from a different domain, the method in this embodiment may be applied to a proxy server as well. In this case, the proxy server may also be considered as a constrained node.
- In S104, the verifying the valid authentication information includes: obtaining, from the authentication information, a forward token delivered by an authorization server; determining whether the forward token is a legitimate token; and if the forward token is a legitimate token, determining that the verification succeeds; or if the forward token is not a legitimate token, determining that the verification fails.
- The forward token carried in the authentication information may replace a data field in the first handshake message with a forward token.
- The determining whether the forward token is a legitimate token includes: obtaining time validity of the forward token according to the forward token; determining whether the forward token is within a valid period; if the forward token is within the valid period, determining whether a route between the node and the resource server exists; and if the route exists, determining that the forward token is a legitimate token.
- The forwarding the authentication information after the verification succeeds includes: obtaining a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtaining an Internet Protocol IP address of each forwarding node, and forwarding the authentication information according to the IP address of the forwarding node.
- There may be multiple routes between the client and the resource server. Forwarding the valid authentication information in all routes can avoid a failure in delivering the valid authentication information to the resource server in time in the case of a single route due to a line failure, line interference, a relatively long delay, or the like.
- The forwarding the authentication information according to the IP address of the forwarding node includes: deleting the forward token in the valid authentication information; and forwarding, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- The forward token in the valid authentication information is deleted, and the valid authentication information is forwarded in a security mode. Therefore, after receiving the authentication information, a next node may determine without further verification that the authentication information is received not for the first time. This reduces resources of the constrained node and shortens a time for the authentication information to travel from the client to the resource server. The valid authentication information with the forward token deleted still contains all subsequent information that is of the authentication information and that is from the source address to the destination address.
- In the forwarding method for authentication information in the Internet of Things according to this embodiment of the present application, after receiving authentication information for the first time, a constrained node determines whether the authentication information is valid authentication information, and if the authentication information is valid authentication information, the constrained node verifies the valid authentication information, and forwards the valid authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
-
FIG. 2 shows a flowchart of a forwarding method for authentication information in the Internet of Things according to an embodiment of the present application. The method is applied to a constrained node. As shown inFIG. 2 , the method includes the following steps. - S201: Receive authentication information.
- S202: Determine whether the authentication information is forwarded in a security mode, where if the authentication information is forwarded in a security mode, that is, the authentication information is received not for the first time, S203 continues; or if the authentication information is forwarded not in a security mode, that is, the authentication information is received for the first time, S204 continues.
- S203: Forward the authentication information.
- S204: Determine whether the authentication information includes a forward token; and if the authentication information does not include a forward token, that is, the authentication information is not valid authentication information, perform S205, or if the authentication information includes a forward token, that is, the authentication information is valid authentication information, perform S206.
- S205: Discard the authentication information.
- S206: Obtain, from the valid authentication information, the forward token delivered by an authorization server.
- S207: Obtain time validity of the forward token according to the forward token.
- S208: Determine whether the forward token is within a valid period; and if the forward token is not within the valid period, perform S205, or if the forward token is within the valid period, perform S209.
- S209: Determine whether a route between the node and a resource server exists; and if the route does not exist, perform S205, or if the route exists, perform S210.
- S210: Determine that the verification succeeds, store the forward token, and delete the forward token in the valid authentication information.
- S211: Forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- In the forwarding method for authentication information in the Internet of Things according to this embodiment of the present application, after receiving authentication information for the first time, a constrained node verifies the authentication information, and forwards the authentication information after the verification succeeds. This prevents a large amount of malicious authentication information from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- Corresponding to the foregoing methods, an embodiment of the present application further provides a forwarding apparatus for authentication information in the Internet of Things.
FIG. 3 shows a schematic diagram of a structure of a forwarding apparatus for authentication information in the Internet of Things according to an embodiment of the present application. As shown inFIG. 3 , the apparatus includes: a receivingunit 301 configured to receive authentication information; a first determiningunit 302 configured to determine whether the authentication information is received for the first time; aforwarding unit 303 configured to: if the authentication information is received not for the first time, forward the authentication information; and a second determiningunit 304 configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds. - Optionally, the first determining
unit 302 is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time. - Optionally, the second determining
unit 304 is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information. - Optionally, the second determining
unit 304 includes a verification subunit, and the verification subunit is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails. - Optionally, the verification subunit is further configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and a resource server exists; and if the route exists, determine that the forward token is a legitimate token.
- Optionally, the second determining
unit 304 further includes a valid authentication information forwarding subunit, and the valid authentication information forwarding subunit is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node. - Optionally, the valid authentication information forwarding subunit is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted.
- With the forwarding apparatus for authentication information in the Internet of Things according to this embodiment of the present application, a large amount of malicious authentication information is prevented from occupying bandwidth and consuming electric power of a constrained node that forwards authentication information, and performance of the Internet of Things is improved.
-
FIG. 4 shows a schematic diagram of a forwarder for authentication information in the Internet of Things according to an embodiment of the present application. As shown inFIG. 4 , the forwarder includes: areceiver 401 configured to receive authentication information; and aprocessor 402 configured to determine whether the authentication information is received for the first time, where theprocessor 402 is further configured to: if the authentication information is received not for the first time, forward the authentication information; and theprocessor 402 is further configured to: if the authentication information is received for the first time, determine whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discard the authentication information, or if the authentication information is valid authentication information, verify the valid authentication information, and forward the valid authentication information after the verification succeeds. - Optionally, the
processor 402 is configured to: if the authentication information is forwarded in a security mode, determine that the authentication information is received not for the first time; or if the authentication information is forwarded not in a security mode, determine that the authentication information is received for the first time. - Optionally, the
processor 402 is configured to: if the authentication information includes a forward token, determine that the authentication information is valid authentication information; or if the authentication information does not include a forward token, determine that the authentication information is not valid authentication information. - Optionally, the
processor 402 is configured to: obtain, from the valid authentication information, a forward token delivered by an authorization server; determine whether the forward token is a legitimate token; and if the forward token is a legitimate token, determine that the verification succeeds; or if the forward token is not a legitimate token, determine that the verification fails. - Optionally, the
processor 402 is configured to: obtain time validity of the forward token according to the forward token; determine whether the forward token is within a valid period; if the forward token is within the valid period, determine whether a route between the node and a resource server exists; and if the route exists, determine that the forward token is a legitimate token. - Optionally, the
processor 402 is configured to: obtain a forwarding node in each existing route, where the forwarding node is a node that receives the valid authentication information forwarded by the node; and obtain an IP address of each forwarding node, and forward the valid authentication information according to the IP address of the forwarding node. - Optionally, the
processor 402 is further configured to: delete the forward token in the valid authentication information; and forward, according to the IP address of the forwarding node and in a security mode, the valid authentication information with the forward token deleted. - The forwarder for authentication information in the Internet of Things according to this embodiment of the present application, after authentication information is received for the first time, determines whether the authentication information is valid authentication information, verifies the valid authentication information, and forwards the authentication information after the verification succeeds. This prevents not-valid authentication information from occupying bandwidth and consuming electric power of a constrained node, and improves performance of the Internet of Things.
- The embodiments of the present application disclose a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things. In the embodiments of the present application, after receiving authentication information for the first time, a constrained node determines whether the authentication information is valid authentication information, verifies the valid authentication information, and forwards the authentication information after the verification succeeds. This prevents invalid authentication information, for example, a large amount of malicious authentication information, from occupying bandwidth and consuming electric power of the constrained node that forwards the authentication information. In another case, when the authentication information is received not for the first time, the constrained node directly forwards the authentication information, so as to avoid wasting of system resources and improve performance of the Internet of Things.
- It may be clearly understood by a person skilled in the art that the technology in the embodiments of the present application may be implemented by software plus necessary general-purpose hardware. The general-purpose hardware includes a general-purpose integrated circuit, a general-purpose CPU, a general-purpose memory, a general-purpose component, and the like. Certainly, the technology may be implemented as well by application-specific hardware, including an application-specific integrated circuit, an application-specific CPU, an application-specific memory, an application-specific component, and the like. However, in many cases, the former one is more preferred. Based on such an understanding, the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium, such as a read-only memory (ROM), a random-access memory (RAM), a hard disk, or an optical disc, and includes a quantity of instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
- The embodiments in this specification are all described in a progressive manner. For same or similar parts in the embodiments, mutual reference may be made. Each embodiment focuses on what is different from other embodiments. Especially, a system embodiment is essentially similar to a method embodiment, and therefore is described briefly. For related information, reference may be made to descriptions about this in the method embodiment.
- The foregoing descriptions are implementation manners of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, and improvement made without departing from the spirit and principle of the present application shall fall within the protection scope of the present application.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US17/031,061 US20210006556A1 (en) | 2015-01-04 | 2020-09-24 | Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things |
Applications Claiming Priority (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510003726.5A CN104580207B (en) | 2015-01-04 | 2015-01-04 | Retransmission method, device and the transponder of authentication information in Internet of Things |
| CN201510003726.5 | 2015-01-04 | ||
| PCT/CN2015/096300 WO2016107367A1 (en) | 2015-01-04 | 2015-12-03 | Method and device for forwarding authentication information in internet of things, and repeater |
| US15/639,248 US10880297B2 (en) | 2015-01-04 | 2017-06-30 | Forwarding method, forwarding apparatus, and forwarder for authentication information in Internet of Things |
| US17/031,061 US20210006556A1 (en) | 2015-01-04 | 2020-09-24 | Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/639,248 Continuation US10880297B2 (en) | 2015-01-04 | 2017-06-30 | Forwarding method, forwarding apparatus, and forwarder for authentication information in Internet of Things |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US20210006556A1 true US20210006556A1 (en) | 2021-01-07 |
Family
ID=53095388
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/639,248 Expired - Fee Related US10880297B2 (en) | 2015-01-04 | 2017-06-30 | Forwarding method, forwarding apparatus, and forwarder for authentication information in Internet of Things |
| US17/031,061 Abandoned US20210006556A1 (en) | 2015-01-04 | 2020-09-24 | Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/639,248 Expired - Fee Related US10880297B2 (en) | 2015-01-04 | 2017-06-30 | Forwarding method, forwarding apparatus, and forwarder for authentication information in Internet of Things |
Country Status (5)
| Country | Link |
|---|---|
| US (2) | US10880297B2 (en) |
| EP (2) | EP3771175B1 (en) |
| JP (1) | JP6403176B2 (en) |
| CN (1) | CN104580207B (en) |
| WO (1) | WO2016107367A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104580207B (en) * | 2015-01-04 | 2019-03-19 | 华为技术有限公司 | Retransmission method, device and the transponder of authentication information in Internet of Things |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060090197A1 (en) * | 2004-10-22 | 2006-04-27 | Software Ag | Authentication method and devices |
| US20070266426A1 (en) * | 2006-05-12 | 2007-11-15 | International Business Machines Corporation | Method and system for protecting against denial of service attacks using trust, quality of service, personalization, and hide port messages |
| US20110231918A1 (en) * | 2010-03-19 | 2011-09-22 | Oracle International Corporation | Remote registration for enterprise applications |
| US20160044032A1 (en) * | 2014-08-10 | 2016-02-11 | Belkin International, Inc. | Setup of multiple iot network devices |
| US20170155516A1 (en) * | 2014-05-20 | 2017-06-01 | Nokia Technologies Oy | Cellular network authentication |
Family Cites Families (36)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5598459A (en) | 1995-06-29 | 1997-01-28 | Ericsson Inc. | Authentication and handover methods and systems for radio personal communications |
| JP2004172865A (en) * | 2002-11-19 | 2004-06-17 | Casio Comput Co Ltd | Electronic equipment and authentication system |
| JP2005301876A (en) * | 2004-04-15 | 2005-10-27 | Matsushita Electric Ind Co Ltd | Communication apparatus and communication system |
| US20060059346A1 (en) * | 2004-09-14 | 2006-03-16 | Andrew Sherman | Authentication with expiring binding digital certificates |
| KR100667333B1 (en) * | 2004-12-16 | 2007-01-12 | 삼성전자주식회사 | Device and user authentication system and method in home network |
| JP4792944B2 (en) * | 2005-11-30 | 2011-10-12 | 日本電気株式会社 | Permission management system, token verification method, token verification program |
| JP4876693B2 (en) * | 2006-04-26 | 2012-02-15 | 船井電機株式会社 | Digital media server and home network compatible devices |
| CN101110762A (en) * | 2007-08-22 | 2008-01-23 | 华中科技大学 | An Ad hoc Network Security Routing Method |
| CN101378315B (en) * | 2007-08-27 | 2011-09-14 | 华为技术有限公司 | Method, system, equipment and server for packet authentication |
| US8640202B2 (en) * | 2007-10-04 | 2014-01-28 | International Business Machines Corporation | Synchronizing user sessions in a session environment having multiple web services |
| CN101252438A (en) * | 2008-01-10 | 2008-08-27 | 任少华 | Third party identification authentication system based on mobile type IC |
| US20100299212A1 (en) * | 2008-08-27 | 2010-11-25 | Roam Data Inc | System and method for a commerce window application for computing devices |
| CN101997681B (en) * | 2009-08-14 | 2012-08-22 | 中国移动通信集团公司 | Authentication method and system for multi-node path and relevant node equipment |
| JP5573113B2 (en) * | 2009-11-09 | 2014-08-20 | 日本電気株式会社 | Authentication proxy server device, authentication proxy method and program |
| CN102143489A (en) * | 2010-02-01 | 2011-08-03 | 华为技术有限公司 | Method, device and system for authenticating relay node |
| JP2011221706A (en) * | 2010-04-07 | 2011-11-04 | Sharp Corp | Operation apparatus, data processing apparatus, transfer apparatus, operation system, method for controlling operation apparatus, method for controlling data processing apparatus, method for controlling transfer apparatus, control program, and computer readable recording medium |
| CN101902462B (en) * | 2010-04-22 | 2013-03-13 | 国家无线电监测中心检测中心 | Sensor network access control method and system with low expenditure |
| CN102480490B (en) * | 2010-11-30 | 2014-09-24 | 国际商业机器公司 | Method for preventing CSRF attack and equipment thereof |
| CN103685527B (en) * | 2011-01-05 | 2020-07-03 | 下一步公司 | Consumer electronic registration, control and support concierge device and method |
| JP2012242990A (en) * | 2011-05-18 | 2012-12-10 | Hitachi Ltd | Gateway and method for controlling its access |
| US9119067B2 (en) * | 2011-06-03 | 2015-08-25 | Apple Inc. | Embodiments of a system and method for securely managing multiple user handles across multiple data processing devices |
| US9763179B2 (en) * | 2012-04-27 | 2017-09-12 | Interdigital Patent Holdings, Inc. | Method and apparatus for supporting proximity discovery procedures |
| WO2013168255A1 (en) * | 2012-05-10 | 2013-11-14 | 三菱電機株式会社 | Application program execution device |
| JP6006533B2 (en) * | 2012-05-25 | 2016-10-12 | キヤノン株式会社 | Authorization server and client device, server linkage system, and token management method |
| CN103580863B (en) * | 2012-08-01 | 2017-09-08 | 中国移动通信集团公司 | Communication security control method, device and Internet of things node |
| KR102024054B1 (en) * | 2013-02-25 | 2019-09-23 | 김성정 | Card, method and server for circulating digital contents in offline |
| US10536850B2 (en) * | 2013-07-18 | 2020-01-14 | Fortinet, Inc. | Remote wireless adapter |
| US20150139211A1 (en) * | 2013-11-19 | 2015-05-21 | Huawei Technologies Co., Ltd. | Method, Apparatus, and System for Detecting Rogue Wireless Access Point |
| CN103684790B (en) * | 2013-12-17 | 2017-08-11 | 北京邮电大学 | Verification method and system based on historical data |
| CN103905203A (en) * | 2014-04-02 | 2014-07-02 | 北京中交兴路车联网科技有限公司 | Single-point authentication method and device |
| US9426118B2 (en) * | 2014-10-28 | 2016-08-23 | Belkin International Inc. | Remote grant of network access |
| US9450757B2 (en) * | 2014-05-07 | 2016-09-20 | Oxcept Limited | Method and device for communication security |
| EP3143780B1 (en) * | 2014-05-16 | 2020-09-02 | Telefonaktiebolaget LM Ericsson (publ) | Device authentication to capillary gateway |
| US9350548B2 (en) * | 2014-05-30 | 2016-05-24 | Tokenym, LLC | Two factor authentication using a protected pin-like passcode |
| US10862690B2 (en) * | 2014-09-30 | 2020-12-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Technique for handling data in a data network |
| CN104580207B (en) * | 2015-01-04 | 2019-03-19 | 华为技术有限公司 | Retransmission method, device and the transponder of authentication information in Internet of Things |
-
2015
- 2015-01-04 CN CN201510003726.5A patent/CN104580207B/en active Active
- 2015-12-03 JP JP2017535650A patent/JP6403176B2/en active Active
- 2015-12-03 WO PCT/CN2015/096300 patent/WO2016107367A1/en not_active Ceased
- 2015-12-03 EP EP20180975.3A patent/EP3771175B1/en active Active
- 2015-12-03 EP EP15875045.5A patent/EP3232635B1/en active Active
-
2017
- 2017-06-30 US US15/639,248 patent/US10880297B2/en not_active Expired - Fee Related
-
2020
- 2020-09-24 US US17/031,061 patent/US20210006556A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060090197A1 (en) * | 2004-10-22 | 2006-04-27 | Software Ag | Authentication method and devices |
| US20070266426A1 (en) * | 2006-05-12 | 2007-11-15 | International Business Machines Corporation | Method and system for protecting against denial of service attacks using trust, quality of service, personalization, and hide port messages |
| US20110231918A1 (en) * | 2010-03-19 | 2011-09-22 | Oracle International Corporation | Remote registration for enterprise applications |
| US20170155516A1 (en) * | 2014-05-20 | 2017-06-01 | Nokia Technologies Oy | Cellular network authentication |
| US20160044032A1 (en) * | 2014-08-10 | 2016-02-11 | Belkin International, Inc. | Setup of multiple iot network devices |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3232635B1 (en) | 2020-07-15 |
| JP6403176B2 (en) | 2018-10-10 |
| WO2016107367A1 (en) | 2016-07-07 |
| EP3232635A4 (en) | 2018-01-17 |
| CN104580207B (en) | 2019-03-19 |
| US20170302660A1 (en) | 2017-10-19 |
| JP2018503909A (en) | 2018-02-08 |
| US10880297B2 (en) | 2020-12-29 |
| CN104580207A (en) | 2015-04-29 |
| EP3771175B1 (en) | 2022-02-23 |
| EP3771175A1 (en) | 2021-01-27 |
| EP3232635A1 (en) | 2017-10-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103339901B (en) | Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node | |
| US9210131B2 (en) | Aggressive rehandshakes on unknown session identifiers for split SSL | |
| JP5969689B2 (en) | Redundancy for real-time communication | |
| CN110234112B (en) | Message processing method, system and user plane functional device | |
| US9048428B2 (en) | Enabling communication between source and target mail transfer agents | |
| CN102598592A (en) | Smart Client Routing | |
| US20110258682A1 (en) | Method, apparatus, and system for processing session context | |
| CN105578463B (en) | Method and device for dual connection secure communication | |
| US20220053332A1 (en) | Secondary authentication for wwan vpn | |
| US8923811B2 (en) | Methods and apparatuses for dynamic management of security associations in a wireless network | |
| CN108429682A (en) | Method and system for optimizing network transmission link | |
| CN106254265A (en) | Process the methods, devices and systems of message | |
| WO2014127615A1 (en) | Method and device for implementing instant messaging of mobile user equipment | |
| KR100964350B1 (en) | SED and IPSE collaboration technique and system in IP6 environment | |
| US20210006556A1 (en) | Forwarding Method, Forwarding Apparatus, and Forwarder for Authentication Information in Internet of Things | |
| CN115664761A (en) | Single sign-on method and device, electronic equipment and readable storage medium | |
| JP4013920B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS OPERATION CONTROL METHOD, AND PROGRAM | |
| KR102039583B1 (en) | Base station and control method thereof | |
| KR102553166B1 (en) | Proxyless multi-path transmission system, and authentication method thereof | |
| CN120113221A (en) | Method and system for data communication between network devices | |
| HK1173575A (en) | Smart client routing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HE, DANPING;ZHANG, DACHENG;REEL/FRAME:053874/0085 Effective date: 20150518 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: APPLICATION DISPATCHED FROM PREEXAM, NOT YET DOCKETED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
| STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |