CN107948089A - The load-balancing method uploaded based on NB IoT network measurements device data - Google Patents
The load-balancing method uploaded based on NB IoT network measurements device data Download PDFInfo
- Publication number
- CN107948089A CN107948089A CN201810022722.5A CN201810022722A CN107948089A CN 107948089 A CN107948089 A CN 107948089A CN 201810022722 A CN201810022722 A CN 201810022722A CN 107948089 A CN107948089 A CN 107948089A
- Authority
- CN
- China
- Prior art keywords
- time
- data
- internet
- measuring equipment
- things server
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses the load-balancing method uploaded based on NB IoT network measurements device data.It is related to and is based on NB IOT measuring equipment data uploading files field.Include the following steps:Measuring equipment is after installation is complete, and Internet of Things server sets measuring equipment to upload fixed point time of data next time according to customer demand;Internet of Things server calculates the precise time of measuring equipment upload next time data according to time hashing algorithm;Internet of Things server transmits the next precise time for uploading data to measuring equipment;Measuring equipment uploads data to Internet of Things server according to fixed point time and precise time.The present invention by by Internet of Things server each measuring equipment upload data after, calculated using time hashing algorithm and notify measuring equipment to upload the specific time of data next time, realize magnanimity measuring equipment to Internet of Things server upload data when load balancing, avoid Internet of Things server or base station because mass data and meanwhile upload cause paralyse the problem of.
Description
Technical field
The invention belongs to based on NB-IOT measuring equipment data uploading files field, more particularly to based on NB-IoT networks
The load-balancing method that measuring equipment data upload.
Background technology
With the popularization of internet of things equipment and the popularization of Huawei's NB-IoT technologies.Will in industries such as water supply, heat supply, power supplies
Slowly popularize the metering based on NB-IoT networks and monitoring device.Due to the processing limitation of NB-IoT base stations (in base station section together
When can only at most support 50,000 passages) and Internet of Things server processing limitation.So that Internet of Things server must possess by
The uplink time o'clock of internet of things equipment is hashed to different time points using 24 when small as span.So as to prevent magnanimity in the unit interval
Equipment, which uploads, causes base station either Internet of Things server paralysis.
This invention address that a kind of load-balancing method uploaded based on NB-IOT network measurements device data of invention, with solution
Certainly bulk device uploads the problem of data cause base station or Internet of Things server to be paralysed in the unit interval in the prior art.
The content of the invention
It is an object of the invention to provide the load-balancing method uploaded based on NB-IoT network measurements device data, pass through
Internet of Things server is calculated using time hashing algorithm and notified on measuring equipment next time after each measuring equipment uploads data
The specific time of data is passed, load balancing when realizing magnanimity measuring equipment to Internet of Things server upload data, solves
Bulk device uploads the problem of data cause base station or Internet of Things server to be paralysed in the prior art.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is the load-balancing method uploaded based on NB-IoT network measurements device data, is included the following steps:
A000:Measuring equipment uploads data to Internet of Things server before dispatching from the factory;
A001:After installation is complete, the Internet of Things server in A000 is set according to customer demand for measuring equipment in A000
Measuring equipment uploads the fixed point time of data next time;
A002:Internet of Things server in A000 calculates the essence of measuring equipment upload next time data according to time hashing algorithm
The true time;
A003:The metering that Internet of Things server transmission in A000 uploads in the precise time to A000 of data next time is set
It is standby;
A004:The precise time in fixed point time and A002 of the measuring equipment in A001 in A000 uploads data extremely
Internet of Things server, performs A002.
Preferably, the fixed point time is accurate to day;The precise time is accurate to the second;If server only sets fixed point
Between then metering upload data within 0. 0 seconds when being located at the 0 of certain day.
Preferably, for the measuring equipment in A001 after installation is complete, installation personnel is hand-operated forced to upload a data to Internet of Things
Network server.
Wherein, the time hashing algorithm includes the following steps:
B000:State a three-dimensional array, the first dimension array length is the 24, second dimension array length and third dimension array length
Degree is 60;
B001:Take random number seed as the three-dimensional array assignment in B000 of the current time in system;
B002:Internet of Things server in A000 obtains the IP address of the measuring equipment in A000 and uploads the end of data
IP address and port numbers hash are converted into integer using hash algorithm and take with integer division with 24 by slogan, Internet of Things server
One remainder, using the first remainder as B000 in three-dimensional array one-dimension array subscript obtain next time upload data hourage;
B003:Internet of Things server in A000 obtains the unique mark of the measuring equipment in A000, Internet of Things server
The hash values of unique mark are calculated using hash algorithm and hash values divided by 60 are taken into the second remainder, using the second remainder as in B000
The subscript of the two-dimensional array of three-dimensional array obtains the number of minutes for uploading data next time;
B004:Internet of Things server in A000 obtains measuring equipment this uplink time in A000, Internet of Things service
Device obtain this uplink time and with this uplink time divided by 60 obtain the 3rd remainders, using the 3rd remainder as B000 in three dimensions
The subscript of the third dimension array of group obtains the number of seconds for uploading data next time.
Wherein, it is that three-dimensional array assignment in B000 includes following step by random number seed of the current time in system in B001
Suddenly:
C000:Using the current time in system as random number seed, by 0 to 23 hash into one-dimension array;
C001:Using the current time in system as random number seed, by 0 to 59 hash into two-dimensional array;
C002:Using the current time in system as random number seed, by 0 to 59 hash into third dimension array.
Wherein, IP address and port numbers hash are converted into integer using hash algorithm in B002 to include the following steps:
Character string will be converted into after IP address and port numbers byte;The character string is converted into integer.
Wherein, it is characterised in that the unique mark in B003 is the numeral of the binary-coded decimal of measuring equipment.
Wherein, the current time in system receives the time of measuring equipment upload data packet for server.
The invention has the advantages that:
The present invention after each measuring equipment uploads data, is calculated simultaneously by Internet of Things server using time hashing algorithm
Notify measuring equipment to upload the specific time of data, when realizing magnanimity measuring equipment to Internet of Things server upload data next time
Load balancing, improve bulk device upload data efficiency, avoid Internet of Things server or base station because mass data is same
Shi Shangchuan causes the problem of paralysis.
Certainly, implement any of the products of the present invention and do not necessarily require achieving all the advantages described above at the same time.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, embodiment will be described below required
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of the load-balancing method uploaded based on NB-IoT network measurements device data of the present invention;
Fig. 2 is the flow chart of the time hashing algorithm of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts
Embodiment, belongs to the scope of protection of the invention.
Please referring to Fig.1 shown in -2, the present invention is the load-balancing method uploaded based on NB-IoT network measurements device data,
Include the following steps:
A000:Measuring equipment uploads data to Internet of Things server before dispatching from the factory;
A001:After installation is complete, the Internet of Things server in A000 is set according to customer demand for measuring equipment in A000
Measuring equipment uploads the fixed point time of data next time;
A002:Internet of Things server in A000 calculates the essence of measuring equipment upload next time data according to time hashing algorithm
The true time;
A003:The metering that Internet of Things server transmission in A000 uploads in the precise time to A000 of data next time is set
It is standby;
A004:The precise time in fixed point time and A002 of the measuring equipment in A001 in A000 uploads data extremely
Internet of Things server, performs A002.
Wherein, the fixed point time is accurate to day;Precise time is accurate to the second;Measure and set if server only sets the fixed point time
Upload data within 0. 0 seconds in the 0 of certain day.
Wherein, for the measuring equipment in A001 after installation is complete, installation personnel is hand-operated forced to upload a data to Internet of Things
Server.
Wherein, time hashing algorithm includes the following steps:
B000:State a three-dimensional array, the first dimension array length is the 24, second dimension array length and third dimension array length
Degree is 60;
B001:Take random number seed as the three-dimensional array assignment in B000 of the current time in system;
B002:Internet of Things server in A000 obtains the IP address of the measuring equipment in A000 and uploads the end of data
IP address and port numbers hash are converted into integer using hash algorithm and take with integer division with 24 by slogan, Internet of Things server
One remainder, using the first remainder as B000 in three-dimensional array one-dimension array subscript obtain next time upload data hourage;
B003:Internet of Things server in A000 obtains the unique mark of the measuring equipment in A000, Internet of Things server
The hash values of unique mark are calculated using hash algorithm and hash values divided by 60 are taken into the second remainder, using the second remainder as in B000
The subscript of the two-dimensional array of three-dimensional array obtains the number of minutes for uploading data next time;
B004:Internet of Things server in A000 obtains measuring equipment this uplink time in A000, Internet of Things service
Device obtain this uplink time and with this uplink time divided by 60 obtain the 3rd remainders, using the 3rd remainder as B000 in three dimensions
The subscript of the third dimension array of group obtains the number of seconds for uploading data next time.
Wherein, it is that three-dimensional array assignment in B000 includes following step by random number seed of the current time in system in B001
Suddenly:
C000:Using the current time in system as random number seed, by 0 to 23 hash into one-dimension array;
C001:Using the current time in system as random number seed, by 0 to 59 hash into two-dimensional array;
C002:Using the current time in system as random number seed, by 0 to 59 hash into third dimension array.
Wherein, IP address and port numbers hash are converted into integer using hash algorithm in B002 to include the following steps:
Character string will be converted into after IP address and port numbers byte;ParseInt.
Wherein, the unique mark in B003 is the numeral of the binary-coded decimal of measuring equipment.
Wherein, the current time in system receives the time of measuring equipment upload data packet for server.
It is worth noting that, in said system embodiment, included unit is simply drawn according to function logic
Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is specific
Title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in the various embodiments described above method
It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a computer-readable storage and be situated between
In matter, the storage medium, such as ROM/RAM, disk or CD.
Present invention disclosed above preferred embodiment is only intended to help and illustrates the present invention.Preferred embodiment is not detailed
All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification,
It can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is in order to preferably explain the present invention
Principle and practical application so that skilled artisan can be best understood by and utilize the present invention.The present invention is only
Limited by claims and its four corner and equivalent.
Claims (8)
1. the load-balancing method uploaded based on NB-IoT network measurements device data, it is characterised in that include the following steps:
A000:Measuring equipment uploads data to Internet of Things server before dispatching from the factory;
A001:After installation is complete, the Internet of Things server in AOOO is set according to customer demand to be measured for measuring equipment in A000
Equipment uploads the fixed point time of data next time;
A002:Internet of Things server in A000 according to time hashing algorithm calculate measuring equipment upload next time data it is accurate when
Between;
A003:Internet of Things server in A000 transmits the measuring equipment in the precise time to A000 for uploading data next time;
A004:The precise time in fixed point time and A002 of the measuring equipment in A001 in A000 uploads data to Internet of Things
Network server, performs A002.
2. the load-balancing method according to claim 1 uploaded based on NB-IoT network measurements device data, its feature
It is, the fixed point time is accurate to day;The precise time is accurate to the second.
3. the load-balancing method according to claim 1 uploaded based on NB-IoT network measurements device data, its feature
It is, the measuring equipment in A001 uploads a data to Internet of Things server after installation is complete.
4. the load-balancing method according to claim 1 uploaded based on NB-IoT network measurements device data, its feature
It is, the time hashing algorithm includes the following steps:
B000:State a three-dimensional array, the first dimension array length is equal for the 24, second dimension array length and third dimension array length
For 60;
B001:Take random number seed as the three-dimensional array assignment in B000 of the current time in system;
B002:Internet of Things server in A000 obtains the IP address of the measuring equipment in A000 and uploads the port of data
Number, IP address and port numbers hash are converted into integer using hash algorithm and take first with integer division with 24 by Internet of Things server
Remainder, using the first remainder as B000 in three-dimensional array one-dimension array subscript obtain next time upload data hourage;
B003:Internet of Things server in A000 obtains the unique mark of the measuring equipment in A000, and Internet of Things server utilizes
Hash algorithm calculate unique mark hash values simultaneously hash values divided by 60 are taken into the second remainder, using the second remainder as B000 in three-dimensional
The subscript of the two-dimensional array of array obtains the number of minutes for uploading data next time;
B004:Internet of Things server in A000 obtains measuring equipment this uplink time in A000, and Internet of Things server obtains
Take this uplink time and obtain the 3rd remainders with this uplink time divided by 60, using the 3rd remainder as B000 in three-dimensional array
The subscript of third dimension array obtains the number of seconds for uploading data next time.
5. the load-balancing method according to claim 4 uploaded based on NB-IoT network measurements device data, its feature
It is, is that the three-dimensional array assignment in B000 includes the following steps by random number seed of the current time in system in B001:
C000:Using the current time in system as random number seed, by 0 to 23 hash into one-dimension array;
C001:Using the current time in system as random number seed, by 0 to 59 hash into two-dimensional array;
C002:Using the current time in system as random number seed, by 0 to 59 hash into third dimension array.
6. the load-balancing method according to claim 4 uploaded based on NB-IoT network measurements device data, its feature
It is, IP address and port numbers hash are converted into integer using hash algorithm in B002 includes the following steps:
Character string will be converted into after IP address and port numbers byte;The character string is converted into integer.
7. the load-balancing method according to claim 4 uploaded based on NB-IoT network measurements device data, its feature
It is, the unique mark in B003 is the numeral of the binary-coded decimal of measuring equipment.
8. the load-balancing method according to claim 4 uploaded based on NB-IoT network measurements device data, its feature
It is, uplink time receives the time of measuring equipment upload data packet for server in B004.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022722.5A CN107948089A (en) | 2018-01-10 | 2018-01-10 | The load-balancing method uploaded based on NB IoT network measurements device data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022722.5A CN107948089A (en) | 2018-01-10 | 2018-01-10 | The load-balancing method uploaded based on NB IoT network measurements device data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107948089A true CN107948089A (en) | 2018-04-20 |
Family
ID=61937645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022722.5A Pending CN107948089A (en) | 2018-01-10 | 2018-01-10 | The load-balancing method uploaded based on NB IoT network measurements device data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948089A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040315A (en) * | 2018-09-18 | 2018-12-18 | 北京先见智控科技有限公司 | Internet-of-things terminal and the Internet of Things Congestion Avoidance system dispatched based on server centered |
CN110913493A (en) * | 2018-09-18 | 2020-03-24 | 中国电信股份有限公司 | Data reporting method and system, core network element and computer readable storage medium |
CN113852508A (en) * | 2021-09-29 | 2021-12-28 | 厦门亿联网络技术股份有限公司 | Communication method and device under scene of equipment batch deployment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100005188A1 (en) * | 2008-07-02 | 2010-01-07 | Verizon Business Network Services, Inc. | Method and system for an intercept chain of custody protocol |
US20110055590A1 (en) * | 2009-08-27 | 2011-03-03 | Electronics And Telecommunications Research Institute | Apparatus and method for collecting evidence data |
CN104754641A (en) * | 2013-12-27 | 2015-07-01 | ***通信集团公司 | Data transmission control method and data transmission control device |
CN105119769A (en) * | 2015-07-01 | 2015-12-02 | 北京梅泰诺通信技术股份有限公司 | System for time hashing of periodic data report |
CN105208075A (en) * | 2015-08-12 | 2015-12-30 | 新华通讯社 | Data collection method and device based on high-dispersion Hash algorithm |
CN106817314A (en) * | 2015-12-02 | 2017-06-09 | 中国电信股份有限公司 | Big data acquisition method, device and system |
CN108647243A (en) * | 2018-04-13 | 2018-10-12 | 中国神华能源股份有限公司 | Industrial big data storage method based on time series |
-
2018
- 2018-01-10 CN CN201810022722.5A patent/CN107948089A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100005188A1 (en) * | 2008-07-02 | 2010-01-07 | Verizon Business Network Services, Inc. | Method and system for an intercept chain of custody protocol |
US20110055590A1 (en) * | 2009-08-27 | 2011-03-03 | Electronics And Telecommunications Research Institute | Apparatus and method for collecting evidence data |
CN104754641A (en) * | 2013-12-27 | 2015-07-01 | ***通信集团公司 | Data transmission control method and data transmission control device |
CN105119769A (en) * | 2015-07-01 | 2015-12-02 | 北京梅泰诺通信技术股份有限公司 | System for time hashing of periodic data report |
CN105208075A (en) * | 2015-08-12 | 2015-12-30 | 新华通讯社 | Data collection method and device based on high-dispersion Hash algorithm |
CN106817314A (en) * | 2015-12-02 | 2017-06-09 | 中国电信股份有限公司 | Big data acquisition method, device and system |
CN108647243A (en) * | 2018-04-13 | 2018-10-12 | 中国神华能源股份有限公司 | Industrial big data storage method based on time series |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040315A (en) * | 2018-09-18 | 2018-12-18 | 北京先见智控科技有限公司 | Internet-of-things terminal and the Internet of Things Congestion Avoidance system dispatched based on server centered |
CN110913493A (en) * | 2018-09-18 | 2020-03-24 | 中国电信股份有限公司 | Data reporting method and system, core network element and computer readable storage medium |
CN110913493B (en) * | 2018-09-18 | 2023-04-07 | 中国电信股份有限公司 | Data reporting method and system, core network element and computer readable storage medium |
CN113852508A (en) * | 2021-09-29 | 2021-12-28 | 厦门亿联网络技术股份有限公司 | Communication method and device under scene of equipment batch deployment |
CN113852508B (en) * | 2021-09-29 | 2024-06-21 | 厦门亿联网络技术股份有限公司 | Communication method and device in equipment batch deployment scene |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107948089A (en) | The load-balancing method uploaded based on NB IoT network measurements device data | |
US9752895B2 (en) | Methods and systems of reading utility meters and methods and systems of transmitting utility meter data | |
CN103473334B (en) | Data storage method, inquiry method and system | |
BR112013002193A2 (en) | method for aggregating distribution information, network node for collecting demographic and location data, and service node for aggregating demographic location data | |
CN101981572A (en) | Request routing | |
CN101014045A (en) | Distributed method of service management in service loading network | |
NZ595563A (en) | A communications process, device and system | |
CN107707612B (en) | Method and device for evaluating resource utilization rate of load balancing cluster | |
CN103023815B (en) | Aggregation link load sharing method and device | |
CN103685056A (en) | Load balancing method and load balancing system | |
CN104065538B (en) | Measurement control method, control server and the system of network performance | |
CN102572001A (en) | Domain name system (DNS) and method for providing load balancing | |
CN105187312A (en) | Method, device and router for carrying out network communication on batch terminal equipment | |
CN108632394A (en) | A kind of web cluster load balancing method of adjustment and device | |
Mouangue et al. | Influence of the determination methods of K and C parameters on the ability of Weibull distribution to suitably estimate wind potential and electric energy | |
EP3695585B2 (en) | Monitoring of heat consumption | |
KR101384133B1 (en) | Method for Identifying failure data in sensor network and sensor network system using the same | |
DK202170096A1 (en) | Communication structure for transmitting information | |
CN102387516A (en) | PS operation analog system and test method for NodeB test | |
CN111935324A (en) | Block chain technology application method and system suitable for energy-saving field of power distribution and utilization system | |
KR20170116769A (en) | Server for diagnosing fault of solar energy generating module | |
CN104168206A (en) | Adapter gateway load balancing control method, device and system | |
CN111064997B (en) | Resource pre-distribution method and device | |
CN105763662A (en) | Method for creating similar network test environments, device and DNS server | |
CN106412824A (en) | Path load evaluation method and apparatus, and display system |
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: 20180420 |