CN112770354A - Cellular communication Internet of things terminal data uploading method based on redis - Google Patents
Cellular communication Internet of things terminal data uploading method based on redis Download PDFInfo
- Publication number
- CN112770354A CN112770354A CN202011636932.7A CN202011636932A CN112770354A CN 112770354 A CN112770354 A CN 112770354A CN 202011636932 A CN202011636932 A CN 202011636932A CN 112770354 A CN112770354 A CN 112770354A
- Authority
- CN
- China
- Prior art keywords
- equipment
- base station
- redis
- data
- time period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0289—Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/535—Allocation or scheduling criteria for wireless resources based on resource usage policies
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a cellular communication Internet of things terminal data uploading method based on redis, wherein a redis storage system stores information such as ID, cellid and tac of terminal equipment; the method comprises the steps of analyzing the timing active uplink message of each intelligent terminal device through the large data of the platform background, extracting key device parameter information including a terminal ID, a base station cellid, a base station tac and the like, and realizing discrete calculation of the next active reporting time of each device by combining with redis, so that the risk of concurrent reporting of a large number of device nodes is staggered, the power consumption of the devices is reduced to the maximum extent, and load balancing is realized.
Description
Technical Field
The invention relates to a communication technology, in particular to a low-power-consumption basic data transmission technology of the Internet of things.
Background
The method is limited by the capacity limit of a base station (such as an NBIOT base station), the number of terminals allowed to be accessed by the base station is limited, for example, automatic meter reading gas meters need to upload data frequently, one NBIOT base station may be connected with tens of thousands of gas meters, when a large number of metering devices gather in a time period to send data, the instantaneous connection number of the accessed base station is particularly large, and after the moment, the base station is in an idle state, and the load of the base station in different time periods is too unbalanced. In the traditional cellular communication with high power consumption, such as mobile communication and other technologies, equipment can be continuously connected or switched to other base stations, but the field of the internet of things is communication based on low power consumption, and the traditional communication mode with high power consumption is not applicable, so that the situations that data reported by some meters is lost or data is delayed too long and the like occur in peak periods, and the data execution efficiency and the equipment power consumption are directly influenced.
Disclosure of Invention
The invention aims to provide a data internet of things data uploading method which staggers a large number of equipment nodes to be reported concurrently, has low equipment power consumption and balances load.
In order to achieve the purpose, the cellular communication internet of things terminal data uploading method based on redis is achieved, the device comprises a low-power-consumption base station based on the internet of things and internet of things terminal equipment communicated with the base station, and a redis storage system is further arranged and used for storing information such as ID (identity) of the terminal equipment, cellid of the base station, tac of the base station and the like; the data uploading method comprises the following processes:
1. the terminal equipment is awakened from the PSM state and actively reports metering and equipment state data;
2. the server receives an uplink data message of the equipment, and extracts information such as a terminal ID, a base station cellid, a base station tac and the like according to a message data analysis rule;
3, comparing the parameter with the base station information stored in the redis list, and if the record does not exist, executing the next step; if the data records exist and are consistent, no processing is performed; if the data records exist but are not consistent, deleting the previous base station information of the equipment, storing the released idle time period and then executing the next step;
4, obtaining the idle time period of the current base station of the equipment, if the idle time period does not exist, calculating the reasonable reporting time period of the equipment according to the equipment quantity of the current base station in a modulo manner, if the idle time period exists, directly taking the taken-out idle time period as the next reporting time of the equipment, and generating a configuration change instruction by the server according to the calculated reporting time and sending the configuration change instruction to the equipment;
5. and after receiving the configuration instruction of the server, the equipment resets and updates the active reporting time.
By adopting the scheme, the intelligent terminal equipment regularly and actively analyzes the uplink message through the large data of the platform background, extracts the parameter information of the key equipment, including the terminal ID, the base station cellid, the base station tac and the like, and realizes the discrete calculation of the next active reporting time of each equipment by combining with the redis, so that the risk of the concurrent reporting of a large number of equipment nodes is staggered, the power consumption of the equipment is maximally reduced, and the load balance is realized.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
In order to explain technical contents, structural features, and objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
The invention is realized by a List List and a sorted set ordered set of redis, which is a key-value storage system. The value types which support storage comprise string, list, set, zset and hash. These data types all support push/pop, add/remove, and intersect union and difference, and richer operations, and these operations are all atomic. The redis periodically writes updated data into a disk or writes modification operation into an additional recording file, and realizes master-slave synchronization on the basis of the updated data or the modification operation.
Discrete time calculation: 5 seconds apart, (table index value% 86400/5 at tac _ cid _ zset) × 5;
list tac _ cid _ del: storing the table terminal switching base station action under the base station; ordered set tac _ cid _ zset:
storing the table terminal information under the base station; hash table devices _ cids: and storing the information of the last secondary base station at the table end in the format of imei: tac _ cid.
Referring to fig. 1, the process of the present invention is as follows,
1. the equipment is awakened from a PSM state, namely a power saving Mode (PowerSaving Mode), and measurement and equipment state data are actively reported;
2. the platform receives an uplink data message of the equipment, and extracts equipment parameters such as imei, cellid, tac and the like according to a message data analysis rule
3. Comparing the parameter with the base station information stored in the devices _ cids list, and if the record does not exist, executing the next step; if the data records exist and are consistent, no processing is performed; if the data records exist but are inconsistent, taking out a fractional value S1 of the original tac _ cid _ zset, adding an S1imei _ del member to the position of the original tac _ cid _ zset, removing the imei member, adding an imei _ S1 element in the original tac _ cid _ del, generating an instruction, issuing the instruction, and executing the 5 th step;
4. taking out a first element imei _ score value of tac _ cid _ del, if the first element imei _ score value does not exist, acquiring the number of members of tac _ cid _ zset as score values, adding the members to the tac _ cid _ zset, if the tac _ cid _ del exists, resolving value, acquiring the score values, adding the members to the tac _ cid _ zset, deleting the occupied members in the score values, calculating the next reporting time of the equipment according to the index values of the table in the tac _ cid _ zset in a modulo mode, and generating and issuing instructions;
5. and after receiving the platform instruction, the equipment resets and updates the active reporting time.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (1)
1. A cellular communication Internet of things terminal data uploading method based on redis is realized, equipment comprises a low-power-consumption base station based on the Internet of things and Internet of things terminal equipment communicated with the base station, and the method is characterized in that: a redis storage system is also arranged for storing information such as ID, cellid and tac of the terminal equipment; the data uploading method comprises the following processes:
(1) the terminal equipment is awakened from the PSM state and actively reports metering and equipment state data;
(2) the server receives an uplink data message of the equipment, and extracts information such as a terminal ID, a base station cellid, a base station tac and the like according to a message data analysis rule;
(3) comparing the parameter with the base station information stored in the redis list, and if the record does not exist, executing the next step; if the data records exist and are consistent, no processing is performed; if the data records exist but are not consistent, deleting the previous base station information of the equipment, storing the released idle time period and then executing the next step;
(4) acquiring the idle time period of the current base station of the equipment, if the idle time period does not exist, calculating the reasonable reporting time period of the equipment according to the equipment quantity of the current base station in a modulo mode, if the idle time period exists, directly taking the extracted idle time period as the next reporting time of the equipment, and generating a configuration change instruction by the server according to the calculated reporting time and sending the configuration change instruction to the equipment;
(5) and after receiving the configuration instruction of the server, the equipment resets and updates the active reporting time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011636932.7A CN112770354A (en) | 2020-12-31 | 2020-12-31 | Cellular communication Internet of things terminal data uploading method based on redis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011636932.7A CN112770354A (en) | 2020-12-31 | 2020-12-31 | Cellular communication Internet of things terminal data uploading method based on redis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112770354A true CN112770354A (en) | 2021-05-07 |
Family
ID=75698100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011636932.7A Pending CN112770354A (en) | 2020-12-31 | 2020-12-31 | Cellular communication Internet of things terminal data uploading method based on redis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112770354A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568939A (en) * | 2021-08-05 | 2021-10-29 | 宁畅信息产业(北京)有限公司 | Energy consumption monitoring method and device, server and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109086279A (en) * | 2017-06-13 | 2018-12-25 | 北京京东尚科信息技术有限公司 | Caching report method and apparatus |
CN109511133A (en) * | 2017-09-14 | 2019-03-22 | 西安中兴新软件有限责任公司 | A kind of method and device waking up processing |
CN109618411A (en) * | 2019-01-21 | 2019-04-12 | 深圳高新兴物联科技有限公司 | Data are avoided the peak hour report method, device, equipment and computer readable storage medium |
CN109639843A (en) * | 2019-02-26 | 2019-04-16 | 青岛海信移动通信技术股份有限公司 | Data transmission method and device |
CN110162529A (en) * | 2019-05-27 | 2019-08-23 | 广州华多网络科技有限公司 | A kind of data processing method, service server and data processing system |
CN110909008A (en) * | 2019-11-15 | 2020-03-24 | 政采云有限公司 | Data acquisition method and device and related equipment |
-
2020
- 2020-12-31 CN CN202011636932.7A patent/CN112770354A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109086279A (en) * | 2017-06-13 | 2018-12-25 | 北京京东尚科信息技术有限公司 | Caching report method and apparatus |
CN109511133A (en) * | 2017-09-14 | 2019-03-22 | 西安中兴新软件有限责任公司 | A kind of method and device waking up processing |
CN109618411A (en) * | 2019-01-21 | 2019-04-12 | 深圳高新兴物联科技有限公司 | Data are avoided the peak hour report method, device, equipment and computer readable storage medium |
CN109639843A (en) * | 2019-02-26 | 2019-04-16 | 青岛海信移动通信技术股份有限公司 | Data transmission method and device |
CN110162529A (en) * | 2019-05-27 | 2019-08-23 | 广州华多网络科技有限公司 | A kind of data processing method, service server and data processing system |
CN110909008A (en) * | 2019-11-15 | 2020-03-24 | 政采云有限公司 | Data acquisition method and device and related equipment |
Non-Patent Citations (4)
Title |
---|
GREGORY GREFENSTETTE等: "Search-Based Applications: At the Confluence of Search and Database Technologies", 《IEEE》 * |
刘俊龙等: "基于Redis的海量互联网小文件实时存储与索引策略研究", 《计算机研究与发展》 * |
叶英韡: "基于移动终端的智慧城管违法处罚系统设计与实现", 《浙江农林大学硕士论文》 * |
贾冠一: "智联网关管理平台的设计与实现", 《北京交通大学硕士论文》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568939A (en) * | 2021-08-05 | 2021-10-29 | 宁畅信息产业(北京)有限公司 | Energy consumption monitoring method and device, server and computer readable storage medium |
CN113568939B (en) * | 2021-08-05 | 2024-05-24 | 宁畅信息产业(北京)有限公司 | Energy consumption monitoring method, device, server and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110321387B (en) | Data synchronization method, equipment and terminal equipment | |
US10176208B2 (en) | Processing time series data from multiple sensors | |
CN109918349B (en) | Log processing method, log processing device, storage medium and electronic device | |
CN107766575B (en) | Read-write separation database access method and device | |
CN103942287B (en) | Mass data processing method, database server and application server | |
CN111064634A (en) | Method and device for monitoring mass Internet of things terminal online state | |
CN106339273A (en) | Application program restoration method, terminal and server | |
CN112770354A (en) | Cellular communication Internet of things terminal data uploading method based on redis | |
CN102881143B (en) | Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system | |
CN116737482A (en) | Method and device for collecting chip test data in real time and electronic equipment | |
CN111046081A (en) | Access method and system for industrial time sequence data | |
CN103607731A (en) | Method and device for processing measurement reports | |
CN105095224A (en) | Method, apparatus and system for carrying out OLAP analysis in mobile communication network | |
CN102170476B (en) | Cloud computing method and device based on cloud node autonomic learning | |
WO2024001333A1 (en) | Improving performance of row table to columnar table replication | |
CN111367916A (en) | Data storage method and device | |
CN116016117A (en) | Network equipment operation and maintenance data acquisition method and system, electronic equipment and storage medium | |
CN113434604B (en) | Time sequence database synchronization method, system, equipment and storage medium | |
KR20160097502A (en) | Ems server and log data management method thereof | |
CN115391286A (en) | Link tracking data management method, device, equipment and storage medium | |
CN105094265A (en) | Electric quantity testing method and device | |
CN113360576A (en) | Power grid mass data real-time processing method and device based on Flink Streaming | |
CN109471892A (en) | Data-base cluster data processing method and device, storage medium and terminal | |
CN115604667B (en) | Message sending method, device, computer equipment and storage medium | |
CN108881401A (en) | Joint behavior document handling method, intermediate server, node, system and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210507 |