Intelligent building data acquisition method

文档序号:1798830 发布日期:2021-11-05 浏览:36次 中文

阅读说明:本技术 一种智慧楼宇数据采集方法 (Intelligent building data acquisition method ) 是由 季伟 张涛 蒋天勇 于 2021-07-30 设计创作,主要内容包括:本申请提供的一种智慧楼宇数据采集方法,涉及数据处理技术领域。在本申请中,所述智慧楼宇数据采集方法包括:获取与所述楼宇数据处理设备通信连接的楼宇监控设备发送的楼宇监控数据包,其中,所述楼宇监控数据包基于所述楼宇监控设备对所在的楼宇环境进行信息采集得到;对所述楼宇监控数据包进行解析处理,得到所述楼宇监控数据包包括的待处理楼宇监控数据;对所述待处理楼宇监控数据进行采样处理,得到所述待处理楼宇监控数据对应的目标楼宇监控数据,其中,所述目标楼宇监控数据的数据量小于或等于所述待处理楼宇监控数据的数据量。基于上述方法,可以改善现有的数据处理技术中容易出现资源浪费的问题。(The application provides an intelligent building data acquisition method, and relates to the technical field of data processing. In this application, the intelligent building data acquisition method includes: acquiring a building monitoring data packet sent by building monitoring equipment in communication connection with the building data processing equipment, wherein the building monitoring data packet is obtained by acquiring information of a building environment where the building monitoring equipment is located based on the building monitoring equipment; analyzing the building monitoring data packet to obtain building monitoring data to be processed, wherein the building monitoring data to be processed is included in the building monitoring data packet; sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed, wherein the data volume of the target building monitoring data is less than or equal to that of the building monitoring data to be processed. Based on the method, the problem that resources are easy to waste in the existing data processing technology can be improved.)

1. The intelligent building data acquisition method is applied to building data processing equipment and comprises the following steps:

acquiring a building monitoring data packet sent by building monitoring equipment in communication connection with the building data processing equipment, wherein the building monitoring data packet is obtained by acquiring information of a building environment where the building monitoring equipment is located based on the building monitoring equipment;

analyzing the building monitoring data packet to obtain building monitoring data to be processed, wherein the building monitoring data to be processed is included in the building monitoring data packet;

sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed, wherein the data volume of the target building monitoring data is less than or equal to that of the building monitoring data to be processed.

2. The intelligent building data collection method according to claim 1, wherein the step of obtaining building monitoring data packets transmitted by building monitoring devices communicatively connected to the building data processing device comprises:

judging whether a building data acquisition instruction is received or not, wherein the building data processing equipment is in communication connection with a building monitoring terminal, and the building monitoring terminal is used for generating the building data acquisition instruction based on building data acquisition operation performed by a corresponding building monitoring user;

if the building data acquisition instruction sent by the building monitoring terminal is received, determining corresponding building monitoring equipment based on building environment identification information carried by the building data acquisition instruction;

sending the generated building data acquisition information to the determined building monitoring equipment, wherein the building monitoring equipment is used for acquiring information of the building environment based on the building data acquisition information to obtain corresponding building monitoring data;

and acquiring a building monitoring data packet which is formed and sent by the building monitoring equipment based on the acquired building monitoring data.

3. The intelligent building data collection method according to claim 2, wherein the step of obtaining a building monitoring data packet formed and transmitted by the building monitoring device based on the collected building monitoring data comprises:

after the generated building data acquisition information is sent to the determined building monitoring equipment, building data acquisition confirmation information is generated, and the building data acquisition confirmation information is sent to the building monitoring equipment, wherein the building monitoring equipment is used for sending first time information for starting information acquisition to the building data processing equipment based on the data acquisition confirmation information;

acquiring first time information sent by the building monitoring equipment based on the building data acquisition confirmation information, generating building data acquisition notification information based on the first time information after a predetermined first time length, and sending the building data acquisition notification information to the building monitoring equipment, wherein the building monitoring equipment is used for packaging building monitoring data acquired from the first time information to form a building monitoring data packet based on the building data acquisition notification information;

