An Internet of Things area restriction management method, system, device and storage medium

By obtaining the user's first call message, establishing a binding relationship between the Internet of Things card and the region, and comparing the actual usage area and the binding relationship during real-time use, and automatically recovering or blocking the network, solving the problems of high cost and low efficiency of IoT area restrictions in the existing technology, improving user experience and operational efficiency.

CN116055296BActive Publication Date: 2025-07-01E SURFING IOT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211724512.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-07-01
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

The existing IoT regional restriction management methods have high management costs, low operation and maintenance efficiency, and poor user experience, especially when occasional non-subjective violations occur. Traditional practices lead to cumbersome downtime and resumption of the machine, affecting the user experience.

Method used

By obtaining the user's first call message, establishing a binding relationship between the Internet of Things card and the region, and comparing the actual usage area and the binding relationship during real-time use, automatically recovering or blocking the network, realizing automated area restrictions management.

Benefits of technology

It reduces the cost of IoT area restrictions management, improves the efficiency of operation and maintenance and user experience, and avoids the cumbersome operation of manual resumption or downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116055296B_ABST
    Figure CN116055296B_ABST
Patent Text Reader

Abstract

The present invention discloses an Internet of Things (IoT) area restriction management method, system, device, and storage medium. The method includes: obtaining a first call detail record (CDR) message, determining first Mobile Directory Number (MDN) information and first area information based on the first CDR message; performing a matching query in a pre-constructed area binding database according to the first MDN information; when no corresponding area binding information is matched, generating first area binding information based on the first MDN information and the first area information, and adding the first area binding information to the area binding database; when corresponding area binding information is matched, determining second area information according to the area binding information, comparing the first area information and the second area information, and then performing IoT area restriction according to the comparison result. The present invention realizes automated IoT area restriction management, reduces the management cost of IoT area restriction, improves the operation and maintenance efficiency and the user experience, and can be widely applied to the field of IoT technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of the Internet of Things, and in particular to a method, system, device and storage medium for managing area restrictions in the Internet of Things. Background Art

[0002] The area restriction control of the Internet of Things generally realizes by setting in advance the areas where the Internet of Things cards are allowed to be used and directly shutting down the cards when detecting the illegal use of the Internet of Things cards. Then, it is necessary for users to set up the binding relationship in advance, and subsequent users must maintain such a binding relationship during the production and use of the devices, which is difficult to manage. At the same time, some users will have occasional non-subjective illegal behaviors when using Internet of Things devices. The traditional method is to directly shut down the cards. When the users correct the relevant incorrect usage behaviors later, the operator's acceptance personnel need to manually perform the card resumption operation, which to a certain extent achieves the control of the card-device binding. However, the number of devices with Internet of Things cards is huge and the application scenarios are diverse. This solution is relatively rigid in control, with a large later operation and maintenance cost and low efficiency, affecting the user experience. Summary of the Invention

[0003] An object of the present invention is to solve at least to some extent the technical problems existing in the prior art.

[0004] To this end, an object of an embodiment of the present invention is to provide a method for managing area restrictions in the Internet of Things, which reduces the management cost of area restrictions in the Internet of Things, improves the efficiency of operation and maintenance, and the user experience.

[0005] Another object of an embodiment of the present invention is to provide a system for managing area restrictions in the Internet of Things.

[0006] To achieve the above technical object, the technical solutions adopted in the embodiments of the present invention include:

[0007] In a first aspect, an embodiment of the present invention provides a method for managing area restrictions in the Internet of Things, including the following steps:

[0008] Obtain a first call detail record message, and determine first MDN information and first area information according to the first call detail record message;

[0009] Perform a matching query in a pre-constructed area binding database according to the first MDN information;

[0010] When no corresponding area binding information is matched, generate first area binding information according to the first MDN information and the first area information, and add the first area binding information to the area binding database;

[0011] When the corresponding area binding information is matched, determine the second area information according to the area binding information, compare the first area information with the second area information, and then perform Internet of Things area restriction according to the comparison result;

[0012] Among them, the area binding database does not store area binding information when it is constructed.

[0013] Further, in an embodiment of the present invention, when the first call detail record message is a RADUIS message, the step of determining the first MDN information and the first area information according to the first call detail record message is specifically as follows:

[0014] Parse the first call detail record message to obtain the Calling-Station-Id field and the nFIPv4Address field of the first call detail record message, determine the first MDN information according to the Calling-Station-Id field, determine the corresponding device IP address according to the nFIPv4Address field, and then determine the first area information according to the device IP address.

[0015] Further, in an embodiment of the present invention, when the first call detail record message is a CHF message, the step of determining the first MDN information and the first area information according to the first call detail record message is specifically as follows:

[0016] Parse the first call detail record message to obtain the servedGPSI field and the nrCellId field of the first call detail record message, determine the first MDN information according to the servedGPSI field, determine the corresponding base station ID according to the nrCellId field, and then determine the first area information according to the base station ID.

[0017] Further, in an embodiment of the present invention, the area binding database is a Redis database, and the step of performing a matching query in the pre-constructed area binding database according to the first MDN information specifically includes:

[0018] Use the first MDN information as a Key to perform a matching query in the area binding database, determine whether there is a Key that is the same as the first MDN information. If not, output that no corresponding area binding information is matched. If so, obtain the corresponding area binding information according to the first MDN information.

[0019] Further, in an embodiment of the present invention, the step of generating the first area binding information according to the first MDN information and the first area information and adding the first area binding information to the area binding database specifically includes:

[0020] Use the first MDN information as the key and the first area information as the value to generate a first key-value pair for characterizing the first area binding information;

[0021] Store the first key-value pair into the area binding database.

[0022] Further, in an embodiment of the present invention, the step of determining the second area information according to the area binding information, comparing the first area information with the second area information, and then performing Internet of Things area restriction according to the comparison result specifically includes:

[0023] Determine the second area information according to the value of the area binding information;

[0024] Compare the first area information with the second area information to determine whether they are consistent;

[0025] When the comparison is consistent, obtain the area-restricted connection status of the current Internet of Things card. If the area-restricted connection status is in a disconnected network state, restore the network connection of the Internet of Things card;

[0026] When the comparison is inconsistent, obtain the area-restricted connection status of the current Internet of Things card. If the area-restricted connection status is in a connected state, disconnect the network connection of the Internet of Things card.

[0027] Further, in an embodiment of the present invention, when the comparison is consistent, the step of restoring the network connection of the Internet of Things card specifically is:

[0028] Determine the corresponding network element instance according to the first MDN information, generate a restore connection message according to the network element instance, and send the restore connection message to the network element task execution layer so that the network element task execution layer restores the network connection of the Internet of Things network card;

[0029] When the comparison is inconsistent, the step of restoring the network connection of the Internet of Things card specifically is:

[0030] Determine the corresponding network element instance according to the first MDN information, generate a blocking connection message according to the network element instance, and send the blocking connection message to the network element task execution layer so that the network element task execution layer blocks the network connection of the Internet of Things network card.

[0031] In a second aspect, an embodiment of the present invention provides an Internet of Things area restriction management system, including:

[0032] An information acquisition module, which acquires a first call record message and determines first MDN information and first area information according to the first call record message;

[0033] A matching query module, configured to perform a matching query in a pre-constructed area binding database according to the first MDN information;

[0034] A first call record binding module, configured to generate first area binding information according to the first MDN information and the first area information and add the first area binding information to the area binding database when no corresponding area binding information is matched;

[0035] An area restriction module, configured to determine second area information according to the area binding information when the corresponding area binding information is matched, compare the first area information with the second area information, and then perform Internet of Things area restriction according to the comparison result;

[0036] Wherein, the area binding database does not store area binding information when it is constructed.

[0037] In a third aspect, an embodiment of the present invention provides an Internet of Things area restriction management device, including:

[0038] At least one processor;

[0039] At least one memory, configured to store at least one program;

[0040] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned Internet of Things area restriction management method.

[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which a program executable by a processor is stored, and the program executable by the processor is used to execute the above-mentioned Internet of Things area restriction management method when executed by the processor.

[0042] The advantages and beneficial effects of the present invention will be partially given in the following description, partially become obvious from the following description, or be understood through the practice of the present invention:

[0043] In an embodiment of the present invention, the area information where the Internet of Things card is used is obtained from the call detail record message reported when the user first uses the Internet of Things, the binding relationship between the area information and the Internet of Things card is established and stored. There is no need for the user to preset the binding relationship between the Internet of Things card and the actual usage location in advance, which greatly simplifies the management difficulty and operation difficulty of the user's Internet of Things devices. By collecting the call detail record messages reported by the user during subsequent use of the Internet of Things in real time to obtain the current actual usage area, and comparing the actual usage area with the stored binding relationship, the network can be automatically restored for users who meet the binding relationship, and the network can be automatically blocked for users who do not meet the binding relationship, realizing automated management of Internet of Things area restrictions, without the need for manual operation of resuming or halting the machine, reducing the management cost of Internet of Things area restrictions, and improving the efficiency of operation and maintenance and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following introduces the drawings required to be used in the embodiments of the present invention. It should be understood that the drawings in the following introduction are only for conveniently and clearly expressing some embodiments of the technical solutions in the present invention. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0045] Figure 1 It is a flowchart of the steps of a method for managing Internet of Things area restrictions provided by an embodiment of the present invention;

[0046] Figure 2 It is a schematic diagram of the specific process of a method for managing Internet of Things area restrictions provided by an embodiment of the present invention;

[0047] Figure 3 It is a block diagram of the structure of a system for managing Internet of Things area restrictions provided by an embodiment of the present invention;

[0048] Figure 4 It is a block diagram of the structure of a device for managing Internet of Things area restrictions provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] The following details the embodiments of the present invention. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions from beginning to end. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present invention, and should not be construed as a limitation of the present invention. For the step numbers in the following embodiments, they are only set for the convenience of explanation and illustration, and no limitation is made on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0050] In the description of the present invention, the meaning of "a plurality of" is two or more. If the first and second are described, it is only for the purpose of distinguishing technical features and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present technology.

[0051] Referring to Figure 1 , an embodiment of the present invention provides an Internet of Things area restriction management method, which specifically includes the following steps:

[0052] S101. Obtain a first call detail record message, and determine the first MDN information and the first area information according to the first call detail record message.

[0053] Specifically, the data acquisition and control service collects RADUIS (4G) or CHF (5G) call detail record messages pushed from the upstream system (IT billing) and network elements (PWG), analyzes and extracts the message content to obtain the first MDN (Internet of Things card number) information and the first area information.

[0054] Further as an optional implementation manner, when the first call detail record message is a RADUIS message, the step of determining the first MDN information and the first area information according to the first call detail record message is specifically:

[0055] Parse the first call detail record message, obtain the Calling-Station-Id field and the nFIPv4Address field of the first call detail record message, determine the first MDN information according to the Calling-Station-Id field, determine the corresponding device IP address according to the nFIPv4Address field, and then determine the first area information according to the device IP address.

[0056] Specifically, for the RADUIS call detail record message using the 4G network, the Calling-Station-Id field and the nFIPv4Address field are obtained by parsing the message. The first MDN information can be obtained according to the Calling-Station-Id field, and the nFIPv4Address field is the field used to identify the device IPv4 address in the RADUIS message. The device IP address can be determined according to the nFIPv4Address field, and then the first area information can be obtained according to the relationship comparison table between the device IP address and the province area.

[0057] Further as an optional implementation manner, when the first call detail record message is a CHF message, the step of determining the first MDN information and the first area information according to the first call detail record message is specifically:

[0058] Parse the first call detail record message to obtain the servedGPSI field and the nrCellId field of the first call detail record message. Determine the first MDN information based on the servedGPSI field, determine the corresponding base station ID based on the nrCellId field, and further determine the first area information based on the base station ID.

[0059] Specifically, for the CHF call detail record message using the 5G network, parse the message to obtain the servedGPSI field and the nrCellId field. The first MDN information can be obtained based on the servedGPSI field, and the gNB ID field representing the base station ID is included in the nrCellId field. The base station ID can be determined based on the nrCellId field, and then the first area information can be obtained according to the relationship comparison table between the base station ID and the provincial area.

[0060] It can be understood that the relationship comparison table between the device IP address / base station ID and the identity area can be obtained and stored in advance.

