CN108599975A - a kind of intelligent building management system - Google Patents
a kind of intelligent building management system Download PDFInfo
- Publication number
- CN108599975A CN108599975A CN201810098049.3A CN201810098049A CN108599975A CN 108599975 A CN108599975 A CN 108599975A CN 201810098049 A CN201810098049 A CN 201810098049A CN 108599975 A CN108599975 A CN 108599975A
- Authority
- CN
- China
- Prior art keywords
- load
- group
- subsystem
- network
- hp2p
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 69
- 238000012544 monitoring process Methods 0.000 claims abstract description 37
- 230000007613 environmental effect Effects 0.000 claims abstract description 11
- 238000004378 air conditioning Methods 0.000 claims abstract description 7
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 7
- 125000004122 cyclic group Chemical group 0.000 claims description 42
- 238000001228 spectrum Methods 0.000 claims description 21
- 238000012546 transfer Methods 0.000 claims description 8
- 230000007423 decrease Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 4
- 102100026758 Serine/threonine-protein kinase 16 Human genes 0.000 claims description 3
- 101710184778 Serine/threonine-protein kinase 16 Proteins 0.000 claims description 3
- 239000006185 dispersion Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000004088 simulation Methods 0.000 abstract description 9
- 238000007726 management method Methods 0.000 description 24
- 238000004891 communication Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 238000013508 migration Methods 0.000 description 3
- 230000005012 migration Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明属于楼宇智能化技术领域,公开了一种智能楼宇管理系统,包括中央监控系统,与中央监控系统分别连接着的无线门禁子系统、空调子系统、电梯自控子系统、照明子系统、变配电子系统、给排水子系统、安防子系统、车库管理子系统、电视监控子系统、环境监测子系统、智能家居子系统。本发明由供电系统分别给各个子系统和中央监控系统供电;该系统技术先进,经济实用,安全可靠,质量优良,应用广泛;本发明仿真实验和数据结果表明,HP2P网络负载平衡方法很好地解决了HP2P网络群间和群内负载不平衡的问题。如将此发明应用到基于HP2P的网络中,必将大大提升基于HP2P的网络软件的性能。
The invention belongs to the technical field of building intelligence, and discloses an intelligent building management system, which includes a central monitoring system, a wireless access control subsystem, an air conditioning subsystem, an elevator automatic control subsystem, a lighting subsystem, and a transformer Distribution subsystem, water supply and drainage subsystem, security subsystem, garage management subsystem, TV monitoring subsystem, environmental monitoring subsystem, smart home subsystem. In the present invention, the power supply system supplies power to each subsystem and the central monitoring system respectively; the system is advanced in technology, economical and practical, safe and reliable, excellent in quality, and widely used; the simulation experiment and data results of the present invention show that the HP2P network load balancing method is very good Solved the problem of unbalanced load between groups and within groups of HP2P network. If this invention is applied to the HP2P-based network, the performance of the HP2P-based network software will be greatly improved.
Description
技术领域technical field
本发明属于楼宇智能化技术领域,尤其涉及一种智能楼宇管理系统。The invention belongs to the technical field of building intelligence, and in particular relates to an intelligent building management system.
背景技术Background technique
目前,随着社会的不断发展,居家安全是人们安居乐业的基础,也是共建和谐社会的重要环节。尤其是比较分散、比较偏远、环境相对比较复杂的居民区,安全形势不容乐观,传统的门卫值班和保安巡逻等治安管理手段已经不能适应新形势下住宅安全保障的需要。因此,为了满足住宅小区用户安全和科学系统化管理的需要,以及为了对随时发生的情况进行全面、及时地了解和掌握,对意外情况能迅速做出正确判断,并给出正确、快速地指挥和处理。建立一个智能楼宇管理系统,实现把一些危害和隐患遏制在萌芽状态,杜绝财产损失、确保人员生命安全,对于构建安全、和谐的住宅小区,具有十分重要的意义。然而,目前现有的智能楼宇管理系统主要存在以下不足:价格昂贵,没有适合普通住宅小区的需要又能大力普及的智能楼宇管理系统。各个子系统之间无法实现信息的共通,使得管理者对楼宇进行管理时无法对楼宇中的各个子系统进行集中监控,管理成本较高,管理低效。系统联动性差、不够完善、不够综合,控制机制较为复杂,反应时间比较长,使用不便。常见的门禁识别卡采用的是射频识别技术,一般识别距离很短,用户需要将门禁卡靠近感应区才可以通过验证,这在实际的应用中,有诸多的不便。At present, with the continuous development of society, home safety is the basis for people to live and work in peace and contentment, and it is also an important link in building a harmonious society. Especially in residential areas that are relatively scattered, remote, and with a relatively complex environment, the security situation is not optimistic. Traditional security management methods such as guard duty and security patrols can no longer meet the needs of residential security under the new situation. Therefore, in order to meet the needs of residential community users for safety and scientific and systematic management, and to fully and timely understand and grasp the situation that occurs at any time, it can quickly make correct judgments on unexpected situations and give correct and rapid instructions and processing. Establishing an intelligent building management system to contain some hazards and hidden dangers in the bud, prevent property loss, and ensure the safety of personnel is of great significance for building a safe and harmonious residential community. However, the existing intelligent building management system mainly has the following disadvantages: the price is expensive, and there is no intelligent building management system that is suitable for the needs of ordinary residential quarters and can be widely popularized. It is impossible for the subsystems to share information, which makes it impossible for the administrator to monitor the subsystems in the building when managing the building. The management cost is high and the management is inefficient. The system linkage is poor, not perfect, not comprehensive enough, the control mechanism is relatively complicated, the response time is relatively long, and it is inconvenient to use. Common access control identification cards use radio frequency identification technology, generally the recognition distance is very short, and users need to bring the access control card close to the sensing area to pass the verification, which is inconvenient in practical applications.
近几年来,随着点对点网络技术的迅速发展,基于点对点(Peer-to-Peer,简称P2P)网络技术的软件受到了大量互联网用户的青睐。楼宇管理中网络平衡管理的问题日益突出;现有技术仅通过加大输送功率解决;但造成了资源的浪费;不能在使用中进行有效平衡。In recent years, with the rapid development of peer-to-peer network technology, software based on peer-to-peer (Peer-to-Peer, P2P) network technology has been favored by a large number of Internet users. The problem of network balance management in building management is becoming more and more prominent; the existing technology only solves it by increasing the transmission power; but it causes a waste of resources; it cannot be effectively balanced in use.
现在一些国内比较流行的网络软件比如迅雷、腾讯QQ、PPTV、酷狗音乐等都使用了P2P网络技术。在P2P网络软件中,由于用户对资源需求的不均衡性以及网络中计算机能力的异构性,使得P2P网络中一直存在节点(P2P网络中的计算机)负载不平衡的现象。而近些年来随着P2P网络软件用户的快速增长,网络中节点负载不平衡的现象愈发明显,进而引起请求延时、网络拥塞等问题,严重影响了P2P网络的整体性能。Now some domestic popular network software such as Xunlei, Tencent QQ, PPTV, Kugou Music, etc. all use P2P network technology. In P2P network software, due to the unbalanced resource demand of users and the heterogeneity of computer capabilities in the network, the load imbalance of nodes (computers in the P2P network) always exists in the P2P network. In recent years, with the rapid growth of P2P network software users, the phenomenon of node load imbalance in the network has become more and more obvious, which in turn causes problems such as request delay and network congestion, which seriously affects the overall performance of the P2P network.
当前,对于P2P网络负载平衡问题的研究主要集中在结构化P2P网络领域,并且已经出现了一些比较有代表性的解决该问题的方法。比如虚拟服务器方法 (VirtualServer)、多哈希选择方法(Power ofTwo Choices)、地址空间平衡方法 (Address-SpaceBalancing)、存储文件平衡方法(Item Balancing)。其中:Currently, the research on load balancing in P2P networks is mainly concentrated in the field of structured P2P networks, and some representative methods to solve this problem have appeared. For example, the virtual server method (VirtualServer), the multi-hash selection method (Power of Two Choices), the address space balancing method (Address-Space Balancing), and the storage file balancing method (Item Balancing). in:
虚拟服务器方法:在P2P网络中,每个物理节点虚拟化为多个虚拟服务器,每个虚拟服务器单独维护一段地址空间。每个虚拟服务器都拥有自己独立的路由表和数据对象,当需要对数据对象进行定位时,定位的过程是在虚拟服务器上发起的,而不是在实际的节点之上。当节点出现负载过重或者过轻的时候,以虚拟服务器为最小的负载迁移单位。通过一个物理节点上的虚拟节点“离开网络”,同时在另一个物理节点中,“离开”的虚拟节点重新加入网络,最后接收该虚拟节点负责的数据对象,完成负载的迁移。由于每个虚拟服务器都需要维护自身的路由表,所以这相当于一个物理节点需要维护多个路由表,这将浪费大量带宽。同时,由于一个物理节点管理了P2P网络中的多个虚拟服务器,所以当一个物理节点加入或离开网络时,相当于有多个虚拟服务器加入或离开网络,这将大大增加网络的抖动,这将对稳定性本就较差的结构化P2P网络造成致命的影响。Virtual server method: In a P2P network, each physical node is virtualized into multiple virtual servers, and each virtual server maintains an address space independently. Each virtual server has its own independent routing table and data objects. When data objects need to be located, the positioning process is initiated on the virtual server, not on the actual node. When the load of a node is too heavy or too light, the virtual server is the smallest load migration unit. The virtual node on one physical node "leaves the network", and at the same time in another physical node, the "leaved" virtual node rejoins the network, and finally receives the data object responsible for the virtual node to complete the load migration. Since each virtual server needs to maintain its own routing table, this is equivalent to a physical node needing to maintain multiple routing tables, which will waste a lot of bandwidth. At the same time, since a physical node manages multiple virtual servers in the P2P network, when a physical node joins or leaves the network, it is equivalent to having multiple virtual servers join or leave the network, which will greatly increase the jitter of the network, which will It has a fatal impact on the already poorly structured P2P network.
多哈希选择方法:该方法假设有d>=2个众所周知的哈希函数h1(),...,hd()。当结构化P2P网络中一个节点需要向网络中增添一个资源x时,该节点将根据d 个哈希函数为资源x计算d个哈希值h1(x),...,hd(x)。而后该节点将向负责在结构化P2P网络中维护这d个哈希值的节点询问它们当前的负载情况,并从这d 个节点中选择一个负载最轻的节点A负责维护资源x的索引,同时另外d-1个节点将存放一个指向节点A的指针。同时网络中的每个节点都具有一个负载触发器,当一个节点的负载过大时,触发器事件将会被触发。触发事件选择要进行迁移的资源索引,然后把这些资源以重新加入网络的方式把资源索引转移到其他节点上。Multi-hash selection method: This method assumes that there are d>=2 well-known hash functions h1(),...,hd(). When a node in a structured P2P network needs to add a resource x to the network, the node will calculate d hash values h1(x),...,hd(x) for the resource x according to d hash functions. Then the node will ask the nodes responsible for maintaining the d hash values in the structured P2P network about their current load conditions, and select a node A with the lightest load from the d nodes to be responsible for maintaining the index of resource x, At the same time, the other d-1 nodes will store a pointer to node A. At the same time, each node in the network has a load trigger. When the load of a node is too large, the trigger event will be triggered. The trigger event selects resource indexes to be migrated, and then transfers these resources to other nodes by rejoining the network.
地址空间平衡方法:该方法假设网络中的每个节点在结构化P2P网络中具有O(logN)个潜在的ID,但是一个时间只有一个ID处于激活状态。节点根据当前整个网络的负载情况来确定自己ID来完成负载之间的迁移,从而实现P2P网络的负载平衡。Address space balance method: This method assumes that each node in the network has O(logN) potential IDs in the structured P2P network, but only one ID is active at a time. The node determines its own ID according to the current load situation of the entire network to complete the migration between loads, so as to realize the load balance of the P2P network.
基于洪泛的非结构P2P网络和基于分布式哈希表(DHT)的结构化P2P网络是当前P2P应用领域比较流行的P2P网络。其中,非结构化P2P网络结构较为简单,容易实现,且稳定性很高,但是其网络负载高,可扩展性较差;结构化 P2P网路网络负载小,查询效率高,但是其稳定性较差。混合多层P2P网络 (Hybrid Hierarchical P2PNetwork,简称HP2P)结合了结构化P2P和非结构化 P2P各自的优点,得到了一种稳定高、查询效率高、可扩展较好的新型P2P网络。Unstructured P2P networks based on flooding and structured P2P networks based on Distributed Hash Table (DHT) are popular P2P networks in the current P2P application field. Among them, the unstructured P2P network structure is relatively simple, easy to implement, and has high stability, but its network load is high and its scalability is poor; the structured P2P network has a small network load and high query efficiency, but its stability is low. Difference. Hybrid Hierarchical P2P Network (HP2P for short) combines the respective advantages of structured P2P and unstructured P2P to obtain a new type of P2P network with high stability, high query efficiency and good scalability.
在HP2P中,网络中的节点首先按照群(Cluster)的方式进行组织,群的内部使用非结构化P2P网络中的洪泛方式进行消息传递。群内由少量超级节点和大量普通节点组成。群之间使用改进的Chord协议组织成一个结构化P2P网络。每个群在Chord上作为一个虚拟的节点存在,虚拟节点的路由表由群中的若干个超级节点共同维护。而群内普通节点与上层Chord网络的通信都需要通过这些超级节点帮忙转发。In HP2P, the nodes in the network are firstly organized in the form of a cluster, and the cluster internally uses the flooding method in the unstructured P2P network to transmit messages. The group consists of a small number of super nodes and a large number of ordinary nodes. Groups are organized into a structured P2P network using the improved Chord protocol. Each group exists as a virtual node on Chord, and the routing table of the virtual node is jointly maintained by several super nodes in the group. The communication between ordinary nodes in the group and the upper Chord network needs to be forwarded through these super nodes.
由于HP2P网络拓扑结构的特殊性,所以当前的结构化P2P网络的负载平衡方法都无法解决HP2P网络群间负载平衡的问题。同时由于群内节点能力的异构性以及需要维护网络中其它节点发布的元数据(资源的索引),所以群内网络的负载平衡问题与传统的非结构化P2P网络负载平衡问题有很大不同。Due to the particularity of the HP2P network topology, none of the current load balancing methods for structured P2P networks can solve the problem of load balancing among HP2P network groups. At the same time, due to the heterogeneity of node capabilities in the group and the need to maintain the metadata (resource index) published by other nodes in the network, the load balancing problem of the network in the group is very different from the traditional unstructured P2P network load balancing problem. .
由于空间通信的噪声环境复杂多变以及干扰问题日益严重,信号易受其影响而呈现微弱状态。因此,提高深空通信中低信噪比条件下微弱信号的检测与参数估计是目前亟待解决的问题。PSK信号是相位调制、幅度恒定的数字调制信号,由于其具备抗干扰能力强且可以展宽信号的带宽的优势,常常作为通信中普遍采用的信号类型,广泛应用于脉冲压缩信号发射中。Due to the complex and changeable noise environment of space communication and the increasingly serious interference problem, the signal is easily affected by it and presents a weak state. Therefore, improving the detection and parameter estimation of weak signals under low SNR conditions in deep space communication is an urgent problem to be solved. PSK signal is a digitally modulated signal with phase modulation and constant amplitude. Because of its strong anti-interference ability and the advantages of widening the bandwidth of the signal, it is often used as a signal type commonly used in communication, and is widely used in pulse compression signal transmission.
但现有技术估计信号能力差。But the prior art has poor signal estimation ability.
综上所述,现有技术存在的问题是:价格昂贵,没有适合普通住宅小区的需要又能大力普及的智能楼宇管理系统。各个子系统之间无法实现信息的共通,使得管理者对楼宇进行管理时无法对楼宇中的各个子系统进行集中监控,管理成本较高,管理低效。系统联动性差、不够完善、不够综合,控制机制较为复杂,反应时间比较长,使用不便。常见的门禁识别卡采用的是射频识别技术,一般识别距离很短,用户需要将门禁卡靠近感应区才可以通过验证,这在实际的应用中,有诸多的不便。In summary, the problems in the prior art are: expensive, and there is no intelligent building management system that is suitable for the needs of ordinary residential quarters and can be widely popularized. It is impossible for the subsystems to share information, which makes it impossible for the administrator to monitor the subsystems in the building when managing the building. The management cost is high and the management is inefficient. The system linkage is poor, not perfect, not comprehensive enough, the control mechanism is relatively complicated, the response time is relatively long, and it is inconvenient to use. Common access control identification cards use radio frequency identification technology, generally the recognition distance is very short, and users need to bring the access control card close to the sensing area to pass the verification, which is inconvenient in practical applications.
发明内容Contents of the invention
针对现有技术存在的问题,本发明提供了一种智能楼宇管理系统。Aiming at the problems existing in the prior art, the invention provides an intelligent building management system.
本发明是这样实现的,一种智能楼宇管理系统,包括中央监控系统,与中央监控系统分别连接着的无线门禁子系统、空调子系统、电梯自控子系统、照明子系统、变配电子系统、给排水子系统、安防子系统、车库管理子系统、电视监控子系统、环境监测子系统、智能家居子系统。各个子系统通过以太网和中央监控系统无线连接。由供电系统分别给各个子系统和中央监控系统供电。The present invention is realized in this way. An intelligent building management system includes a central monitoring system, a wireless access control subsystem, an air-conditioning subsystem, an elevator automatic control subsystem, a lighting subsystem, a distribution electronic system, Water supply and drainage subsystem, security subsystem, garage management subsystem, TV monitoring subsystem, environmental monitoring subsystem, smart home subsystem. Each subsystem is wirelessly connected to the central monitoring system via Ethernet. The power supply system supplies power to each subsystem and the central monitoring system respectively.
所述安防子系统集成有楼宇HP2P网络负载平衡模块和对网络信号分布噪声下PSK信号的载波频率估计模块;所述楼宇HP2P网络负载平衡模块和载波频率估计模块均与中央监控系统无线连接;The security subsystem is integrated with a building HP2P network load balancing module and a carrier frequency estimation module for PSK signals under network signal distribution noise; the building HP2P network load balancing module and carrier frequency estimation module are all wirelessly connected to the central monitoring system;
所述楼宇HP2P网络负载平衡模块的楼宇HP2P网络负载平衡方法包括:The building HP2P network load balancing method of the building HP2P network load balancing module includes:
1)HP2P网络群间负载平衡的方法:通过群分裂以及群在网络地址空间的移动来实现群之间的负载转移,并通过新节点加入负载较大的群诱导群发生分裂和合并,使负载较大的地址空间群数目增多,负载较小的地址空间群数目减少,其中负载定义为该群中节点单位时间所需要处理消息的平均数目;1) The method of load balancing among HP2P network groups: the load transfer between groups is realized through group splitting and the movement of groups in the network address space, and the splitting and merging of groups is induced by adding new nodes to groups with larger loads, so that the load The number of larger address space groups increases, and the number of address space groups with smaller loads decreases, where the load is defined as the average number of messages that nodes in the group need to process per unit time;
2)HP2P网络群内负载平衡的方法,通过超级节点对群内负载有效的调度,使群内负载率较低的节点找到群内负载率较高的节点,其中根据HP2P网络特性,负载近似定义为群内节点所需要维护的元数据数目,负载率定义为负载与节点能力的比值,且所述元数据为资源的索引;2) The method of load balancing in the HP2P network group. Through the effective scheduling of the load in the group by super nodes, the nodes with a lower load rate in the group can find the nodes with a higher load rate in the group. According to the characteristics of the HP2P network, the load is approximately defined is the number of metadata that nodes in the group need to maintain, the load rate is defined as the ratio of load to node capability, and the metadata is the index of resources;
所述载波频率估计模块的对网络信号分布噪声下PSK信号的载波频率估计方法中,PSK信号为HP2P网络内信号;具体包括:In the carrier frequency estimation method of the PSK signal under the network signal distribution noise of the described carrier frequency estimation module, the PSK signal is a signal in the HP2P network; specifically includes:
对接收的含有分布噪声的PSK信号求循环共变函数;Calculate the cyclic covariant function for the received PSK signal containing distributed noise;
对所述循环共变函数进行傅里叶变换,求其循环共变谱;Carry out Fourier transform to described cyclic covariation function, seek its cyclic covariation spectrum;
通过所述循环共变谱提取循环频率ε=0Hz的截面;Extracting a cross-section with a cyclic frequency ε=0 Hz through the cyclic covariation spectrum;
搜索所述截面的正负半轴的峰值,找到所述峰值对应的正负频率值,并取绝对值后求均值作为载频的估计值。Search for the peak values of the positive and negative semi-axes of the section, find the positive and negative frequency values corresponding to the peak values, take the absolute value and calculate the mean value as the estimated value of the carrier frequency.
进一步,所述HP2P网络群间负载平衡的方法包括:Further, the method for load balancing between the HP2P network groups includes:
步骤(1)群A的超级节点S随机地向周围k·log2N个群发送群负载请求消息,获取所述k·log2N个群的负载信息,并通过计算这k·log2N个群的负载平均值来估算出当前整个HP2P网络的群平均负载Loadavg,其中k是一个在区间[1, N/log2N]取值的整数,N为网络中群的数目;Step (1) The supernode S of group A randomly sends a group load request message to the surrounding k·log 2 N groups, obtains the load information of the k·log 2 N groups, and calculates the k·log 2 N The average load of each group is used to estimate the average load Load avg of the entire HP2P network, where k is an integer in the interval [1, N/log 2 N], and N is the number of groups in the network;
步骤(2)若群A当前负载Load>γ·Loadavg,且群分裂成的两个小群中节点数目均大于HP2P网络群节点数目下限,则将该群分裂成两个群,其中γ是一个大于1的实数,HP2P网络群间负载平衡的方法本次执行结束;否则转至步骤(A3);Step (2) If the current load of group A is Load>γ·Load avg , and the number of nodes in the two small groups that the group splits into is both greater than the lower limit of the number of nodes in the HP2P network group, split the group into two groups, where γ is A real number greater than 1, the execution of the method for load balancing between HP2P network groups ends this time; otherwise, go to step (A3);
步骤(3)构建HP2P网络中Chord环,群A向其前驱群和后继群发送负载请求消息,从而获取前驱群和后继群的当前负载情况,其中前驱群为HP2P网络 Chord环中离群A最近的前一个群,后继群为HP2P网络Chord环中离群A最近的后一个群;Step (3) Construct the Chord ring in the HP2P network. Group A sends a load request message to its predecessor group and successor group to obtain the current load conditions of the predecessor group and successor group. The predecessor group is the closest outlier A in the Chord ring of the HP2P network. The previous group of , and the successor group is the next group closest to outlier A in the Chord ring of the HP2P network;
步骤(4)如果群A当前负载Load>Loadavg则转至步骤(A5),如果 Load<Loadavg则转至步骤(A8);否则HP2P网络群间负载平衡的方法执行结束;Step (4) If the current load of group A is Load>Load avg , then go to step (A5), if Load<Load avg , then go to step (A8); otherwise, the method of load balancing between HP2P network groups ends;
步骤(5)如果群A负载Load≥Loadlight/(1-2·β),则将自身负载降低β,其中β是一个在区间(0,0.5)取值的实数,并转至步骤(A6);否则转至步骤(A8);其中Loadlight为该群的前驱群和后继群中负载较小的群的负载;Step (5) If the load of group A is Load≥Load light /(1-2·β), reduce its own load by β, where β is a real number with a value in the interval (0,0.5), and go to step (A6 ); Otherwise, go to step (A8); wherein Load light is the load of the group with the smaller load in the predecessor group and the successor group of the group;
步骤(6)如果Loadlight为群A的前驱群的负载,则群A通知其前驱群沿着 Chord环顺时针移动,移动的地址空间长度为(Load-Loadlight)×Length/(2×Load),并将相应的元数据转移到前驱群中,HP2P网络群间负载平衡的方法本次执行结束,其中Length为群A在Chord环中所维护的地址空间长度;否则转至步骤(A7);Step (6) If the Load light is the load of the predecessor group of group A, then group A notifies its predecessor group to move clockwise along the Chord ring, and the length of the moving address space is (Load-Load light )×Length/(2×Load ), and transfer the corresponding metadata to the predecessor group, the execution of the method for load balancing between HP2P network groups ends this time, where Length is the length of the address space maintained by group A in the Chord ring; otherwise, go to step (A7) ;
步骤(7)Loadlight为群A的后继群的负载,则该群沿着Chord环逆时针移动,移动的地址空间长度为(Load-Loadlight)×Length/(2×Load),并将相应的元数据转移到后继群中,而后HP2P网络群间负载平衡的方法本次执行结束;Step (7) Load light is the load of the successor group of group A, then the group moves counterclockwise along the Chord ring, the address space length of the move is (Load-Load light )×Length/(2×Load), and the corresponding The metadata of the HP2P network group is transferred to the successor group, and then the execution of the method of load balancing between the HP2P network groups ends this time;
步骤(8)如果Load≤(1-2·β)·Loadheavy,并转至步骤(A9);其中Loadheavy为该群的前驱群和后继群中负载较重群的负载,β是一个在区间(0,0.5)取值的实数,否则HP2P网络群间负载平衡方法执行结束;Step (8) If Load≤(1-2·β)·Load heavy , go to step (A9); where Load heavy is the load of the group with the heavier load in the predecessor group and the successor group of the group, and β is a load in The interval (0,0.5) is a real number, otherwise the execution of the HP2P network inter-group load balancing method ends;
步骤(9)如果Loadheavy为群A的前驱群的负载,则群A通知其前驱群沿着 Chord环逆时针移动,移动的地址空间长度为 (Loadheavy-Load)×Lengthpredecessor/(2×Loadheavy),并从前驱群获取相应的元数据,其中Lengthpredecessor为前驱群在Chord环中所维护的地址空间长度,而后HP2P网络群间负载平衡方法本次执行结束;否则转至步骤(A10);Step (9) If Load heavy is the load of the predecessor group of group A, then group A notifies its predecessor group to move counterclockwise along the Chord ring, and the length of the moving address space is (Load heavy -Load)×Length predecessor /(2× Load heavy ), and obtain the corresponding metadata from the predecessor group, where Length predecessor is the length of the address space maintained by the predecessor group in the Chord ring, and then the execution of the HP2P network inter-group load balancing method ends; otherwise, go to step (A10 );
步骤(10)Loadheavy为群A的后继群的负载,则群A沿着Chord环顺时针移动,移动的地址空间长度为(Loadheavy-Load)×Lengthsuccessor/(2×Loadheavy),并从后继群获取相应的元数据,其中Lengthsuccessor为后继群在Chord环中所维护的地址空间长度,此时HP2P网络群间负载平衡方法执行结束。Step (10) Load heavy is the load of the successor group of group A, then group A moves clockwise along the Chord ring, and the length of the moving address space is (Load heavy -Load)×Length successor /(2×Load heavy ), and The corresponding metadata is obtained from the successor group, where the Length successor is the length of the address space maintained by the successor group in the Chord ring, and at this time, the execution of the load balancing method between HP2P network groups ends.
进一步,所述普通节点群内负载平衡方法包括:Further, the load balancing method in the common node group includes:
步骤(一)普通节点从超级节点处获取该群当前的平均负载率 Step (1) Ordinary nodes obtain the current average load rate of the group from super nodes
步骤(二)如果节点的负载率则认为节点负载率较高,此时该节点将向群中超级节点通报自身的负载率以及所需要向群内其它节点转移的元数据数目为然后普通节点群内负载平衡方法本次执行结束,其中capacity为该节点的能力,α为区间(1,2)之间的一个实数;否则转至步骤 (三);Step (2) If the load rate of the node It is considered that the load rate of the node is high. At this time, the node will notify the super node in the group of its own load rate and the number of metadata that needs to be transferred to other nodes in the group. Then the execution of the load balancing method in the ordinary node group ends this time, where capacity is the capacity of the node, and α is a real number between the interval (1,2); otherwise, go to step (3);
步骤(三)如果节点的负载率则认为该节点负载率较低;此时,该节点向群中超级节点通报自身的负载率以及可以从群内其它节点接收的最大元数据数目其中capacity为该节点的能力,普通节点群内负载平衡方法本次执行结束。Step (3) If the load rate of the node It is considered that the load rate of the node is low; at this time, the node notifies the super nodes in the group of its own load rate and the maximum number of metadata that can be received from other nodes in the group Among them, capacity is the capacity of the node, and the execution of the load balancing method in the common node group is completed this time.
进一步,所述接收信号的循环共变函数包括:Further, the cyclic covariation function of the received signal includes:
所述信号含有服从SαS分布噪声的MPSK信号,可以表示为:The signal contains an MPSK signal subject to SαS distributed noise, which can be expressed as:
其中E是信号的平均功率,M=2k, m=1,2,...M,q(t)表示矩形脉冲波形,T表示符号周期,fc表示载波频率,φ0表示初始相位,若w(t)是服从SαS分布的非高斯噪声,则其自共变函数定义为:where E is the average power of the signal, M=2 k , m=1,2,...M, q(t) represents the rectangular pulse waveform, T represents the symbol period, f c represents the carrier frequency, φ 0 represents the initial phase, if w(t) obeys SαS distribution of non-Gaussian noise, then its self-covariation function is defined as:
其中(x(t-τ))<p-1>=|x(t-τ)|p-2x*(t-τ),γx(t-τ)是x(t)的分散系数,则x(t)的循环共变定义为:Where (x(t-τ)) <p - 1> = |x(t-τ)| p-2 x*(t-τ), γ x(t-τ) is the dispersion coefficient of x(t), Then the cyclic covariation of x(t) is defined as:
其中ε称为循环频率,T为一个码元周期。Among them, ε is called the cycle frequency, and T is a symbol period.
进一步,所述接收信号的循环共变谱按以下进行:Further, the cyclic covariation spectrum of the received signal is performed as follows:
循环共变谱是循环共变函数的傅里叶变换,表示为:The cyclic covariation spectrum is the Fourier transform of the cyclic covariation function, expressed as:
其循环共变谱推导为:Its cyclic covariation spectrum is derived as:
当M≥4时,在处,When M≥4, in place,
当M=2时,When M=2,
其中Q(f)为q(t)的傅里叶变换,且 where Q(f) is the Fourier transform of q(t), and
进一步,所述通过提取循环共变谱中循环频率ε=0Hz的截面实现载频估计,按以下进行:Further, the carrier frequency estimation is realized by extracting the cross-section of cyclic frequency ε=0Hz in the cyclic covariation spectrum, as follows:
所述循环共变谱在n=0即ε=0Hz截面上的包络为:The envelope of the cyclic covariation spectrum on the n=0, ie, ε=0Hz section is:
当f=±fc时,包络取得最大值。When f=±f c , the envelope takes the maximum value.
进一步,所述无线门禁子系统包括门禁管理模块和门禁卡两部分,其中门禁管理模块包括阅读器、终端控制器、收发天线。所述门禁卡包括收发天线和应答器。Further, the wireless access control subsystem includes two parts: an access control management module and an access control card, wherein the access control management module includes a reader, a terminal controller, and a transceiver antenna. The access control card includes a transceiver antenna and a transponder.
进一步,所述各个子系统通过以太网连接中央监控系统。Further, the various subsystems are connected to the central monitoring system through Ethernet.
进一步,所述环境监测子系统包括环境监测主机以及与其相连的温湿度传感器、可吸入气体浓度探器和有害气体浓度探测器。Further, the environmental monitoring subsystem includes an environmental monitoring host and temperature and humidity sensors, inhalable gas concentration detectors and harmful gas concentration detectors connected to it.
本发明的优点及积极效果为:该系统技术先进,经济实用,安全可靠,质量优良,应用广泛。The advantages and positive effects of the present invention are: the system is advanced in technology, economical and practical, safe and reliable, excellent in quality and widely used.
本发明的网络负载平衡方法通过仿真得出:The network load balancing method of the present invention draws by simulation:
选用PEERSIM仿真软件对本发明的负载平衡效果以及参数取值进行仿真。每次试验重复20次,实验结果为平均值。Use PEERSIM simulation software to simulate the load balancing effect and parameter values of the present invention. Each experiment was repeated 20 times, and the experimental results are the average value.
对于HP2P网络负载平衡方法的仿真中,我们使用不同的网络配置对本发明进行仿真,以确定本发明是否对不同状况下的HP2P网络都有效果。网络仿真参数如表1所示。For the simulation of the HP2P network load balancing method, we use different network configurations to simulate the present invention to determine whether the present invention is effective for HP2P networks under different conditions. The network simulation parameters are shown in Table 1.
表1 HP2P网络负载平衡方法仿真参数设置Table 1 Simulation parameter setting of HP2P network load balancing method
当HP2P网络中加入本发明之后,无论在不同网络规模、网络中具有不同数目资源、不同的资源请求率下,网络中负载最大群的负载与网络平均负载从5 倍上下的关系变为2倍左右的关系,同时群负载相对标准差从1.0左右降至0.2 上下。所以加入HP2P网络群间负载平衡方法之后,HP2P网络群间的负载均衡度大大提升。After the present invention is added to the HP2P network, no matter in different network scales, different numbers of resources in the network, and different resource request rates, the relationship between the load of the most loaded group in the network and the average network load changes from 5 times to 2 times At the same time, the relative standard deviation of the group load dropped from about 1.0 to about 0.2. Therefore, after adding the load balancing method between HP2P network groups, the load balancing degree between HP2P network groups is greatly improved.
当网络规模不断减小或者大体维持不变时,HP2P网络的群负载均衡度和元数据移动数目都主要由参数β的取值决定,且随着β的增大而降低;当β∈[0.4,0.5) 时,网络中群负载均衡度随着β的增大而急剧降低,而β∈[0.1,0.2]时,元数据移动量也随着β的增大而快速降低;同时γ取较小的值时,可以使得规模较大且负载较大的群可以通过群分裂的方式快速降低负载,且基本不会引入更多的元数据移动量;所以网络规模不断减小或者大体维持不变时,γ应取2.0,β可以在区间[0.2,0.4]取值。当网络规模迅速扩大时,群负载均衡度整体比较高,所以γ取 2.0,β在区间[0.4,0.5)内取值。When the network scale keeps decreasing or remains unchanged, the group load balance degree and the number of metadata movement in the HP2P network are mainly determined by the value of the parameter β, and decrease with the increase of β; when β∈[0.4 ,0.5), the group load balance degree in the network decreases sharply with the increase of β, and when β∈[0.1,0.2], the amount of metadata movement also decreases rapidly with the increase of β; When the value is small, the group with large scale and heavy load can quickly reduce the load through group splitting, and basically will not introduce more metadata movement; therefore, the network scale is continuously reduced or generally remains the same , γ should take 2.0, and β can take a value in the interval [0.2,0.4]. When the network scale expands rapidly, the overall group load balance is relatively high, so γ takes 2.0, and β takes a value in the interval [0.4,0.5).
当HP2P网络中加入本发明之后,无论在不同网络规模、网络中具有不同数目资源下,HP2P网络群内负载率最大节点的负载率是群内平均负载率的4至7 倍降至2倍以下。群内负载相对标准差也从0.7至1.1之间降至0.3左右。所以本发明同样很好地提高了HP2P网络群内负载均衡度。After adding the present invention in the HP2P network, regardless of different network scales and different numbers of resources in the network, the load rate of the node with the largest load rate in the HP2P network group is 4 to 7 times the average load rate in the group and falls below 2 times . The relative standard deviation of the load within the group also dropped from 0.7 to 1.1 to about 0.3. Therefore, the present invention also well improves the load balancing degree in the HP2P network group.
群内负载率最高的节点的负载率与群内平均负载率的比值和群内负载率相对标准差都随着参数α的增大而增大,且增长速度随着α的增大而放慢。当网络规模迅速变大时,元数据的移动量远大于另外两种情况,这是由于当有大量元数据加入网络时,整个网络的元数据总体数目增加而且为了让这些新发布的元数据放置到群中的合适的位置,需要额外的元数据转移。当α取1.2时,群内负载率标准差仍然大于0.2,这说明由于群内节点不断地加入和离开网络,群内负载率相对标准差很难控制在0.2之内。所以当α取1.2时,将导致超级节点的哈希表和有序链表中存放大量节点负载信息。所以参数α应在区间[1.4,1.8]内取值,且具体取值可以结合实际对于HP2P网络软件负载平衡的要求程度来决定。The ratio of the load rate of the node with the highest load rate in the group to the average load rate in the group and the relative standard deviation of the load rate in the group increase with the increase of parameter α, and the growth rate slows down with the increase of α . When the size of the network grows rapidly, the amount of metadata movement is much larger than the other two cases. This is because when a large amount of metadata is added to the network, the overall number of metadata in the entire network increases and in order for these newly released metadata to be placed to the appropriate location in the group, additional metadata transfer is required. When α is 1.2, the standard deviation of the load rate in the group is still greater than 0.2, which shows that the relative standard deviation of the load rate in the group is difficult to control within 0.2 because the nodes in the group continue to join and leave the network. Therefore, when α is set to 1.2, it will cause a large amount of node load information to be stored in the super node's hash table and ordered linked list. Therefore, the parameter α should take a value within the interval [1.4, 1.8], and the specific value can be determined according to the actual requirements for HP2P network software load balancing.
以上仿真实验和数据结果表明,HP2P网络负载平衡方法很好地解决了 HP2P网络群间和群内负载不平衡的问题。如将此发明应用到基于HP2P的网络中,必将大大提升基于HP2P的网络软件的性能。The above simulation experiments and data results show that the HP2P network load balancing method can well solve the problem of unbalanced load between groups and within groups of HP2P network. If this invention is applied to the HP2P-based network, the performance of the HP2P-based network software will be greatly improved.
本发明可以对分布噪声下PSK信号的载频进行估计;本发明在低信噪比环境下具有较好的估计性能;在相同的仿真实验环境和相同的码元速率、载波频率、采样频率、采样点数和信噪比等信号参数设置条件下,本发明比现有的方法具有更好的估计性能。为智能楼宇网络管理提供保证。The present invention can estimate the carrier frequency of the PSK signal under the distributed noise; The present invention has better estimation performance under the low SNR environment; In the same simulation experiment environment and the same symbol rate, carrier frequency, sampling frequency, Under the setting conditions of signal parameters such as number of sampling points and signal-to-noise ratio, the present invention has better estimation performance than existing methods. Provide guarantee for intelligent building network management.
附图说明Description of drawings
图1是本发明实施例提供的智能楼宇管理系统的结构示意图。Fig. 1 is a schematic structural diagram of an intelligent building management system provided by an embodiment of the present invention.
具体实施方式Detailed ways
为能进一步了解本发明的发明内容、特点及功效,兹例举以下实施例,并配合附图详细说明如下。In order to further understand the content, features and effects of the present invention, the following examples are given, and detailed descriptions are given below with reference to the accompanying drawings.
下面结合附图对本发明的结构作详细的描述。The structure of the present invention will be described in detail below in conjunction with the accompanying drawings.
如图1所示,本发明实施例提供的智能楼宇管理系统包括中央监控系统,与中央监控系统分别连接着的无线门禁子系统、空调子系统、电梯自控子系统、照明子系统、变配电子系统、给排水子系统、安防子系统、车库管理子系统、电视监控子系统、环境监测子系统、智能家居子系统。各个子系统通过以太网和中央监控系统无线连接。有供电系统分别给各个子系统和中央监控系统供电。As shown in Figure 1, the intelligent building management system provided by the embodiment of the present invention includes a central monitoring system, a wireless access control subsystem, an air conditioning subsystem, an elevator automatic control subsystem, a lighting subsystem, and a distribution electronics subsystem respectively connected to the central monitoring system. System, water supply and drainage subsystem, security subsystem, garage management subsystem, TV monitoring subsystem, environmental monitoring subsystem, smart home subsystem. Each subsystem is wirelessly connected to the central monitoring system via Ethernet. There is a power supply system to supply power to each subsystem and the central monitoring system.
所述安防子系统集成有楼宇HP2P网络负载平衡模块和对网络信号分布噪声下PSK信号的载波频率估计模块;所述楼宇HP2P网络负载平衡模块和载波频率估计模块均与中央监控系统无线连接;The security subsystem is integrated with a building HP2P network load balancing module and a carrier frequency estimation module for PSK signals under network signal distribution noise; the building HP2P network load balancing module and carrier frequency estimation module are all wirelessly connected to the central monitoring system;
所述楼宇HP2P网络负载平衡模块的楼宇HP2P网络负载平衡方法包括:The building HP2P network load balancing method of the building HP2P network load balancing module includes:
1)HP2P网络群间负载平衡的方法:通过群分裂以及群在网络地址空间的移动来实现群之间的负载转移,并通过新节点加入负载较大的群诱导群发生分裂和合并,使负载较大的地址空间群数目增多,负载较小的地址空间群数目减少,其中负载定义为该群中节点单位时间所需要处理消息的平均数目;1) The method of load balancing among HP2P network groups: the load transfer between groups is realized through group splitting and the movement of groups in the network address space, and the splitting and merging of groups is induced by adding new nodes to groups with larger loads, so that the load The number of larger address space groups increases, and the number of address space groups with smaller loads decreases, where the load is defined as the average number of messages that nodes in the group need to process per unit time;
2)HP2P网络群内负载平衡的方法,通过超级节点对群内负载有效的调度,使群内负载率较低的节点找到群内负载率较高的节点,其中根据HP2P网络特性,负载近似定义为群内节点所需要维护的元数据数目,负载率定义为负载与节点能力的比值,且所述元数据为资源的索引;2) The method of load balancing in the HP2P network group. Through the effective scheduling of the load in the group by super nodes, the nodes with a lower load rate in the group can find the nodes with a higher load rate in the group. According to the characteristics of the HP2P network, the load is approximately defined is the number of metadata that nodes in the group need to maintain, the load rate is defined as the ratio of load to node capability, and the metadata is the index of resources;
所述载波频率估计模块的对网络信号分布噪声下PSK信号的载波频率估计方法中,PSK信号为HP2P网络内信号;具体包括:In the carrier frequency estimation method of the PSK signal under the network signal distribution noise of the described carrier frequency estimation module, the PSK signal is a signal in the HP2P network; specifically includes:
对接收的含有分布噪声的PSK信号求循环共变函数;Calculate the cyclic covariant function for the received PSK signal containing distributed noise;
对所述循环共变函数进行傅里叶变换,求其循环共变谱;Carry out Fourier transform to described cyclic covariation function, seek its cyclic covariation spectrum;
通过所述循环共变谱提取循环频率ε=0Hz的截面;Extracting a cross-section with a cyclic frequency ε=0 Hz through the cyclic covariation spectrum;
搜索所述截面的正负半轴的峰值,找到所述峰值对应的正负频率值,并取绝对值后求均值作为载频的估计值。Search for the peak values of the positive and negative semi-axes of the section, find the positive and negative frequency values corresponding to the peak values, take the absolute value and calculate the mean value as the estimated value of the carrier frequency.
所述HP2P网络群间负载平衡的方法包括:The method for load balancing between the HP2P network groups includes:
步骤(1)群A的超级节点S随机地向周围k·log2N个群发送群负载请求消息,获取所述k·log2N个群的负载信息,并通过计算这k·log2N个群的负载平均值来估算出当前整个HP2P网络的群平均负载Loadavg,其中k是一个在区间[1, N/log2N]取值的整数,N为网络中群的数目;Step (1) The supernode S of group A randomly sends a group load request message to the surrounding k·log 2 N groups, obtains the load information of the k·log 2 N groups, and calculates the k·log 2 N The average load of each group is used to estimate the average load Load avg of the entire HP2P network, where k is an integer in the interval [1, N/log 2 N], and N is the number of groups in the network;
步骤(2)若群A当前负载Load>γ·Loadavg,且群分裂成的两个小群中节点数目均大于HP2P网络群节点数目下限,则将该群分裂成两个群,其中γ是一个大于1的实数,HP2P网络群间负载平衡的方法本次执行结束;否则转至步骤(A3);Step (2) If the current load of group A is Load>γ·Load avg , and the number of nodes in the two small groups that the group splits into is both greater than the lower limit of the number of nodes in the HP2P network group, split the group into two groups, where γ is A real number greater than 1, the execution of the method for load balancing between HP2P network groups ends this time; otherwise, go to step (A3);
步骤(3)构建HP2P网络中Chord环,群A向其前驱群和后继群发送负载请求消息,从而获取前驱群和后继群的当前负载情况,其中前驱群为HP2P网络Chord环中离群A最近的前一个群,后继群为HP2P网络Chord环中离群A最近的后一个群;Step (3) Construct the Chord ring in the HP2P network. Group A sends a load request message to its predecessor group and successor group to obtain the current load conditions of the predecessor group and successor group. The predecessor group is the closest outlier A in the Chord ring of the HP2P network. The previous group of , and the successor group is the next group closest to outlier A in the Chord ring of the HP2P network;
步骤(4)如果群A当前负载Load>Loadavg则转至步骤(A5),如果 Load<Loadavg则转至步骤(A8);否则HP2P网络群间负载平衡的方法执行结束;Step (4) If the current load of group A is Load>Load avg , then go to step (A5), if Load<Load avg , then go to step (A8); otherwise, the method of load balancing between HP2P network groups ends;
步骤(5)如果群A负载Load≥Loadlight/(1-2·β),则将自身负载降低β,其中β是一个在区间(0,0.5)取值的实数,并转至步骤(A6);否则转至步骤(A8);其中Loadlight为该群的前驱群和后继群中负载较小的群的负载;Step (5) If the load of group A is Load≥Load light /(1-2·β), reduce its own load by β, where β is a real number with a value in the interval (0,0.5), and go to step (A6 ); Otherwise, go to step (A8); wherein Load light is the load of the group with the smaller load in the predecessor group and the successor group of the group;
步骤(6)如果Loadlight为群A的前驱群的负载,则群A通知其前驱群沿着 Chord环顺时针移动,移动的地址空间长度为(Load-Loadlight)×Length/(2×Load),并将相应的元数据转移到前驱群中,HP2P网络群间负载平衡的方法本次执行结束,其中Length为群A在Chord环中所维护的地址空间长度;否则转至步骤(A7);Step (6) If the Load light is the load of the predecessor group of group A, then group A notifies its predecessor group to move clockwise along the Chord ring, and the length of the moving address space is (Load-Load light )×Length/(2×Load ), and transfer the corresponding metadata to the predecessor group, the execution of the method for load balancing between HP2P network groups ends this time, where Length is the length of the address space maintained by group A in the Chord ring; otherwise, go to step (A7) ;
步骤(7)Loadlight为群A的后继群的负载,则该群沿着Chord环逆时针移动,移动的地址空间长度为(Load-Loadlight)×Length/(2×Load),并将相应的元数据转移到后继群中,而后HP2P网络群间负载平衡的方法本次执行结束;Step (7) Load light is the load of the successor group of group A, then the group moves counterclockwise along the Chord ring, the address space length of the move is (Load-Load light )×Length/(2×Load), and the corresponding The metadata of the HP2P network group is transferred to the successor group, and then the execution of the method of load balancing between the HP2P network groups ends this time;
步骤(8)如果Load≤(1-2·β)·Loadheavy,并转至步骤(A9);其中Loadheavy为该群的前驱群和后继群中负载较重群的负载,β是一个在区间(0,0.5)取值的实数,否则HP2P网络群间负载平衡方法执行结束;Step (8) If Load≤(1-2·β)·Load heavy , go to step (A9); where Load heavy is the load of the group with the heavier load in the predecessor group and the successor group of the group, and β is a load in The interval (0,0.5) is a real number, otherwise the execution of the HP2P network inter-group load balancing method ends;
步骤(9)如果Loadheavy为群A的前驱群的负载,则群A通知其前驱群沿着 Chord环逆时针移动,移动的地址空间长度为 (Loadheavy-Load)×Lengthpredecessor/(2×Loadheavy),并从前驱群获取相应的元数据,其中Lengthpredecessor为前驱群在Chord环中所维护的地址空间长度,而后HP2P网络群间负载平衡方法本次执行结束;否则转至步骤(A10);Step (9) If Load heavy is the load of the predecessor group of group A, then group A notifies its predecessor group to move counterclockwise along the Chord ring, and the length of the moving address space is (Load heavy -Load)×Length predecessor /(2× Load heavy ), and obtain the corresponding metadata from the predecessor group, where Length predecessor is the length of the address space maintained by the predecessor group in the Chord ring, and then the execution of the HP2P network inter-group load balancing method ends; otherwise, go to step (A10 );
步骤(10)Loadheavy为群A的后继群的负载,则群A沿着Chord环顺时针移动,移动的地址空间长度为(Loadheavy-Load)×Lengthsuccessor/(2×Loadheavy),并从后继群获取相应的元数据,其中Lengthsuccessor为后继群在Chord环中所维护的地址空间长度,此时HP2P网络群间负载平衡方法执行结束。Step (10) Load heavy is the load of the successor group of group A, then group A moves clockwise along the Chord ring, and the length of the moving address space is (Load heavy -Load)×Length successor /(2×Load heavy ), and The corresponding metadata is obtained from the successor group, where the Length successor is the length of the address space maintained by the successor group in the Chord ring, and at this time, the execution of the load balancing method between HP2P network groups ends.
所述普通节点群内负载平衡方法包括:The load balancing method in the common node group includes:
步骤(一)普通节点从超级节点处获取该群当前的平均负载率 Step (1) Ordinary nodes obtain the current average load rate of the group from super nodes
步骤(二)如果节点的负载率则认为节点负载率较高,此时该节点将向群中超级节点通报自身的负载率以及所需要向群内其它节点转移的元数据数目为然后普通节点群内负载平衡方法本次执行结束,其中capacity为该节点的能力,α为区间(1,2)之间的一个实数;否则转至步骤 (三);Step (2) If the load rate of the node It is considered that the load rate of the node is high. At this time, the node will notify the super node in the group of its own load rate and the number of metadata that needs to be transferred to other nodes in the group. Then the execution of the load balancing method in the ordinary node group ends this time, where capacity is the capacity of the node, and α is a real number between the interval (1,2); otherwise, go to step (3);
步骤(三)如果节点的负载率则认为该节点负载率较低;此时,该节点向群中超级节点通报自身的负载率以及可以从群内其它节点接收的最大元数据数目其中capacity为该节点的能力,普通节点群内负载平衡方法本次执行结束。Step (3) If the load rate of the node It is considered that the load rate of the node is low; at this time, the node notifies the super nodes in the group of its own load rate and the maximum number of metadata that can be received from other nodes in the group Among them, capacity is the capacity of the node, and the execution of the load balancing method in the common node group is completed this time.
进一步,所述接收信号的循环共变函数包括:Further, the cyclic covariation function of the received signal includes:
所述信号含有服从SαS分布噪声的MPSK信号,可以表示为:The signal contains an MPSK signal subject to SαS distributed noise, which can be expressed as:
其中E是信号的平均功率,M=2k, m=1,2,...M,q(t)表示矩形脉冲波形,T表示符号周期,fc表示载波频率,φ0表示初始相位,若w(t)是服从SαS分布的非高斯噪声,则其自共变函数定义为:where E is the average power of the signal, M=2 k , m=1,2,...M, q(t) represents the rectangular pulse waveform, T represents the symbol period, f c represents the carrier frequency, φ 0 represents the initial phase, if w(t) obeys SαS distribution of non-Gaussian noise, then its self-covariation function is defined as:
其中(x(t-τ))<p-1>=|x(t-τ)|p-2x*(t-τ),γx(t-τ)是x(t)的分散系数,则x(t)的循环共变定义为:Where (x(t-τ)) <p-1> = |x(t-τ)| p-2 x*(t-τ), γ x(t-τ) is the dispersion coefficient of x(t), Then the cyclic covariation of x(t) is defined as:
其中ε称为循环频率,T为一个码元周期。Among them, ε is called the cycle frequency, and T is a symbol period.
所述接收信号的循环共变谱按以下进行:The cyclic covariation spectrum of the received signal is performed as follows:
循环共变谱是循环共变函数的傅里叶变换,表示为:The cyclic covariation spectrum is the Fourier transform of the cyclic covariation function, expressed as:
其循环共变谱推导为:Its cyclic covariation spectrum is derived as:
当M≥4时,在处,When M≥4, in place,
当M=2时,When M=2,
其中Q(f)为q(t)的傅里叶变换,且 where Q(f) is the Fourier transform of q(t), and
所述通过提取循环共变谱中循环频率ε=0Hz的截面实现载频估计,按以下进行:The carrier frequency estimation is realized by extracting the section of cyclic frequency ε=0Hz in the cyclic covariation spectrum, as follows:
所述循环共变谱在n=0即ε=0Hz截面上的包络为:The envelope of the cyclic covariation spectrum on the n=0, ie, ε=0Hz section is:
当f=±fc时,包络取得最大值。When f=±f c , the envelope takes the maximum value.
本发明的工作原理是:该系统包括中央监控系统、无线门禁子系统、空调子系统、电梯自控子系统、照明子系统、变配电子系统、给排水子系统、安防子系统、车库管理子系统、电视监控子系统、环境监测子系统、智能家居子系统。这些子系统通过以太网和中央监控系统连接。子系统收集的数据经以太网传输到中央数据进行处理储存,通过显示装置显示各个子系统的信息,而且可通过报警装置在某个子系统故障时发出警报信息。该系统技术先进,经济实用,安全可靠。The working principle of the present invention is: the system includes a central monitoring system, a wireless access control subsystem, an air-conditioning subsystem, an elevator automatic control subsystem, a lighting subsystem, a distribution electronic system, a water supply and drainage subsystem, a security subsystem, and a garage management subsystem. , TV monitoring subsystem, environmental monitoring subsystem, smart home subsystem. These subsystems are connected with the central monitoring system via Ethernet. The data collected by the subsystems is transmitted to the central data through the Ethernet for processing and storage, and the information of each subsystem is displayed through the display device, and the alarm information can be sent out when a certain subsystem fails through the alarm device. The system is advanced in technology, economical and practical, safe and reliable.
本发明仿真实验和数据结果表明,HP2P网络负载平衡方法很好地解决了 HP2P网络群间和群内负载不平衡的问题。如将此发明应用到基于HP2P的网络中,必将大大提升基于HP2P的网络软件的性能。Simulation experiments and data results of the present invention show that the HP2P network load balancing method well solves the problem of unbalanced loads between groups and within groups of the HP2P network. If this invention is applied to the HP2P-based network, the performance of the HP2P-based network software will be greatly improved.
本发明可以对分布噪声下PSK信号的载频进行估计;本发明在低信噪比环境下具有较好的估计性能;在相同的仿真实验环境和相同的码元速率、载波频率、采样频率、采样点数和信噪比等信号参数设置条件下,本发明比现有的方法具有更好的估计性能。为智能楼宇网络管理提供保证。The present invention can estimate the carrier frequency of the PSK signal under the distributed noise; The present invention has better estimation performance under the low SNR environment; In the same simulation experiment environment and the same symbol rate, carrier frequency, sampling frequency, Under the setting conditions of signal parameters such as number of sampling points and signal-to-noise ratio, the present invention has better estimation performance than existing methods. Provide guarantee for intelligent building network management.
以上所述仅是对本发明的较佳实施例而已,并非对本发明作任何形式上的限制,凡是依据本发明的技术实质对以上实施例所做的任何简单修改、等同变化与修饰,均属于本发明技术方案的范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention in any form. All simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention belong to this invention. within the scope of the technical solution of the invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810098049.3A CN108599975A (en) | 2018-01-31 | 2018-01-31 | a kind of intelligent building management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810098049.3A CN108599975A (en) | 2018-01-31 | 2018-01-31 | a kind of intelligent building management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108599975A true CN108599975A (en) | 2018-09-28 |
Family
ID=63608791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810098049.3A Pending CN108599975A (en) | 2018-01-31 | 2018-01-31 | a kind of intelligent building management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108599975A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113777938A (en) * | 2021-08-31 | 2021-12-10 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090234917A1 (en) * | 2007-08-29 | 2009-09-17 | Ntt Docomo, Inc. | Optimal operation of hierarchical peer-to-peer networks |
CN103916327A (en) * | 2014-03-21 | 2014-07-09 | 西安电子科技大学 | Method for balancing loads of HP2P networks |
CN104038454A (en) * | 2014-06-20 | 2014-09-10 | 西安电子科技大学 | Method for estimating carrier frequency of PSK (phase shift keying) signal in Alpha-stable distribution noise |
CN106125651A (en) * | 2016-08-03 | 2016-11-16 | 北海和思科技有限公司 | A kind of intelligent building management system |
-
2018
- 2018-01-31 CN CN201810098049.3A patent/CN108599975A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090234917A1 (en) * | 2007-08-29 | 2009-09-17 | Ntt Docomo, Inc. | Optimal operation of hierarchical peer-to-peer networks |
CN103916327A (en) * | 2014-03-21 | 2014-07-09 | 西安电子科技大学 | Method for balancing loads of HP2P networks |
CN104038454A (en) * | 2014-06-20 | 2014-09-10 | 西安电子科技大学 | Method for estimating carrier frequency of PSK (phase shift keying) signal in Alpha-stable distribution noise |
CN106125651A (en) * | 2016-08-03 | 2016-11-16 | 北海和思科技有限公司 | A kind of intelligent building management system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113777938A (en) * | 2021-08-31 | 2021-12-10 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
CN113777938B (en) * | 2021-08-31 | 2023-07-18 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cui et al. | DDoS detection and defense mechanism based on cognitive-inspired computing in SDN | |
KR101811966B1 (en) | Mechanisms for semantics publishing and discovery | |
CN102104631B (en) | Method for ensuring quality of service of knowledge system based on cloud computing technology | |
CN114584581B (en) | Federal learning system and federal learning training method for intelligent city internet of things (IOT) letter fusion | |
CN106657394A (en) | Equipment information collection system and method based on Internet of Things big data | |
Deng et al. | Energy balanced dispatch of mobile edge nodes for confident information coverage hole repairing in IoT | |
US20190028501A1 (en) | Anomaly detection on live data streams with extremely low latencies | |
Dang et al. | Application of wireless sensor network in monitoring system based on Zigbee | |
CN108599975A (en) | a kind of intelligent building management system | |
Chen | Design of computer big data processing system based on genetic algorithm | |
Peng et al. | Value‐aware cache replacement in edge networks for Internet of Things | |
Xu et al. | Integration of cloud computing and p2p: A future storage infrastructure | |
Yang et al. | Energy-saving information multi-agent system with web services for cloud computing | |
Chao et al. | Intelligent interaction design research based on block chain communication technology and fuzzy system | |
Lee et al. | Searching method through biased random walks on complex networks | |
Dong | Support Vector Regression Method for Regional Economic Mid‐and Long‐Term Predictions Based on Wireless Network Communication | |
Xu | In-memory database load balancing optimization for massive information processing of the Internet of Things | |
Tang | [Retracted] Data Transmission and Processing Analysis of Power Economic Management Terminal Based on the Internet of Things | |
Gopal et al. | Dynamic sharing of files from disconnected nodes in peer to peer systems | |
Huang et al. | Ceds: Center-edge collaborative data service for mobile iot data management | |
Liu et al. | CACA-UAN: A context-aware communication approach based on the underwater acoustic sensor network | |
JAFARI et al. | Performance improvement of the proxy servers' cache in distributed systems using session and cookie techniques based on game theory. | |
Hou et al. | WSN multi-hop routing algorithm based on non-uniform clustering | |
Ishibashi et al. | Machine-machine communications using relationships in social media | |
Ren et al. | OpenSRN: A software-defined semantic routing network architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180928 |