and acquiring a building monitoring data packet sent by the building monitoring equipment based on the building data acquisition notification information.

4. The intelligent building data collection method according to claim 1, wherein the step of analyzing the building monitoring data packet to obtain the building monitoring data to be processed included in the building monitoring data packet comprises:

acquiring predetermined protocol type information;

and analyzing the building monitoring data packet based on the protocol type information to obtain the building monitoring data to be processed included by the building monitoring data packet.

5. The intelligent building data collection method according to claim 4, wherein the step of analyzing the building monitoring data packet based on the protocol type information to obtain the building monitoring data to be processed included in the building monitoring data packet comprises:

analyzing the building monitoring data packet based on the protocol type information to obtain a plurality of building monitoring data segments with a precedence relationship;

determining whether a target building monitoring data segment exists in the plurality of building monitoring data segments, wherein the target building monitoring data segment is formed based on target identification information;

if the target building monitoring data segments exist, performing data recovery processing on the target building monitoring data segments to form corresponding building monitoring data segments aiming at each target building monitoring data segment;

and forming the building monitoring data to be processed included in the building monitoring data packet based on all the obtained building monitoring data segments.

6. The intelligent building data collection method according to claim 5, wherein if the target building monitoring data segments exist, the step of performing data recovery processing on each target building monitoring data segment to form a corresponding building monitoring data segment comprises:

if the target building monitoring data segments exist, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to each target building monitoring data segment based on the precedence relationship among the building monitoring data segments;

and for each target building monitoring data segment, performing data recovery processing on the target building monitoring data segment based on a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment to obtain a corresponding building monitoring data segment.

7. The intelligent building data collection method according to claim 6, wherein the step of determining, for each target building monitoring data segment, a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on the precedence relationship among the plurality of building monitoring data segments, if the target building monitoring data segment exists, comprises:

if the target building monitoring data segments exist, determining whether two adjacent target building monitoring data segments exist based on the precedence relationship among the building monitoring data segments;

for each target building monitoring data segment without other adjacent target building monitoring data segments, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on the precedence relationship among the plurality of building monitoring data segments;

and for two adjacent target building monitoring data segments, determining a previous building monitoring data segment and a next building monitoring data segment of the two target building monitoring data segments as a whole based on the precedence relationship between the plurality of building monitoring data segments.

8. The intelligent building data collection method according to claim 6, wherein the step of performing data recovery processing on each target building monitoring data segment based on the previous building monitoring data segment and the next building monitoring data segment corresponding to the target building monitoring data segment to obtain the corresponding building monitoring data segment comprises:

for each target building monitoring data segment, acquiring partial monitoring data in a corresponding previous building monitoring data segment based on the target identification information corresponding to the target building monitoring data segment and the first target identification sub-information, and acquiring partial monitoring data in a corresponding next building monitoring data segment based on the target identification information corresponding to the target building monitoring data segment and the second target identification sub-information to obtain first partial monitoring data and second partial monitoring data corresponding to the target building monitoring data segment;

and for each target building monitoring data segment, combining the first part of monitoring data and the second part of monitoring data corresponding to the target building monitoring data segment based on that the target identification information corresponding to the target building monitoring data segment comprises third target identification sub-information to obtain the building monitoring data segment corresponding to the target building monitoring data segment, wherein the third target identification sub-information is used for representing the relation between the corresponding first part of monitoring data and the corresponding second part of monitoring data.

9. The intelligent building data collection method according to any one of claims 1-8, wherein the step of sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed comprises:

determining data relation and precedence relation among a plurality of building monitoring data segments included in the building monitoring data to be processed to obtain corresponding first data relation information and first precedence relation information;

and sampling and screening the plurality of building monitoring data segments based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

10. The intelligent building data collection method according to claim 9, wherein the step of sampling, screening and processing the plurality of building monitoring data segments based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed comprises:

sequencing the plurality of building monitoring data segments based on the first precedence relationship information to obtain a corresponding building monitoring data segment ordered set;

and sampling, screening and processing the building monitoring data segment ordered set based on the first data relation information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

Technical Field

