CN116017344A - Data processing method, device, electronic device and storage medium of Internet of Things terminal - Google Patents

Data processing method, device, electronic device and storage medium of Internet of Things terminal Download PDF

Info

Publication number
CN116017344A
CN116017344A CN202310012437.6A CN202310012437A CN116017344A CN 116017344 A CN116017344 A CN 116017344A CN 202310012437 A CN202310012437 A CN 202310012437A CN 116017344 A CN116017344 A CN 116017344A
Authority
CN
China
Prior art keywords
data
internet
things
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.)
Pending
Application number
CN202310012437.6A
Other languages
Chinese (zh)
Inventor
刘旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ailing Network Co ltd
Original Assignee
Shenzhen Ailing Network Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Ailing Network Co ltd filed Critical Shenzhen Ailing Network Co ltd
Priority to CN202310012437.6A priority Critical patent/CN116017344A/en
Publication of CN116017344A publication Critical patent/CN116017344A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data processing method and device of an internet of things terminal, electronic equipment and a storage medium, and relates to the technical field of the internet of things. By arranging the relay node in the Internet of things system, data acquired by the Internet of things terminal can be sent to the relay node first, the relay node can determine a matched data reporting mode according to data acquisition scene parameters to process the acquired data sent by the Internet of things terminal, and finally, the relay node reports a data processing result to the base station. By introducing the relay node, the problem that the data is possibly lost due to the fact that the data is directly reported to the base station due to the fact that the storage and calculation power of the terminal of the Internet of things are weak can be solved. In addition, the data processing is performed according to the data acquisition scene parameters by determining the adaptive data reporting mode, so that the data reporting mode is more adaptive to the current scene, the stability of data reporting is ensured, and the data processing and reporting efficiency are effectively improved.

Description

物联网终端的数据处理方法、装置、电子设备及存储介质Data processing method, device, electronic device and storage medium of Internet of Things terminal

技术领域technical field

本申请涉及物联网技术领域,具体而言,涉及一种物联网终端的数据处理方法、装置、电子设备及存储介质。The present application relates to the technical field of the Internet of Things, and in particular, to a data processing method, device, electronic device, and storage medium of an Internet of Things terminal.

背景技术Background technique

无源物联网是一种通过外部能量采集、或通过有限的能量储存能力等方式来供电的物联网设备,因其具备结构简单,生命周期内免维护,以及对环境友好等诸多优点,在智能电网、智慧农场等传感器数据采集场景有广泛的应用。Passive Internet of Things is an Internet of Things device that is powered by external energy collection or limited energy storage capacity. Because of its simple structure, maintenance-free life cycle, and environmental friendliness, it is widely used in smart Sensor data acquisition scenarios such as power grids and smart farms are widely used.

通常,无源物联网终端在将采集的数据进行处理后是直接上报给基站进行分析,但是,由于无源物联网终端的存储能力和算力都极为有限,在终端采集数据量较大时,数据未能及时处理并上报至基站,则容易导致终端内存溢出,关键数据丢失,从而导致数据上报的可靠性较差。Usually, the passive IoT terminal directly reports the collected data to the base station for analysis after processing. However, due to the extremely limited storage capacity and computing power of the passive IoT terminal, when the terminal collects a large amount of data, If the data is not processed and reported to the base station in time, it will easily lead to terminal memory overflow and loss of key data, resulting in poor reliability of data reporting.

发明内容Contents of the invention

本申请的目的在于,针对上述现有技术中的不足,提供一种物联网终端的数据处理方法、装置、电子设备及存储介质,以便于提高物联网终端数据上报的稳定性和上报效率。The purpose of this application is to provide a data processing method, device, electronic equipment, and storage medium for an IoT terminal in order to improve the stability and reporting efficiency of IoT terminal data reporting.

为实现上述目的,本申请实施例采用的技术方案如下:In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

第一方面,本申请实施例提供了一种物联网终端的数据处理方法,应用于物联网系统中的中继节点,所述物联网系统包括:多个物联网终端、所述中继节点及基站,所述中继节点分别与各物联网终端及基站相互通信;所述方法包括:In the first aspect, the embodiment of the present application provides a data processing method of an Internet of Things terminal, which is applied to a relay node in an Internet of Things system, and the Internet of Things system includes: a plurality of Internet of Things terminals, the relay node, and The base station, the relay node communicates with each Internet of Things terminal and the base station respectively; the method includes:

根据数据采集场景参数,确定数据上报方式,所述数据采集场景参数包括如下至少一项:数据采集量、中继节点所绑定的物联网终端的数量、物联网终端的电量;According to the data collection scene parameters, determine the data reporting method, the data collection scene parameters include at least one of the following: data collection volume, the number of Internet of Things terminals bound to the relay node, and the power of the Internet of Things terminals;

接收物联网终端发送的采集数据,并按照所述数据上报方式对所述采集数据进行处理,生成数据处理结果,并将所述数据处理结果上报至基站。Receive the collected data sent by the Internet of Things terminal, process the collected data according to the data reporting manner, generate a data processing result, and report the data processing result to the base station.

可选地,根据数据采集场景参数,确定数据上报方式,包括:Optionally, according to the data collection scene parameters, determine the data reporting method, including:

若数据采集量小于第一阈值且中继节点所绑定的物联网终端的数量满足第一数量,则确定所述数据上报方式为完整数据上报;If the amount of data collected is less than the first threshold and the number of IoT terminals bound to the relay node satisfies the first number, then determine that the data reporting method is complete data reporting;

若数据采集量大于第二阈值,则确定所述数据上报方式为增量数据上报;If the amount of data collected is greater than the second threshold, it is determined that the data reporting method is incremental data reporting;

若数据采集量大于第二阈值且所述物联网终端的电量低于预设电量,则确定所述数据上报方式为统计值增量数据上报。If the amount of data collected is greater than the second threshold and the power of the Internet of Things terminal is lower than the preset power, it is determined that the data reporting method is statistical value incremental data reporting.

可选地,所述按照所述数据上报方式对所述采集数据进行处理,生成数据处理结果,包括:Optionally, the processing the collected data according to the data reporting method to generate a data processing result includes:

若所述数据上报方式为完整数据上报,则根据接收的当前采集周期内各时刻的采集数据,生成当前采集周期对应的数据序列;If the data reporting method is complete data reporting, then generate a data sequence corresponding to the current collection period according to the received collection data at each moment in the current collection period;

根据各时刻的采集数据,分别确定当前采集周期对应的数据均值及数据方差;According to the collected data at each moment, respectively determine the data mean value and data variance corresponding to the current collection cycle;

根据所述当前采集周期对应的数据序列、以及所述当前采集周期对应的数据均值及数据方差,得到当前采集周期的数据处理结果。According to the data sequence corresponding to the current collection period, and the data mean value and data variance corresponding to the current collection period, the data processing result of the current collection period is obtained.

可选地,所述按照所述数据上报方式对所述采集数据进行处理,生成数据处理结果,包括:Optionally, the processing the collected data according to the data reporting method to generate a data processing result includes:

若所述数据上报方式为增量数据上报,则根据接收的当前采集周期内各时刻的采集数据,分别确定相邻时刻的采集数据的差值,得到当前采集周期对应的采集数据增量序列;If the data reporting method is incremental data reporting, then according to the received collected data at each moment in the current collection cycle, respectively determine the difference between the collected data at adjacent moments, and obtain the incremental sequence of collected data corresponding to the current collection cycle;

根据所述当前采集周期对应的采集数据增量序列、以及所述当前采集周期内第一时刻的采集数据,得到当前采集周期的数据处理结果。The data processing result of the current collection period is obtained according to the collection data increment sequence corresponding to the current collection period and the collection data at the first moment in the current collection period.

可选地,所述按照所述数据上报方式对所述采集数据进行处理,生成数据处理结果,包括:Optionally, the processing the collected data according to the data reporting method to generate a data processing result includes:

若所述数据上报方式为统计值增量数据上报,则根据接收的至少两个连续采集周期内各时刻的采集数据,生成连续采集周期对应的均值增量序列及方差增量序列,所述均值增量序列包括相邻采集周期的均值之差,所述方差增量序列包括相邻采集周期的方差之差;If the data reporting method is statistical value incremental data reporting, then according to the received collected data at each time in at least two continuous collection periods, generate a mean value increment sequence and a variance increment sequence corresponding to the continuous collection period, the mean value The sequence of increments includes the difference between the means of adjacent acquisition periods, the sequence of variance increments comprises the difference in variance of adjacent acquisition periods;

根据第一采集周期对应的数据均值及数据方差、以及所述均值增量序列及方差增量序列,得到连续采集周期的数据处理结果。According to the data mean value and data variance corresponding to the first acquisition period, and the mean value increment sequence and variance increment sequence, the data processing results of the continuous acquisition periods are obtained.

可选地,所述方法还包括:Optionally, the method also includes:

启动计时器,接收所述物联网终端采集的各时刻的采集数据,并在计时超时后停止采集,得到当前采集周期内各时刻的采集数据。Start the timer, receive the collection data collected by the Internet of Things terminal at each time, and stop the collection after the timing expires, so as to obtain the collection data at each time in the current collection cycle.

可选地,所述方法还包括:Optionally, the method also includes:

启动计数器,接收所述物联网终端采集的各时刻的采集数据,并在所接收的采集数据的数量满足所述计数器的计数次数后停止采集,得到当前采集周期内的采集数据。Start the counter, receive the collection data collected by the Internet of Things terminal at each moment, and stop the collection after the amount of the received collection data meets the counting times of the counter, and obtain the collection data in the current collection period.

第二方面,本申请实施例还提供了一种物联网终端的数据处理装置,应用于物联网系统中的中继节点,所述物联网系统包括:多个物联网终端、所述中继节点及基站,所述中继节点分别与各物联网终端及基站相互通信;所述装置包括:确定模块、处理模块;In the second aspect, the embodiment of the present application also provides a data processing device for an Internet of Things terminal, which is applied to a relay node in an Internet of Things system, and the Internet of Things system includes: a plurality of Internet of Things terminals, the relay node and a base station, the relay node communicates with each Internet of Things terminal and base station respectively; the device includes: a determination module and a processing module;