[0061] In some alternative embodiments, after obtaining the parsed first MDN information and the first area message, first determine whether the current user has subscribed to the functional product of "first call area restriction" (area restriction management service based on the embodiments of the present invention) through the first MDN information. If subscribed, continue with the subsequent process. If not subscribed, it can be processed according to the traditional area restriction management method.

[0062] S102. Perform a matching query in the pre-constructed area binding database according to the first MDN information;

[0063] Among them, no area binding information is stored when the area binding database is constructed.

[0064] Specifically, after obtaining the parsed first MDN information and the first area message, perform a matching query in the pre-constructed area binding database according to the first MDN information. Since no area binding information is stored when the area binding database is constructed, if no corresponding area binding information is matched, it means that this call detail record is the first call detail record. If corresponding area binding information is matched, it means that this call detail record is not the first call detail record.

[0065] Further as an alternative implementation manner, the area binding database is a Redis database. The step of performing a matching query in the pre-constructed area binding database according to the first MDN information specifically includes:

[0066] Use the first MDN information as the key to perform a matching query in the area binding database to determine whether there is a key that is the same as the first MDN information. If not, output that the corresponding area binding information is not matched. If so, obtain the corresponding area binding information according to the first MDN information.

[0067] S103. When the corresponding area binding information is not matched, generate the first area binding information according to the first MDN information and the first area information, and add the first area binding information to the area binding database.

[0068] As a further optional implementation, the step of generating the first area binding information according to the first MDN information and the first area information and adding the first area binding information to the area binding database specifically includes:

[0069] A1. Use the first MDN information as the key and the first area information as the value to generate the first key-value pair representing the first area binding information;

[0070] A2. Store the first key-value pair into the area binding database.

[0071] Specifically, if the corresponding area binding information is not matched, it can be determined that the current call record is the first call record after subscribing to the product. Establish the key-value pair <MDN, Region> of the card number and area in the current call record and store it as the comparison basis for the subsequent access to the network by the current IoT card.

[0072] S104. When the corresponding area binding information is matched, determine the second area information according to the area binding information, compare the first area information and the second area information, and then perform IoT area restriction according to the comparison result.

[0073] As a further optional implementation, the step of determining the second area information according to the area binding information, comparing the first area information and the second area information, and then performing IoT area restriction according to the comparison result specifically includes:

[0074] Determine the second area information according to the value of the area binding information;

[0075] Compare the first area information and the second area information to determine whether they are consistent;

[0076] When the comparison is consistent, obtain the area restriction connection status of the current IoT card. If the area restriction connection status is in the disconnected state, restore the network connection of the IoT card;

[0077] When the comparison is inconsistent, obtain the area restriction connection status of the current IoT card. If the area restriction connection status is in the connected state, disconnect the network connection of the IoT card.

[0078] Specifically, if the corresponding area binding information is matched, it can be determined that the current call record is a non-first call record after subscribing to a product. Compare the first area information reported in the current call record with the second area information in the matched area binding information as follows:

[0079] 1) If the comparison result is consistent, obtain the area-restricted connection status of the current IoT card through the first MDN information. If the connection status is "connecting", discard it; if the connection status is "disconnecting", then assemble a PCRF / PCF restore connection message and send it to the downstream network element task execution service;

[0080] 2) If the comparison result is inconsistent, obtain the area-restricted connection status of the current IoT card through the first MDN information. If the connection status is "disconnecting", discard it; if the connection status is "connecting", then assemble a PCRF / PCF block connection message and send it to the downstream network element task execution service.

[0081] Further, as an optional implementation manner, when the comparison is consistent, the step of restoring the network connection of the IoT card is specifically as follows:

[0082] Determine the corresponding network element instance according to the first MDN information, generate a restore connection message according to the network element instance, and send the restore connection message to the network element task execution layer, so that the network element task execution layer restores the network connection of the IoT network card;

[0083] When the comparison is inconsistent, the step of restoring the network connection of the IoT card is specifically as follows:

[0084] Determine the corresponding network element instance according to the first MDN information, generate a block connection message according to the network element instance, and send the block connection message to the network element task execution layer, so that the network element task execution layer blocks the network connection of the IoT network card.