The application relates to the technical field of data processing, in particular to an intelligent building data acquisition method.

Background

The construction of a smart city (SMART CITY) is one of the development strategies of many cities around the world, and the smart city is a huge system engineering and is composed of subsystems such as smart government affairs, smart medical treatment and smart traffic. In which SMART BUILDINGs or SMART BUILDINGs (SMART BUILDING) are an indispensable important part of SMART cities. In the process of realizing the intelligent building, information acquisition is an important step and is the basis and foundation of subsequent control.

However, the inventor researches and finds that the conventional data processing technology has the problem that resources are wasted for collected intelligent building data.

Disclosure of Invention

In view of the above, an object of the present application is to provide an intelligent building data collection method to solve the problem that resources are easily wasted in the existing data processing technology.

In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

an intelligent building data acquisition method is applied to building data processing equipment and comprises the following steps:

acquiring a building monitoring data packet sent by building monitoring equipment in communication connection with the building data processing equipment, wherein the building monitoring data packet is obtained by acquiring information of a building environment where the building monitoring equipment is located based on the building monitoring equipment;

analyzing the building monitoring data packet to obtain building monitoring data to be processed, wherein the building monitoring data to be processed is included in the building monitoring data packet;

sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed, wherein the data volume of the target building monitoring data is less than or equal to that of the building monitoring data to be processed.

In a possible embodiment, in the above intelligent building data collection method, the step of acquiring a building monitoring data packet sent by a building monitoring device communicatively connected to the building data processing device includes:

judging whether a building data acquisition instruction is received or not, wherein the building data processing equipment is in communication connection with a building monitoring terminal, and the building monitoring terminal is used for generating the building data acquisition instruction based on building data acquisition operation performed by a corresponding building monitoring user;

if the building data acquisition instruction sent by the building monitoring terminal is received, determining corresponding building monitoring equipment based on building environment identification information carried by the building data acquisition instruction;

sending the generated building data acquisition information to the determined building monitoring equipment, wherein the building monitoring equipment is used for acquiring information of the building environment based on the building data acquisition information to obtain corresponding building monitoring data;

and acquiring a building monitoring data packet which is formed and sent by the building monitoring equipment based on the acquired building monitoring data.

In a possible embodiment, in the above intelligent building data collection method, the step of obtaining a building monitoring data packet formed and sent by the building monitoring device based on the collected building monitoring data includes:

after the generated building data acquisition information is sent to the determined building monitoring equipment, building data acquisition confirmation information is generated, and the building data acquisition confirmation information is sent to the building monitoring equipment, wherein the building monitoring equipment is used for sending first time information for starting information acquisition to the building data processing equipment based on the data acquisition confirmation information;

acquiring first time information sent by the building monitoring equipment based on the building data acquisition confirmation information, generating building data acquisition notification information based on the first time information after a predetermined first time length, and sending the building data acquisition notification information to the building monitoring equipment, wherein the building monitoring equipment is used for packaging building monitoring data acquired from the first time information to form a building monitoring data packet based on the building data acquisition notification information;

and acquiring a building monitoring data packet sent by the building monitoring equipment based on the building data acquisition notification information.

In a possible embodiment, in the above intelligent building data collection method, the step of analyzing the building monitoring data packet to obtain the building monitoring data to be processed included in the building monitoring data packet includes:

acquiring predetermined protocol type information;

and analyzing the building monitoring data packet based on the protocol type information to obtain the building monitoring data to be processed included by the building monitoring data packet.

In a possible embodiment, in the above intelligent building data collection method, the step of analyzing the building monitoring data packet based on the protocol type information to obtain the building monitoring data to be processed included in the building monitoring data packet includes:

analyzing the building monitoring data packet based on the protocol type information to obtain a plurality of building monitoring data segments with a precedence relationship;

determining whether a target building monitoring data segment exists in the plurality of building monitoring data segments, wherein the target building monitoring data segment is formed based on target identification information;

if the target building monitoring data segments exist, performing data recovery processing on the target building monitoring data segments to form corresponding building monitoring data segments aiming at each target building monitoring data segment;