所述确定模块,用于根据数据采集场景参数,确定数据上报方式,所述数据采集场景参数包括如下至少一项:数据采集量、中继节点所绑定的物联网终端的数量、物联网终端的电量;The determination module is configured to determine the data reporting method according to the data collection scene parameters, and the data collection scene parameters include at least one of the following: data collection volume, the number of IoT terminals bound to the relay node, and the IoT terminal power;

所述处理模块,用于接收物联网终端发送的采集数据,并按照所述数据上报方式对所述采集数据进行处理,生成数据处理结果,并将所述数据处理结果上报至基站。The processing module is configured to receive the collected data sent by the Internet of Things terminal, process the collected data according to the data reporting manner, generate a data processing result, and report the data processing result to the base station.

可选地,所述确定模块,具体用于若数据采集量小于第一阈值且中继节点所绑定的物联网终端的数量满足第一数量,则确定所述数据上报方式为完整数据上报;Optionally, the determining module is specifically configured to determine that the data reporting method is complete data reporting if the amount of data collected is less than the first threshold and the number of IoT terminals bound to the relay node satisfies the first number;

若数据采集量大于第二阈值,则确定所述数据上报方式为增量数据上报;If the amount of data collected is greater than the second threshold, it is determined that the data reporting method is incremental data reporting;

若数据采集量大于第二阈值且所述物联网终端的电量低于预设电量,则确定所述数据上报方式为统计值增量数据上报。If the amount of data collected is greater than the second threshold and the power of the Internet of Things terminal is lower than the preset power, it is determined that the data reporting method is statistical value incremental data reporting.

可选地,所述处理模块,具体用于若所述数据上报方式为完整数据上报,则根据接收的当前采集周期内各时刻的采集数据,生成当前采集周期对应的数据序列;Optionally, the processing module is specifically configured to generate a data sequence corresponding to the current collection period according to the received collection data at each moment in the current collection period if the data reporting method is complete data reporting;

根据各时刻的采集数据,分别确定当前采集周期对应的数据均值及数据方差;According to the collected data at each moment, respectively determine the data mean value and data variance corresponding to the current collection cycle;

根据所述当前采集周期对应的数据序列、以及所述当前采集周期对应的数据均值及数据方差,得到当前采集周期的数据处理结果。According to the data sequence corresponding to the current collection period, and the data mean value and data variance corresponding to the current collection period, the data processing result of the current collection period is obtained.

可选地,所述处理模块,具体用于若所述数据上报方式为增量数据上报,则根据接收的当前采集周期内各时刻的采集数据,分别确定相邻时刻的采集数据的差值,得到当前采集周期对应的采集数据增量序列;Optionally, the processing module is specifically configured to, if the data reporting method is incremental data reporting, respectively determine the difference between the collected data at adjacent moments according to the received collected data at each time in the current collection period, Obtain the incremental sequence of collected data corresponding to the current collection cycle;

根据所述当前采集周期对应的采集数据增量序列、以及所述当前采集周期内第一时刻的采集数据,得到当前采集周期的数据处理结果。The data processing result of the current collection period is obtained according to the collection data increment sequence corresponding to the current collection period and the collection data at the first moment in the current collection period.

可选地,所述处理模块,具体用于若所述数据上报方式为统计值增量数据上报,则根据接收的至少两个连续采集周期内各时刻的采集数据,生成连续采集周期对应的均值增量序列及方差增量序列,所述均值增量序列包括相邻采集周期的均值之差,所述方差增量序列包括相邻采集周期的方差之差;Optionally, the processing module is specifically configured to generate the mean value corresponding to the continuous collection period according to the received collection data at each time in at least two continuous collection periods if the data reporting method is statistical value incremental data reporting Incremental sequence and variance incremental sequence, the mean value incremental sequence includes the difference between the mean values of adjacent acquisition periods, and the variance increment sequence includes the variance difference of adjacent acquisition periods;

根据第一采集周期对应的数据均值及数据方差、以及所述均值增量序列及方差增量序列,得到连续采集周期的数据处理结果。According to the data mean value and data variance corresponding to the first acquisition period, and the mean value increment sequence and variance increment sequence, the data processing results of the continuous acquisition periods are obtained.

可选地,所述装置还包括:接收模块;Optionally, the device further includes: a receiving module;

所述接收模块,用于启动计时器,接收所述物联网终端采集的各时刻的采集数据,并在计时超时后停止采集,得到当前采集周期内各时刻的采集数据。The receiving module is configured to start a timer, receive the collected data collected by the Internet of Things terminal at each moment, and stop the collection after the timing expires, so as to obtain the collected data at each moment in the current collection period.

所述接收模块,还用于启动计数器,接收所述物联网终端采集的各时刻的采集数据,并在所接收的采集数据的数量满足所述计数器的计数次数后停止采集,得到当前采集周期内的采集数据。The receiving module is also used to start a counter, receive the collected data collected by the Internet of Things terminal at each moment, and stop collecting after the number of received collected data meets the number of times counted by the counter, and obtain of collected data.

第三方面,本申请实施例提供了一种电子设备,包括:处理器、存储介质和总线,存储介质存储有处理器可执行的机器可读指令,当电子设备运行时,处理器与存储介质之间通过总线通信,处理器执行机器可读指令,以执行时执行如第一方面中提供的物联网终端的数据处理方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium Through bus communication, the processor executes machine-readable instructions, so as to execute the steps of the data processing method for the IoT terminal as provided in the first aspect.

第四方面,本申请实施例提供了一种计算机可读存储介质,该存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如第一方面提供的物联网终端的数据处理方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the data processing method for an Internet of Things terminal as provided in the first aspect is executed. step.

本申请的有益效果是:The beneficial effect of this application is:

本申请提供一种物联网终端的数据处理方法、装置、电子设备及存储介质,通过在物联网系统中部署中继节点,物联网终端所采集的数据可以先发送至中继节点,而中继节点可根据数据采集场景参数,确定匹配的数据上报方式对物联网终端所发送的采集数据进行处理,并最终由中继节点将数据处理结果上报给基站。通过引入中继节点,可缓解由于物联网终端的存储和算力较弱所导致的直接向基站上报数据使得数据可能丢失的问题。另外,根据数据采集场景参数确定适配的数据上报方式进行数据处理,可使得数据上报方式更加适配当前的场景,从而保障数据上报的稳定性,有效提升数据处理和上报效率。The present application provides a data processing method, device, electronic equipment and storage medium for an Internet of Things terminal. By deploying a relay node in the Internet of Things system, the data collected by the Internet of Things terminal can be sent to the relay node first, and the relay node According to the parameters of the data collection scene, the node can determine the matching data reporting method to process the collected data sent by the IoT terminal, and finally the relay node will report the data processing result to the base station. By introducing relay nodes, the problem of possible data loss caused by directly reporting data to the base station due to weak storage and computing power of IoT terminals can be alleviated. In addition, determining the adapted data reporting method according to the data collection scene parameters for data processing can make the data reporting method more suitable for the current scene, thereby ensuring the stability of data reporting and effectively improving the efficiency of data processing and reporting.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.

图1为本申请实施例提供的一种物联网系统的架构示意图;FIG. 1 is a schematic diagram of an architecture of an Internet of Things system provided by an embodiment of the present application;

图2为本申请实施例提供的物联网终端的数据处理方法的流程示意图一;FIG. 2 is a first schematic flow diagram of a data processing method for an Internet of Things terminal provided by an embodiment of the present application;

图3为本申请实施例提供的物联网终端的数据处理方法的流程示意图二;FIG. 3 is a second schematic flow diagram of a data processing method for an IoT terminal provided in an embodiment of the present application;

图4为本申请实施例提供的物联网终端的数据处理方法的流程示意图三;FIG. 4 is a third schematic flow diagram of a data processing method for an Internet of Things terminal provided by an embodiment of the present application;

图5为本申请实施例提供的物联网终端的数据处理方法的流程示意图四;FIG. 5 is a fourth schematic flowchart of a data processing method for an IoT terminal provided in an embodiment of the present application;

图6为本申请实施例提供的物联网终端的数据处理方法的流程示意图五;FIG. 6 is a schematic flow diagram five of a data processing method for an Internet of Things terminal provided by an embodiment of the present application;

图7为本申请实施例提供的一种物联网终端的数据处理装置的示意图;FIG. 7 is a schematic diagram of a data processing device for an Internet of Things terminal provided by an embodiment of the present application;

图8为本申请实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.

另外,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In addition, the described embodiments are only some of the embodiments of the application, not all of the embodiments. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.

需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所声明的特征的存在,但并不排除增加其它的特征。It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features stated later, but does not exclude the addition of other features.

窄带物联网(NB-IoT)是基于蜂窝网络的一种窄带物联网技术。支持低功耗设备在广域网的蜂窝数据连接,也被叫做低功耗广域网(LPWA)。NB-IoT使用授权频段,具有覆盖广、连接多、速率低、功耗低等特点。目前3GPP(3rd Generation Partnership Project,第三代合作伙伴计划)已经完成了NB-IoT技术的标准化制定工作。这类低功耗广域网技术方案以较低的成本、较低的功耗和广泛的连接,已经解决了一部分用户需求。目前该技术方案已经应用于多种垂直行业,如远程抄表、资产跟踪、智能停车等场景。Narrowband Internet of Things (NB-IoT) is a narrowband Internet of Things technology based on cellular networks. Supports cellular data connections for low-power devices over wide area networks, also known as Low Power Wide Area Networks (LPWA). NB-IoT uses licensed frequency bands and has the characteristics of wide coverage, multiple connections, low speed, and low power consumption. At present, 3GPP (3rd Generation Partnership Project, 3rd Generation Partnership Project) has completed the standardization of NB-IoT technology. This type of low power wide area network technology solution has solved some user needs with lower cost, lower power consumption and wide connection. At present, this technical solution has been applied in various vertical industries, such as remote meter reading, asset tracking, smart parking and other scenarios.

随着物联网节点的增多,未来对于物联网设备内部电池的布置和维护成本将会非常大。另外,现实中仍然存在不少的场景和需求,是当前的NB-IoT技术方案无法解决的,例如:With the increase of IoT nodes, the cost of arranging and maintaining batteries inside IoT devices will be very high in the future. In addition, there are still many scenarios and requirements in reality, which cannot be solved by the current NB-IoT technical solution, such as:

