CN110445824B - NB-IoT data reporting method, device, system and computer readable storage medium - Google Patents
NB-IoT data reporting method, device, system and computer readable storage medium Download PDFInfo
- Publication number
- CN110445824B CN110445824B CN201810421046.9A CN201810421046A CN110445824B CN 110445824 B CN110445824 B CN 110445824B CN 201810421046 A CN201810421046 A CN 201810421046A CN 110445824 B CN110445824 B CN 110445824B
- Authority
- CN
- China
- Prior art keywords
- data
- internet
- characteristic information
- reporting
- terminal
- 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.)
- Active
Links
Images
Classifications
-
- 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
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a method, a device, a system and a computer readable storage medium for reporting narrowband internet of things (NB-IoT) data, wherein the method is applied to preset transfer equipment independent of a terminal and an Internet of things platform, and comprises the following steps: acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information; after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information; and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
Description
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for reporting narrowband internet of things (NB-IoT) data.
Background
For a narrow-band internet of things scene, many internet of things terminals only generate a very small amount of data each time, and a large amount of sleep time is also available, for example, a meter reading scene and the like. Therefore, interactive signaling generated when the terminal of the internet of things reports data may bring greater consumption than the data itself.
In addition, due to the characteristic of Low Power Wide Area (LPWA) of the narrow-band internet of things scene, the narrow-band internet of things scene has the characteristics of wide coverage and huge quantity, and therefore the cloud end of the internet of things needs to process huge concurrency. Moreover, if all information is reported directly by the internet of things terminal (hereinafter referred to as terminal), the cloud service platform (internet of things platform) will bear huge load.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method, an apparatus, a system, and a computer-readable storage medium for reporting narrowband internet of things data.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a narrowband Internet of things data reporting method, which is applied to preset transfer equipment independent of a terminal and an Internet of things platform, and comprises the following steps:
acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information;
after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information;
and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
Wherein the priority information corresponding to the feature information includes at least the following three types:
priority level p, reporting period r, and maximum delay tolerance d.
The determining the sequence of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
Optionally, the method further includes:
when determining that the priority levels p corresponding to different characteristic information are the same, comparing the reporting periods r corresponding to the characteristic information, and if r is larger, correspondingly adjusting down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
Reporting the data to the internet of things platform based on the sequence and preset transmission conditions, wherein the reporting of the data to the internet of things platform comprises:
and when the accumulated data to be reported exceeds a preset value, packaging the data to be reported with high priority level p, and uploading the data to be reported to the Internet of things platform.
Optionally, when determining whether the accumulated data to be reported exceeds a preset value, the method further includes:
and determining the duration t waiting for reporting after receiving the data transmitted by the terminal and the maximum delay tolerance d, and if t is greater than or equal to d, adding the corresponding data into a packaging sequence and uploading the data to the Internet of things platform.
Optionally, before reporting the data to the internet of things platform, the method further includes:
and acquiring the information of the Internet of things platform.
The embodiment of the invention also provides a narrowband internet of things data reporting device, which is applied to preset transfer equipment independent of a terminal and an internet of things platform, and comprises the following steps:
the terminal comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring and storing the characteristic information of the terminal and the priority information corresponding to the characteristic information;
the determining module is used for determining the sequence of reporting data to the Internet of things platform based on the characteristic information and the priority information after receiving the data sent by the terminal;
and the sending module is used for reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
The embodiment of the invention also provides a narrowband internet of things data reporting device, which is applied to preset transfer equipment independent of a terminal and an internet of things platform, and comprises the following steps: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the above method when running the computer program.
The embodiment of the invention also provides a narrow-band internet of things data reporting system, which comprises:
the terminal is used for sending data to the transfer equipment;
the transfer equipment is used for acquiring and storing the characteristic information of the terminal and the priority information corresponding to the characteristic information; after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information; reporting the data to the Internet of things platform based on the sequence and preset transmission conditions;
and the Internet of things platform is used for receiving the data sent by the terminal reported by the transfer equipment.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-mentioned method.
In the method, the device, the system and the computer-readable storage medium for reporting narrow-band internet of things data provided by the embodiment of the invention, the data sent by the terminal are firstly subjected to priority ordering (the order of reporting the data to the internet of things platform) based on the preset transfer equipment independent of the terminal and the internet of things platform; and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions. According to the embodiment of the invention, the data reported by the terminal are subjected to priority sequencing and then uploaded to the Internet of things platform in combination with the preset transmission condition, so that the network interaction consumption can be effectively reduced, the narrowband Internet of things data transmission efficiency is improved, the actual burden of the Internet of things platform is reduced, and the operation efficiency of the Internet of things platform is improved.
Drawings
Fig. 1 is a first schematic flow chart of a narrowband internet of things data reporting method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a narrowband internet of things data reporting device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a narrowband internet of things data reporting system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a narrowband internet of things data reporting system according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a narrowband internet of things data reporting method according to an embodiment of the present invention.
Detailed Description
The invention is described below with reference to the figures and examples.
The embodiment of the invention provides a narrowband internet of things data reporting method, which is applied to preset transfer equipment independent of a terminal and an internet of things platform, and as shown in fig. 1, the method comprises the following steps:
step 101: acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information;
step 102: after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information;
step 103: and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
The method provided by the embodiment of the invention can be applied to equipment or devices which are independent of the platform and the terminal of the Internet of things, such as: an edge gateway, a base station (one of the modules), and the like.
According to the embodiment of the invention, the data reported by the terminal are subjected to priority sequencing and then uploaded to the Internet of things platform in combination with the preset transmission condition, so that the network interaction consumption can be effectively reduced, the narrowband Internet of things data transmission efficiency is improved, the actual burden of the Internet of things platform is reduced, and the operation efficiency of the Internet of things platform is improved.
The Internet of things platform stores characteristic information of all terminals, information exchange can be carried out between the Internet of things platform and the Internet of things platform to obtain characteristic information related to the terminals, and the characteristic information at least comprises sensor resource information contained in one type of terminals.
In this embodiment of the present invention, the priority information corresponding to the feature information at least includes the following three types:
the priority level p (the higher the priority level is, the smaller the p value is, the more priority processing is needed), the reporting period r (the average reporting period of data), and the maximum delay tolerance d (how long the delay is allowed to be reported after the data sent by the terminal is received).
In the embodiment of the present invention, the determining the order of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
Here, a data linked list may be maintained, the linked list being arranged in order of priority for each data, with the head priority being the highest.
In one embodiment, the method further comprises:
when determining that the priority levels p corresponding to different characteristic information are the same, comparing the reporting periods r corresponding to the characteristic information, and if r is larger, correspondingly adjusting down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
In this embodiment of the present invention, the reporting the data to the internet of things platform based on the sequence and the preset transmission condition includes:
and if the accumulated data to be reported exceeds a preset value, if the accumulated data to be reported exceeds the value of a Maximum Transmission Unit (MTU), packing the data to be reported with high priority level p, and uploading the data to the Internet of things platform.
In one embodiment, when determining whether the accumulated data to be reported exceeds a preset value, the method further includes:
determining the duration t (namely the waiting time in the data chain table) waiting for reporting after receiving the data transmitted by the terminal and the size of the maximum delay tolerance d, if t is more than or equal to d, adding the corresponding data into a packaging sequence, and uploading the data to the Internet of things platform.
In the embodiment of the present invention, before reporting data to the internet of things platform, the method further includes:
and acquiring the information of the Internet of things platform.
Here, the obtaining of the information of the internet of things platform from the internet of things platform according to the preset time may include: MTU (possibly dynamically changing), etc.
In order to implement the foregoing method, an embodiment of the present invention further provides a narrowband internet of things data reporting device, where the device is applied to a preset transfer device independent of a terminal and an internet of things platform, and as shown in fig. 2, the device includes:
an obtaining module 201, configured to obtain and store feature information of a terminal and priority information corresponding to the feature information;
the determining module 202 is configured to determine, after receiving data sent by the terminal, a sequence of reporting the data to the internet of things platform based on the feature information and the priority information;
and the sending module 203 is configured to report the data to the internet of things platform based on the sequence and a preset transmission condition.
According to the embodiment of the invention, the data reported by the terminal are subjected to priority sequencing and then uploaded to the Internet of things platform in combination with the preset transmission condition, so that the network interaction consumption can be effectively reduced, the narrowband Internet of things data transmission efficiency is improved, the actual burden of the Internet of things platform is reduced, and the operation efficiency of the Internet of things platform is improved.
In this embodiment of the present invention, the priority information corresponding to the feature information at least includes the following three types:
the priority level p (the higher the priority level is, the smaller the p value is, the more priority processing is needed), the reporting period r (the average reporting period of data), and the maximum delay tolerance d (how long the delay is allowed to be reported after the data sent by the terminal is received).
In this embodiment of the present invention, the determining module 202 determines, based on the feature information and the priority information, a sequence of reporting data to an internet of things platform, including:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
In one embodiment, the determining module 202 is further configured to compare the reporting periods r corresponding to the different feature information when determining that the priority levels p corresponding to the different feature information are the same, and if r is larger, correspondingly lower the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
In this embodiment of the present invention, the reporting, by the sending module 203, the data to the internet of things platform based on the sequence and a preset transmission condition includes:
and determining that the accumulated data to be reported exceeds a preset value, and if the accumulated data to be reported exceeds the value of the MTU, packaging the data to be reported with high priority level p and uploading the data to the Internet of things platform.
In an embodiment, when the sending module 203 determines whether the accumulated data to be reported exceeds a preset value, the sending module is further configured to determine a duration t (i.e., a waiting time in a data chain table) of waiting for reporting after receiving the data sent by the terminal and a size of a maximum delay tolerance d, and if t is greater than or equal to d, add the corresponding data to a packing sequence and upload the data to the internet of things platform.
In the embodiment of the present invention, before the sending module 203 reports data to the internet of things platform, the obtaining module 201 is further configured to obtain information of the internet of things platform.
Here, the obtaining of the information of the internet of things platform from the internet of things platform according to the preset time may include: MTU (possibly dynamically changing), etc.
An embodiment of the present invention further provides a narrowband internet of things data reporting system, as shown in fig. 3, the system includes:
a terminal 301, configured to send data to a relay device;
the transfer device 302 is configured to acquire and store feature information of a terminal and priority information corresponding to the feature information; after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information; reporting the data to the Internet of things platform based on the sequence and preset transmission conditions;
and the internet of things platform 303 is configured to receive data sent by the terminal reported by the transit device.
In this embodiment of the present invention, the priority information corresponding to the feature information at least includes the following three types:
the priority level p (the higher the priority level is, the smaller the p value is, the more priority processing is needed), the reporting period r (the average reporting period of data), and the maximum delay tolerance d (how long the delay is allowed to be reported after the data sent by the terminal is received).
In this embodiment of the present invention, the determining, by the transit device 302, a sequence of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
In an embodiment, the transit device 302 is further configured to compare the reporting periods r corresponding to the different pieces of feature information when determining that the priority levels p corresponding to the different pieces of feature information are the same, and if r is larger, correspondingly adjust down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
In this embodiment of the present invention, the reporting, by the transit device 302, the data to the internet of things platform based on the sequence and the preset transmission condition includes:
and determining that the accumulated data to be reported exceeds a preset value, and if the accumulated data to be reported exceeds the value of the MTU, packaging the data to be reported with high priority level p and uploading the data to the Internet of things platform.
In an embodiment, when the transit device 302 determines whether the accumulated data to be reported exceeds a preset value, the transit device is further configured to determine a duration t (i.e., a waiting time in a data link table) of waiting for reporting after receiving data sent by a terminal and a size of a maximum delay tolerance d, and if t is greater than or equal to d, add the corresponding data to a packing sequence and upload the data to the internet of things platform.
In this embodiment of the present invention, before reporting data to the internet of things platform, the transit device 302 is further configured to obtain information of the internet of things platform.
The embodiment of the invention also provides a narrowband internet of things data reporting device, which comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute, when running the computer program:
acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information;
after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information;
and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
Wherein the priority information corresponding to the feature information includes at least the following three types: priority level p, reporting period r, maximum delay tolerance d.
When the order of reporting data to the internet of things platform is determined based on the characteristic information and the priority information, the processor is further configured to execute:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
The processor is further configured to, when executing the computer program, perform:
when determining that the priority levels p corresponding to different characteristic information are the same, comparing the reporting periods r corresponding to the characteristic information, and if r is larger, correspondingly adjusting down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
When reporting the data to the internet of things platform based on the sequence and preset transmission conditions, the processor is further configured to execute:
and when the accumulated data to be reported exceeds a preset value, packaging the data to be reported with high priority level p, and uploading the data to be reported to the Internet of things platform.
When judging whether the accumulated data to be reported exceeds a preset value, the processor is further configured to execute, when running the computer program:
and determining the duration t waiting for reporting after receiving the data transmitted by the terminal and the maximum delay tolerance d, and if t is greater than or equal to d, adding the corresponding data into a packaging sequence and uploading the data to the Internet of things platform.
Before reporting data to the internet of things platform, the processor is further configured to execute, when running the computer program:
and acquiring the information of the Internet of things platform.
It should be noted that: in the apparatus provided in the foregoing embodiment, when data is reported, only the division of the program modules is described as an example, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the apparatus provided in the above embodiments and the corresponding method embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
In an exemplary embodiment, the embodiment of the present invention also provides a computer-readable storage medium, which may be a Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disc, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs:
acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information;
after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information;
and reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
Wherein the priority information corresponding to the feature information includes at least the following three types: priority level p, reporting period r, maximum delay tolerance d.
When the sequence of reporting data to the internet of things platform is determined based on the characteristic information and the priority information, the computer program further executes when being executed by the processor:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority information p, r and d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
The computer program, when executed by the processor, further performs:
when determining that the priority levels p corresponding to different characteristic information are the same, comparing the reporting periods r corresponding to the characteristic information, and if r is larger, correspondingly adjusting down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
When the data is reported to the internet of things platform based on the sequence and the preset transmission condition, the computer program is executed when being operated by the processor:
and when the accumulated data to be reported exceeds a preset value, packaging the data to be reported with high priority level p, and uploading the data to be reported to the Internet of things platform.
When judging whether the accumulated data to be reported exceeds a preset value, the computer program further executes, when being executed by the processor:
and determining the duration t waiting for reporting after receiving the data transmitted by the terminal and the maximum delay tolerance d, and if t is greater than or equal to d, adding the corresponding data into a packaging sequence and uploading the data to the Internet of things platform.
Before reporting data to the internet of things platform, when the computer program is executed by the processor, the method further executes:
and acquiring the information of the Internet of things platform.
The invention is described below in conjunction with the scenario embodiments.
The system structure provided by this embodiment is shown in fig. 4, and includes: the system comprises a plurality of internet of things (IoT) terminals, an IoT platform and a preset edge gateway (or a base station and the like). Before the IoT terminal is accessed to the Internet of things platform, a preset edge gateway needs to be accessed, and relevant information of the IoT terminal is proxied through the edge gateway and then is communicated with the Internet of things platform. The edge gateways may be deployed in physical address partitions, or in functional area partitions.
As shown in fig. 5, the narrowband internet of things data reporting method based on the system shown in fig. 4 includes:
step 501: the edge gateway exchanges information with the Internet of things platform to acquire terminal related information;
the Internet of things platform stores feature information of all terminals and corresponding edge gateway information. Through information exchange, the edge network acquires terminal related information, which at least includes sensor resource information contained in a type of terminal.
Here, a triplet is usually used to represent sensor resource information of the narrowband internet of things terminal, i.e., "sensor/sensor instance/sensor parameter". For example: in an end product acting as a thermometer, a triple "8811/1/2000" may be set, which means a sensor object (object) with a temperature sensor labeled 8811, currently the 1 st instance (instance), with a resource (resource) labeled 2000. Generally, for a fixed object, the contained resource set is constant, and for example, the temperature sensor contains resources such as a temperature value, upper and lower temperature limits, and temperature measurement accuracy.
Here, an information table is required to be set for the objects, and the information processing period and priority of the objects are expressed, so that the information processing period and priority are used as bases for storing and reporting data by the subsequent edge gateway. The information table can be simplified into a simple structure of key-value: wherein, key is a triple, namely 'object/instance/resource', when the rule is valid for the same kind of resource of all the same kind of objects in the device, the rule can be simplified into 'object/resource'; the value at least comprises the following information:
1) priority level p: the higher the priority level is, the smaller the numerical value is, priority processing is required;
2) reporting period r: the average reporting period of the information (data), for example, how many seconds;
3) maximum delay tolerance d: after receiving the terminal information (data), how long the terminal information (data) is allowed to be delayed for reporting.
It can be seen that different categories of terminal information (data) have different priorities, for example: the real-time state monitoring of industrial equipment, the information generated by room smoke monitoring and the like have higher priority level than the heartbeat information of general equipment and the general state updating information.
Step 502: the edge gateway exchanges information with the server to acquire information of the Internet of things platform;
in this embodiment, the edge gateway obtains the information of the platform of the internet of things in addition to the terminal-related information in step 501, and the obtaining may include: the size of the data MTU, etc.
Step 503: the method comprises the steps that a terminal submits data (including triples and data to be reported) to an edge gateway, the edge gateway determines the sequence of reporting the data to an Internet of things platform, and the data are reported to the Internet of things platform based on the sequence and an MTU;
here, the edge gateway performs data processing based on the following algorithm:
the edge gateway can maintain a data linked list, the linked list is arranged according to the priority of each data, and the head priority is the highest;
if the key set in the data linked list can be found out by the triple information in the reported data, inserting the data to be reported into the corresponding position in the data linked list based on p in the information table, and updating the uploading time; as a data node (data to be reported), for data nodes with the same priority p, the reporting period r is continuously compared, and the priority is adjusted downwards as r is larger.
The edge gateway also needs to maintain a clock to perform delivery task scheduling: if the data accumulation to be reported in the edge gateway exceeds the MTU, packing the high-priority data and submitting the high-priority data to the platform; in addition, the delivery time t (the duration of waiting for reporting after receiving the data sent by the terminal) and the delay tolerance d of each data node need to be detected, and when the t is found to reach or exceed d, the data node is immediately added into the packing sequence;
and if the current triple information can not be found in the key set, setting p, d and r as 0, directly inserting the data to be reported to the head of the data linked list, and preferentially transmitting the data.
Step 504: and the Internet of things platform obtains the block data, unpacks the block data and processes the data according to a normal flow.
According to the embodiment of the invention, the data reported by the terminal are subjected to priority sequencing and then uploaded to the Internet of things platform in combination with the preset transmission condition, so that the network interaction consumption can be effectively reduced, the narrowband Internet of things data transmission efficiency is improved, the actual burden of the Internet of things platform is reduced, and the operation efficiency of the Internet of things platform is improved.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (9)
1. A narrowband Internet of things NB-IoT data reporting method is applied to preset transfer equipment independent of a terminal and an Internet of things platform, and the method comprises the following steps:
acquiring and storing characteristic information of a terminal and priority information corresponding to the characteristic information;
after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information;
reporting the data to the Internet of things platform based on the sequence and preset transmission conditions;
the determining the sequence of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
and when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority level p, the reporting period r and the maximum delay tolerance d to be 0, directly inserting the data to be reported to the head of the data linked list, and giving priority to the sequence.
2. The method of claim 1, wherein the priority information corresponding to the feature information includes at least three of:
priority level p, reporting period r, and maximum delay tolerance d.
3. The method of claim 1, further comprising:
when determining that the priority levels p corresponding to different characteristic information are the same, comparing the reporting periods r corresponding to the characteristic information, and if r is larger, correspondingly adjusting down the priority level of the corresponding data to be reported; otherwise, if r is smaller, the priority of the corresponding data to be reported is correspondingly improved.
4. The method of claim 2, wherein reporting the data to the internet of things platform based on the sequence and a preset transmission condition comprises:
and when the accumulated data to be reported exceeds a preset value, packaging the data to be reported with high priority level p, and uploading the data to be reported to the Internet of things platform.
5. The method of claim 4, wherein when determining whether the accumulated data to be reported exceeds a predetermined value, the method further comprises:
and determining the duration t waiting for reporting after receiving the data transmitted by the terminal and the maximum delay tolerance d, and if t is greater than or equal to d, adding the corresponding data into a packaging sequence and uploading the data to the Internet of things platform.
6. The utility model provides a narrowband thing networking data report device, its characterized in that, the device is applied to the transfer equipment of predetermineeing independent of terminal and thing networking platform, includes:
the terminal comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring and storing the characteristic information of the terminal and the priority information corresponding to the characteristic information;
the determining module is used for determining the sequence of reporting data to the Internet of things platform based on the characteristic information and the priority information after receiving the data sent by the terminal; the determining the sequence of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority level p, the reporting period r and the maximum delay tolerance d to be 0, directly inserting the data to be reported to the head of a data linked list, and giving priority to the sequence;
and the sending module is used for reporting the data to the Internet of things platform based on the sequence and preset transmission conditions.
7. The utility model provides a narrowband thing networking data report device, its characterized in that, the device is applied to the transfer equipment of predetermineeing independent of terminal and thing networking platform, includes: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1-5 when running the computer program.
8. A narrow-band Internet of things data reporting system is characterized by comprising:
the terminal is used for sending data to the transfer equipment;
the transfer equipment is used for acquiring and storing the characteristic information of the terminal and the priority information corresponding to the characteristic information; after receiving the data sent by the terminal, determining the sequence of reporting the data to the Internet of things platform based on the characteristic information and the priority information; reporting the data to the Internet of things platform based on the sequence and preset transmission conditions; the determining the sequence of reporting data to the internet of things platform based on the feature information and the priority information includes:
when the characteristic information of the terminal sending the data is determined to be stored characteristic information, searching a corresponding priority level p based on the characteristic information, inserting the data to be reported into a corresponding position in a data chain table, and updating the uploading time;
when the characteristic information of the terminal sending the data is determined not to be the stored characteristic information, setting the priority level p, the reporting period r and the maximum delay tolerance d to be 0, directly inserting the data to be reported to the head of a data linked list, and giving priority to the sequence;
and the Internet of things platform is used for receiving the data sent by the terminal reported by the transfer equipment.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810421046.9A CN110445824B (en) | 2018-05-04 | 2018-05-04 | NB-IoT data reporting method, device, system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810421046.9A CN110445824B (en) | 2018-05-04 | 2018-05-04 | NB-IoT data reporting method, device, system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110445824A CN110445824A (en) | 2019-11-12 |
CN110445824B true CN110445824B (en) | 2022-03-11 |
Family
ID=68427220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810421046.9A Active CN110445824B (en) | 2018-05-04 | 2018-05-04 | NB-IoT data reporting method, device, system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110445824B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112055059B (en) * | 2020-08-20 | 2023-06-16 | 浙江鸿城科技有限责任公司 | Method for selecting representatives by equipment |
CN112333250B (en) * | 2020-10-26 | 2022-03-01 | 天津市城市规划设计研究总院有限公司 | Response method and system for Internet of things data packet in intelligent building |
CN113259262B (en) * | 2021-03-29 | 2023-04-14 | 杭州涂鸦信息技术有限公司 | Message reporting method and related device |
CN117459466A (en) * | 2023-11-07 | 2024-01-26 | 石家庄常宏建筑装饰工程有限公司 | Gateway data intelligent acquisition method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1941666A (en) * | 2005-09-30 | 2007-04-04 | 华为技术有限公司 | Method and system for realizing bandwith distribution and dispatch management |
CN105187233A (en) * | 2015-08-05 | 2015-12-23 | 广东长天思源环保科技股份有限公司 | System for reporting terminal data of IOT (Internet of Things) and working method thereof |
CN106452840A (en) * | 2016-09-09 | 2017-02-22 | 青岛海信宽带多媒体技术有限公司 | Method and apparatus for reporting network terminal events |
CN107248960A (en) * | 2017-06-21 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of Internet of Things data method for controlling reporting and forward node based on transmission duration |
CN107395677A (en) * | 2017-06-21 | 2017-11-24 | 深圳市盛路物联通讯技术有限公司 | A kind of data method for controlling reporting and system based on terminal device priority |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170036509A (en) * | 2015-09-24 | 2017-04-03 | 삼성전자주식회사 | Apparatus and method for scheduling packet in communication system |
-
2018
- 2018-05-04 CN CN201810421046.9A patent/CN110445824B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1941666A (en) * | 2005-09-30 | 2007-04-04 | 华为技术有限公司 | Method and system for realizing bandwith distribution and dispatch management |
CN105187233A (en) * | 2015-08-05 | 2015-12-23 | 广东长天思源环保科技股份有限公司 | System for reporting terminal data of IOT (Internet of Things) and working method thereof |
CN106452840A (en) * | 2016-09-09 | 2017-02-22 | 青岛海信宽带多媒体技术有限公司 | Method and apparatus for reporting network terminal events |
CN107248960A (en) * | 2017-06-21 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of Internet of Things data method for controlling reporting and forward node based on transmission duration |
CN107395677A (en) * | 2017-06-21 | 2017-11-24 | 深圳市盛路物联通讯技术有限公司 | A kind of data method for controlling reporting and system based on terminal device priority |
Also Published As
Publication number | Publication date |
---|---|
CN110445824A (en) | 2019-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110445824B (en) | NB-IoT data reporting method, device, system and computer readable storage medium | |
CN109672579B (en) | Terminal equipment monitoring data acquisition strategy optimization method, device and medium | |
CN110677317B (en) | Test method, test device, test equipment and storage medium | |
CN112311628B (en) | Network speed measuring method, system, network equipment and storage medium | |
CN103516690A (en) | Service processing state information query method and apparatus thereof | |
CN111966289B (en) | Partition optimization method and system based on Kafka cluster | |
CN108293200B (en) | Device throughput determination | |
CN110267351A (en) | Communication means and device | |
CN103457998A (en) | Method and device for sharing images | |
CN110933170A (en) | Multi-device linkage control method and device of ZigBee gateway and storage medium | |
CN111127154A (en) | Order processing method, device, server and nonvolatile storage medium | |
CN114710499B (en) | Edge computing gateway load balancing method, device and medium based on computing power route | |
CN111093182B (en) | Network optimal resource selection system for CPE (customer premises equipment) | |
CN105228079A (en) | M2M business data processing method, device and M2M terminal equipment | |
CN107862426B (en) | State detection method and device based on Internet of things | |
CN114745433B (en) | Method and system for operating mass equipment data access to Internet of things | |
EP2930617A1 (en) | Resource management method and device | |
CN107404404B (en) | Terminal routing method based on Internet of things and Internet of things terminal | |
CN111381959A (en) | Capacity expansion method and device | |
CN115695497A (en) | Diagnostic data remote transmission method and device, electronic equipment and medium | |
CN107124314A (en) | Data monitoring method and device | |
CN109151007B (en) | Data processing method, core server and transmission server for application scheduling | |
CN112188636B (en) | User scheduling method and device and transmission base station | |
CN116266845B (en) | Data transmission method and device | |
CN113746611B (en) | Method for configuring timing value of signaling in communication, computer device and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |