Access control method, device and terminal based on telecom operator Internet of Things card

By connecting the telecom operator gateway on the terminal device and establishing a virtual private route, access control of the IoT card is realized, which solves the problems of inflexible access control and insufficient security in the existing technology, and improves efficiency and security.

CN112261652BActive Publication Date: 2024-09-06GUANGZHOU ZHUFENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011134909.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-21
Publication Date
2024-09-06
Estimated Expiration
2040-10-21

AI Technical Summary

Technical Problem

The access control of existing IoT cards lacks flexibility, and users cannot add or reduce network resource access permissions by themselves, resulting in operator-assisted workflows that are time-consuming, inefficient, and involve waste of traffic and security risks.

Method used

By placing the IoT card on the terminal device, connecting to the telecom operator gateway, obtaining APN parameters, establishing a virtual private route, and using universal routing encapsulation technology and local gateways for access control and speed limit configuration, traffic access control to Internet resources is achieved. .

Benefits of technology

It improves the efficiency of access control, reduces communication costs with operators, and provides flexible function configurations such as logging and speed limits, ensuring the safe use of traffic and avoiding traffic waste and security risks after device loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112261652B
    Figure CN112261652B
Patent Text Reader

Abstract

The present invention discloses an access control method, device and terminal based on a telecom operator's Internet of Things card, wherein the method comprises: placing the Internet of Things card on a terminal device, connecting to a telecom operator gateway based on the terminal device, and obtaining the APN parameters of the telecom operator; establishing a virtual dedicated route between the operator gateway and the local gateway through universal routing encapsulation technology and APN parameters; performing configuration processing through the local gateway to obtain a configured local gateway; performing access control and speed limit detection and inspection based on the configured local gateway to obtain access control and inspection results; and controlling the user of the Internet of Things card to perform traffic access control of Internet resources through the terminal device based on the access control and inspection results. In an embodiment of the present invention, when a user using this Internet of Things card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an access control method, device and terminal based on a telecommunications operator's Internet of Things card. Background Art

[0002] With the continuous development of network communications, people's demand for the use of IoT cards has also changed. The existing technology relies on the "directional traffic" function provided by the operator, which allows IoT cards to only access specific Internet resources. For example, "50G xxx directional traffic" means that the traffic that can access xxx is 50G in total. Using this solution, if you need to open access to resources, you must go through the operator, and the process is relatively long. There are also certain restrictions on the number and type of open resources.

[0003] In the existing technology, the technical problems that need to be solved are as follows: Generally speaking, the function of an IoT card is to provide access to the Internet. For example, an IoT card can be placed in a mobile phone, a 4G router and other devices to enable the device to access the Internet. However, with the development of the business, people's demand for IoT cards to access the Internet has also changed. For example, they only want the device to be able to access specific websites to avoid wasting traffic, or the Internet card is lost and someone impersonates it, causing waste and security issues. When it is necessary to add or reduce the network resources allowed to be accessed, the operator's assistance must be required and it cannot be done by oneself, which lacks flexibility. The operator's workflow is long, and each configuration change is bound to take a long time and be inefficient. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides an access control method, device and terminal based on a telecommunications operator's Internet of Things card. When a user using this Internet of Things card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced; and when the device is lost and the card falls into the hands of a stranger, it will not cause excessive losses.

[0005] In order to solve at least one of the above technical problems, an embodiment of the present invention provides an access control method based on a telecom operator's Internet of Things card, the method comprising:

[0006] The IoT card is placed on the terminal device, connected to the telecom operator gateway based on the terminal device, and the APN parameters of the telecom operator are obtained;

[0007] Establishing a virtual dedicated route between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters;

[0008] After establishing a virtual dedicated route between the operator gateway and the local gateway, access control and speed limit configuration processing are performed through the local gateway to obtain a configured local gateway;

[0009] When a user accesses Internet resources through traffic based on the terminal device on which the IoT card is placed, access control and speed limit detection and inspection are performed based on the configured local gateway to obtain access control and inspection results;

[0010] Based on the access control and inspection results, the user of the IoT card is controlled to perform traffic access control on Internet resources through the terminal device.