1、极端环境条件应用场景,如高压、极高/低温、潮湿腐蚀性环境等;1. Application scenarios under extreme environmental conditions, such as high pressure, extremely high/low temperature, humid and corrosive environment, etc.;

2、设备极低复杂度/极小尺寸(例如毫米级厚度)需求,长寿命免维护需求;2. The equipment requires extremely low complexity/minimum size (such as millimeter-level thickness), long-life maintenance-free requirements;

3、传统电池供电方式不可用的场景。3. Scenarios where traditional battery power supply methods are not available.

随着能量收集技术的不断进步,无源物联网(Ambient IoT)应运而生,即无电池的物联网。无源物联网是一种通过外部能量采集、或通过有限的能量储存能力(如电容)等方式来供电的物联网设备,通过无线射频信号、太阳能、光照能、运动能和温差等方式获取能量,利用专属的能量采集装置,就可以将能量收集起来,为物联网设备供电。同时具备结构极其简单,生命周期内免维护,以及对环境友好等诸多优点。无源物联网终端在智能电网、智慧农场等传感器数据上报场景有广泛的应用。With the continuous advancement of energy harvesting technology, the passive Internet of Things (Ambient IoT) has emerged as the times require, that is, the Internet of Things without batteries. Passive IoT is an IoT device that is powered by external energy harvesting or by limited energy storage capabilities (such as capacitors), and obtains energy through radio frequency signals, solar energy, light energy, motion energy, and temperature differences. , using a dedicated energy harvesting device, energy can be collected to power IoT devices. At the same time, it has many advantages such as extremely simple structure, maintenance-free within the life cycle, and environmental friendliness. Passive IoT terminals are widely used in sensor data reporting scenarios such as smart grids and smart farms.

由于成本和功能限制,无源物联网终端的存储能力和算力都极为有限。在终端采集数据量较大时,如果未能及时将数据上报给基站,容易导致内存溢出,关键数据丢失。Due to cost and functional limitations, the storage capacity and computing power of passive IoT terminals are extremely limited. When the terminal collects a large amount of data, if the data is not reported to the base station in time, it is easy to cause memory overflow and key data loss.

基于此,本方案提出了通过部署专用中继节点来接收无源物联网终端上报的数据。终端采集的数据首先上报给中继节点,具备一定算力的中继节点对收到的数据进行分类汇总、运算处理后统一上报给基站。另外,考虑到在一定时间长度和空间区域内传感器所检测的数据具有较强的关联性,中继节点可以对终端上报的数据进行汇总处理,并将汇总后的结果一次性上报给基站。这种数据上报的方式可以有效降低上报次数,节省带宽资源,大大提升数据上报的可靠性。Based on this, this solution proposes to receive data reported by passive IoT terminals by deploying dedicated relay nodes. The data collected by the terminal is first reported to the relay node, and the relay node with a certain computing power sorts and summarizes the received data, calculates and processes it, and then reports it to the base station. In addition, considering the strong correlation of the data detected by the sensor within a certain length of time and space, the relay node can summarize the data reported by the terminal and report the summarized results to the base station at one time. This data reporting method can effectively reduce the number of reporting times, save bandwidth resources, and greatly improve the reliability of data reporting.

图1为本申请实施例提供的一种物联网系统的架构示意图,如图1所示,物联网系统可包括:物联网终端、中继节点及基站,其中,物联网终端可以包括多个,多个物联网终端均与中继节点通信连接,可与中继节点进行数据传输,中继节点还与基站通信连接,可以将从物联网终端接收的数据处理后的结果上报给基站,中继节点可以是独立于基站之外的第三方设备,也可以是不属于基站中的单元。Figure 1 is a schematic diagram of the architecture of an Internet of Things system provided by an embodiment of the present application. As shown in Figure 1, the Internet of Things system may include: an Internet of Things terminal, a relay node, and a base station, wherein the Internet of Things terminal may include multiple, Multiple IoT terminals are connected to the relay node for data transmission, and the relay node is also connected to the base station, and can report the processed data received from the IoT terminal to the base station. A node can be a third-party device independent of the base station, or a unit that does not belong to the base station.

中继节点可以接收物联网终端发送的采集数据,并根据数据采集量的大小以及所连接的物联网终端的规模,选择合适的数据处理方式对采集数据进行处理,并将处理结果上报给基站,避免了物联网终端存储和算力有限,无法及时的将采集数据上报给基站,导致数据丢失的问题。The relay node can receive the collected data sent by the IoT terminal, and select an appropriate data processing method to process the collected data according to the size of the data collected and the scale of the connected IoT terminal, and report the processing result to the base station. It avoids the problem of limited storage and computing power of IoT terminals, and the inability to report the collected data to the base station in a timely manner, resulting in data loss.

中继节点所连接的多个物联网终端可以为同一类型的物联网终端,也可以为不同类型的物联网终端,同一类型的物联网终端用于采集相同类型的数据,例如:物联网终端为温度传感器时,仅用于采集温度数据,物联网终端为湿度传感器时,仅用于采集湿度数据。The multiple IoT terminals connected to the relay node can be the same type of IoT terminal or different types of IoT terminals. The same type of IoT terminal is used to collect the same type of data. For example: the IoT terminal is When the temperature sensor is used, it is only used to collect temperature data. When the IoT terminal is a humidity sensor, it is only used to collect humidity data.

图2为本申请实施例提供的物联网终端的数据处理方法的流程示意图一;本方法的执行主体可以是中继节点。如图1所示,该方法可包括:FIG. 2 is a first schematic flow diagram of a data processing method for an Internet of Things terminal provided by an embodiment of the present application; the execution subject of this method may be a relay node. As shown in Figure 1, the method may include:

S201、根据数据采集场景参数,确定数据上报方式,数据采集场景参数包括如下至少一项:数据采集量、中继节点所绑定的物联网终端的数量、物联网终端的电量。S201. Determine the data reporting method according to the data collection scene parameters. The data collection scene parameters include at least one of the following: data collection volume, the number of IoT terminals bound to the relay node, and the power of the IoT terminal.

数据采集场景参数可用于表征方法的应用场景信息,通常,根据不同的应用场景,可选择不同的数据上报方式向基站进行数据上报,以适配不同应用场景下的数据传输需求,保证数据上报的完整性。Data collection scene parameters can be used to represent the application scene information of the method. Usually, according to different application scenarios, different data reporting methods can be selected to report data to the base station, so as to adapt to the data transmission requirements in different application scenarios and ensure the accuracy of data reporting. integrity.

本实施例中,数据采集场景参数可以包括但不限于:数据采集量、中继节点所绑定的物联网终端的数量、物联网终端的电量。其中,中继节点所绑定的物联网终端的数量也即指与中继节点建立通信连接的物联网终端的数据,换言之,中继节点所覆盖支持的物联网终端的数量。In this embodiment, the data collection scene parameters may include, but are not limited to: the amount of data collection, the number of IoT terminals bound to the relay node, and the power of the IoT terminals. Wherein, the number of IoT terminals bound to the relay node refers to the data of the IoT terminals establishing a communication connection with the relay node, in other words, the number of IoT terminals covered and supported by the relay node.

本实施例中,中继节点可包括但不限于:5G终端(NR UE,New Radio新无线,UserEquipment用户设备);LTE终端(LTE UE,Long Term Evolution长期演进,User Equipment用户设备);NB-IoT(Narrow Band Internet of Things,窄带物联网)终端;专用中继基站;无线CPE(Customer premises equipment,用户驻地设备)节点;边缘计算平台;边缘网关;同类型的无源物联网终端;具备协议转换功能的第三方功设备;传输协议兼容的第三方功放及转发设备。In this embodiment, the relay node may include but not limited to: 5G terminal (NR UE, New Radio, User Equipment user equipment); LTE terminal (LTE UE, Long Term Evolution, User Equipment user equipment); NB- IoT (Narrow Band Internet of Things, narrowband Internet of Things) terminal; dedicated relay base station; wireless CPE (Customer premises equipment, user premises equipment) node; edge computing platform; edge gateway; the same type of passive Internet of things terminal; with protocol Third-party power equipment with conversion function; third-party power amplifier and forwarding equipment compatible with transmission protocols.

S202、接收物联网终端发送的采集数据,并按照数据上报方式对采集数据进行处理,生成数据处理结果,并将数据处理结果上报至基站。S202. Receive the collected data sent by the IoT terminal, process the collected data according to the data reporting method, generate a data processing result, and report the data processing result to the base station.

基于所确定的数据上报方式,可对接收的物联网终端发送的采集数据按照数据上报方式进行处理,生成数据处理结果并上报至基站。Based on the determined data reporting method, the collected data sent by the received IoT terminal can be processed according to the data reporting method, and a data processing result is generated and reported to the base station.

这里在按照数据上报方式对采集进行处理时,可以是针对一个物联网终端发送的采集数据进行单独处理,最终向基站进行数据处理结果上报时也可以是按照物联网终端进行区分上报,每个物联网终端的采集数据单独处理并单独上报,以能够有效的区分来自不同物联网终端所采集的数据,以便于后续的数据处理分析。Here, when the collection is processed according to the data reporting method, the collected data sent by an IoT terminal can be processed separately, and when the data processing results are finally reported to the base station, it can also be reported separately according to the IoT terminal. The collected data of the connected terminal is processed and reported separately, so that the data collected from different IoT terminals can be effectively distinguished, so as to facilitate subsequent data processing and analysis.

可根据物联网终端的标识对不同物联网终端所发送的采集数据进行区分标记。The collected data sent by different Internet of Things terminals can be differentiated and marked according to the identification of the Internet of Things terminals.

可选的,物联网终端的标识包括但不限于以下信息:ID(Identity document,身份证标识)信息;产品序列号;Name名称信息;IP(Internet Protocol,网络协议)地址信息;MAC(Media Access Control,介质访问控制)地址信息;所属设备生产商信息。Optionally, the identification of the Internet of Things terminal includes but is not limited to the following information: ID (Identity document, identity card identification) information; product serial number; Name name information; IP (Internet Protocol, network protocol) address information; MAC (Media Access Control, media access control) address information; information about the manufacturer of the device to which it belongs.

