Method and device for managing allocation of Internet of Things cards
By real-time monitoring of network status and attention demand data to generate dynamic allocation strategies and adjust IoT card allocation, the problem of traditional methods being unable to adapt to changes is solved, achieving efficient resource utilization and improving allocation efficiency.
Patent Information
- Application Number
- CN202410410960.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-04-08
AI Technical Summary
The traditional IoT card allocation and management method is static and cannot effectively adapt to network needs and environmental changes, resulting in insufficient or excess resource allocation and reduced allocation efficiency.
Obtain regional division and network status through the city management platform, monitor network status and attention demand data in real time, generate dynamic allocation strategies, adjust the allocation of IoT cards, and continuously monitor allocation and network performance to provide feedback on management strategies.
Effectively adapt to network needs and environmental changes, make full use of resources, avoid waste, and improve the allocation efficiency of IoT cards.
Smart Images

Figure CN118200188B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network card allocation management, and in particular to an Internet of Things card allocation management method and device. Background Art
[0002] With the popularization and development of IoT applications, more and more devices need to be connected to the Internet. These devices are smart home devices, industrial sensors, smart city facilities, etc. In order for these devices to be successfully connected to the network, a large number of IoT cards are needed. The distribution management device is a device used to manage and distribute IoT cards. It appears to meet the growing demand for IoT devices and ensure that IoT devices can be smoothly connected to the network and communicate data.
[0003] The prior art has the following deficiencies:
[0004] Traditional IoT card allocation and management methods are usually static, that is, allocation is based on pre-set rules or fixed parameters. This allocation method cannot effectively adapt to network needs and environmental changes, and thus cannot fully utilize the actual needs of each area or device in the network, resulting in insufficient or excessive resource allocation, causing resource waste and reducing the allocation efficiency of IoT cards. Summary of the invention
[0005] The purpose of the present invention is to provide an Internet of Things card allocation management method and device to solve the shortcomings of the background technology.
[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for managing the allocation of Internet of Things cards, the management method comprising the following steps:
[0007] The management device obtains the number of regional divisions of the city based on the city management platform and identifies each city area;
[0008] Monitor the network status of each area in the city in real time and collect regional attention demand data;
[0009] Generate corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data;
[0010] Dynamically adjust the allocation of IoT cards based on the allocation strategy. During the card allocation adjustment process, the management device provides security protection for the card allocation process.
[0011] Continuously monitor the distribution situation and network performance, generate management strategies based on the distribution situation and distribution effects, and feed back the distribution situation, distribution effects and management strategies to the urban management platform.
[0012] In a preferred embodiment, generating a corresponding allocation strategy based on real-time monitoring of network status and regional attention demand data includes the following steps:
[0013] Monitor the network status in real time, obtain the regional network fluctuation integral index, obtain the comprehensive index based on the regional attention demand data, and calculate the network fluctuation integral index and the comprehensive index by weighted calculation to obtain the allocation value for each region;
[0014] After obtaining the allocation value of the area, the larger the allocation value of the area, the more priority is needed to allocate IoT cards to the area, and all areas are sorted from large to small according to the allocation value to generate an area list;
[0015] After obtaining the demand for IoT cards in each area, dynamically allocate IoT cards to all areas.
[0016] In a preferred embodiment, the assignment function expression is:
[0017] , where Assign a value to the distribution, is the real-time network load change of the region, Add warning periods for traffic demand, This is the peak period of data transmission and the stable period of users. is the normalized value of the attention demand data of the ith region, is the number of regional attention demand data, is the network volatility integral index, is a comprehensive index, , are the weights of the network volatility score index and the comprehensive index respectively, and .
[0018] In a preferred embodiment, dynamically adjusting the allocation of IoT cards based on the allocation strategy includes the following steps:
[0019] The demand for IoT cards in each region is obtained through the city management platform, and the management device integrates the remaining number of IoT cards that can be used. If the total demand for IoT cards in all regions is less than or equal to the remaining number of IoT cards that can be used, the cards are allocated to each region in the positive order of the region list;
[0020] If the total demand for IoT cards in all regions is greater than the remaining number of IoT cards that can be used, the IoT cards are allocated by gradient threshold comparison, where the gradient threshold includes a first allocation threshold and a second allocation threshold, and the first allocation threshold is less than the second allocation threshold;
[0021] If the allocation value is greater than or equal to the second allocation threshold, the area is placed in the emergency set; if the allocation value is less than the second allocation threshold, and the allocation value is greater than or equal to the first allocation threshold, the area is placed in the demand set; if the allocation value is less than the first allocation threshold, the area is placed in the mitigation set;
[0022] IoT cards are allocated to areas in the emergency set and the demand set according to the demand. If, after the remaining IoT cards are allocated to areas in the mitigation set, the number of IoT cards allocated to any area in the mitigation set is less than half of the IoT card demand in that area, some of the IoT cards allocated in the demand set will be removed and allocated to the mitigation set until there is no area in all mitigation sets where the number of IoT cards allocated is less than half of the IoT card demand in that area.
[0023] In a preferred embodiment, the logic for obtaining the comprehensive index is: obtaining regional attention demand data of a region through the city management platform, where the regional attention demand data of a region includes traffic flow and ambient air pollution;
[0024] The traffic flow and ambient air pollution are normalized so that their values are mapped to [0,1]. The general expression of normalization is:
[0025] , where is the normalized value, is the actual monitored value, The historical minimum The historical maximum value is obtained. After obtaining the real-time traffic flow and ambient air pollution, the normalized traffic flow value is calculated by the normalization formula. And the normalized value of ambient air pollution .
[0026] In a preferred embodiment, the allocation situation and network performance are continuously monitored, a management strategy is generated according to the allocation situation and the allocation effect, and the allocation situation, the allocation effect and the management strategy are fed back to the city management platform, including the following steps:
[0027] For each area, continuously monitor the distribution of IoT cards and network performance. The distribution includes monitoring the number and location of IoT cards, and the network performance includes data transmission, network load, and sensor connection status.
[0028] For emergency assemblies, the monitoring period after the allocation of dynamic IoT cards needs to be shortened. For demand assemblies, the city management platform will choose whether to shorten the monitoring period after the allocation of dynamic IoT cards. For moderate assemblies, the monitoring period after the allocation of dynamic IoT cards will not be shortened.
[0029] The allocation situation, allocation effects and formulated management strategies are organized into a report format, and the generated report is fed back to the urban management platform.
[0030] In a preferred embodiment, the logic for obtaining the traffic demand increase warning period is: the management device monitors the network traffic output of the area in real time through a network traffic monitoring tool, and calculates the network traffic growth rate between the current moment and the previous moment. The function expression is: , where is the network traffic output at the current moment, is the network traffic output at the last moment, For the current moment, For the last moment, The network traffic growth rate is the rate at which traffic is increasing. When the monitored network traffic growth rate exceeds a preset traffic threshold, the period is marked and recorded as a traffic demand increase warning period.
[0031] In a preferred embodiment, the logic for obtaining the stable time period during the data transmission peak period is as follows: the historical data transmission peak time period of the region is obtained through the big database in the city management platform; when the monitoring area enters the data transmission peak time period, the number of users in the data transmission peak time period is monitored through a network monitoring tool, and the period when the number of users in the data transmission peak time period is lower than the number threshold is used as the stable time period during the data transmission peak period.
[0032] In a preferred embodiment, during the adjustment of the card allocation process, the management device performs security protection on the card allocation process, including the following steps:
[0033] The management device and the IoT card distribution system establish a communication channel by using an encryption protocol. Before performing the card distribution operation, the user's identity is authenticated, and the user who passes the identity authentication obtains the operation authority;
[0034] Control the user's access and operation rights to the card allocation function according to the user's role and authority level. During the card allocation process, the transmitted data is encrypted using an encryption algorithm.
[0035] Record the log information of card allocation operation, including operation time, operator and operation content;
[0036] Monitor abnormal behaviors or abnormal access during the card distribution process, including abnormal login attempts and illegal operation requests. If abnormalities are found, suspend the operation and send an alert.
[0037] An Internet of Things card allocation management device includes a region acquisition module, a network monitoring module, a demand acquisition module, a strategy generation module, a dynamic allocation module, a security module, and a monitoring module;
[0038] Region acquisition module: obtains the number of regional divisions of the city based on the city management platform and identifies each city region;
[0039] Network monitoring module: real-time monitoring of the network status of each area of the entire city, including network load, sensor connection status, and data transmission rate information;
[0040] Demand acquisition module: collects regional attention demand data;
[0041] Strategy generation module: Generates corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data;
[0042] Dynamic allocation module: dynamically adjusts the allocation of IoT cards based on allocation strategies;
[0043] Security module: Provides security protection for the card allocation process during the adjustment of card allocation;
[0044] Monitoring module: Continuously monitor the distribution situation and network performance, generate management strategies based on the distribution situation and distribution effect, and feed back the distribution situation, distribution effect and management strategies to the city management platform.
[0045] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0046] The present invention obtains the number of regional divisions of the city through the city management platform, identifies each city area, monitors the network status of each area of the entire city in real time, collects the attention demand data of the area, generates corresponding allocation strategies based on the real-time monitoring of the network status and the regional attention demand data, dynamically adjusts the allocation of Internet of Things cards based on the allocation strategy, continuously monitors the allocation situation and network performance, generates management strategies based on the allocation situation and allocation effect, and feeds back the allocation situation, allocation effect and management strategy to the city management platform. The management method adopts a dynamic management method, effectively adapts to network needs and environmental changes, thereby making full use of the actual needs of each area or device in the network, effectively avoiding resource waste and improving the allocation efficiency of Internet of Things cards. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings.
[0048] Figure 1 The present invention is a flow chart of the method.
[0049] Figure 2 It is a system module diagram of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0051] Example 1: Please refer to Figure 1 As shown, the present embodiment provides an Internet of Things card allocation management method, the management method comprising the following steps:
[0052] The management device obtains the number of regional divisions of the city based on the urban management platform, identifies each urban area, monitors the network status of each area of the entire city in real time, including network load, sensor connection status, data transmission rate and other information, collects regional attention demand data, such as the degree of attention to traffic flow, environmental pollution and other aspects, as well as the requirements for data transmission speed and reliability, generates corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, and dynamically adjusts the allocation of IoT cards based on the allocation strategy. In the process of adjusting card allocation, the management device ensures the security of allocation, including data transmission encryption, identity authentication and other measures to prevent unauthorized access and data leakage, continuously monitors allocation status and network performance, generates management strategies based on allocation status and allocation effect, and feeds back allocation status, allocation effect and management strategy to the urban management platform.
[0053] This application obtains the number of regional divisions of the city through the city management platform, identifies each city area, monitors the network status of each area of the entire city in real time, collects regional attention demand data, generates corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, dynamically adjusts the allocation of IoT cards based on the allocation strategy, continuously monitors the allocation situation and network performance, generates management strategies based on the allocation situation and allocation effect, and feeds back the allocation situation, allocation effect and management strategy to the city management platform. This management method adopts a dynamic management method to effectively adapt to network needs and environmental changes, thereby making full use of the actual needs of each area or device in the network, effectively avoiding resource waste and improving the allocation efficiency of IoT cards.
[0054] Embodiment 2: The management device obtains the number of urban area divisions based on the urban management platform and identifies each urban area, including the following steps:
[0055] Connecting to the city management platform: The management device connects to the city management platform through a suitable interface to obtain the city's regional division information. This involves using the API or other data interfaces provided by the city management platform.
[0056] Requesting the number of regional divisions: The management device sends a request to the city management platform to obtain the number of regional divisions in the city. The city management platform returns a data set or information containing the number of regions.
[0057] Parsing and processing data: After receiving the number of regional divisions in the city, the management device parses and processes the data. This includes converting the data into a format suitable for system processing and performing preliminary data verification and cleaning.
[0058] Area identification generation: The management device generates an identifier or code for identifying each urban area based on the number of regional divisions obtained. These identifiers are numbers, letters or other symbols used to uniquely identify each urban area.
[0059] Assigning identification to regions: The management device assigns the generated identifier or code to each urban region. The identifier is assigned to each region in an automated manner, ensuring that each region has a unique identifier.
[0060] Save and update identification information: The management device saves the generated area identification information to the system database or configuration file. When necessary, the identification information is updated or modified to keep it synchronized with the city management platform.
[0061] Real-time monitoring of the network status of various areas in the entire city, including network load, sensor connection status, data transmission rate and other information, includes the following steps:
[0062] Data collection and processing: The management device collects data from various monitoring devices in real time, and processes and analyzes the data. This includes steps such as data cleaning, format conversion, and data analysis for subsequent network status analysis and monitoring.
[0063] Network load monitoring: The management device monitors and analyzes the network load in each area. This is achieved by counting indicators such as network traffic, bandwidth utilization, and packet loss rate to evaluate the network load status.
[0064] Sensor connection status monitoring: The management device monitors the sensor connection status of each area. This includes checking the online status, connection stability, communication quality and other information of the sensor node to ensure that the sensor can work normally and transmit data in real time.
[0065] Data transmission rate monitoring: The management device monitors the data transmission rate of each area. This is achieved by monitoring the bandwidth, delay and other indicators of data transmission to evaluate the efficiency and speed of data transmission.
[0066] Real-time monitoring and alarm: The management device monitors the network status of each area in real time and generates alarms based on preset thresholds or rules. For example, if the network load in a certain area exceeds the preset threshold, the system generates an alarm and notifies relevant personnel to handle it.
[0067] Data visualization and analysis: The management device visualizes and analyzes the monitored network status data so that users can intuitively understand the network status of each area. It can be displayed in the form of charts, maps, dashboards, etc. to help users make decisions.
[0068] Collecting regional attention demand data, such as the degree of attention to traffic flow, environmental pollution, etc., as well as the requirements for data transmission speed and reliability, includes the following steps:
[0069] The management device is used to automatically collect the attention demand data of each area through the sensor network and real-time monitoring equipment, and define the attention indicators such as traffic flow, environmental pollution and other aspects according to the needs, and automatically collect the data generated by the sensor network or monitoring equipment, covering all aspects of the attention indicators. Including traffic monitoring data, environmental monitoring data, etc.; the management device processes and analyzes the collected data to extract the attention demand information of each area. Through data cleaning and statistical analysis technology, the processed data is converted into a visual form through charts, maps, dashboards, etc., so that users can intuitively understand the attention demand situation of each area, and regularly automatically update and maintain the data source to ensure the timeliness and accuracy of the data. It includes monitoring and maintaining the status of sensor equipment, optimizing and updating data processing and analysis algorithms, storing the processed data in a database or data warehouse, monitoring the attention demand data of each area in real time, and generating alarms according to preset thresholds. For example, if the traffic flow in a certain area exceeds the preset threshold, the system generates an alarm and notifies relevant personnel to pay attention.
[0070] Generate corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, including the following steps:
[0071] Monitor the network status in real time, obtain the regional network fluctuation integral index, obtain the comprehensive index based on the regional attention demand data, and calculate the network fluctuation integral index and the comprehensive index by weighted calculation to obtain the allocation value of each region. The function expression is:
[0072] , where Assign a value to the distribution, is the real-time network load change of the region, Add warning periods for traffic demand, This is the peak period of data transmission and the stable period of users. is the normalized value of the attention demand data of the ith region, is the number of regional attention demand data, is the network volatility integral index, is a comprehensive index, , are the weights of the network volatility score index and the comprehensive index respectively, and .
[0073] The logic for obtaining the comprehensive index is: obtaining the regional attention demand data of the region through the urban management platform. Taking this application as an example, the regional attention demand data of the region includes traffic flow and ambient air pollution;
[0074] When the traffic volume in a region increases, it will cause problems such as traffic congestion in the region. Therefore, the region needs to invest in the use of transportation infrastructure for auxiliary management, thereby increasing the demand for IoT cards in the region. Similarly, when the regional ambient air pollution increases, more environmental management equipment is needed for ambient air management, which also increases the demand for IoT cards.
[0075] The traffic flow and ambient air pollution are normalized so that their values are mapped to [0,1]. The general expression of normalization is:
[0076] , where is the normalized value, is the actual monitored value, The historical minimum The historical maximum value is obtained. After obtaining the real-time traffic flow and ambient air pollution, the normalized traffic flow value is calculated by the normalization formula. And the normalized value of ambient air pollution ;
[0077] The logic for obtaining ambient air pollution is as follows: Common pollutants in the environment include particulate matter (PM2.5, PM10), sulfur dioxide (SO2), nitrogen dioxide (NO2), carbon monoxide (CO), etc. The functional expression of ambient air pollution is:
[0078] , is the ambient air pollution degree, is the concentration of each pollutant monitored in the environment. Indicates selecting the maximum value of each pollutant concentration.
[0079] In this embodiment, only traffic flow and ambient air pollution are given as examples. In actual applications, infrastructure needs, social service needs, etc. are also included, which are not given examples one by one here.
[0080] The logic for obtaining the warning period of increased traffic demand is as follows: the management device monitors the network traffic output of the area in real time through the network traffic monitoring tool, and calculates the network traffic growth rate between the current moment and the previous moment. The function expression is: , where is the network traffic output at the current moment, is the network traffic output at the last moment, For the current moment, For the last moment, The network traffic growth rate is the rate at which network traffic increases. When the monitored network traffic growth rate exceeds the preset traffic threshold, the period is marked and recorded as a traffic demand increase warning period. The longer the traffic demand increase warning period lasts, the greater the network traffic demand in the area, and the more it is necessary to prioritize the allocation of IoT cards to the area. Specifically:
[0081] Ensure network quality: When the traffic demand increase warning period lasts for a long time, network congestion, transmission delay and other problems will occur, affecting the user's network experience. By prioritizing the allocation of IoT card resources, the network capacity of the area is increased, the network pressure is reduced, and the network quality is improved to ensure the user's communication quality and experience.
[0082] Meeting user needs: In areas with sustained high traffic demand, users have relatively high demands for network resources. By giving priority to allocating IoT card resources, users’ communication needs can be better met, user satisfaction can be improved, user stickiness can be enhanced, and user retention and development can be facilitated for network operators.
[0083] Improve network efficiency: By allocating IoT card resources to areas with greater traffic demand first, we can optimize the use of network resources and improve the overall efficiency of the network. Reasonable resource allocation can reduce network congestion and resource waste, and improve network operation efficiency and performance.
[0084] Reduce network risks: If resources are not optimized and allocated in time in areas with continuous high traffic demand, network failures, unstable services and other problems will occur, increasing the operational risks of network operators. By prioritizing the allocation of IoT card resources, the risks of network failures and service interruptions can be reduced, ensuring the stable operation of the network.
[0085] The logic for obtaining the stable user period during the data transmission peak period is as follows: obtain the regional historical data transmission peak period through the big database in the city management platform. When the monitoring area enters the data transmission peak period, monitor the number of users in the data transmission peak period through the network monitoring tool, and take the period when the number of users in the data transmission peak period is lower than the number threshold as the stable user period during the data transmission peak period. The shorter the stable user period during the data transmission peak period, the more users there are during the data transmission peak period, and the more it is necessary to prioritize the allocation of IoT cards to the area. Specifically:
[0086] Meeting peak demand: When the user stable period is short during the data transmission peak period, it means that the number of users is concentrated and fluctuates greatly during this period, and the sudden increase in network demand leads to network congestion and unstable service. By prioritizing the allocation of IoT card resources, the network capacity of the area is increased, the network pressure is relieved, and the user needs can be met during peak hours.
[0087] Improve user experience: During peak data transmission periods, when the user stable period is short, users face problems such as data transmission delays and speed drops, which affect their network experience. By prioritizing the allocation of IoT card resources, the communication quality of users in the area is improved, the user experience is enhanced, and the user satisfaction and trust in network services are enhanced.
[0088] Reduce network congestion: During peak data transmission periods, the short user stability period will lead to frequent network congestion, affecting the operating efficiency of the entire network. By prioritizing the allocation of IoT card resources, the network capacity can be increased during peak hours, the occurrence of network congestion can be reduced, and the overall operating efficiency and stability of the network can be improved.
[0089] Enhance competitive advantage: In areas with a large number of users and large fluctuations, by prioritizing the allocation of IoT card resources, network operators can better meet user needs, improve service quality, enhance competitive advantages, and help consolidate and expand market share.
[0090] After obtaining the allocation value of the area, the larger the allocation value of the area, the more it needs to prioritize the allocation of IoT cards to the area. All areas are sorted from large to small according to the allocation value, and a list of areas is generated to obtain the demand for IoT cards in each area, and dynamically allocate IoT cards to all areas.
[0091] Dynamically adjust the allocation of IoT cards based on the allocation strategy, including the following steps:
[0092] In this application, IoT cards are dynamically allocated to all areas based on adaptive rules, and the definition logic of the adaptive rules is:
[0093] The demand for IoT cards in each region is obtained through the city management platform, and the management device integrates the remaining number of IoT cards that can be used. If the total demand for IoT cards in all regions is less than or equal to the remaining number of IoT cards that can be used, the cards are allocated to each region in the positive order of the region list;
[0094] If the total demand for IoT cards in all regions is greater than the remaining number of IoT cards that can be used, the IoT cards are allocated by gradient threshold comparison, where the gradient threshold includes a first allocation threshold and a second allocation threshold, and the first allocation threshold is less than the second allocation threshold;
[0095] If the allocation value is greater than or equal to the second allocation threshold, the area is placed in the emergency set; if the allocation value is less than the second allocation threshold, and the allocation value is greater than or equal to the first allocation threshold, the area is placed in the demand set; if the allocation value is less than the first allocation threshold, the area is placed in the mitigation set;
[0096] IoT cards are allocated to areas in the emergency set and the demand set according to the demand. If, after the remaining IoT cards are allocated to areas in the mitigation set, the number of IoT cards allocated to any area in the mitigation set is less than half of the IoT card demand in that area, some of the IoT cards allocated in the demand set will be removed and allocated to the mitigation set until there is no area in all mitigation sets where the number of IoT cards allocated is less than half of the IoT card demand in that area.
[0097] For example, if there are areas A and B in the demand set, the number of IoT cards allocated to area A is 20, and the number of IoT cards allocated to area B is 30, and there are areas C and D in the mitigation set, the number of IoT cards allocated to area C is 8, and the number of IoT cards allocated to area D is 3. Since the demand for IoT cards in area D is 10, the number of IoT cards allocated to area D is less than half of the demand. In this case, one IoT card is removed from area A and area B and allocated to area D, and so on.
[0098] It should be noted that if during the dynamic allocation process, the number of IoT cards allocated in any area of the demand set is less than half of the IoT card demand in that area, the management device will stop removing IoT cards from the demand set and allocating them to the mitigation set, and send the regional information where the number of IoT cards allocated in the mitigation set is less than half of the IoT card demand in that area to the city management platform.
[0099] The management device ensures the security of the distribution, including encryption of data transmission, identity authentication and other measures to prevent unauthorized access and data leakage, including the following steps:
[0100] Establish a secure channel: Establish a secure communication channel between the management device and the IoT card distribution system to ensure the security and integrity of data transmission. This can be achieved by using encryption protocols (such as SSL / TLS) or virtual private networks (VPN) and other technologies.
[0101] Identity verification: Before card distribution, the management device verifies the user's identity to ensure that only authorized users can perform operations. This is achieved through username and password verification, two-factor authentication, biometric recognition, etc.
[0102] Access Control: The management device implements a strict access control policy to limit user access to the system. Based on the user role and permission level, the access and operation rights of the card allocation function are controlled.
[0103] Data encryption: During the card distribution process, the management device encrypts the transmitted data to prevent the data from being stolen or tampered with by unauthorized visitors. Common encryption algorithms include AES, RSA, etc. You can choose the appropriate encryption algorithm and key length according to your needs.
[0104] Security audit: The management device records the log information of the card distribution operation, including the operation time, operator, operation content, etc., for security audit and traceability. This helps to timely discover abnormal operations and security incidents and take corresponding countermeasures.
[0105] Abnormal detection and response: The management device implements an abnormal detection mechanism to monitor abnormal behaviors or abnormal access during the card distribution process, such as abnormal login attempts, illegal operation requests, etc. Once an abnormality is found, the corresponding response measures are taken immediately, such as suspending operations, sending alarms, etc.
[0106] Regular vulnerability scanning and security updates: The management device performs vulnerability scanning and security updates regularly to promptly patch security vulnerabilities in the system to prevent hackers from exploiting known vulnerabilities to attack and invade.
[0107] In this application, the security protection of the process of allocating IoT cards by using encryption protocols (such as SSL / TLS) or virtual private networks (VPN) and other technologies belongs to the prior art and will not be elaborated on here.
[0108] Continuously monitor the allocation situation and network performance, generate management strategies based on the allocation situation and allocation effect, and feed back the allocation situation, allocation effect and management strategy to the city management platform, including the following steps:
[0109] Continuously monitor the distribution and network performance: For each area, continuously monitor the distribution and network performance of IoT cards. This includes monitoring the number of IoT cards distributed, distribution location, data transmission, network load, sensor connection status, and other information.
[0110] Generate management strategies: According to the monitoring results, formulate corresponding management strategies for emergency assembly, demand assembly and mitigation assembly. For emergency assembly, it is necessary to shorten the monitoring period after the allocation of dynamic IoT cards, and give priority to ensuring stable network operation; for demand assembly, the city management platform will choose whether to shorten the monitoring period after the allocation of dynamic IoT cards; for mitigation assembly, the monitoring period after the allocation of dynamic IoT cards will not be shortened.
[0111] Generate reports: Organize the allocation, allocation effect and formulated management strategy into a report form. The report should clearly present the monitoring results, formulated management strategy and expected effect of each area.
[0112] Feedback to the city management platform: Feedback the generated reports to the city management platform. This can be achieved through an automated system, uploading the reports directly to the platform, or uploading them after manual review. The city management platform can use this information for comprehensive analysis and decision making to optimize the city's IoT card allocation management and network operations.
[0113] Example 3: Please refer to Figure 2 As shown, the IoT card allocation management device described in this embodiment includes a region acquisition module, a network monitoring module, a demand acquisition module, a strategy generation module, a dynamic allocation module, a security module, and a monitoring module;
[0114] Area acquisition module: obtains the number of urban area divisions based on the urban management platform, identifies each urban area, and sends the area identification information to the network monitoring module and the demand acquisition module;
[0115] Network monitoring module: real-time monitoring of the network status of each area of the city, including network load, sensor connection status, data transmission rate and other information, and the monitored network status information is sent to the strategy generation module;
[0116] Demand acquisition module: collects regional attention demand data, such as the degree of attention to traffic flow, environmental pollution, etc., as well as the requirements for data transmission speed and reliability, and sends the collected attention demand data to the strategy generation module;
[0117] Strategy generation module: Generates corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, and sends the allocation strategies to the dynamic allocation module;
[0118] Dynamic allocation module: dynamically adjusts the allocation of IoT cards based on the allocation strategy, and sends the allocation status to the monitoring module;
[0119] Security module: During the card allocation process, the management device ensures the security of the allocation, including encryption of data transmission, identity authentication and other measures to prevent unauthorized access and data leakage;
[0120] Monitoring module: Continuously monitor the distribution situation and network performance, generate management strategies based on the distribution situation and distribution effect, and feed back the distribution situation, distribution effect and management strategies to the city management platform.
[0121] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0122] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described are combined in any one or more embodiments or examples in a suitable manner.
[0123] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for allocating and managing IoT cards, Features: The management method comprises the following steps: The management device obtains the number of regional divisions of the city based on the city management platform and identifies each city area; Monitor the network status of each area in the city in real time and collect regional attention demand data; Generate corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data; Dynamically adjust the allocation of IoT cards based on the allocation strategy. During the card allocation adjustment process, the management device provides security protection for the card allocation process. Continuously monitor the allocation situation and network performance, generate management strategies based on the allocation situation and allocation effect, and feed back the allocation situation, allocation effect and management strategy to the city management platform; Generate corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, including the following steps: Monitor the network status in real time, obtain the regional network fluctuation integral index, obtain the comprehensive index based on the regional attention demand data, and calculate the network fluctuation integral index and the comprehensive index by weighted calculation to obtain the allocation value for each region; After obtaining the allocation value of the area, the larger the allocation value of the area, the more priority is needed to allocate IoT cards to the area, and all areas are sorted from large to small according to the allocation value to generate an area list; After obtaining the demand for IoT cards in each area, dynamically allocate IoT cards to all areas; The assignment function expression is: , where Assign a value to the distribution, is the real-time network load change of the region, Add warning periods for traffic demand, This is the peak period of data transmission and the stable period of users. is the normalized value of the attention demand data of the ith region, is the number of regional attention demand data, is the network volatility integral index, is a comprehensive index, , are the weights of the network volatility score index and the comprehensive index respectively, and ; Dynamically adjust the allocation of IoT cards based on the allocation strategy, including the following steps: The demand for IoT cards in each region is obtained through the city management platform, and the management device integrates the remaining number of IoT cards that can be used. If the total demand for IoT cards in all regions is less than or equal to the remaining number of IoT cards that can be used, the cards are allocated to each region in the positive order of the region list; If the total demand for IoT cards in all regions is greater than the remaining number of IoT cards that can be used, the IoT cards are allocated by gradient threshold comparison, where the gradient threshold includes a first allocation threshold and a second allocation threshold, and the first allocation threshold is less than the second allocation threshold; If the allocation value is greater than or equal to the second allocation threshold, the area is placed in the emergency set; if the allocation value is less than the second allocation threshold, and the allocation value is greater than or equal to the first allocation threshold, the area is placed in the demand set; if the allocation value is less than the first allocation threshold, the area is placed in the mitigation set; Allocate IoT cards to the areas in the emergency set and the demand set according to the demand. If, after the remaining IoT cards are allocated to the areas in the mitigation set, the number of IoT cards allocated to any area in the mitigation set is less than half of the IoT card demand in that area, then part of the IoT cards allocated in the demand set will be removed and allocated to the mitigation set until there is no area in all mitigation sets where the number of IoT cards allocated is less than half of the IoT card demand in that area. The logic of obtaining the comprehensive index is as follows: obtaining the regional attention demand data of the region through the urban management platform. The regional attention demand data of the region includes traffic flow and ambient air pollution; The traffic flow and ambient air pollution are normalized so that their values are mapped to [0,1]. The general expression of normalization is: , where is the normalized value, is the actual monitored value, The historical minimum The historical maximum value is obtained. After obtaining the real-time traffic flow and ambient air pollution, the normalized traffic flow value is calculated by the normalization formula. And the normalized value of ambient air pollution ; Continuously monitor the allocation situation and network performance, generate management strategies based on the allocation situation and allocation effect, and feed back the allocation situation, allocation effect and management strategy to the city management platform, including the following steps: For each area, continuously monitor the distribution of IoT cards and network performance. The distribution includes monitoring the number and location of IoT cards, and the network performance includes data transmission, network load, and sensor connection status. For emergency assemblies, the monitoring period after the allocation of dynamic IoT cards needs to be shortened. For demand assemblies, the city management platform will choose whether to shorten the monitoring period after the allocation of dynamic IoT cards. For moderate assemblies, the monitoring period after the allocation of dynamic IoT cards will not be shortened. Organize the allocation situation, allocation effect and formulated management strategy into a report form, and feed the generated report back to the city management platform; The logic for obtaining the traffic demand increase warning period is as follows: the management device monitors the network traffic output of the area in real time through the network traffic monitoring tool, and calculates the network traffic growth rate between the current moment and the previous moment. The function expression is: , where is the network traffic output at the current moment, is the network traffic output at the last moment, For the current moment, For the last moment, The network traffic growth rate is a traffic demand increase rate. When the monitored network traffic growth rate exceeds a preset traffic threshold, the period is marked and recorded as a traffic demand increase warning period. The logic for obtaining the stable time period during the data transmission peak period is as follows: the historical data transmission peak time period of the region is obtained through the big database in the city management platform; when the monitoring area enters the data transmission peak time period, the number of users in the data transmission peak time period is monitored through the network monitoring tool, and the time period during which the number of users in the data transmission peak time period is lower than the number threshold is taken as the stable time period during the data transmission peak period.
2. According to claim 1, a method for managing allocation of Internet of Things cards, Features: In the process of adjusting the card allocation, the management device performs security protection on the card allocation process, including the following steps: The management device and the IoT card distribution system establish a communication channel by using an encryption protocol. Before performing the card distribution operation, the user's identity is authenticated, and the user who passes the identity authentication obtains the operation authority; Control the user's access and operation rights to the card allocation function according to the user's role and authority level. During the card allocation process, the transmitted data is encrypted using an encryption algorithm. Record the log information of card allocation operation, including operation time, operator and operation content; Monitor abnormal behaviors or abnormal access during the card distribution process, including abnormal login attempts and illegal operation requests. If abnormalities are found, suspend the operation and send an alert.
3. An IoT card allocation management device, used to implement the management method described in claim 1 or 2, Features: It includes area acquisition module, network monitoring module, demand acquisition module, strategy generation module, dynamic allocation module, security module and monitoring module; Region acquisition module: obtains the number of regional divisions of the city based on the city management platform and identifies each city region; Network monitoring module: real-time monitoring of the network status of each area of the entire city, including network load, sensor connection status, and data transmission rate information; Demand acquisition module: collects regional attention demand data; Strategy generation module: Generates corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data; Dynamic allocation module: dynamically adjusts the allocation of IoT cards based on allocation strategies; Security module: Provides security protection for the card allocation process during the adjustment of card allocation; Monitoring module: Continuously monitors the allocation situation and network performance, generates management strategies based on the allocation situation and allocation effect, and feeds back the allocation situation, allocation effect and management strategy to the city management platform; Generate corresponding allocation strategies based on real-time monitoring of network status and regional attention demand data, including the following steps: Monitor the network status in real time, obtain the regional network fluctuation integral index, obtain the comprehensive index based on the regional attention demand data, and calculate the network fluctuation integral index and the comprehensive index by weighted calculation to obtain the allocation value for each region; After obtaining the allocation value of the area, the larger the allocation value of the area, the more priority is needed to allocate IoT cards to the area, and all areas are sorted from large to small according to the allocation value to generate an area list; After obtaining the demand for IoT cards in each area, dynamically allocate IoT cards to all areas; The assignment function expression is: , where Assign a value to the distribution, is the real-time network load change of the region, Add warning periods for traffic demand, This is the peak period of data transmission and the stable period of users. is the normalized value of the attention demand data of the ith region, is the number of regional attention demand data, is the network volatility integral index, is a comprehensive index, , are the weights of the network volatility score index and the comprehensive index respectively, and ; Dynamically adjust the allocation of IoT cards based on the allocation strategy, including the following steps: The demand for IoT cards in each region is obtained through the city management platform, and the management device integrates the remaining number of IoT cards that can be used. If the total demand for IoT cards in all regions is less than or equal to the remaining number of IoT cards that can be used, the cards are allocated to each region in the positive order of the region list; If the total demand for IoT cards in all regions is greater than the remaining number of IoT cards that can be used, the IoT cards are allocated by gradient threshold comparison, where the gradient threshold includes a first allocation threshold and a second allocation threshold, and the first allocation threshold is less than the second allocation threshold; If the allocation value is greater than or equal to the second allocation threshold, the area is placed in the emergency set; if the allocation value is less than the second allocation threshold, and the allocation value is greater than or equal to the first allocation threshold, the area is placed in the demand set; if the allocation value is less than the first allocation threshold, the area is placed in the mitigation set; Allocate IoT cards to the areas in the emergency set and the demand set according to the demand. If, after the remaining IoT cards are allocated to the areas in the mitigation set, the number of IoT cards allocated to any area in the mitigation set is less than half of the IoT card demand in that area, then part of the IoT cards allocated in the demand set will be removed and allocated to the mitigation set until there is no area in all mitigation sets where the number of IoT cards allocated is less than half of the IoT card demand in that area. The logic of obtaining the comprehensive index is as follows: obtaining the regional attention demand data of the region through the urban management platform. The regional attention demand data of the region includes traffic flow and ambient air pollution; The traffic flow and ambient air pollution are normalized so that their values are mapped to [0,1]. The general expression of normalization is: , where is the normalized value, is the actual monitored value, The historical minimum The historical maximum value is obtained. After obtaining the real-time traffic flow and ambient air pollution, the normalized traffic flow value is calculated by the normalization formula. And the normalized value of ambient air pollution ; Continuously monitor the allocation situation and network performance, generate management strategies based on the allocation situation and allocation effect, and feed back the allocation situation, allocation effect and management strategy to the city management platform, including the following steps: For each area, continuously monitor the distribution of IoT cards and network performance. The distribution includes monitoring the number and location of IoT cards, and the network performance includes data transmission, network load, and sensor connection status. For emergency assemblies, the monitoring period after the allocation of dynamic IoT cards needs to be shortened. For demand assemblies, the city management platform will choose whether to shorten the monitoring period after the allocation of dynamic IoT cards. For moderate assemblies, the monitoring period after the allocation of dynamic IoT cards will not be shortened. Organize the allocation situation, allocation effect and formulated management strategy into a report form, and feed the generated report back to the city management platform; The logic for obtaining the traffic demand increase warning period is as follows: the management device monitors the network traffic output of the area in real time through the network traffic monitoring tool, and calculates the network traffic growth rate between the current moment and the previous moment. The function expression is: , where is the network traffic output at the current moment, is the network traffic output at the last moment, For the current moment, For the last moment, The network traffic growth rate is a traffic demand increase rate. When the monitored network traffic growth rate exceeds a preset traffic threshold, the period is marked and recorded as a traffic demand increase warning period. The logic for obtaining the stable time period during the data transmission peak period is as follows: the historical data transmission peak time period of the region is obtained through the big database in the city management platform; when the monitoring area enters the data transmission peak time period, the number of users in the data transmission peak time period is monitored through the network monitoring tool, and the time period during which the number of users in the data transmission peak time period is lower than the number threshold is taken as the stable time period during the data transmission peak period.