[0011] Optionally, obtaining the APN parameters of the telecommunications operator includes:

[0012] Obtaining the APN parameters of the telecom operator by automatically obtaining the parameters or manually configuring a parameter;

[0013] Wherein, when the Internet of Things card is a non-customized ordinary Internet of Things card, the APN parameters of the telecom operator are obtained based on an automatic acquisition method;

[0014] When the Internet of Things card is a customized Internet of Things card, the APN parameter of the telecommunications operator is obtained based on manually configuring a parameter.

[0015] Optionally, establishing a virtual dedicated route between the operator gateway and the local gateway by using the universal routing encapsulation technology and the APN parameters includes:

[0016] Establishing a virtual dedicated route according to the agreed configuration between the operator gateway and the local gateway in accordance with the general routing encapsulation technology protocol and the APN parameters;

[0017] The agreed configuration includes: a tunnel PI address, a general routing technology source IP address and a general routing technology destination IP address.

[0018] Optionally, the access control and speed limit detection and inspection based on the configured local gateway includes:

[0019] Access control is performed on users of the IoT card by using firewall technology in the configured local gateway, and only traffic resources in the whitelist are allowed to access;

[0020] The quality of service of network communication of the user of the Internet of Things card is detected and checked in the configured local gateway by using the quality of service technology.

[0021] Optionally, the types of access control include access control performed through a network layer, access control performed through an application layer, and access control performed simultaneously by combining access control conditions of the network layer with control conditions of the application layer;

[0022] The access control performed through the network layer is to use the source IP address and the destination IP address as control conditions;

[0023] The access control performed through the application layer takes the domain name that the user needs to access as a control condition.

[0024] Optionally, the service quality technology is to classify and mark the traffic or manage and control the traffic when network delay and congestion are found after the detection and inspection of the network communication quality service;

[0025] The traffic classification and marking is to divide the traffic into multiple priorities or multiple service classes, use the user priority field in the Ethernet frame to mark the service level; use the service type field in the IP address message header to mark the type of message; or classify the traffic according to the source IP address, destination IP address, source port number, destination port number or protocol ID;

[0026] The traffic management and control is performed by using queue technology to place all messages to be sent from one interface into multiple queues and process them according to the priority of each queue.

[0027] Optionally, the queue technology includes any one of a first-in-first-out queue, a priority queue or a customized queue.

[0028] Optionally, the method further includes:

[0029] When a user accesses Internet resources through traffic based on the terminal device on which the Internet of Things card is placed, the user's access information is saved in a specific location to form a log record based on the configured local gateway.

[0030] In addition, an embodiment of the present invention further provides an access control device based on a telecom operator's Internet of Things card, the device comprising:

[0031] Connection acquisition module: used to place the IoT card on the terminal device, connect to the telecom operator gateway based on the terminal device, and obtain the APN parameters of the telecom operator;

[0032] Establishing module: used for establishing a virtual dedicated route between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters;

[0033] Configuration module: used for establishing a virtual dedicated route between the operator gateway and the local gateway, performing access control and speed limit configuration processing through the local gateway, and obtaining the configured local gateway;

[0034] Detection and inspection module: used to perform access control and speed limit detection and inspection based on the configured local gateway when the user accesses the flow of Internet resources based on the terminal device with the Internet of Things card placed thereon, and obtain access control and inspection results;

[0035] Traffic access control module: used to control the traffic access control of the user of the IoT card to the Internet resources through the terminal device based on the access control and inspection results.

[0036] In addition, an embodiment of the present invention further provides a terminal device, the terminal device comprising:

[0037] one or more processors;

[0038] Memory;

[0039] One or more applications, wherein, after the Internet of Things card is placed on the terminal device, the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute any one of the access control methods described above.

[0040] In the embodiment of the present invention, when a user using this IoT card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced; in addition, personalized functions such as logging, speed limit, etc. can be customized, so that users have more functional experience and meet the different needs of users; because the user's device may be placed in a public place, even if the device is lost and the card falls into the hands of a stranger, it will not cause too much loss (this type of card can only access network resources in the whitelist and will not cause a large amount of traffic waste), giving users a certain degree of security protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 It is a flowchart of an access control method based on a telecom operator's Internet of Things card in an embodiment of the present invention;