可选的,终端标识信息中的ID信息包括但不限于以下信息:设备识别标识Identifier信息;临时移动用户身份信息(TMSI);全球唯一临时移动用户身份信息(GUTI);无线网络临时标识信息(RNTI)。Optionally, the ID information in the terminal identification information includes but not limited to the following information: device identification Identifier information; Temporary Mobile Subscriber Identity Information (TMSI); Globally Unique Temporary Mobile Subscriber Identity Information (GUTI); wireless network temporary identification information ( RNTI).

综上,本实施例提供的物联网终端的数据处理方法,通过在物联网系统中部署中继节点,物联网终端所采集的数据可以先发送至中继节点,而中继节点可根据数据采集场景参数,确定匹配的数据上报方式对物联网终端所发送的采集数据进行处理,并最终由中继节点将数据处理结果上报给基站。通过引入中继节点,可缓解由于物联网终端的存储和算力较弱所导致的直接向基站上报数据使得数据可能丢失的问题。另外,根据数据采集场景参数确定适配的数据上报方式进行数据处理,可使得数据上报方式更加适配当前的场景,从而保障数据上报的稳定性。To sum up, the data processing method of the Internet of Things terminal provided by this embodiment, by deploying the relay node in the Internet of Things system, the data collected by the Internet of Things terminal can be sent to the relay node first, and the relay node can Scenario parameters, determine the matching data reporting method to process the collected data sent by the IoT terminal, and finally the relay node reports the data processing result to the base station. By introducing relay nodes, the problem of possible data loss caused by directly reporting data to the base station due to weak storage and computing power of IoT terminals can be alleviated. In addition, determining the adapted data reporting method according to the data collection scene parameters for data processing can make the data reporting method more suitable for the current scene, thereby ensuring the stability of data reporting.

图3为本申请实施例提供的物联网终端的数据处理方法的流程示意图二;步骤S201中,根据数据采集场景参数,确定数据上报方式,可以包括:FIG. 3 is a second schematic flow diagram of the data processing method of the Internet of Things terminal provided by the embodiment of the present application; in step S201, according to the data collection scene parameters, the data reporting method is determined, which may include:

S301、若数据采集量小于第一阈值且中继节点所绑定的物联网终端的数量满足第一数量,则确定数据上报方式为完整数据上报。S301. If the amount of data collected is less than the first threshold and the number of IoT terminals bound to the relay node satisfies the first number, determine that the data reporting method is complete data reporting.

数据采集量小于第一阈值可以表征数据采集量较小,中继节点所绑定的物联网终端的数量满足第一数量可表征中继节点所绑定的物联网终端的规模较小,当终端规模较小且数据采集量较小时,可确定数据上报方式为完整数据上报。The amount of data collected is less than the first threshold, which may indicate that the amount of data collected is small, and the number of IoT terminals bound to the relay node meets the first number, which may indicate that the scale of the IoT terminals bound to the relay node is small. When the terminal When the scale is small and the amount of data collected is small, it can be determined that the data reporting method is complete data reporting.

这种情况下,所采集的数据无需做处理,可直接构成数据序列进行上报。In this case, the collected data does not need to be processed, and can directly form a data sequence for reporting.

S302、若数据采集量大于第二阈值,则确定数据上报方式为增量数据上报。S302. If the amount of data collected is greater than the second threshold, determine that the data reporting method is incremental data reporting.

数据采集量大于第二阈值可以表征数据采集量较大,当数据采集量较大时,则可确定数据上报方式为增量数据上报。The fact that the amount of data collected is greater than the second threshold may indicate that the amount of data collected is large, and when the amount of data collected is large, it may be determined that the data reporting method is incremental data reporting.

数据增量上报也即对采集的相邻数据求取差值,在进行数据上报时,以差值方式进行上报,这种方式当采集的相邻数据的变化不大时,差值中0值较多,占用的数据量较小,使得上报的数据的数据量明显降低。Incremental data reporting is to calculate the difference between the collected adjacent data. When reporting data, report in the form of difference. In this way, when the collected adjacent data changes little, the difference will be 0. More, the amount of data occupied is small, so that the amount of data reported is significantly reduced.

S303、若数据采集量大于第二阈值且物联网终端的电量低于预设电量,则确定数据上报方式为统计值增量数据上报。S303. If the amount of data collected is greater than the second threshold and the power of the IoT terminal is lower than the preset power, determine that the data reporting method is statistical value incremental data reporting.

而当数据采集量较大且物联网终端的电量不足时,则可确定数据上报方式为统计值增量数据上报方式。And when the amount of data collected is large and the power of the Internet of Things terminal is insufficient, the data reporting method can be determined as the statistical value incremental data reporting method.

统计值增量数据上报方式也即统计相邻采集周期的采集数据的统计值的差值,这样,无需将采集周期中每个采集数据均进行上报,仅上报采集数据的统计值差值即可,可很大程度上减少数据上报量。The statistical value increment data reporting method is to count the difference of the statistical value of the collected data in adjacent collection periods. In this way, there is no need to report each collected data in the collection period, only the difference of the statistical value of the collected data can be reported. , which can greatly reduce the amount of data reporting.

图4为本申请实施例提供的物联网终端的数据处理方法的流程示意图三;可选地,步骤S202中,按照数据上报方式对采集数据进行处理,生成数据处理结果,可以包括:FIG. 4 is a third schematic flow diagram of the data processing method of the Internet of Things terminal provided by the embodiment of the present application; optionally, in step S202, the collected data is processed according to the data reporting method, and the data processing result is generated, which may include:

S401、若数据上报方式为完整数据上报,则根据接收的当前采集周期内各时刻的采集数据,生成当前采集周期对应的数据序列。S401. If the data reporting method is complete data reporting, generate a data sequence corresponding to the current collection period according to the received collection data at each moment in the current collection period.

需要说明的是,根据物联网终端类型的不同,所采集的采集数据的类型也是不同的,通常,物联网终端所采集的数据类型可包括但不限于:温度;湿度;风速;电压;电流;压力;震动;光照强度;节点能量余量。It should be noted that, according to different types of IoT terminals, the types of collected data are also different. Generally, the types of data collected by IoT terminals may include but not limited to: temperature; humidity; wind speed; voltage; current; Pressure; vibration; light intensity; node energy margin.

本实施例中则是以物联网终端为温度传感器,采集的采集数据为温度进行举例,实际应用中,针对任意类型的物联网终端所采集的任意类型的数据,均可采用相同的方式进行处理。In this embodiment, the Internet of Things terminal is used as a temperature sensor, and the collected data is taken as an example of temperature. In practical applications, any type of data collected by any type of Internet of Things terminal can be processed in the same way. .

当数据上报方式为完整数据上报时,以温度数据为例,中继节点可将来自物联网终端的完整温度序列以及温度数据的均值和方差都上报给基站。该方式具有简单直接的特点,适用于物联网终端规模较小、数据量较小的简单场景。When the data reporting method is complete data reporting, taking temperature data as an example, the relay node can report the complete temperature sequence from the IoT terminal and the mean value and variance of the temperature data to the base station. This method is simple and direct, and is suitable for simple scenarios with small IoT terminals and small data volumes.

S402、根据各时刻的采集数据,分别确定当前采集周期对应的数据均值及数据方差。S402. According to the collected data at each moment, respectively determine a data mean value and a data variance corresponding to the current collection cycle.

可根据采集周期内采集的各时刻的采集数据,计算采集数据的均值和方差,从而得到当前采集周期对应的数据均值和数据方差。The average value and variance of the collected data can be calculated according to the collected data collected at each moment in the collection period, so as to obtain the data mean value and data variance corresponding to the current collection period.

S403、根据当前采集周期对应的数据序列、以及当前采集周期对应的数据均值及数据方差,得到当前采集周期的数据处理结果。S403. Obtain a data processing result of the current collection period according to the data sequence corresponding to the current collection period, and the data mean value and data variance corresponding to the current collection period.

可选地,可将当前采集周期对应的数据序列、以及数据均值和数据方差作为数据处理结果上报给基站。其中数据序列也即所采集的各时刻的温度数据按时间顺序所构成的序列。Optionally, the data sequence corresponding to the current collection period, as well as the data mean and data variance may be reported to the base station as a data processing result. The data sequence is the sequence formed by the collected temperature data at each moment in chronological order.

在这种完整数据上报方式中,可以一个采集周期的数据处理结果为单位上报一次,或者也可以是将一个物联网终端的多个采集周期的数据处理结果统一上报。但是每个采集周期均对应得到一个数据处理结果。In this complete data reporting method, the data processing results of one collection cycle may be reported once as a unit, or the data processing results of multiple collection cycles of an IoT terminal may be reported uniformly. But each acquisition cycle corresponds to a data processing result.

在一种可实现的方式中,中继节点可以基于计时器的方式接收物联网终端的各采集周期的采集数据。可选地,启动计时器,接收物联网终端采集的各时刻的采集数据,并在计时超时后停止采集,得到当前采集周期内各时刻的采集数据。In a practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a timer. Optionally, start a timer to receive the collected data collected by the Internet of Things terminal at each moment, and stop the collection after the timing expires, so as to obtain the collected data at each moment in the current collection cycle.

示例性的:初始化计时器,中继节点开始接收物联网终端上报的温度数据。当计时器超时时,中继节点基于收到的当前采集周期内的各时刻的温度数据计算温度均值和方差。随后中继节点将当前采集周期的完整温度序列以及温度数据的均值和方差都上报给基站。完整数据上报包括但不限于以下数据:温度数据序列;温度数据的均值和方差。Exemplary: the timer is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the timer expires, the relay node calculates the temperature mean and variance based on the received temperature data at each moment in the current collection period. Then the relay node reports the complete temperature sequence of the current collection period and the mean value and variance of the temperature data to the base station. Complete data reporting includes but is not limited to the following data: temperature data series; mean and variance of temperature data.

各上报数据定义如下:The definitions of each reported data are as follows:

温度数据序列:记物联网终端的终端标识为Node_k。在计时器时长内,中继节点共收到来自Node_k的N个温度数据,用