and forming the building monitoring data to be processed included in the building monitoring data packet based on all the obtained building monitoring data segments.

In a possible embodiment, in the above intelligent building data collection method, if the target building monitoring data segment exists, the step of performing data recovery processing on the target building monitoring data segment to form a corresponding building monitoring data segment for each target building monitoring data segment includes:

if the target building monitoring data segments exist, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to each target building monitoring data segment based on the precedence relationship among the building monitoring data segments;

and for each target building monitoring data segment, performing data recovery processing on the target building monitoring data segment based on a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment to obtain a corresponding building monitoring data segment.

In a possible embodiment, in the above intelligent building data collection method, if the target building monitoring data segment exists, the step of determining, for each target building monitoring data segment, a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on a precedence relationship between the multiple building monitoring data segments includes:

if the target building monitoring data segments exist, determining whether two adjacent target building monitoring data segments exist based on the precedence relationship among the building monitoring data segments;

for each target building monitoring data segment without other adjacent target building monitoring data segments, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on the precedence relationship among the plurality of building monitoring data segments;

and for two adjacent target building monitoring data segments, determining a previous building monitoring data segment and a next building monitoring data segment of the two target building monitoring data segments as a whole based on the precedence relationship between the plurality of building monitoring data segments.

In a possible embodiment, in the above intelligent building data collection method, the step of, for each target building monitoring data segment, performing data recovery processing on the target building monitoring data segment based on a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment to obtain a corresponding building monitoring data segment includes:

for each target building monitoring data segment, acquiring partial monitoring data in a corresponding previous building monitoring data segment based on the target identification information corresponding to the target building monitoring data segment and the first target identification sub-information, and acquiring partial monitoring data in a corresponding next building monitoring data segment based on the target identification information corresponding to the target building monitoring data segment and the second target identification sub-information to obtain first partial monitoring data and second partial monitoring data corresponding to the target building monitoring data segment;

and for each target building monitoring data segment, combining the first part of monitoring data and the second part of monitoring data corresponding to the target building monitoring data segment based on that the target identification information corresponding to the target building monitoring data segment comprises third target identification sub-information to obtain the building monitoring data segment corresponding to the target building monitoring data segment, wherein the third target identification sub-information is used for representing the relation between the corresponding first part of monitoring data and the corresponding second part of monitoring data.

In a possible embodiment, in the above intelligent building data collection method, the step of sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed includes:

determining data relation and precedence relation among a plurality of building monitoring data segments included in the building monitoring data to be processed to obtain corresponding first data relation information and first precedence relation information;

and sampling and screening the plurality of building monitoring data segments based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

In a possible embodiment, in the above intelligent building data collection method, the step of sampling, screening and processing the building monitoring data segments based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed includes:

sequencing the plurality of building monitoring data segments based on the first precedence relationship information to obtain a corresponding building monitoring data segment ordered set;

and sampling, screening and processing the building monitoring data segment ordered set based on the first data relation information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

According to the intelligent building data acquisition method, after the building monitoring data packet is acquired, the corresponding building monitoring data to be processed is obtained through analysis, then the building monitoring data to be processed is sampled and processed, and the corresponding target building monitoring data is obtained.

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

Fig. 1 is an application block diagram of a building data processing device according to an embodiment of the present application.

Fig. 2 is a schematic flowchart illustrating steps included in the intelligent building data collection method according to an embodiment of the present disclosure.

Detailed Description

In order to make the objects, 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 with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.

Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

As shown in fig. 1, an embodiment of the present application provides a building data processing device. Wherein the building data processing device may include a memory and a processor.

In detail, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, they may be electrically connected to each other via one or more communication buses or signal lines. The memory can have stored therein at least one software function (computer program) which can be present in the form of software or firmware. The processor may be configured to execute the executable computer program stored in the memory, so as to implement the intelligent building data collection method provided by the embodiments (described later) of the present application.

It is understood that in an alternative example, the Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.

It will be appreciated that in an alternative example, the configuration shown in fig. 1 is merely illustrative, and that the building data processing device may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1, for example, may include a communication unit for information interaction with other devices (e.g., the building monitoring device shown in fig. 1, which may be various sensors, as well as a camera, audio collector).

It will be appreciated that in an alternative example, the building data processing device may be a server with data processing capabilities.

With reference to fig. 2, an embodiment of the present application further provides an intelligent building data acquisition method, which is applicable to the building data processing device. The method steps defined by the flow related to the intelligent building data acquisition method can be realized by the building data processing equipment.

The specific process shown in FIG. 2 will be described in detail below.

And step S110, acquiring a building monitoring data packet sent by the building monitoring equipment in communication connection with the building data processing equipment.

In this embodiment, the building data processing device may first obtain a building monitoring data packet sent by a building monitoring device in communication connection. The building monitoring data packet is obtained by acquiring information of the building environment based on the building monitoring equipment.

And step S120, analyzing the building monitoring data packet to obtain building monitoring data to be processed, wherein the building monitoring data packet comprises the building monitoring data to be processed.

In this embodiment, after the building monitoring data packet is obtained based on step S110, the building data processing device may analyze and process the building monitoring data packet, so as to obtain the building monitoring data to be processed included in the building monitoring data packet.

Step S130, sampling the building monitoring data to be processed to obtain target building monitoring data corresponding to the building monitoring data to be processed.

In this embodiment, after obtaining the building monitoring data to be processed based on step S120, the building data processing device may perform sampling processing on the building monitoring data to be processed, so as to obtain target building monitoring data corresponding to the building monitoring data to be processed.

And the data volume of the target building monitoring data is less than or equal to that of the building monitoring data to be processed, namely, the data volume is reduced to a certain extent.

Based on the steps, after the building monitoring data packet is obtained, the corresponding building monitoring data to be processed is obtained through analysis, then the building monitoring data to be processed is sampled and processed, and the corresponding target building monitoring data is obtained.

In the first aspect, it should be noted that, in the step S110, the building monitoring data packet may be obtained based on the following steps:

firstly, judging whether a building data acquisition instruction is received or not, wherein the building data processing equipment is in communication connection with a building monitoring terminal (such as a mobile phone of a user and other terminal equipment), and the building monitoring terminal is used for generating the building data acquisition instruction based on building data acquisition operation performed by a corresponding building monitoring user;

secondly, if the building data acquisition instruction sent by the building monitoring terminal is received, determining corresponding building monitoring equipment (such as building monitoring equipment in a certain area) based on building environment identification information carried by the building data acquisition instruction;

then, sending the generated building data acquisition information to the determined building monitoring equipment, wherein the building monitoring equipment is used for acquiring information of the building environment based on the building data acquisition information to obtain corresponding building monitoring data;

and finally, acquiring a building monitoring data packet which is formed and sent by the building monitoring equipment based on the acquired building monitoring data.

It will be appreciated that in an alternative example, the building monitoring data packet formed and transmitted by the building monitoring device may be obtained based on the following steps:

firstly, after sending the generated building data acquisition information to the determined building monitoring equipment, building data acquisition confirmation information can be generated, and the building data acquisition confirmation information is sent to the building monitoring equipment, wherein the building monitoring equipment is used for sending first time information (namely the starting time of acquisition information) for starting information acquisition to the building data processing equipment based on the data acquisition confirmation information;

secondly, acquiring first time information sent by the building monitoring equipment based on the building data acquisition confirmation information, generating building data acquisition notification information after a predetermined first time length (starting from the first time information and continuing for the first time length) based on the first time information, and sending the building data acquisition notification information to the building monitoring equipment, wherein the building monitoring equipment is used for packaging building monitoring data acquired from the first time information based on the building data acquisition notification information to form a building monitoring data packet;

and then, acquiring a building monitoring data packet sent by the building monitoring equipment based on the building data acquisition notification information.

In the second aspect, it should be noted that, in the step S120, when the step S120 is executed, the building monitoring data packet may be parsed based on the following steps to obtain the building monitoring data to be processed included in the building monitoring data packet:

firstly, acquiring predetermined protocol type information (a data format protocol);

secondly, analyzing and processing the building monitoring data packet based on the protocol type information to obtain the building monitoring data to be processed included in the building monitoring data packet.

It is understood that, in an alternative example, the building monitoring data packet may be parsed based on the protocol type information based on the following steps to obtain the building monitoring data to be processed included in the building monitoring data packet:

firstly, analyzing and processing the building monitoring data packet based on the protocol type information to obtain a plurality of building monitoring data segments with a precedence relationship (wherein one building monitoring data segment is obtained by performing information acquisition at one moment based on the building monitoring equipment, such as a video frame or an audio frame, or the temperature and the humidity at one moment);

secondly, determining whether a target building monitoring data segment exists in the plurality of building monitoring data segments, wherein the target building monitoring data segment is formed based on target identification information (for example, when the building monitoring equipment forms the building monitoring data packet, a specific building monitoring data segment can be processed to form target identification information to replace the building monitoring data segment, so as to reduce the data volume);

then, if the target building monitoring data segments exist, performing data recovery processing on the target building monitoring data segments to form corresponding building monitoring data segments aiming at each target building monitoring data segment;

and finally, forming the building monitoring data to be processed included in the building monitoring data packet based on all the obtained building monitoring data segments.

It will be appreciated that in an alternative example, the data recovery processing for each of the target building monitoring data segments to form corresponding building monitoring data segments may be based on the following steps:

firstly, if the target building monitoring data segments exist, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to each target building monitoring data segment based on the precedence relationship among the building monitoring data segments;

and secondly, for each target building monitoring data segment, performing data recovery processing on the target building monitoring data segment based on a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment to obtain a corresponding building monitoring data segment.

It is understood that, in an alternative example, the following steps may be performed to determine, for each of the target building monitoring data segments, a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on the precedence relationship between the building monitoring data segments:

firstly, if the target building monitoring data segments exist, determining whether two adjacent target building monitoring data segments exist based on the precedence relationship among the building monitoring data segments;

on one hand, for each target building monitoring data segment without other adjacent target building monitoring data segments, determining a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment based on the precedence relationship among the multiple building monitoring data segments (namely, the corresponding previous building monitoring data segment and the corresponding next building monitoring data segment comprise all data of the target building monitoring data segment, and thus, the target building monitoring data segment can be recovered);

on the other hand, for two adjacent target building monitoring data segments, the previous building monitoring data segment and the next building monitoring data segment of the two target building monitoring data segments as a whole are determined based on the precedence relationship between the multiple building monitoring data segments (that is, the corresponding previous building monitoring data segment and the corresponding next building monitoring data segment include all data of the two target building monitoring data segments, and thus, the restoration can be performed).

It is understood that, in an alternative example, the following steps may be performed to perform, for each of the target building monitoring data segments, data recovery processing on the target building monitoring data segment based on a previous building monitoring data segment and a next building monitoring data segment corresponding to the target building monitoring data segment, so as to obtain a corresponding building monitoring data segment:

firstly, for each target building monitoring data segment, acquiring partial monitoring data in a corresponding previous building monitoring data segment based on the target identification information and the first target identification sub-information corresponding to the target building monitoring data segment, and acquiring partial monitoring data in a corresponding next building monitoring data segment based on the target identification information and the second target identification sub-information corresponding to the target building monitoring data segment to obtain first partial monitoring data and second partial monitoring data corresponding to the target building monitoring data segment;

secondly, for each target building monitoring data segment, based on that the target identification information corresponding to the target building monitoring data segment includes third target identification sub-information, combining the first part of monitoring data and the second part of monitoring data corresponding to the target building monitoring data segment to obtain the building monitoring data segment corresponding to the target building monitoring data segment (for example, combining the left part of the previous frame of image with the right part of the next frame of image to obtain a frame of image in the middle of the two frames of images), where the third target identification sub-information is used to represent the relationship between the corresponding first part of monitoring data and the second part of monitoring data.

In the third aspect, it should be noted that, when step S130 is executed, the target building monitoring data corresponding to the building monitoring data to be processed may be obtained by performing sampling processing on the building monitoring data to be processed based on the following steps:

firstly, determining data relation and precedence relation among a plurality of building monitoring data segments included in the building monitoring data to be processed, and thus respectively obtaining corresponding first data relation information and first precedence relation information;

secondly, sampling and screening the plurality of building monitoring data segments based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

It is understood that, in an alternative example, the plurality of building monitoring data segments may be sampled and screened based on the first data relationship information and the first precedence relationship information to obtain at least one corresponding building monitoring data segment, and the at least one corresponding building monitoring data segment is used as target building monitoring data corresponding to the building monitoring data to be processed, based on the following steps:

firstly, sequencing the plurality of building monitoring data segments based on the first precedence relationship information to obtain a corresponding building monitoring data segment ordered set;

secondly, sampling and screening the building monitoring data segment ordered set based on the first data relation information to obtain at least one corresponding building monitoring data segment, and using the building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

It is understood that, in an alternative example, the step of sampling and screening the ordered set of building monitoring data segments based on the first data relationship information may be performed based on the following steps to obtain at least one corresponding building monitoring data segment, and the at least one corresponding building monitoring data segment is used as target building monitoring data corresponding to the building monitoring data to be processed:

the method comprises the steps of firstly, calculating data similarity between each building monitoring data segment in the building monitoring data segment ordered set and each history screening data segment in a plurality of predetermined history screening data segments, wherein each history screening data segment is screened out based on historical sampling screening processing (or some representative history screening data segments are screened out in the screening out process);

secondly, performing fusion processing (such as multiplication processing or addition processing) on each building monitoring data segment based on the data similarity corresponding to the building monitoring data segment to obtain the fusion similarity corresponding to the building monitoring data segment;

thirdly, determining whether the set position information of each building monitoring data segment in the building monitoring data segment ordered set belongs to similarity mutation position information or not based on the size relation between the fusion similarity corresponding to the building monitoring data segment and a predetermined similarity threshold value, wherein if the fusion similarity is greater than the similarity threshold value, the corresponding set position information is determined to be the similarity mutation position information;

fourthly, aiming at each similarity mutation position information, determining a difference value of fusion similarity corresponding to a building monitoring data segment corresponding to the similarity mutation position information and a subsequent building monitoring data segment to obtain a similarity difference value corresponding to the similarity mutation position information;

fifthly, determining a similarity difference value with a maximum value and a similarity difference value with a minimum value from the obtained similarity difference values, and normalizing the similarity difference values (which may refer to related normalization prior art and is not specifically limited herein) based on the similarity difference value with the maximum value and the similarity difference value with the minimum value to obtain a similarity normalized value corresponding to each similarity difference value;

seventhly, performing fusion processing (such as multiplication) on the fusion similarity and the similarity normalization value corresponding to the similarity mutation position information aiming at each similarity mutation position information to obtain a fusion coefficient corresponding to the similarity mutation position information;

eighthly, screening the similarity mutation position information based on a fusion coefficient corresponding to the similarity mutation position information to obtain a plurality of target similarity mutation position information, wherein the fusion coefficient corresponding to the target similarity mutation position information is larger than a pre-configured fusion coefficient threshold value;

ninthly, dividing the building monitoring data segment ordered sets based on the target similarity mutation position information to obtain corresponding building monitoring data segment ordered subsets;

and tenth, respectively carrying out sampling screening processing (for example, carrying out sampling processing according to a certain sampling frequency, and carrying out selection or partial screening corresponding to a plurality of adjacent same or similar building monitoring data segments) on each building monitoring data segment ordered subset to obtain at least one corresponding building monitoring data segment, and using the at least one building monitoring data segment as target building monitoring data corresponding to the building monitoring data to be processed.

To sum up, the utility model provides an intelligent building data acquisition method, after obtaining building control data package, earlier the analysis obtains corresponding pending building control data, then, handles building control data to pending and carries out sampling process, obtains corresponding target building control data, so, can reduce the data bulk of the building control data who obtains to a certain extent, reduces the data bulk of follow-up application to improve the extravagant problem of resource easily appears in the current data processing technique.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种凌汛信息智能监测及展示系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!