[0085] Specifically, when the network element task execution service receives a PCRF / PCF block or restore connection task, it matches the corresponding PCRF / PCF network element instance according to the card number (access number) in the current message, obtains the network element related configuration information, and generates a corresponding task instruction set according to the service type and instruction template, and sends it to the network element execution through SOAP information, so as to implement the operation of blocking or restoring the card.

[0086] The method steps of the embodiments of the present invention are described above. As Figure 2 shown is a specific process schematic diagram of an IoT area restriction management method provided by an embodiment of the present invention. The following further describes the complete process of the embodiment of the present invention in combination with Figure 2 for further explanation.

[0087] 1. The data collection service collects CHF (5G) call detail record messages pushed from the upstream system (IT billing), analyzes and extracts the message content. Obtain the servedGPSI (MDN) and nrCell fields in the CHF message. The nrCell field consists of the PLMN ID to which the cell belongs and the NR cell identifier (NCI). The NCI is 36 bits and is composed of the gNB identifier (gNB ID) and the Cell identifier (CI). Thus, the MDN (card number) and gNB ID (base station ID) information of the current call detail record can be obtained by analyzing the CHF message, and then the area where the base station is located can be obtained through the base station and area relationship table.

[0088] 2. Check whether the current IoT card has subscribed to the "first call detail record area restriction" control service. This service is pre - accepted by the customer, and no binding relationship between the card and the actual usage area is established during the acceptance process. If the current IoT card has not subscribed to this product, the process ends; otherwise, determine whether it is the first time to establish a binding relationship between the card number and the actual usage location. This can be achieved by querying the REDIS cache <FIRST_BILL_BINDING_$MDN,REGION>. The KEY value stores the IoT card number, and the value stores the actual usage area bound by the first call detail record. If it is empty or does not exist, it means that it has not been bound yet, then add or update the value to form a comparison template prototype.

[0089] 3. During the user's usage process, a large number of instant network element messages will be generated, and these messages will be pushed to the connection management platform. The <MDN,REGION_X> correspondence in the message can be obtained immediately by the same method. By comparing the matching relationship between <MDN,REGION> in the REDIS cache and <MDN,REGION_X> in the current message, determine whether the user is using within the area bound by the first call detail record. The specific operations are as follows:

[0090] Case 1: The matching result shows that the user is still using within the bound area. Obtain the area restriction connection status of the current card through the MDN. If the connection status is "connected", discard it; if the connection status is "disconnected", then assemble a PCRF / PCF restore connection message for the downstream network element task execution service;

[0091] Case 2: The matching result shows that the user is not using within the bound area. Obtain the area restriction connection status of the current card through the MDN. If the connection status is "disconnected", discard it; if the connection status is "connected", then assemble a PCRF / PCF block connection message for the downstream network element task execution service.

[0092] 4. When the network element task execution service receives the PCRF / PCF blocking or connection restoration task, it matches the corresponding PCRF / PCF network element instance according to the card number (access number) in the current message, obtains the network element related configuration information, generates the corresponding task instruction set according to the service type and instruction template, and sends it to the network element for execution through the SOAP message, so as to realize the operation of blocking or restoring the card.

[0093] It can be recognized that in the embodiment of the present invention, the area information of using the IoT card is obtained through the call detail record message reported by the user when first using the IoT, the binding relationship between the area information and the IoT card is established and stored. There is no need for the user to preset the binding relationship between the IoT card and the actual usage location in advance, which greatly simplifies the management difficulty and operation difficulty of the user's IoT devices; by collecting the call detail record messages reported by the user when using the IoT subsequently in real time to obtain the current actual usage area, and comparing the actual usage area with the stored binding relationship, the network can be automatically restored for users who meet the binding relationship, and the network can be automatically blocked for users who do not meet the binding relationship, realizing automatic IoT area restriction management, without manual operation of resuming or stopping the machine, reducing the management cost of IoT area restriction, and improving the operation and maintenance efficiency and user experience.