Figure BDA0004038159960000111
以表示其中第i个温度数据。将Node_k在当前计时器周期内累计收到的N个温度数据序列记为T_data_Tj,则
Figure BDA0004038159960000112
Temperature data sequence: the terminal identifier of the IoT terminal is Node_k. Within the timer duration, the relay node receives N temperature data from Node_k in total, and uses
Figure BDA0004038159960000111
To represent the i-th temperature data. Record the N temperature data sequences accumulated and received by Node_k in the current timer cycle as T_data_Tj, then
Figure BDA0004038159960000112

温度数据均值和方差:基于温度数据序列,可以计算得到Node_k在当前计时器周期Tj内的温度数据的均值和方差,分别记为

Figure BDA0004038159960000113
Figure BDA0004038159960000114
Temperature data mean and variance: Based on the temperature data sequence, the mean and variance of the temperature data of Node_k in the current timer period Tj can be calculated, respectively recorded as
Figure BDA0004038159960000113
and
Figure BDA0004038159960000114

在另一种可实现的方式中,中继节点可以基于计数器的方式接收物联网终端的各采集周期的采集数据。可选地,启动计数器,接收物联网终端采集的各时刻的采集数据,并在所接收的采集数据的数量满足计数器的计数次数后停止采集,得到当前采集周期内的采集数据。In another practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a counter. Optionally, start the counter, receive the collection data collected by the Internet of Things terminal at each moment, and stop the collection after the amount of the received collection data satisfies the counting times of the counter, so as to obtain the collection data in the current collection period.

示例性的,初始化计数器,中继节点开始接收物联网终端上报的温度数据。当计数器达到计数目标时,中继节点基于收到的当前采集周期的温度数据计算温度均值和方差。随后中继节点将当前采集周期的完整温度序列以及温度数据的均值和方差都上报给基站。完整数据上报包括但不限于以下数据:温度数据序列;温度数据的均值和方差。Exemplarily, the counter is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the counter reaches the count target, the relay node calculates the temperature mean and variance based on the received temperature data of the current collection period. Then the relay node reports the complete temperature sequence of the current collection period and the mean value and variance of the temperature data to the base station. Complete data reporting includes but is not limited to the following data: temperature data series; mean and variance of temperature data.

温度数据序列:记物联网终端的终端标识为Node_k。设置计数器计数目标值为N。当中继节点收到来自Node_k的N个温度数据时,终止计数器并触发计算。用

Figure BDA0004038159960000121
以表示其中第i个温度数据。将Node_k累计收到的N个温度数据序列记为T_data_N,则
Figure BDA0004038159960000122
Temperature data sequence: mark the terminal ID of the IoT terminal as Node_k. Set the counter count target value to N. When the relay node receives N temperature data from Node_k, it terminates the counter and triggers the calculation. use
Figure BDA0004038159960000121
To represent the i-th temperature data. Record the N temperature data sequences accumulated by Node_k as T_data_N, then
Figure BDA0004038159960000122

温度数据均值和方差:基于温度数据序列,可以计算得到Node_k累计收到的N个温度数据的均值和方差,分别记为

Figure BDA0004038159960000123
Figure BDA0004038159960000124
Temperature data mean and variance: Based on the temperature data sequence, the mean and variance of the N temperature data accumulated by Node_k can be calculated, which are recorded as
Figure BDA0004038159960000123
and
Figure BDA0004038159960000124

图5为本申请实施例提供的物联网终端的数据处理方法的流程示意图四;可选地,步骤S202中,按照数据上报方式对采集数据进行处理,生成数据处理结果,可以包括:FIG. 5 is a schematic flow diagram 4 of the data processing method of the Internet of Things terminal provided by the embodiment of the present application; optionally, in step S202, the collected data is processed according to the data reporting method, and the data processing result is generated, which may include:

S501、若数据上报方式为增量数据上报,则根据接收的当前采集周期内各时刻的采集数据,分别确定相邻时刻的采集数据的差值,得到当前采集周期对应的采集数据增量序列。S501. If the data reporting method is incremental data reporting, then according to the received collected data at each moment in the current collection period, respectively determine the difference between the collected data at adjacent moments, and obtain the incremental sequence of collected data corresponding to the current collection period.

当数据上报方式为增量数据上报时,同样和完整数据上报一样,可根据接收的当前采集周期内各时刻的采集数据,确定当前采集周期对应的采集数据增量序列,其中,一个采集周期对应得到一个数据增量序列。When the data reporting method is incremental data reporting, it is also the same as complete data reporting. According to the received collected data at each time in the current collection cycle, the incremental sequence of collected data corresponding to the current collection cycle can be determined. Among them, one collection cycle corresponds to Get a sequence of data increments.

S502、根据当前采集周期对应的采集数据增量序列、以及当前采集周期内第一时刻的采集数据,得到当前采集周期的数据处理结果。S502. Obtain a data processing result of the current collection period according to the collection data increment sequence corresponding to the current collection period and the collection data at the first moment in the current collection period.

以采集数据为温度数据为例,中继节点可将接收的当前采集周期内的初始温度数据(采集周期内第一时刻的采集数据)和温度增量序列上报给基站。其中,一个采集周期对应得到一个数据处理结果。Taking the collected data as temperature data as an example, the relay node may report the received initial temperature data in the current collection period (collected data at the first moment in the collection period) and temperature increment sequence to the base station. Wherein, one acquisition cycle corresponds to one data processing result.

基于温度初始数据和温度增量序列,基站可以通过计算恢复所有时刻的温度数据。在温度变化不大时,温度增量序列中零值较多,可以用较少的比特位数编码表示。因此具有数据量低,占用带宽小的优点,适用于大规模终端数据上报场景。Based on the temperature initial data and the temperature increment sequence, the base station can restore the temperature data at all times through calculation. When the temperature change is small, there are more zero values in the temperature increment sequence, which can be represented by encoding with fewer bits. Therefore, it has the advantages of low data volume and small occupied bandwidth, and is suitable for large-scale terminal data reporting scenarios.

在一种可实现的方式中,中继节点可以基于计时器的方式接收物联网终端的各采集周期的采集数据。In a practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a timer.

示例性的,初始化计时器,中继节点开始接收物联网终端上报的温度数据。当计时器超时时,中继节点基于收到的当前采集周期的温度数据进行计算,并将计算结果上报给基站。增量数据上报包括但不限于以下数据初始节点温度数据;温度增量序列。Exemplarily, the timer is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the timer expires, the relay node performs calculation based on the received temperature data of the current collection period, and reports the calculation result to the base station. Incremental data reporting includes but is not limited to the following data initial node temperature data; temperature increment sequence.

各上报数据定义如下:The definitions of each reported data are as follows:

初始节点温度数据:指计时器初始化以后收到的物联网终端Node_k采集的第一个温度数据。Initial node temperature data: refers to the first temperature data collected by the IoT terminal Node_k received after the timer is initialized.

温度增量序列:计算温度数据序列中所有相邻两个温度数据之差。记终端Node_k的第n个温度数据和第n+1个温度数据之差为

Figure BDA0004038159960000131
则有
Figure BDA0004038159960000132
Figure BDA0004038159960000133
以此类推,可以计算得到所有N个温度增量数据,记计时器时长Tj内的温度数据差值增量序列为ΔT_data_Tj,则
Figure BDA0004038159960000134
Temperature increment sequence: Calculate the difference between all two adjacent temperature data in the temperature data sequence. Note that the difference between the nth temperature data of terminal Node_k and the n+1th temperature data is
Figure BDA0004038159960000131
then there is
Figure BDA0004038159960000132
Figure BDA0004038159960000133
By analogy, all N temperature increment data can be calculated, and the temperature data difference increment sequence within the timer duration T j is ΔT_data_Tj, then
Figure BDA0004038159960000134

在另一种可实现的方式中,中继节点可以基于计数器的方式接收物联网终端的各采集周期的采集数据。In another practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a counter.

示例性的,初始化计数器,中继节点开始接收物联网终端上报的温度数据。当计数器达到计数目标时,中继节点基于收到的当前采集周期内的各温度数据进行计算,并将计算结果上报给基站。增量数据上报包括但不限于以下数据:初始节点温度数据;温度增量序列。Exemplarily, the counter is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the counter reaches the counting target, the relay node performs calculation based on the received temperature data in the current collection period, and reports the calculation result to the base station. Incremental data reporting includes but is not limited to the following data: initial node temperature data; temperature increment sequence.

各上报数据定义如下:The definitions of each reported data are as follows:

初始节点温度数据:指计数器初始化以后收到的终端Node_k第一个温度数据。Initial node temperature data: refers to the first temperature data of terminal Node_k received after the counter is initialized.

温度增量序列:计算温度数据序列中所有相邻两个温度数据之差。记第n个温度数据和第n+1个温度数据之差为

Figure BDA0004038159960000135
则有
Figure BDA0004038159960000136
Figure BDA0004038159960000137
以此类推,可以计算得到所有N个数据温度差值,记N个数据温度差值序列为ΔT_data_Tj,则
Figure BDA0004038159960000138
Temperature increment sequence: Calculate the difference between all two adjacent temperature data in the temperature data sequence. Record the difference between the nth temperature data and the n+1th temperature data as
Figure BDA0004038159960000135
then there is
Figure BDA0004038159960000136
Figure BDA0004038159960000137
By analogy, all N data temperature differences can be calculated, and the N data temperature difference sequence is recorded as ΔT_data_Tj, then
Figure BDA0004038159960000138

图6为本申请实施例提供的物联网终端的数据处理方法的流程示意图五;可选地,步骤S202中,按照数据上报方式对采集数据进行处理,生成数据处理结果,可以包括:FIG. 6 is a schematic flow diagram five of the data processing method of the Internet of Things terminal provided by the embodiment of the present application; optionally, in step S202, the collected data is processed according to the data reporting method, and the data processing result is generated, which may include:

S601、若数据上报方式为统计值增量数据上报,则根据接收的至少两个连续采集周期内各时刻的采集数据,生成连续采集周期对应的均值增量序列及方差增量序列,均值增量序列包括相邻采集周期的均值之差,方差增量序列包括相邻采集周期的方差之差。S601. If the data reporting method is statistical value incremental data reporting, then according to the received collected data at each time in at least two continuous collection periods, generate a mean value increment sequence and a variance increment sequence corresponding to the continuous collection periods, and the mean value increment The sequence includes the difference of the means of adjacent acquisition periods, and the sequence of variance increments includes the difference of the variance of adjacent acquisition periods.