[0043] Figure 2 It is a schematic diagram of the structure of an access control device based on a telecom operator's Internet of Things card in an embodiment of the present invention;

[0044] Figure 3 It is a schematic diagram of the structural composition of a terminal device in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] Example

[0047] See also Figure 1 , Figure 1 It is a flow chart of an access control method based on a telecom operator's Internet of Things card in an embodiment of the present invention.

[0048] like Figure 1 As shown, an access control method based on a telecom operator's Internet of Things card comprises:

[0049] S11: placing the IoT card on the terminal device, connecting to the telecom operator gateway based on the terminal device, and obtaining the APN parameters of the telecom operator;

[0050] In an embodiment of the present invention, obtaining the APN parameters of the telecom operator includes: obtaining the APN parameters of the telecom operator based on an automatic acquisition method or a manual configuration method of a parameter; wherein, when the Internet of Things card is a non-customized ordinary Internet of Things card, the APN parameters of the telecom operator are obtained based on an automatic acquisition method; when the Internet of Things card is a customized Internet of Things card, the APN parameters of the telecom operator are obtained based on a manual configuration method of a parameter.

[0051] Specifically, when the user places the IoT card on a mobile phone terminal or other device, it is then connected to the operator's telecom operator gateway. Here, the operator's APN technology (Access Point Name, a network access technology) is used, which is determined by the device's access method to access the Internet through automatic acquisition or manual configuration of a parameter (the operation of the device where the IoT card is placed is just like the usual mobile phone card, which can be automatically acquired; for some customized cards, it is usually necessary to manually configure specific APN parameters before it can be connected to the operator's network). Simply put, it is to connect the device to the operator's gateway to make preliminary preparations for the next step of accessing the Internet.

[0052] S12: establishing a virtual dedicated route between the operator gateway and the local gateway by using the universal routing encapsulation technology and the APN parameters;

[0053] In the specific implementation process of the present invention, a virtual dedicated route is established between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters, including: following the universal routing encapsulation technology protocol and the APN parameters to establish a virtual dedicated route according to the agreed configuration between the operator gateway and the local gateway; the agreed configuration includes: tunnel PI address, universal routing technology source IP address and universal routing technology destination IP address.

[0054] Specifically, through GRE technology (Generic Routing Encapsulation), a virtual dedicated line is established between the operator gateway and the local gateway (following the provisions of the GRE protocol and according to the configuration agreed by both parties, the virtual dedicated line can be established only when the networks of both parties are reachable. The agreed configuration mainly includes the following: tunnel IP address, GRE source IP address, GRE destination IP address). The traffic of users using this type of IoT card accesses the Internet through this dedicated line, which is the second link that user traffic passes through. It can be understood that the user's traffic is concentrated at one point (local gateway) to facilitate the subsequent control of traffic; if the traffic is scattered all over the place, it cannot be restricted. Note: Generic Routing Encapsulation (GRE) further encapsulates the user's traffic (completed on the operator's gateway side) (this involves the scope of data packet transmission in the network. Normal data packets (here refers to unencapsulated data packets), including application layer, transport layer, network layer, network interface layer. The encapsulation here is related to the network layer, and the network layer mainly includes the destination IP address and source IP address, etc. It can be roughly understood that the data packet is transmitted in the network through the information of the network layer (destination IP address) until it is transmitted to the destination; the further encapsulation here is to further encapsulate the network layer of normal traffic. The specific method is: on the original basis, add a new destination IP address, source IP address and other information. The encapsulated data packet can be transmitted in the virtual dedicated line), and then it can be transmitted on the Internet and decapsulated at the end of the virtual dedicated line (local gateway) (decapsulation is the opposite process compared to encapsulation, which restores the encapsulated data packet to a normal data packet. The data flowing out of the dedicated line continues to be transmitted in the network after decapsulation until it reaches the destination), and the traffic continues to be transmitted subsequently. The local gateway can be understood as a device that establishes a GRE channel with the operator gateway, and specific configuration is required to establish the channel, which is under the control of the user.

[0055] S13: After establishing a virtual dedicated route between the operator gateway and the local gateway, access control and speed limit configuration processing are performed through the local gateway to obtain a configured local gateway;

[0056] In the specific implementation process of the present invention, after a virtual dedicated route is established between the operator gateway and the local gateway, the access control and speed limit configuration processing is performed through the local gateway to obtain a configured gateway.

[0057] S14: When the user accesses the flow of Internet resources based on the terminal device on which the IoT card is placed, access control and speed limit detection and inspection are performed based on the configured local gateway to obtain access control and inspection results;

[0058] In the specific implementation process of the present invention, the access control and speed limit detection and inspection based on the configured local gateway include: access control of users of the Internet of Things card through firewall technology in the configured local gateway, and controlling that only traffic resources on the whitelist are allowed to access; and network communication quality service detection and inspection of users of the Internet of Things card through quality of service technology in the configured local gateway.

[0059] Furthermore, the types of access control include access control performed through the network layer, access control performed through the application layer, and access control performed simultaneously with the access control conditions of the network layer and the control conditions of the application layer; the access control performed through the network layer uses the source IP address and the destination IP address as control conditions; the access control performed through the application layer uses the domain name that the user needs to access as a control condition.

[0060] Furthermore, the service quality technology is to classify and mark the traffic or manage and control the traffic when network delay and congestion are found after performing network communication quality service inspection; wherein, the traffic classification and marking is to divide the traffic into multiple priorities or multiple service classes, and use the user priority field in the Ethernet frame to mark the service level; use the service type field in the IP address message header to mark the type of message; or classify the traffic according to the source IP address, destination IP address, source port number, destination port number or protocol ID; the traffic management and control is to use queue technology to arrange all messages to be sent from an interface into multiple queues, and process them according to the priority of each queue.

[0061] Furthermore, the queue technology includes any one of a first-in-first-out queue, a priority queue or a customized queue.

[0062] Specifically, through firewall technology, the traffic of users using such IoT cards is restricted, and only resources on the whitelist are allowed to pass. There are various ways of restriction, including: restriction through the network layer, including the source IP address and the destination IP address as restriction conditions, the source IP address is to restrict specific users, the destination IP address is to restrict the accessed resources, and the source IP address and the destination IP address can also be used as restriction screening conditions at the same time; restriction through the application layer, mainly including the domain name that the user wants to access as a restriction condition, and only within the scope of the whitelist is it allowed to be accessed; the network layer restriction conditions can be used in combination with the application layer restriction conditions, such as: the source IP address and the access domain name are used as screening conditions at the same time.

[0063] Through qos technology (Quality of Service), better service capabilities can be provided for designated network communications, solving network delay and congestion problems to a certain extent (traffic classification and marking: that is, dividing traffic into multiple priorities or multiple service classes, using the user priority field in the Ethernet frame to mark the service level; using the service type field in the IP packet header to mark the type of message, etc.; traffic can also be classified according to the source IP address, destination IP address, source port number, destination port number, protocol ID, etc. After the message is classified, other QoS features can be applied to different categories to achieve class-based congestion management, traffic shaping, etc.; congestion management refers to how to manage and control traffic when congestion occurs in the network. The specific method is to use queue technology to put all messages to be sent from an interface into multiple queues and process them according to the priority of each queue; different queue algorithms are used to solve different problems and produce different effects. Such as FIFO (First In First Out), PQ (Priority Queuing), CQ (Custom Queuing), etc.). Of course, you can also limit the speed of some devices or all devices that use this type of IoT card.

[0064] S15: Based on the access control and inspection results, control the user of the IoT card to perform flow access control on Internet resources through the terminal device.

[0065] In the specific implementation process of the present invention, when a user accesses the traffic of Internet resources through a terminal device (mobile phone) equipped with an Internet of Things card, the user of the Internet of Things card is controlled to perform traffic access control of Internet resources through the terminal device based on the access control and inspection results.

[0066] In the specific implementation process of the present invention, the method also includes: when the user accesses the traffic of Internet resources based on the terminal device on which the Internet of Things card is placed, the user's access information is saved in a specific location to form a log record based on the configured local gateway.

[0067] Specifically, logging is to save the user's access information in a specific location, which can be viewed at any time, and a variety of display methods are convenient for saving and viewing. For example, you can log in to a specific customized website through a browser to query.

[0068] In the embodiment of the present invention, when a user using this IoT card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced; in addition, personalized functions such as logging, speed limit, etc. can be customized, so that users have more functional experience and meet the different needs of users; because the user's device may be placed in a public place, even if the device is lost and the card falls into the hands of a stranger, it will not cause too much loss (this type of card can only access network resources in the whitelist and will not cause a large amount of traffic waste), giving users a certain degree of security protection.

[0069] Example

[0070] See also Figure 2 , Figure 2 It is a schematic diagram of the structural composition of an access control device based on a telecommunications operator's Internet of Things card in an embodiment of the present invention.

[0071] like Figure 2 As shown, an access control device based on a telecom operator's Internet of Things card, the device comprising:

[0072] The connection acquisition module 21 is used to place the IoT card on the terminal device, connect to the telecommunications operator gateway based on the terminal device, and obtain the APN parameters of the telecommunications operator;

[0073] In an embodiment of the present invention, obtaining the APN parameters of the telecom operator includes: obtaining the APN parameters of the telecom operator based on an automatic acquisition method or a manual configuration method of a parameter; wherein, when the Internet of Things card is a non-customized ordinary Internet of Things card, the APN parameters of the telecom operator are obtained based on an automatic acquisition method; when the Internet of Things card is a customized Internet of Things card, the APN parameters of the telecom operator are obtained based on a manual configuration method of a parameter.

[0074] Specifically, when the user places the IoT card on a mobile phone terminal or other device, it is then connected to the operator's telecom operator gateway. Here, the operator's APN technology (Access Point Name, a network access technology) is used, which is determined by the device's access method to access the Internet through automatic acquisition or manual configuration of a parameter (the operation of the device where the IoT card is placed is just like the usual mobile phone card, which can be automatically acquired; for some customized cards, it is usually necessary to manually configure specific APN parameters before it can be connected to the operator's network). Simply put, it is to connect the device to the operator's gateway to make preliminary preparations for the next step of accessing the Internet.