[0094] In addition, the present invention is different from the traditional method of restricting illegal shutdown of the area. According to the characteristics of the strong traffic demand of the IoT application, by collecting all RADUIS or CHF data packets in real time, parsing the relevant data fields to obtain the actual usage location of the device of the current call detail record and the MDN (card number), comparing the number and area binding situation in the user's first call detail record, and automatically disconnecting and restoring the network data connection means by issuing instructions to the PCRF / PCF network element in real time to achieve full-automatic area restriction control, which can automatically block and restore the network connection in real time according to the change of the actual usage location of the current card, without human intervention, avoiding the trouble of manual resuming after traditional shutdown, and further improving the operation and maintenance efficiency of the IoT.

[0095] Refer to Figure 3 , the embodiment of the present invention provides an IoT area restriction management system, including:

[0096] An information acquisition module, which acquires the first call detail record message and determines the first MDN information and the first area information according to the first call detail record message;

[0097] A matching query module, which is used to perform matching query in the pre-constructed area binding database according to the first MDN information; a first call detail record binding module, which is used to generate the first area binding information according to the first MDN information and the first area information when no corresponding area binding information is matched, and add the first area binding information to the area binding database;

[0098] An area restriction module, configured to, when corresponding area binding information is matched, determine second area information according to the area binding information, compare the first area information with the second area information, and then perform Internet of Things area restriction according to the comparison result;

[0099] Among them, the area binding database does not store area binding information when it is constructed.

[0100] The content in the above method embodiments is applicable to the present system embodiment. The functions specifically implemented by the present system embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0101] Refer to Figure 4 , the embodiment of the present invention provides an Internet of Things area restriction management device, including:

[0102] At least one processor;

[0103] At least one memory, configured to store at least one program;

[0104] When the above at least one program is executed by the above at least one processor, the above at least one processor implements the above Internet of Things area restriction management method.

[0105] The content in the above method embodiments is applicable to the present device embodiment. The functions specifically implemented by the present device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0106] The embodiment of the present invention further provides a computer-readable storage medium, in which a program executable by a processor is stored. The program executable by the processor is used to execute the above Internet of Things area restriction management method when executed by the processor.

[0107] A computer-readable storage medium according to an embodiment of the present invention can execute an Internet of Things area restriction management method provided by an embodiment of the method of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0108] The embodiment of the present invention also discloses a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.

[0109] In some alternative embodiments, the functions / operations recited in the block diagrams may not occur in the order presented in the operational illustrations. For example, depending on the functions / operations involved, two blocks shown in succession may actually be executed substantially simultaneously or the blocks may sometimes be executed in reverse order. Further, the embodiments presented and described in the flowcharts of the present invention are provided by way of example for purposes of providing a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logical flows presented herein. Alternative embodiments are contemplated in which the order of various operations is altered and in which sub-operations described as part of a larger operation are performed independently.

[0110] In addition, although the present invention has been described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the above functions and / or features may be integrated in a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It should also be understood that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, given the attributes, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the modules will be understood within the ordinary skill of an engineer. Thus, those of ordinary skill in the art will be able to implement the present invention as set forth in the claims without undue experimentation. It should also be understood that the particular concepts disclosed are illustrative only and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0111] If the above functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as a USB flash drive, a portable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.

[0112] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definitional sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0113] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the above program can be printed, because the above program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or, if necessary, other suitable processing, and then stored in a computer memory.

[0114] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well-known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having suitable combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0115] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example", or "certain embodiments / examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0116] Although embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the claims and their equivalents.

[0117] The above has specifically described the preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent deformations or substitutions without violating the spirit of the present invention, and these equivalent deformations or substitutions are all included within the scope defined by the claims of this application.

Claims

1. An Internet of Things area restriction management method, characterized in that It includes the following steps: Obtain a first call record message, and determine first MDN information and first area information according to the first call record message; Perform a matching query in a pre-constructed area binding database according to the first MDN information; When no corresponding area binding information is matched, generate first area binding information according to the first MDN information and the first area information, and add the first area binding information to the area binding database; When corresponding area binding information is matched, determine second area information according to the area binding information, compare the first area information and the second area information, and then perform Internet of Things area restriction according to the comparison result; Among them, no area binding information is stored when the area binding database is constructed, the area binding database is a Redis database, and the step of performing a matching query in the pre-constructed area binding database according to the first MDN information specifically includes: Use the first MDN information as a Key to perform a matching query in the area binding database, determine whether there is a Key identical to the first MDN information, if not, output that no corresponding area binding information is matched, if so, obtain the corresponding area binding information according to the first MDN information.

2. The Internet of Things area restriction management method according to claim 1, wherein, When the first call record message is a RADUIS message, the step of determining first MDN information and first area information according to the first call record message specifically is: Parse the first call record message, obtain the Calling-Station-Id field and the nFIPv4Address field of the first call record message, determine the first MDN information according to the Calling-Station-Id field, determine the corresponding device IP address according to the nFIPv4Address field, and then determine the first area information according to the device IP address.

3. The method for managing area restrictions in the Internet of Things according to claim 1, characterized in that, When the first call record message is a CHF message, the step of determining first MDN information and first area information according to the first call record message specifically is: Parse the first call record message, obtain the servedGPSI field and the nrCellId field of the first call record message, determine the first MDN information according to the servedGPSI field, determine the corresponding base station ID according to the nrCellId field, and then determine the first area information according to the base station ID.

4. The Internet of Things area restriction management method according to claim 1, characterized in that The step of generating first area binding information according to the first MDN information and the first area information, and adding the first area binding information to the area binding database specifically includes: Use the first MDN information as a Key and the first area information as a value to generate a first key-value pair for representing the first area binding information; Store the first key-value pair in the area binding database.

5. The method for managing Internet of Things area restrictions according to claim 1, characterized in that, The step of determining the second area information according to the area binding information, comparing the first area information and the second area information, and then performing Internet of Things area restriction according to the comparison result specifically includes: Determine the second area information according to the value of the area binding information; Compare the first area information and the second area information to determine whether they are consistent; When the comparison is consistent, obtain the area restriction connection status of the current Internet of Things card. If the area restriction connection status is in the process of disconnecting the network, restore the network connection of the Internet of Things card; When the comparison is inconsistent, obtain the area restriction connection status of the current Internet of Things card. If the area restriction connection status is in the process of connecting, disconnect the network connection of the Internet of Things card.

6. The Internet of Things area restriction management method according to claim 5, wherein, When the comparison is consistent, the step of restoring the network connection of the Internet of Things card specifically is: Determine the corresponding network element instance according to the first MDN information, generate a restore connection message according to the network element instance, and send the restore connection message to the network element task execution layer, so that the network element task execution layer restores the network connection of the Internet of Things network card; When the comparison is inconsistent, the step of restoring the network connection of the Internet of Things card specifically is: Determine the corresponding network element instance according to the first MDN information, generate a blocking connection message according to the network element instance, and send the blocking connection message to the network element task execution layer, so that the network element task execution layer blocks the network connection of the Internet of Things network card.

7. An Internet of Things area restriction management system, characterized in that, Includes: An information acquisition module, which acquires a first call detail record message and determines the first MDN information and the first area information according to the first call detail record message; A matching query module, which is used to perform a matching query in a pre-constructed area binding database according to the first MDN information; A first call detail record binding module, which is used to generate first area binding information according to the first MDN information and the first area information and add the first area binding information to the area binding database when no corresponding area binding information is matched; An area restriction module, which is used to determine the second area information according to the area binding information when the corresponding area binding information is matched, compare the first area information and the second area information, and then perform Internet of Things area restriction according to the comparison result; Among them, the area binding database does not store area binding information when it is constructed. The area binding database is a Redis database. The matching query module is specifically used for: Use the first MDN information as the Key to perform a matching query in the area binding database, determine whether there is a Key that is the same as the first MDN information. If not, output that no corresponding area binding information is matched. If so, obtain the corresponding area binding information according to the first MDN information.

8. An Internet of Things area restriction management device, characterized in that, Includes: At least one processor; At least one memory, which is used to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements an Internet of Things area restriction management method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a program executable by a processor, characterized in that, The program executable by the processor, when executed by the processor, is used to execute an Internet of Things area restriction management method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for managing protocol region, user identification card and mobile terminal system

    CN101835139A

  • Internet of things machine card binding pool management and control method and device and related medium

    CN114339689A