在统计值增量数据上报这种方式下,获取采集数据可以是获取连续多个采集周期的采集数据,结合各采集周期的采集数据,得到相邻采集周期的采集数据均值之差和方差之差,也即将相邻采集周期的数据统计值之差构成统计值序列上报给基站。In the way of statistical value incremental data reporting, the acquisition of collected data can be to obtain the collected data of multiple consecutive collection cycles, and combine the collected data of each collection cycle to obtain the difference between the mean value and variance of the collected data of adjacent collection cycles , that is, the difference between the data statistical values of adjacent collection periods constitutes a statistical value sequence and reports it to the base station.

S602、根据第一采集周期对应的数据均值及数据方差、以及均值增量序列及方差增量序列,得到连续采集周期的数据处理结果。S602. According to the data mean value and data variance corresponding to the first acquisition period, and the mean value increment sequence and the variance increment sequence, obtain the data processing results of the continuous acquisition periods.

区别于上述的两种数据上报方式,在统计值增量数据上报这种方式中,多个连续采集周期对应计算得到一个数据处理结果。Different from the above two data reporting methods, in the method of statistical value incremental data reporting, multiple consecutive acquisition cycles are correspondingly calculated to obtain a data processing result.

以温度数据为例,中继节点将初始计时周期内的温度数据统计值和相邻计时周期之间的温度统计值增量上报给基站。基站可以根据初始计时周期的温度数据统计值和统计值增量,恢复所有计时周期的温度数据统计值。该方法连续多个采集周期为单位上报温度数据统计值。可以进一步减少数据上报数量和频率,大大节省信道资源。适用于物联网终端电量较低、物联网终端数据变化幅度较小以及大规模终端数据上报场景。Taking temperature data as an example, the relay node reports the statistical value of the temperature data in the initial timing period and the increment of the temperature statistical value between adjacent timing periods to the base station. The base station can restore the statistical value of temperature data in all timing periods according to the statistical value of temperature data in the initial timing period and the increment of the statistical value. The method reports the statistical value of the temperature data in units of continuous multiple collection periods. The number and frequency of data reporting can be further reduced, greatly saving channel resources. It is suitable for scenarios where the power of IoT terminals is low, the data of IoT terminals has a small change range, and large-scale terminal data reporting scenarios.

在一种可实现的方式中,中继节点可以基于计时器的方式接收物联网终端的各采集周期的采集数据。In a practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a timer.

示例性的,初始化计时器,中继节点开始接收物联网终端上报的温度数据。当计时器超时时,中继节点基于收到的温度数据进行计算,并将计算结果上报给基站。统计值增量数据上报包括但不限于以下数据:温度统计值初始值;温度统计值增量序列。Exemplarily, the timer is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the timer expires, the relay node performs calculation based on the received temperature data, and reports the calculation result to the base station. Statistical value incremental data reporting includes but is not limited to the following data: initial value of temperature statistical value; incremental sequence of temperature statistical value.

各上报数据定义如下:The definitions of each reported data are as follows:

温度统计值初始值:初始计时周期内的温度数据均值

Figure BDA0004038159960000141
和方差
Figure BDA0004038159960000142
Initial value of temperature statistical value: the average value of temperature data in the initial timing period
Figure BDA0004038159960000141
and variance
Figure BDA0004038159960000142

温度统计值增量序列:中继节点如果收到连续多个计时器周期内的累计数据,则可以计算相邻计时周期内的温度数据的均值增量及方差增量,并构造为增量序列。如下:Incremental sequence of temperature statistical value: If the relay node receives the cumulative data in multiple consecutive timer periods, it can calculate the mean increment and variance increment of the temperature data in adjacent timing periods, and construct it as an incremental sequence . as follows:

记节点在计时器周期Tj内收到的温度数据的均值

Figure BDA0004038159960000143
和方差
Figure BDA0004038159960000144
记节点在下一个计时器周期Tj+1内收到的温度数据的均值
Figure BDA0004038159960000145
和方差
Figure BDA0004038159960000146
则温度均值增量为
Figure BDA0004038159960000151
温度方差增量为
Figure BDA0004038159960000152
Record the average value of the temperature data received by the node in the timer period T j
Figure BDA0004038159960000143
and variance
Figure BDA0004038159960000144
Record the average value of the temperature data received by the node in the next timer period T j+1
Figure BDA0004038159960000145
and variance
Figure BDA0004038159960000146
Then the temperature mean increment is
Figure BDA0004038159960000151
The temperature variance increment is
Figure BDA0004038159960000152

以此类推,假设中继节点收到来自终端Node_k的累计M个计时器周期的数据,可以计算得到温度均值增量序列

Figure BDA0004038159960000153
Figure BDA0004038159960000154
以及温度方差增量序列
Figure BDA0004038159960000155
By analogy, assuming that the relay node receives the accumulated data of M timer cycles from the terminal Node_k, the temperature mean increment sequence can be calculated
Figure BDA0004038159960000153
Figure BDA0004038159960000154
and the sequence of temperature variance increments
Figure BDA0004038159960000155

在另一种可实现的方式中,中继节点可以基于计数器的方式接收物联网终端的各采集周期的采集数据。In another practicable manner, the relay node may receive the collected data of each collection cycle of the Internet of Things terminal based on a counter.

示例性的,初始化计数器,中继节点开始接收物联网终端上报的温度数据。当计数器达到计数目标时,中继节点基于收到的温度数据进行计算并上报给基站。统计值增量上报包括但不限于以下数据:温度统计值初始值;温度统计值增量序列。Exemplarily, the counter is initialized, and the relay node starts to receive the temperature data reported by the IoT terminal. When the counter reaches the counting target, the relay node calculates based on the received temperature data and reports it to the base station. Incremental reporting of statistical values includes, but is not limited to, the following data: initial value of statistical statistical values of temperature; incremental sequence of statistical statistical values of temperature.

各上报数据定义如下:The definitions of each reported data are as follows:

温度统计值初始值:第一个计数周期结束后,收到的N个温度数据的均值

Figure BDA00040381599600001516
和方差
Figure BDA00040381599600001517
Initial value of temperature statistical value: after the end of the first counting cycle, the average value of the received N temperature data
Figure BDA00040381599600001516
and variance
Figure BDA00040381599600001517

温度统计值增量序列:中继节点如果接收到连续多个计数周期的累计数据,则可以计算基于相邻计数周期的计数结果的温度数据均值及方差的增量并上报。如下:Increment sequence of temperature statistical value: If the relay node receives the accumulated data of multiple consecutive counting periods, it can calculate and report the increment of the mean value and variance of the temperature data based on the counting results of adjacent counting periods. as follows:

当计数器的计数周期j达到计数目标N时,记收到的N个温度数据的均值

Figure BDA00040381599600001512
和方差
Figure BDA00040381599600001513
当计数器的计数周期j+1达到计数目标N时,收到的新的N个温度数据的均值
Figure BDA00040381599600001514
和方差
Figure BDA00040381599600001515
则温度均值增量为
Figure BDA0004038159960000156
Figure BDA0004038159960000157
温度方差增量为
Figure BDA0004038159960000158
When the counting period j of the counter reaches the counting target N, record the average value of the received N temperature data
Figure BDA00040381599600001512
and variance
Figure BDA00040381599600001513
When the counting period j+1 of the counter reaches the counting target N, the average value of the new N temperature data received
Figure BDA00040381599600001514
and variance
Figure BDA00040381599600001515
Then the temperature mean increment is
Figure BDA0004038159960000156
Figure BDA0004038159960000157
The temperature variance increment is
Figure BDA0004038159960000158

以此类推,假设中继节点收到来自终端Node_k的累计M个计数周期的数据,可以计算得到温度均值增量序列

Figure BDA0004038159960000159
Figure BDA00040381599600001510
以及温度方差增量序列
Figure BDA00040381599600001511
By analogy, assuming that the relay node receives the accumulated data of M counting cycles from the terminal Node_k, the temperature mean increment sequence can be calculated
Figure BDA0004038159960000159
Figure BDA00040381599600001510
and the sequence of temperature variance increments
Figure BDA00040381599600001511

基于本方案所设计的中继节点的三种数据上报方式,根据实际的数据采集场景参数选择适配的数据上报方式进行数据处理上报,可有效提升数据处理和上报效率。同时考虑了基于计时器和计数器的中继节点数据处理机制,可实现不同的数据采集模式。Based on the three data reporting methods of the relay node designed in this scheme, the data processing and reporting can be effectively improved by selecting the adapted data reporting method according to the actual data collection scene parameters. At the same time, the relay node data processing mechanism based on timer and counter is considered, which can realize different data collection modes.

综上所述,本实施例提供的物联网终端的数据处理方法,通过在物联网系统中部署中继节点,物联网终端所采集的数据可以先发送至中继节点,而中继节点可根据数据采集场景参数,确定匹配的数据上报方式对物联网终端所发送的采集数据进行处理,并最终由中继节点将数据处理结果上报给基站。通过引入中继节点,可缓解由于物联网终端的存储和算力较弱所导致的直接向基站上报数据使得数据可能丢失的问题。另外,根据数据采集场景参数确定适配的数据上报方式进行数据处理,可使得数据上报方式更加适配当前的场景,从而保障数据上报的稳定性,有效提升数据处理和上报效率。To sum up, the data processing method of the Internet of Things terminal provided by this embodiment, by deploying the relay node in the Internet of Things system, the data collected by the Internet of Things terminal can be sent to the relay node first, and the relay node can be based on Data collection scene parameters, determine the matching data reporting method, process the collected data sent by the IoT terminal, and finally report the data processing result to the base station by the relay node. By introducing relay nodes, the problem of possible data loss caused by directly reporting data to the base station due to weak storage and computing power of IoT terminals can be alleviated. In addition, determining the adapted data reporting method according to the data collection scene parameters for data processing can make the data reporting method more suitable for the current scene, thereby ensuring the stability of data reporting and effectively improving the efficiency of data processing and reporting.

下述对用以执行本申请所提供的物联网终端的数据处理方法的装置、设备及存储介质等进行说明,其具体的实现过程以及技术效果参见上述,下述不再赘述。The following describes the devices, devices, and storage media used to implement the data processing method for the Internet of Things terminal provided by this application. The specific implementation process and technical effects refer to the above, and will not be repeated below.

图7为本申请实施例提供的一种物联网终端的数据处理装置的示意图,物联网终端的数据处理装置应用于物联网系统中的中继节点,物联网系统包括:多个物联网终端、中继节点及基站,中继节点分别与各物联网终端及基站相互通信;该物联网终端的数据处理装置实现的功能对应上述方法执行的步骤。该装置可以理解为上述的中继节点,如图7所示,该装置可包括:确定模块710、处理模块720;7 is a schematic diagram of a data processing device for an Internet of Things terminal provided by an embodiment of the present application. The data processing device for an Internet of Things terminal is applied to a relay node in an Internet of Things system. The Internet of Things system includes: a plurality of Internet of Things terminals, The relay node and the base station, the relay node communicates with each Internet of Things terminal and base station respectively; the functions realized by the data processing device of the Internet of Things terminal correspond to the steps performed by the above method. The device can be understood as the above-mentioned relay node, as shown in FIG. 7 , the device can include: a determination module 710, a processing module 720;

确定模块710,用于根据数据采集场景参数,确定数据上报方式,数据采集场景参数包括如下至少一项:数据采集量、中继节点所绑定的物联网终端的数量、物联网终端的电量;The determination module 710 is used to determine the data reporting method according to the data collection scene parameters. The data collection scene parameters include at least one of the following: data collection volume, the number of IoT terminals bound to the relay node, and the power of the IoT terminal;

处理模块720,用于接收物联网终端发送的采集数据,并按照数据上报方式对采集数据进行处理,生成数据处理结果,并将数据处理结果上报至基站。The processing module 720 is configured to receive the collected data sent by the IoT terminal, process the collected data according to the data reporting method, generate a data processing result, and report the data processing result to the base station.

可选地,确定模块710,具体用于若数据采集量小于第一阈值且中继节点所绑定的物联网终端的数量满足第一数量,则确定数据上报方式为完整数据上报;Optionally, the determining module 710 is specifically configured to determine that the data reporting method is complete data reporting if the amount of data collected is less than the first threshold and the number of IoT terminals bound to the relay node satisfies the first number;

若数据采集量大于第二阈值,则确定数据上报方式为增量数据上报;If the amount of data collected is greater than the second threshold, it is determined that the data reporting method is incremental data reporting;

若数据采集量大于第二阈值且物联网终端的电量低于预设电量,则确定数据上报方式为统计值增量数据上报。If the amount of data collected is greater than the second threshold and the power of the IoT terminal is lower than the preset power, it is determined that the data reporting method is statistical value incremental data reporting.

可选地,处理模块720,具体用于若数据上报方式为完整数据上报,则根据接收的当前采集周期内各时刻的采集数据,生成当前采集周期对应的数据序列;Optionally, the processing module 720 is specifically configured to generate a data sequence corresponding to the current collection period according to the received collection data at each moment in the current collection period if the data reporting method is complete data reporting;

根据各时刻的采集数据,分别确定当前采集周期对应的数据均值及数据方差;According to the collected data at each moment, respectively determine the data mean value and data variance corresponding to the current collection cycle;

根据当前采集周期对应的数据序列、以及当前采集周期对应的数据均值及数据方差,得到当前采集周期的数据处理结果。According to the data sequence corresponding to the current collection period, and the data mean value and data variance corresponding to the current collection period, the data processing result of the current collection period is obtained.

可选地,处理模块720,具体用于若数据上报方式为增量数据上报,则根据接收的当前采集周期内各时刻的采集数据,分别确定相邻时刻的采集数据的差值,得到当前采集周期对应的采集数据增量序列;Optionally, the processing module 720 is specifically configured to, if the data reporting method is incremental data reporting, determine the difference between the collected data at adjacent moments according to the received collected data at each time in the current collection period, and obtain the current collected data Acquisition data increment sequence corresponding to the period;

根据当前采集周期对应的采集数据增量序列、以及当前采集周期内第一时刻的采集数据,得到当前采集周期的数据处理结果。The data processing result of the current collection period is obtained according to the collection data increment sequence corresponding to the current collection period and the collection data at the first moment in the current collection period.

可选地,处理模块720,具体用于若数据上报方式为统计值增量数据上报,则根据接收的至少两个连续采集周期内各时刻的采集数据,生成连续采集周期对应的均值增量序列及方差增量序列,均值增量序列包括相邻采集周期的均值之差,方差增量序列包括相邻采集周期的方差之差;Optionally, the processing module 720 is specifically configured to generate the mean increment sequence corresponding to the continuous collection period according to the received collection data at each moment in at least two continuous collection periods if the data reporting method is statistical value incremental data reporting And the variance increment sequence, the mean increment sequence includes the mean value difference of adjacent acquisition periods, and the variance increment sequence includes the variance difference of adjacent acquisition periods;

根据第一采集周期对应的数据均值及数据方差、以及均值增量序列及方差增量序列,得到连续采集周期的数据处理结果。According to the data mean value and data variance corresponding to the first acquisition period, and the mean value increment sequence and the variance increment sequence, the data processing results of the continuous acquisition periods are obtained.

可选地,装置还包括:接收模块;Optionally, the device further includes: a receiving module;

接收模块,用于启动计时器,接收物联网终端采集的各时刻的采集数据,并在计时超时后停止采集,得到当前采集周期内各时刻的采集数据。The receiving module is used to start the timer, receive the collection data collected by the Internet of Things terminal at each time, and stop the collection after the timing expires, so as to obtain the collection data at each time in the current collection cycle.

接收模块,还用于启动计数器,接收物联网终端采集的各时刻的采集数据,并在所接收的采集数据的数量满足计数器的计数次数后停止采集,得到当前采集周期内的采集数据。The receiving module is also used to start the counter, receive the collection data collected by the Internet of Things terminal at each moment, and stop the collection after the amount of the received collection data meets the counting times of the counter, so as to obtain the collection data in the current collection cycle.

上述装置用于执行前述实施例提供的方法,其实现原理和技术效果类似,在此不再赘述。The above-mentioned apparatus is used to execute the methods provided in the foregoing embodiments, and its implementation principles and technical effects are similar, and details are not repeated here.

以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(digital singnal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(CentralProcessing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,简称SOC)的形式实现。The above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC), or, one or more microprocessors (digital singnal processor, DSP for short), or, one or more Field Programmable Gate Arrays (Field Programmable Gate Array, FPGA for short), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).

上述模块可以经由有线连接或无线连接彼此连接或通信。有线连接可以包括金属线缆、光缆、混合线缆等,或其任意组合。无线连接可以包括通过LAN、WAN、蓝牙、ZigBee、或NFC等形式的连接,或其任意组合。两个或更多个模块可以组合为单个模块,并且任何一个模块可以分成两个或更多个单元。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考方法实施例中的对应过程,本申请中不再赘述。The above-mentioned modules may be connected or communicate with each other via a wired connection or a wireless connection. Wired connections may include metal cables, fiber optic cables, hybrid cables, etc., or any combination thereof. Wireless connections may include connections via LAN, WAN, Bluetooth, ZigBee, or NFC, etc., or any combination thereof. Two or more modules can be combined into a single module, and any one module can be divided into two or more units. Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, which will not be repeated in this application.

图8为本申请实施例提供的一种电子设备的结构示意图,该设备可以是具备数据处理功能的计算设备。FIG. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and the device may be a computing device with a data processing function.

该设备可包括:处理器801、存储介质802。The device may include: a processor 801 and a storage medium 802 .

存储介质802用于存储程序,处理器801调用存储介质802存储的程序,以执行上述方法实施例。具体实现方式和技术效果类似,这里不再赘述。The storage medium 802 is used to store a program, and the processor 801 invokes the program stored in the storage medium 802 to execute the foregoing method embodiments. The specific implementation manner and technical effect are similar, and will not be repeated here.

其中,存储介质802存储有程序代码,当程序代码被处理器801执行时,使得处理器801执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的物联网终端的数据处理方法中的各种步骤。Wherein, the storage medium 802 stores program codes, and when the program codes are executed by the processor 801, the processor 801 executes the Internet of Things terminal according to various exemplary embodiments of the present application described in the "Exemplary Method" section above. Various steps in the data processing method.

处理器801可以是通用处理器,例如中央处理器(CPU)、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。The processor 801 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array) , FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

存储介质802作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储介质可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储介质、随机访问存储介质(Random AccessMemory,RAM)、静态随机访问存储介质(Static Random Access Memory,SRAM)、可编程只读存储介质(Programmable Read Only Memory,PROM)、只读存储介质(Read Only Memory,ROM)、带电可擦除可编程只读存储介质(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储介质、磁盘、光盘等等。存储介质是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储介质802还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。The storage medium 802, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. The storage medium can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type storage medium, random access storage medium (Random Access Memory, RAM), static random access storage medium (Static Random Access Memory, SRAM) ), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM) , magnetic storage media, magnetic disks, optical disks, etc. A storage medium is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or a data structure and that can be accessed by a computer. The storage medium 802 in the embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and/or data.