[0075] Establishing module 22: used to establish a virtual dedicated route between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters;

[0076] In the specific implementation process of the present invention, a virtual dedicated route is established between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters, including: following the universal routing encapsulation technology protocol and the APN parameters to establish a virtual dedicated route according to the agreed configuration between the operator gateway and the local gateway; the agreed configuration includes: tunnel PI address, universal routing technology source IP address and universal routing technology destination IP address.

[0077] Specifically, through GRE technology (Generic Routing Encapsulation), a virtual dedicated line is established between the operator gateway and the local gateway (following the provisions of the GRE protocol and according to the configuration agreed by both parties, the virtual dedicated line can be established only when the networks of both parties are reachable. The agreed configuration mainly includes the following: tunnel IP address, GRE source IP address, GRE destination IP address). The traffic of users using this type of IoT card accesses the Internet through this dedicated line, which is the second link that user traffic passes through. It can be understood that the user's traffic is concentrated at one point (local gateway) to facilitate the subsequent control of traffic; if the traffic is scattered all over the place, it cannot be restricted. Note: Generic Routing Encapsulation (GRE) further encapsulates the user's traffic (completed on the operator's gateway side) (this involves the scope of data packet transmission in the network. Normal data packets (here refers to unencapsulated data packets), including application layer, transport layer, network layer, network interface layer. The encapsulation here is related to the network layer, and the network layer mainly includes the destination IP address and source IP address, etc. It can be roughly understood that the data packet is transmitted in the network through the information of the network layer (destination IP address) until it is transmitted to the destination; the further encapsulation here is to further encapsulate the network layer of normal traffic. The specific method is: on the original basis, add a new destination IP address, source IP address and other information. The encapsulated data packet can be transmitted in the virtual dedicated line), and then it can be transmitted on the Internet and decapsulated at the end of the virtual dedicated line (local gateway) (decapsulation is the opposite process compared to encapsulation, which restores the encapsulated data packet to a normal data packet. The data flowing out of the dedicated line continues to be transmitted in the network after decapsulation until it reaches the destination), and the traffic continues to be transmitted subsequently. The local gateway can be understood as a device that establishes a GRE channel with the operator gateway, and specific configuration is required to establish the channel, which is under the control of the user.

[0078] Configuration module 23: used for establishing a virtual dedicated route between the operator gateway and the local gateway, performing access control and speed limit configuration processing through the local gateway, and obtaining a configured local gateway;

[0079] In the specific implementation process of the present invention, after a virtual dedicated route is established between the operator gateway and the local gateway, the access control and speed limit configuration processing is performed through the local gateway to obtain a configured gateway.

[0080] Detection and inspection module 24: used to perform access control and speed limit detection and inspection based on the configured local gateway when the user accesses the flow of Internet resources based on the terminal device with the Internet of Things card placed thereon, and obtain access control and inspection results;

[0081] In the specific implementation process of the present invention, the access control and speed limit detection and inspection based on the configured local gateway include: access control of users of the Internet of Things card through firewall technology in the configured local gateway, and controlling that only traffic resources on the whitelist are allowed to access; and network communication quality service detection and inspection of users of the Internet of Things card through quality of service technology in the configured local gateway.

[0082] Furthermore, the types of access control include access control performed through the network layer, access control performed through the application layer, and access control performed simultaneously with the access control conditions of the network layer and the control conditions of the application layer; the access control performed through the network layer uses the source IP address and the destination IP address as control conditions; the access control performed through the application layer uses the domain name that the user needs to access as a control condition.

[0083] Furthermore, the service quality technology is to classify and mark the traffic or manage and control the traffic when network delay and congestion are found after performing network communication quality service inspection; wherein, the traffic classification and marking is to divide the traffic into multiple priorities or multiple service classes, and use the user priority field in the Ethernet frame to mark the service level; use the service type field in the IP address message header to mark the type of message; or classify the traffic according to the source IP address, destination IP address, source port number, destination port number or protocol ID; the traffic management and control is to use queue technology to arrange all messages to be sent from an interface into multiple queues, and process them according to the priority of each queue.

[0084] Furthermore, the queue technology includes any one of a first-in-first-out queue, a priority queue or a customized queue.

[0085] Specifically, through firewall technology, the traffic of users using such IoT cards is restricted, and only resources on the whitelist are allowed to pass. There are various ways of restriction, including: restriction through the network layer, including the source IP address and the destination IP address as restriction conditions, the source IP address is to restrict specific users, the destination IP address is to restrict the accessed resources, and the source IP address and the destination IP address can also be used as restriction screening conditions at the same time; restriction through the application layer, mainly including the domain name that the user wants to access as a restriction condition, and only within the scope of the whitelist is it allowed to be accessed; the network layer restriction conditions can be used in combination with the application layer restriction conditions, such as: the source IP address and the access domain name are used as screening conditions at the same time.

[0086] Through qos technology (Quality of Service), better service capabilities can be provided for designated network communications, solving network delay and congestion problems to a certain extent (traffic classification and marking: that is, dividing traffic into multiple priorities or multiple service classes, using the user priority field in the Ethernet frame to mark the service level; using the service type field in the IP packet header to mark the type of message, etc.; traffic can also be classified according to the source IP address, destination IP address, source port number, destination port number, protocol ID, etc. After the message is classified, other QoS features can be applied to different categories to achieve class-based congestion management, traffic shaping, etc.; congestion management refers to how to manage and control traffic when congestion occurs in the network. The specific method is to use queue technology to put all messages to be sent from an interface into multiple queues and process them according to the priority of each queue; different queue algorithms are used to solve different problems and produce different effects. Such as FIFO (First In First Out), PQ (Priority Queuing), CQ (Custom Queuing), etc.). Of course, you can also limit the speed of some devices or all devices that use this type of IoT card.

[0087] Traffic access control module 25: used to control the traffic access control of the user of the IoT card to the Internet resources through the terminal device based on the access control and inspection results.

[0088] In the specific implementation process of the present invention, when a user accesses the traffic of Internet resources through a terminal device (mobile phone) equipped with an Internet of Things card, the user of the Internet of Things card is controlled to perform traffic access control of Internet resources through the terminal device based on the access control and inspection results.

[0089] In the specific implementation process of the present invention, the method also includes: when the user accesses the traffic of Internet resources based on the terminal device on which the Internet of Things card is placed, the user's access information is saved in a specific location to form a log record based on the configured local gateway.

[0090] Specifically, logging is to save the user's access information in a specific location, which can be viewed at any time, and a variety of display methods are convenient for saving and viewing. For example, you can log in to a specific customized website through a browser to query.

[0091] In the embodiment of the present invention, when a user using this IoT card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced; in addition, personalized functions such as logging, speed limit, etc. can be customized, so that users have more functional experience and meet the different needs of users; because the user's device may be placed in a public place, even if the device is lost and the card falls into the hands of a stranger, it will not cause too much loss (this type of card can only access network resources in the whitelist and will not cause a large amount of traffic waste), giving users a certain degree of security protection.

[0092] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the access control method of any one of the above embodiments is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (for example, a computer, a mobile phone), which can be a read-only memory, a disk or an optical disk, etc.

[0093] An embodiment of the present invention further provides a computer application program, which runs on a computer and is used to execute the access control method of any one of the above embodiments.

[0094] also, Figure 3 It is a schematic diagram of the structural composition of a terminal device in an embodiment of the present invention.

[0095] The embodiment of the present invention also provides a terminal device, such as Figure 3 The terminal device includes a processor 302, a memory 303, an input unit 304, a display unit 305 and other devices. Those skilled in the art will understand that Figure 3The device structure device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 303 can be used to store the application 301 and various functional modules, and the processor 302 runs the application 301 stored in the memory 303, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both internal and external memories. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a U disk, a magnetic tape, etc. The memory disclosed in the present invention includes but is not limited to these types of memories. The memory disclosed in the present invention is only used as an example and not as a limitation.

[0096] The input unit 304 is used to receive the input of the signal and the keyword input by the user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program; other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a playback control key, a switch key, etc.), a trackball, a mouse, a joystick, etc. The display unit 305 can be used to display the information input by the user or the information provided to the user and various menus of the server. The display unit 305 can be in the form of a liquid crystal display, an organic light emitting diode, etc. The processor 302 is the control center of the server, which uses various interfaces and lines to connect various parts of the entire device, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory.