可选地,本申请还提供一种程序产品,例如计算机可读存储介质,包括程序,该程序在被处理器执行时用于执行上述方法实施例。Optionally, the present application further provides a program product, such as a computer-readable storage medium, including a program, and the program is used to execute the foregoing method embodiments when executed by a processor.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储介质(英文:Read-Only Memory,简称:ROM)、随机存取存储介质(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the functions described in various embodiments of the present application. part of the method. The aforementioned storage medium includes: U disk, mobile hard disk, read-only storage medium (English: Read-Only Memory, abbreviated: ROM), random access storage medium (English: Random Access Memory, abbreviated: RAM), magnetic disk or CDs and other media that can store program codes.

Claims (10)

1. The data processing method of the terminal of the Internet of things is characterized by being applied to a relay node in a system of the Internet of things, and the system of the Internet of things comprises: the system comprises a plurality of internet of things terminals, the relay nodes and base stations, wherein the relay nodes are respectively communicated with the internet of things terminals and the base stations; the method comprises the following steps:
Determining a data reporting mode according to data acquisition scene parameters, wherein the data acquisition scene parameters comprise at least one of the following: the method comprises the steps of data acquisition amount, the number of the terminals of the Internet of things bound by the relay node and the electric quantity of the terminals of the Internet of things;
and receiving the acquired data sent by the terminal of the Internet of things, processing the acquired data according to the data reporting mode, generating a data processing result, and reporting the data processing result to a base station.
2. The method of claim 1, wherein determining a data reporting mode based on the data acquisition scene parameters comprises:
if the data acquisition amount is smaller than a first threshold value and the number of the terminals of the Internet of things bound by the relay node meets the first number, determining that the data reporting mode is complete data reporting;
if the data acquisition amount is greater than a second threshold value, determining that the data reporting mode is incremental data reporting;
and if the data acquisition quantity is larger than a second threshold value and the electric quantity of the terminal of the Internet of things is lower than the preset electric quantity, determining that the data reporting mode is statistical value incremental data reporting.
3. The method of claim 2, wherein the processing the collected data according to the data reporting manner to generate a data processing result includes:
If the data reporting mode is complete data reporting, generating a data sequence corresponding to the current acquisition period according to the received acquisition data at each moment in the current acquisition period;
respectively determining a data mean value and a data variance corresponding to the current acquisition period according to the acquired data at each moment;
and obtaining a data processing result of the current acquisition period according to the data sequence corresponding to the current acquisition period and the data mean value and the data variance corresponding to the current acquisition period.
4. The method of claim 2, wherein the processing the collected data according to the data reporting manner to generate a data processing result includes:
if the data reporting mode is incremental data reporting, respectively determining the difference value of the acquired data at adjacent moments according to the received acquired data at each moment in the current acquisition period to obtain an acquired data incremental sequence corresponding to the current acquisition period;
and obtaining a data processing result of the current acquisition period according to the acquisition data increment sequence corresponding to the current acquisition period and the acquisition data of the first moment in the current acquisition period.
5. The method of claim 2, wherein the processing the collected data according to the data reporting manner to generate a data processing result includes:
If the data reporting mode is statistical value increment data reporting, generating a mean value increment sequence and a variance increment sequence corresponding to the continuous acquisition period according to the received acquisition data at each moment in at least two continuous acquisition periods, wherein the mean value increment sequence comprises the difference between the mean values of the adjacent acquisition periods, and the variance increment sequence comprises the difference between the variances of the adjacent acquisition periods;
and obtaining a data processing result of the continuous acquisition period according to the data mean value and the data variance corresponding to the first acquisition period and the mean value increment sequence and the variance increment sequence.
6. The method according to any one of claims 3-5, further comprising:
and starting a timer, receiving the acquired data of each moment acquired by the terminal of the Internet of things, and stopping acquisition after timing is overtime to obtain the acquired data of each moment in the current acquisition period.
7. The method according to any one of claims 3-5, further comprising:
and starting a counter, receiving the acquired data of each moment acquired by the terminal of the Internet of things, and stopping acquisition after the number of the received acquired data meets the counting times of the counter to obtain the acquired data in the current acquisition period.
8. The utility model provides a data processing apparatus of thing networking terminal which characterized in that is applied to the relay node in thing networking system, thing networking system includes: the system comprises a plurality of internet of things terminals, the relay nodes and base stations, wherein the relay nodes are respectively communicated with the internet of things terminals and the base stations; the device comprises: a determining module and a processing module;
the determining module is configured to determine a data reporting mode according to a data acquisition scene parameter, where the data acquisition scene parameter includes at least one of the following: the method comprises the steps of data acquisition amount, the number of the terminals of the Internet of things bound by the relay node and the electric quantity of the terminals of the Internet of things;
the processing module is used for receiving the acquired data sent by the terminal of the Internet of things, processing the acquired data according to the data reporting mode, generating a data processing result and reporting the data processing result to the base station.
9. An electronic device, comprising: the system comprises a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, when the electronic device runs, the processor and the storage medium are communicated through the bus, and the processor executes the program instructions to execute the steps of the data processing method of the internet of things terminal according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the data processing method of an internet of things terminal according to any one of claims 1 to 7.
CN202310012437.6A 2023-01-05 2023-01-05 Data processing method, device, electronic device and storage medium of Internet of Things terminal Pending CN116017344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310012437.6A CN116017344A (en) 2023-01-05 2023-01-05 Data processing method, device, electronic device and storage medium of Internet of Things terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310012437.6A CN116017344A (en) 2023-01-05 2023-01-05 Data processing method, device, electronic device and storage medium of Internet of Things terminal

Publications (1)

Publication Number Publication Date
CN116017344A true CN116017344A (en) 2023-04-25

Family

ID=86033396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310012437.6A Pending CN116017344A (en) 2023-01-05 2023-01-05 Data processing method, device, electronic device and storage medium of Internet of Things terminal

Country Status (1)

Country Link
CN (1) CN116017344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116567034A (en) * 2023-05-25 2023-08-08 深圳市视壮科技有限公司 Data transmission method for Internet of things

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110264766A1 (en) * 2008-11-11 2011-10-27 Ntt Docomo, Inc. Information collecting system, communication terminal and information collecting method
CN107332887A (en) * 2017-06-21 2017-11-07 深圳市盛路物联通讯技术有限公司 A kind of Internet of Things data intelligently filters method and system based on scene information
CN109617824A (en) * 2018-11-08 2019-04-12 中国联合网络通信集团有限公司 Data collection method, device and server
WO2020001349A1 (en) * 2018-06-25 2020-01-02 中兴通讯股份有限公司 Data collection method and apparatus, and computer readable storage medium
CN111328038A (en) * 2020-02-27 2020-06-23 青岛海信移动通信技术股份有限公司 Data transmission method and device under NB (NB) network
WO2022045875A1 (en) * 2020-08-28 2022-03-03 Mimos Berhad System and method for qualitative internet of things communications
CN115038058A (en) * 2022-06-07 2022-09-09 武汉星辰北斗科技有限公司 Regional ad hoc network data transmission method, system and device based on block chain
CN115460567A (en) * 2022-11-09 2022-12-09 清华大学 Data processing method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110264766A1 (en) * 2008-11-11 2011-10-27 Ntt Docomo, Inc. Information collecting system, communication terminal and information collecting method
CN107332887A (en) * 2017-06-21 2017-11-07 深圳市盛路物联通讯技术有限公司 A kind of Internet of Things data intelligently filters method and system based on scene information
WO2020001349A1 (en) * 2018-06-25 2020-01-02 中兴通讯股份有限公司 Data collection method and apparatus, and computer readable storage medium
CN109617824A (en) * 2018-11-08 2019-04-12 中国联合网络通信集团有限公司 Data collection method, device and server
CN111328038A (en) * 2020-02-27 2020-06-23 青岛海信移动通信技术股份有限公司 Data transmission method and device under NB (NB) network
WO2022045875A1 (en) * 2020-08-28 2022-03-03 Mimos Berhad System and method for qualitative internet of things communications
CN115038058A (en) * 2022-06-07 2022-09-09 武汉星辰北斗科技有限公司 Regional ad hoc network data transmission method, system and device based on block chain
CN115460567A (en) * 2022-11-09 2022-12-09 清华大学 Data processing method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
仇志金;郭忠文;刘超;: "传感器网络节点数据高速采集自适应算法", 东南大学学报(自然科学版), no. 2, 20 November 2012 (2012-11-20), pages 239 - 243 *
吴超;刘元安;吴帆;范文浩;唐碧华;: "移动性受限物联网应用中基于图论的高效数据采集策略", 浙江大学学报(工学版), no. 08, 23 August 2018 (2018-08-23), pages 19 - 26 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116567034A (en) * 2023-05-25 2023-08-08 深圳市视壮科技有限公司 Data transmission method for Internet of things
CN116567034B (en) * 2023-05-25 2024-01-26 深圳市视壮科技有限公司 Data transmission method for Internet of things

Similar Documents

Publication Publication Date Title
CN107743308A (en) A node clustering data collection method and device for environmental monitoring
CN105896672A (en) Charging method for mobile robot in wireless charging sensor network system
Tang et al. An energy harvesting aware routing algorithm for hierarchical clustering wireless sensor networks
CN106900000A (en) The mixing dormancy monitoring method and wireless senser of wireless senser
Khriji et al. Measuring energy consumption of a wireless sensor node during transmission: Panstamp
US11899068B2 (en) Battery life extension via changes in transmission rates
CN110213677A (en) Intelligent low-power consumption multi-functional energy table design method based on LoRa
CN116828412B (en) New energy automobile fills and trades electric box and becomes rack wireless communication system
CN112702219B (en) Internet of things network monitoring method, device, equipment and storage medium
CN116017344A (en) Data processing method, device, electronic device and storage medium of Internet of Things terminal
CN108650710B (en) A Resource Allocation Method for Wireless Powered Communication Network Based on Hybrid Multiple Access
CN111512673B (en) A wake-up method and device for a network node
CN106878958B (en) Rapid propagation method based on adjustable duty ratio in software defined wireless network
Bogliolo et al. Towards a true energetically sustainable WSN: A case study with prediction-based data collection and a wake-up receiver
Kumar et al. Dynamic energy efficient distance aware protocol for the cluster head selection in the wireless sensor networks
CN110167111A (en) Communication means and device
US11516561B2 (en) Method for reading fluid meters
CN108064053B (en) Network performance analysis method and device
Oren et al. Adaptive Distributed Hierarchical Sensing algorithm for reduction of wireless sensor network cluster-heads energy consumption
Girban et al. A glance on WSN lifetime and relevant factors for energy consumption
CN117834675B (en) A low-power networking communication system and method for Internet of Things node devices
Mosavat et al. Experience: ARISTOTLE: wAke-up ReceIver-based, STar tOpology baTteryLEss sensor network
CN112469111B (en) Wireless communication method and device based on LoRa and gateway equipment
Yu-liang et al. Wireless sensor network for on-line structural health monitoring
CN116233960A (en) Device pairing method, electronic device and computer readable 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