[0097] As an embodiment, the terminal device includes: one or more processors 302, a memory 303, and one or more applications 301, wherein after an Internet of Things card is placed on the terminal device, the one or more applications 301 are stored in the memory 303 and are configured to be executed by the one or more processors 302, and the one or more applications 301 are configured to execute the access control method in any one of the above embodiments.

[0098] In the embodiment of the present invention, when a user using this IoT card needs to change the access control requirements, the efficiency is improved and the communication cost with the operator is reduced; in addition, personalized functions such as logging, speed limit, etc. can be customized, so that users have more functional experience and meet the different needs of users; because the user's device may be placed in a public place, even if the device is lost and the card falls into the hands of a stranger, it will not cause too much loss (this type of card can only access network resources in the whitelist and will not cause a large amount of traffic waste), giving users a certain degree of security protection.

[0099] In addition, the access control method, device and terminal based on the telecom operator Internet of Things card provided in the embodiment of the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An access control method based on a telecom operator's Internet of Things card, It is characterized in that The method comprises: The IoT card is placed on the terminal device, connected to the telecom operator gateway based on the terminal device, and the APN parameters of the telecom operator are obtained; Establishing a virtual dedicated route between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters; After establishing a virtual dedicated route between the operator gateway and the local gateway, access control and speed limit configuration processing are performed through the local gateway to obtain a configured local gateway; When a user accesses Internet resources through traffic based on the terminal device on which the IoT card is placed, access control and speed limit detection and inspection are performed based on the configured local gateway to obtain access control and inspection results; Based on the access control and inspection results, control the user of the Internet of Things card to perform flow access control on Internet resources through the terminal device; The access control and speed limit detection and inspection based on the configured local gateway includes: Access control is performed on users of the IoT card by using firewall technology in the configured local gateway, and only traffic resources in the whitelist are allowed to access; Performing a network communication quality service inspection on the user of the Internet of Things card by using a quality of service technology in the configured local gateway; The service quality technology is to classify and mark the traffic or manage and control the traffic when network delay and congestion are found after the network communication quality service detection and inspection; The traffic classification and marking is to divide the traffic into multiple priorities or multiple service classes, use the user priority field in the Ethernet frame to mark the service level; use the service type field in the IP address message header to mark the type of message; or classify the traffic according to the source IP address, destination IP address, source port number, destination port number or protocol ID; The traffic management and control is performed by using queue technology, which puts all messages to be sent from one interface into multiple queues and processes them according to the priority of each queue.

2. The access control method according to claim 1, It is characterized in that The obtaining of the APN parameters of the telecommunications operator includes: Obtaining the APN parameters of the telecom operator by automatically obtaining the parameters or manually configuring a parameter; Wherein, when the Internet of Things card is a non-customized ordinary Internet of Things card, the APN parameters of the telecom operator are obtained based on an automatic acquisition method; When the Internet of Things card is a customized Internet of Things card, the APN parameter of the telecommunications operator is obtained based on manually configuring a parameter.

3. The access control method according to claim 1, It is characterized in that The method of establishing a virtual dedicated route between the operator gateway and the local gateway by using the universal routing encapsulation technology and the APN parameters includes: Establishing a virtual dedicated route according to the agreed configuration between the operator gateway and the local gateway in accordance with the general routing encapsulation technology protocol and the APN parameters; The agreed configuration includes: a tunnel PI address, a general routing technology source IP address and a general routing technology destination IP address.

4. The access control method according to claim 1, It is characterized in that The types of access control include access control performed through the network layer, access control performed through the application layer, and access control performed simultaneously by combining access control conditions of the network layer with control conditions of the application layer; The access control performed through the network layer is to use the source IP address and the destination IP address as control conditions; The access control performed through the application layer takes the domain name that the user needs to access as a control condition.

5. The access control method according to claim 1, It is characterized in that The queue technology includes any one of first-in-first-out, priority queue or customized queue.

6. The access control method according to claim 1, It is characterized in that The method further comprises: When a user accesses Internet resources through traffic based on the terminal device on which the Internet of Things card is placed, the user's access information is saved in a specific location to form a log record based on the configured local gateway.

7. An access control device based on a telecom operator's Internet of Things card, It is characterized in that The device comprises: Connection acquisition module: used to place the IoT card on the terminal device, connect to the telecom operator gateway based on the terminal device, and obtain the APN parameters of the telecom operator; Establishing module: used for establishing a virtual dedicated route between the operator gateway and the local gateway through the universal routing encapsulation technology and the APN parameters; Configuration module: used for establishing a virtual dedicated route between the operator gateway and the local gateway, performing access control and speed limit configuration processing through the local gateway, and obtaining the configured local gateway; Detection and inspection module: used to perform access control and speed limit detection and inspection based on the configured local gateway when the user accesses the flow of Internet resources based on the terminal device with the Internet of Things card placed thereon, and obtain access control and inspection results; Traffic access control module: used to control the traffic access control of the user of the Internet of Things card through the terminal device to the Internet resources based on the access control and inspection results; The access control and speed limit detection and inspection based on the configured local gateway includes: Access control is performed on users of the IoT card by using firewall technology in the configured local gateway, and only traffic resources in the whitelist are allowed to access; Performing a network communication quality service inspection on the user of the Internet of Things card by using a quality of service technology in the configured local gateway; The service quality technology is to classify and mark the traffic or manage and control the traffic when network delay and congestion are found after the network communication quality service detection and inspection; The traffic classification and marking is to divide the traffic into multiple priorities or multiple service classes, use the user priority field in the Ethernet frame to mark the service level; use the service type field in the IP address message header to mark the type of message; or classify the traffic according to the source IP address, destination IP address, source port number, destination port number or protocol ID; The traffic management and control is performed by using queue technology, which puts all messages to be sent from one interface into multiple queues and processes them according to the priority of each queue.

8. A terminal device, It is characterized in that The terminal device comprises: one or more processors; Memory; One or more applications, wherein, after the Internet of Things card is placed on the terminal device, the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute the access control method according to any one of claims 1 to 6.