WO2016155097A1 - 基于节点连接芯片的节点网络及其初始化方法 - Google Patents
基于节点连接芯片的节点网络及其初始化方法 Download PDFInfo
- Publication number
- WO2016155097A1 WO2016155097A1 PCT/CN2015/079545 CN2015079545W WO2016155097A1 WO 2016155097 A1 WO2016155097 A1 WO 2016155097A1 CN 2015079545 W CN2015079545 W CN 2015079545W WO 2016155097 A1 WO2016155097 A1 WO 2016155097A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- chip
- current detection
- port
- node
- detection port
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Definitions
- the present invention relates to the field of electronic information technology, and in particular, to a node network based on a node connection chip and an initialization method thereof.
- the existing damage detection system usually puts the loop circuit in the area to be tested. When a link of the loop circuit is destroyed, the damage detection system can obtain the information that has been destroyed, but the loop circuit cannot provide information about the destruction. Link details.
- each part is designed with a separate circuit, but still has the disadvantages that are difficult to overcome - only part of which is destroyed and applied to textile clothing Monitoring textile damage is very limited because the technology does not allow the creation of high-density loops.
- subnets that include many detection loops connected to the local microcontroller and send local status information to the host processor through the local microcontroller, but a large number of subnets means that the data transmission bus is too wide and the data processing speed is high. slow.
- the node connection chip forms the node network, and the node network is initialized to realize the fast data transmission, and the detailed node information is quickly provided for the damage detection system. .
- the main object of the present invention is to provide a node network based on a node connection chip and an initialization method thereof, which form a node network through a node connection chip, realizes fast data transmission by initializing the node network, and provides a detailed node for the damage detection system quickly. information.
- the present invention provides a node network based on a node connection chip.
- the node network includes a central processing unit and a plurality of node connection chips, and at least one of the plurality of node connection chips includes a reference node connection chip, and the central processor is connected to the reference node to connect a chip, and the node is connected to the chip.
- the node connection chip Connected by a data port, the node connection chip includes a microprocessor and a data port coupled to the microprocessor.
- the data ports are arranged in four, and the four data ports are evenly distributed around the node connection chip.
- a port connector is disposed on a data port of the node connection chip, and the node connection chips are connected through the port connector.
- the data ports are arranged in four, and the four data ports are evenly distributed around the node connection chip.
- four of the data ports are disposed on different horizontal planes around the node connection chip, and wherein the signal lines of the two data ports are disposed upward, and the other two data port signal lines are disposed downward.
- the adjacent two node connection chips are connected by two port signals of different orientations of the signal lines.
- the present invention also provides an initialization method for a node network based on a node connection chip.
- the method for initializing the node network includes the following steps:
- S1 initializing information of the reference node connection chip, and connecting the reference node connection chip as a current detection chip;
- the reference node connection chip is a chip connected to the central processing unit;
- S4 Initialize information of other neighboring chips connected thereto according to information of the current detecting chip.
- the step S3 includes:
- S32 setting the current detection chip as the main chip, determining the information of the current detection chip according to the information of the read neighbor chip, receiving the preparation signal sent by the neighbor chip connected to the current detection port signal, and transmitting the information of the current detection chip to The neighbor chip of the current detection port signal connection; executing S33;
- step S33 The next data port of the current detection chip is taken as the current detection port; step S31 is performed;
- step S4 comprises the following steps:
- S42 The neighbor chip connected to the current detection port signal is used as the current detection chip
- S44 The next data port of the current detection chip is used as the current detection port, and S43 is performed;
- S46 Send the preparation signal to the neighbor chip connected to the signal through the current detection port, and read the information of the neighbor chip through the current detection port.
- step S2 comprises the following steps:
- S24 Send a preparation signal to the neighboring chip connected thereto through the current detection port, and read information of the neighbor chip through the current detection port.
- the step S3 includes:
- S32 setting the current detection chip as the main chip, determining the information of the current detection chip according to the information of the read neighbor chip, receiving the preparation signal sent by the neighbor chip connected to the current detection port signal, and transmitting the information of the current detection chip to The neighbor chip of the current detection port signal connection; executing S33;
- step S33 The next data port of the current detection chip is taken as the current detection port; step S31 is performed;
- the initial value of the current detection port is a preset detection port.
- the step S3 includes:
- S32 setting the current detection chip as the main chip, determining the information of the current detection chip according to the information of the read neighbor chip, receiving the preparation signal sent by the neighbor chip connected to the current detection port signal, and transmitting the information of the current detection chip to The neighbor chip of the current detection port signal connection; executing S33;
- step S33 The next data port of the current detection chip is taken as the current detection port; step S31 is performed;
- step S4 comprises the following steps:
- S42 The neighbor chip connected to the current detection port signal is used as the current detection chip
- S44 The next data port of the current detection chip is used as the current detection port, and S43 is performed;
- S46 Send the preparation signal to the neighbor chip connected to the signal through the current detection port, and read the information of the neighbor chip through the current detection port.
- the embodiment of the present invention forms a node network by a central processing unit and a plurality of node connection chips, and at least one of the node connection chips includes at least one reference node connection chip, and the central processing And the reference node is connected to the chip signal connection, and is used for initializing the other node connection chip in the node network through the reference node connection chip, the node connection chip includes a microprocessor and a data port, and the other nodes are connected through the data port to connect the chip, and the The microprocessor controls the data port to communicate with other nodes to realize initialization of the connection chip of all nodes in the node network.
- FIG. 1 is a schematic structural diagram of a node network based on a node connection chip according to a preferred embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a circuit of a node connection chip according to a preferred embodiment of the present invention
- FIG. 3 is a schematic diagram showing the external structure of a preferred embodiment of the node connection chip of the invention.
- FIG. 4 is a schematic flowchart of a preferred embodiment of a method for initializing a node network according to the present invention
- FIG. 5 is a detailed flowchart of S2 in a schematic flowchart of a preferred embodiment of a method for initializing a node network according to the present invention
- FIG. 6 is a detailed flowchart of S3 in a flow chart of a preferred embodiment of a method for initializing a node network according to the present invention.
- FIG. 7 is a detailed flowchart of S4 in a schematic flowchart of a preferred embodiment of a method for initializing a node network according to the present invention.
- the main object of the present invention is to provide a node network based on a node connection chip and an initialization method thereof, which form a node network through a node connection chip, realizes fast data transmission by initializing the node network, and provides a detailed node for the damage detection system quickly. information.
- the present invention provides a node network based on a node connection chip.
- FIG. 1 is a schematic structural diagram of a node network based on a node connection chip according to a preferred embodiment of the present invention.
- the node-connected chip-based node network includes a central processing unit 02 and a plurality of node connection chips 01, and at least one of the plurality of node connection chips includes a reference node connection chip 011, and the central processing unit 02 and the reference node
- the connection chip 011 is connected, and the node connection chips are connected by a data port, and the node connection chip includes a microprocessor and a data port connected to the microprocessor.
- the central processor initializes other node connection chips in the node network by using the reference node connection chip 011.
- FIG. 2 is a schematic structural diagram of a circuit of a node connection chip according to a preferred embodiment of the present invention.
- the node connection chip 01 comprises a microprocessor 1 and a data port 2 connected to the microprocessor 1, the data port 2 comprising a switching unit 21, a receiving unit 22 and a transmitting unit 23,
- the data port 2 and the microprocessor 1 are connected by a power input end, a receiving data end, a receiving data ground end, a selecting end, a power output end, a transmitting data end, and a transmitting data ground end, and the data port 2 passes The signal input terminal and the signal output terminal communicate with the outside world.
- the microprocessor 1 is a microprocessing unit having data processing and storage functions for processing and storing data transmitted and received through the data port 2.
- the data port 2 is configured to receive data sent by the outside world and send data that the node connection chip needs to send.
- the data port 2 includes a switching unit 21, a receiving unit 22 and a transmitting unit 23, and the switching unit 21 is configured to control the receiving unit 22 and the transmitting unit 23 to be effective under the control of the microprocessor 1, ie In different cases, the data port 2 is configured to receive data sent by the outside world or data used to send the node connection chip.
- the data port 2 may be configured to connect to other nodes according to requirements, and the other nodes may be the node connection chip provided by the embodiment of the present invention, or may be the center with data storage and processing capability. processor.
- the node connection chip can connect N neighboring nodes by setting N data ports, and the node connection chip and the N neighbor nodes are connected by the data port signal and perform data communication.
- a node network is formed by a central processing unit and a plurality of node connection chips, and at least one of the node connection chips includes at least one reference node connection chip, and the central processor and the reference node are connected to the chip signal connection for passing through the reference node.
- the connection chip initializes the other node connection chips in the node network, and the node connection chip includes a microprocessor and a data port, and the other nodes are connected to the chip through the data port, and the data port is communicated with other nodes through the microprocessor control data port to realize Initialization of all nodes in the node network to connect the chip.
- a port connector is disposed on a data port of the node connection chip, and the node connection chips are connected through the port connector.
- the port connector is provided between the node connection chips. When any two nodes are connected through the port, the port connectors are connected together, which is quick and convenient. When a node connection chip is damaged, the node network can also be quickly repaired by repairing the port connector or replacing the new node connection chip.
- the data ports are arranged in four, and the four data ports are evenly distributed around the node connection chip.
- the data ports are set to four, and four of the data ports are evenly distributed around the nodes.
- Four data ports can be set to extend the neighbor nodes on the top, bottom, left, and right to form a square node network. When one of the neighbor nodes is damaged, a new data transmission channel can be established through other neighbor nodes to transmit data.
- the adjacent two nodes are connected by signal lines to different data port signals.
- four of the data ports are disposed on different horizontal planes around the node connection chip, and wherein the signal lines of the two data ports are disposed upward, and the other two data port signal lines are disposed downward. Adjacent two node connection chips are connected by two port signals of different orientations of the signal lines.
- FIG. 3 is a schematic diagram showing the external structure of a preferred embodiment of the node connecting chip of the invention.
- four of the data ports (actually data)
- the signal line extensions of the ports are respectively 201, 202, 203, 204, which are disposed on different horizontal planes around the node connection chip, and wherein the signal lines of the data port 201 and the data port 202 are set upward, and the other two data are
- the signal lines of the port 203 and the data port 204 are set downward. Only one of the signal lines 2021 of the data port 202 and one of the signal lines 2031 of the data port 203 are identified in the figure. The purpose of this setting is to facilitate the signal connection between two adjacent nodes through different signal lines to two different data ports.
- the present invention also provides an initialization method for a node network based on a node connection chip.
- FIG. 4 is a schematic flowchart diagram of a preferred embodiment of a method for initializing a node network according to the present invention.
- the method for initializing the node network includes the following steps:
- S1 initializing information of the reference node connection chip, and connecting the reference node connection chip as a current detection chip;
- the reference node connection chip is a chip connected to the central processing unit;
- S4 Initialize information of other neighboring chips connected thereto according to information of the current detecting chip.
- step S1 when initializing the node network, step S1 first initializes a reference node connection chip connected to the central processing unit, for example, through a central processor and a reference node connecting chip for data communication, providing power for the reference node connection chip, and central processing
- the coordinates of the device are set to (x0, y0), and the reference node is connected to the chip as the current detection chip. Since the reference node connecting chip and the central processing unit are connected through the data port, and the data communication is already prepared, the central processing unit is one of the neighboring chips connecting the reference node to the chip, and step S2 is connected to the current detecting chip signal.
- the information of the neighbor chip is the information of the neighbor chip central processor that obtains the signal connection with the reference node, and specifically refers to obtaining the coordinate values and relative position values of the neighbor chip.
- the step S3 determines the information of the current detection chip according to the information of the neighboring chip, and specifically refers to calculating the coordinate value and the relative position value of the current detection chip according to the coordinate values of the neighboring chip and the relative position value.
- Step S4 is to cycle according to the above steps, and initialize information of other neighboring chips connected thereto according to the information of the current detecting chip.
- the initialization method of the node network starts with the initialization of the reference node connection chip connected to the central processing unit, obtains information of the neighboring chip connected to the current detection chip signal, and determines the current detection chip according to the information of the neighboring chip.
- the information initializes the information of other neighboring chips connected thereto according to the information of the current detecting chip, and gradually initializes the node network based on the node connecting chip.
- FIG. 5 is a detailed flowchart of S2 in a schematic flowchart of a preferred embodiment of a method for initializing a node network according to the present invention.
- the step S2 comprises the following steps:
- the current detection chip can send the request feedback status information to the neighboring chip connected to the current detection port to determine whether the current detection port of the current detection chip is out of power or no signal.
- the initial value of the current detection port is a preset detection port.
- the data port below the current detection chip is the initial value of the current detection port.
- the data port needs to be exchanged for data transmission, and the next data of the current detection chip is to be used.
- the port acts as the current detection port and continues to execute S21. Otherwise, it indicates that the neighbor chip connected to the current detection port has been initialized, and the neighbor chip has initialization information, and the current detection chip can be initialized through the neighbor chip. At this time, S23 is executed to close other data ports except the current detection port, and no longer initialize through other data ports.
- the current detection chip is initialized only by the neighbor chip connected to the current detection port, and is not initialized through other data ports.
- S24 Send a preparation signal to the neighboring chip connected thereto through the current detection port, and read information of the neighbor chip through the current detection port.
- the current detection port sends a preparation signal to the neighboring chip connected thereto to notify the neighboring chip that the current detection chip is ready for initialization, and reads the information of the neighbor chip through the current detection port. Prepare for step S3.
- FIG. 6 is a detailed flowchart of S3 in a flow chart of a preferred embodiment of a method for initializing a node network according to the present invention.
- the step S3 includes:
- the current detection chip can send the request feedback status information to the neighboring chip connected to the current detection port to determine whether the current detection port of the current detection chip is out of power.
- S32 setting the current detection chip as the main chip, determining the information of the current detection chip according to the information of the read neighbor chip, receiving the preparation signal sent by the neighbor chip connected to the current detection port signal, and transmitting the information of the current detection chip to The neighbor chip of the current detection port signal connection; executing S33;
- the neighboring chip connected to the current detection port is not initialized.
- the current detection chip is set as the main chip, and the information of the neighbor chip read according to step S2 is set. Determining information of the current detection chip, receiving a preparation signal sent by the neighboring chip connected to the current detection port signal, transmitting the information of the current detection chip to the neighboring chip connected to the current detection port signal, ensuring that the node connection chips connected to each other store each other Information.
- S33 is executed to initialize the neighbor chip connected to the next detection port of the pre-detection chip. If the current detection port of the current detection chip has power, the neighbor chip connected to the current detection port has been initialized, and S33 is directly executed to initialize the neighbor chip connected to the next detection port of the previous detection chip.
- step S33 The next data port of the current detection chip is taken as the current detection port; step S31 is performed;
- the neighbor chip connected to the next detection port of the front detection chip is initialized.
- the neighboring chips connected to other data ports are initialized.
- FIG. 7 is a detailed flowchart of S4 in a flow chart of a preferred embodiment of a method for initializing a node network according to the present invention.
- step S4 comprises the following steps:
- S42 The neighbor chip connected to the current detection port signal is used as the current detection chip
- S44 The next data port of the current detection chip is used as the current detection port, and S43 is performed;
- S46 Send the preparation signal to the neighbor chip connected to the signal through the current detection port, and read the information of the neighbor chip through the current detection port.
- step S4 refers to a process of re-initiating the connection of other node connection chips in the network node by the above steps S2 and S3, and details are not described herein.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Multi Processors (AREA)
Abstract
一种基于节点连接芯片的节点网络及其初始化方法。通过中央处理器(02)和多个节点连接芯片(01)构成节点网络,多个所述节点连接芯片(01)中至少包括一个基准节点连接芯片(011),中央处理器(02)与基准节点连接芯片(011)信号连接,用于通过基准节点连接芯片(011)对节点网络中的其他节点连接芯片进行初始化,节点连接芯片包括微处理器和数据端口,通过数据端口扩展其他的节点连接芯片,通过微处理器控制数据端口与其他节点进行数据通讯,实现节点网络中所有节点连接芯片的初始化。
Description
技术领域
本发明涉及电子信息技术领域,尤其涉及一种基于节点连接芯片的节点网络及其初始化方法。
背景技术
现有的损毁检测系统通常的做法是将环路电路放置在待测区域,当环路电路一个链路被毁坏时,损毁检测系统能够获取到已经损毁的信息,但环路电路不能提供关于毁坏链路的详细信息。随着技术的发展,为了区别待测区域的毁坏部分,每个部分设计了单独的回路,但仍然具有很难克服的缺点-只能识别其中的一部分被毁坏,且将其应用于纺织衣物中监测纺织物的损毁情况时非常受限,因为本技术不允许创建的高密度环路。因此,出现了包括很多与本地微控制器连接的检测环路并通过本地微控制器发送本地状态信息至主处理器的子网,但大量子网意味着数据传输总线要求太宽,数据处理速度慢。
基于此,有必要设计一种基于节点连接芯片的节点网络及其初始化方法,通过节点连接芯片构成节点网络,通过对节点网络初始化,实现数据的快速传输,为损毁检测系统快速提供详细的节点信息。
发明内容
本发明的主要目的在于提供一种基于节点连接芯片的节点网络及其初始化方法,通过节点连接芯片构成节点网络,通过对节点网络初始化,实现数据的快速传输,为损毁检测系统快速提供详细的节点信息。
为实现上述目的,本发明提供了一种基于节点连接芯片的节点网络。
所述节点网络包括中央处理器和多个节点连接芯片,多个所述节点连接芯片中至少包括一个基准节点连接芯片,所述中央处理器与所述基准节点连接芯片连接,所述节点连接芯片之间通过数据端口连接,所述节点连接芯片包括微处理器以及与所述微处理器信号连接的数据端口。
在其中一个实施例中,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点连接芯片的四周。
在其中一个实施例中,所述节点连接芯片的数据端口上设置端口连接器,所述节点连接芯片之间通过所述端口连接器连接。
在其中一个实施例中,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点连接芯片的四周。
在其中一个实施例中,四个所述数据端口设置于所述节点连接芯片四周不同的水平面上,且其中两个数据端口的信号线朝上设置,另外两个数据端口信号线朝下设置。
在其中一个实施例中,相邻的两个节点连接芯片通过信号线不同朝向的两个端口信号连接。
为实现上述目的,本发明还提供了一种上述基于节点连接芯片的节点网络的初始化方法。
所述节点网络的初始化方法包括如下步骤:
S1:初始化基准节点连接芯片的信息,并将所述基准节点连接芯片作为当前检测芯片;所述基准节点连接芯片为与中央处理器连接的芯片;
S2:获得与当前检测芯片信号连接的邻居芯片的信息;
S3:根据邻居芯片的信息确定当前检测芯片的信息;
S4:根据当前检测芯片的信息初始化与其连接的其他邻居芯片的信息。
在其中一个实施例中,所述步骤S3包括:
S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;
S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;
S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;
S34:打开除当前检测端口以外的其他数据端口。
在其中一个实施例中,所述步骤S4包括如下步骤:
S41:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S42;若否,执行S43;
S42:将与当前检测端口信号连接的邻居芯片作为当前检测芯片;
S43:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S44;否则执行S45;
S44:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S43;
S45:关闭除当前检测端口外的其他数据端口;
S46:通过当前检测端口发送准备信号至与其信号连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
在其中一个实施例中,所述步骤S2包括如下步骤:
S21:判断当前检测芯片的当前检测端口是否没电或者没有信号;
S22:若是,将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S21;否则,执行S23;
S23:关闭除当前检测端口外的其他数据端口;
S24:通过当前检测端口发送准备信号至与其连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
在其中一个实施例中,所述步骤S3包括:
S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;
S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;
S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;
S34:打开除当前检测端口以外的其他数据端口。
在其中一个实施例中,所述当前检测端口的初始值为预设的检测端口。
在其中一个实施例中,所述步骤S3包括:
S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;
S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;
S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;
S34:打开除当前检测端口以外的其他数据端口。
在其中一个实施例中,所述步骤S4包括如下步骤:
S41:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S42;若否,执行S43;
S42:将与当前检测端口信号连接的邻居芯片作为当前检测芯片;
S43:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S44;否则执行S45;
S44:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S43;
S45:关闭除当前检测端口外的其他数据端口;
S46:通过当前检测端口发送准备信号至与其信号连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
本发明采用上述技术方案,带来的技术效果为:本发明实施例通过中央处理器和多个节点连接芯片构成节点网络,多个所述节点连接芯片中至少包括一个基准节点连接芯片,中央处理器与基准节点连接芯片信号连接,用于通过基准节点连接芯片对节点网络中的其他节点连接芯片进行初始化,节点连接芯片包括微处理器和数据端口,通过数据端口扩展其他的节点连接芯片,通过微处理器控制数据端口与其他节点进行数据通讯,实现节点网络中所有节点连接芯片的初始化。
附图说明
图1为本发明基于节点连接芯片的节点网络较佳实施例结构示意图;
图2为本发明节点连接芯片较佳实施例电路结构示意图;
图3为发明节点连接芯片较佳实施例外部结构示意图;
图4为本发明节点网络的初始化方法较佳实施例流程示意图;
图5为本发明节点网络的初始化方法较佳实施例流程示意图中S2的细化流程图;
图6为本发明节点网络的初始化方法较佳实施例流程示意图中S3的细化流程图。
图7为本发明节点网络的初始化方法较佳实施例流程示意图中S4的细化流程图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明的主要目的在于提供一种基于节点连接芯片的节点网络及其初始化方法,通过节点连接芯片构成节点网络,通过对节点网络初始化,实现数据的快速传输,为损毁检测系统快速提供详细的节点信息。
为实现上述目的,本发明提供了一种基于节点连接芯片的节点网络。
参照图1,图1所示为本发明基于节点连接芯片的节点网络较佳实施例结构示意图。所述基于节点连接芯片的节点网络包括中央处理器02和多个节点连接芯片01,多个所述节点连接芯片中至少包括一个基准节点连接芯片011,所述中央处理器02与所述基准节点连接芯片011连接,所述节点连接芯片之间通过数据端口连接,所述节点连接芯片包括微处理器以及与所述微处理器信号连接的数据端口。
具体地,所述中央处理器通过所述基准节点连接芯片011对所述节点网络中的其他节点连接芯片进行初始化。
具体地,参照图2,图2所示为本发明节点连接芯片较佳实施例电路结构示意图。在一实施例中,所述节点连接芯片01包括微处理器1以及与所述微处理器1信号连接的数据端口2,所述数据端口2包括切换单元21、接收单元22和发送单元23,所述数据端口2与所述微处理器1通过电源输入端、接收数据端、接收数据地端、选择端、电源输出端、发送数据端、发送数据地端信号连接,所述数据端口2通过信号输入端和信号输出端与外界进行数据通讯。
所述微处理器1为具有数据处理和存储功能的微处理单元,所述微处理器1用于处理和存储通过所述数据端口2发送和接收的数据。所述数据端口2用于接收外界发送的数据以及发送所述节点连接芯片需要发送的数据。所述数据端口2包括切换单元21、接收单元22和发送单元23,所述切换单元21用于在所述微处理器1的控制下控制所述接收单元22和所述发送单元23有效,即在不同的情况下,所述数据端口2用于接收外界发送的数据或用于发送所述节点连接芯片需要发送的数据。在实际设计时,所述数据端口2根据需求可设置多个,用于连接其他节点,所述其他节点可以是本发明实施例提供的节点连接芯片,也可以是具有数据存储和处理能力的中央处理器。所述节点连接芯片设置N个数据端口就可以连接N个邻居节点,所述节点连接芯片和N个所述邻居节点之间通过所述数据端口信号连接并进行数据通讯。
本发明实施例通过中央处理器和多个节点连接芯片构成节点网络,多个所述节点连接芯片中至少包括一个基准节点连接芯片,中央处理器与基准节点连接芯片信号连接,用于通过基准节点连接芯片对节点网络中的其他节点连接芯片进行初始化,节点连接芯片包括微处理器和数据端口,通过数据端口扩展其他的节点连接芯片,通过微处理器控制数据端口与其他节点进行数据通讯,实现节点网络中所有节点连接芯片的初始化。
在其中一个实施例中,所述节点连接芯片的数据端口上设置端口连接器,所述节点连接芯片之间通过所述端口连接器连接。为了便于构成节点网络,节点连接芯片之间设置了端口连接器,任何两个节点连接芯片通过端口连接时,通过端口连接器将其连接在一起,快捷方便。当某个节点连接芯片被损毁时,也可以通过修复端口连接器或者更换新的节点连接芯片的方式,快速修复节点网络。
在其中一个实施例中,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点连接芯片的四周。参照图1,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点的四周。设置四个数据端口能够在上下左右分别扩展邻居节点,构成方形节点网络,且当其中一个邻居节点损毁时,还可以通过其他邻居节点建立新的数据传输通道进行传输数据。相邻的所述两个节点之间通过信号线朝向不同的两个数据端口信号连接。
在其中一个实施例中,四个所述数据端口设置于所述节点连接芯片四周不同的水平面上,且其中两个数据端口的信号线朝上设置,另外两个数据端口信号线朝下设置。相邻的两个节点连接芯片通过信号线不同朝向的两个端口信号连接。
参照图3,图3所示为发明节点连接芯片较佳实施例外部结构示意图,具体地,如图3所示在本发明节点连接芯片外部结构示意图中,四个所述数据端口(实际是数据端口的信号线延伸部分)分别为201、202、203、204,设置于所述节点连接芯片四周不同的水平面上,且其中数据端口201和数据端口202的信号线朝上设置,另外两个数据端口203和数据端口204的信号线朝下设置。图中仅标识出了数据端口202的其中一个信号线2021,以及数据端口203其中一个信号线2031。这样设置的目的,便于相邻的两个节点之间通过信号线朝向不同的两个数据端口信号连接。
为实现上述目的,本发明还提供了一种上述基于节点连接芯片的节点网络的初始化方法。
参照图4,图4所示为本发明节点网络的初始化方法较佳实施例流程示意图。
所述节点网络的初始化方法包括如下步骤:
S1:初始化基准节点连接芯片的信息,并将所述基准节点连接芯片作为当前检测芯片;所述基准节点连接芯片为与中央处理器连接的芯片;
S2:获得与当前检测芯片信号连接的邻居芯片的信息;
S3:根据邻居芯片的信息确定当前检测芯片的信息;
S4:根据当前检测芯片的信息初始化与其连接的其他邻居芯片的信息。
具体地,在初始化节点网络时,步骤S1先初始化与中央处理器连接的基准节点连接芯片,例如通过中央处理器与基准节点连接芯片进行数据通讯,为基准节点连接芯片提供电源,且将中央处理器的坐标设置为(x0,y0),以基准节点连接芯片作为当前检测芯片。由于基准节点连接芯片与中央处理器之间通过数据端口连接,且已经准备好数据通讯,因此,中央处理器即为基准节点连接芯片的邻居芯片之一,步骤S2获得与当前检测芯片信号连接的邻居芯片的信息,即为获得与基准节点连接芯片信号连接的邻居芯片中央处理器的信息,具体的是指获得邻居芯片的坐标值以及相对位置值。步骤S3根据邻居芯片的信息确定当前检测芯片的信息具体是指根据邻居芯片的坐标值以及相对位置值计算当前检测芯片的坐标值和相对位置值。步骤S4即循环按照上述步骤,根据当前检测芯片的信息初始化与其连接的其他邻居芯片的信息。
本发明实施例提供的节点网络的初始化方法,以与中央处理器连接的基准节点连接芯片的初始化开始,获得与当前检测芯片信号连接的邻居芯片的信息,根据邻居芯片的信息确定当前检测芯片的信息,根据当前检测芯片的信息初始化与其连接的其他邻居芯片的信息,逐步有规律地实现了对基于节点连接芯片的节点网络的初始化。
参照图5,图5所示为本发明节点网络的初始化方法较佳实施例流程示意图中S2的细化流程图。在其中一个实施例中,所述步骤S2包括如下步骤:
S21:判断当前检测芯片的当前检测端口是否没电或者没有信号;
具体地,可以通过当前检测芯片向与其当前检测端口连接的邻居芯片发送请求反馈状态信息来判断当前检测芯片的当前检测端口是否没电或者没有信号。
在其中一个实施例中,所述当前检测端口的初始值为预设的检测端口。例如,以当前检测芯片的下方数据端口为当前检测端口的初始值。
S22:若是,将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S21;否则,执行S23;
具体地,若当前检测芯片的当前检测端口没电或者没有信号,说明与当前检测端口连接的邻居芯片没有被初始化,则需要换一个数据端口进行数据传输,将所述当前检测芯片的下一个数据端口作为当前检测端口,继续执行S21。否则,说明与当前检测端口连接的邻居芯片已经被初始化,其邻居芯片已经有初始化信息可以通过该邻居芯片对当前检测芯片进行初始化。此时执行S23,关闭除当前检测端口外的其他数据端口,不再通过其他数据端口进行初始化。
S23:关闭除当前检测端口外的其他数据端口;
即只通过当前检测端口连接的邻居芯片对当前检测芯片进行初始化,不再通过其他数据端口进行初始化。
S24:通过当前检测端口发送准备信号至与其连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
具体地,通过当前检测端口发送准备信号至与其连接的邻居芯片通知邻居芯片当前检测芯片已经做好进行初始化的准备,并通过当前检测端口读取邻居芯片的信息。为步骤S3做好准备。
参照图6,图6所示为本发明节点网络的初始化方法较佳实施例流程示意图中S3的细化流程图。
在其中一个实施例中,所述步骤S3包括:
S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;
具体地,可以通过当前检测芯片向与其当前检测端口连接的邻居芯片发送请求反馈状态信息来判断当前检测芯片的当前检测端口是否没电。
S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;
具体地,若当前检测芯片的当前检测端口没电,说明与当前检测端口连接的邻居芯片没有被初始化,此时,设定当前检测芯片为主芯片,并根据步骤S2读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片,确保彼此连接的节点连接芯片都存储了彼此的信息。完成后执行S33,对前检测芯片的下一个检测端口连接的邻居芯片进行初始化。若当前检测芯片的当前检测端口有电,说明与当前检测端口连接的邻居芯片已经被初始化,直接执行S33,对前检测芯片的下一个检测端口连接的邻居芯片进行初始化。
S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;
即对前检测芯片的下一个检测端口连接的邻居芯片进行初始化。
S34:打开除当前检测端口以外的其他数据端口。
即确保其他数据端口连接的邻居芯片完成初始化。
参照图7,图7所示为本发明节点网络的初始化方法较佳实施例流程示意图中S4的细化流程图。
在其中一个实施例中,所述步骤S4包括如下步骤:
S41:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S42;若否,执行S43;
S42:将与当前检测端口信号连接的邻居芯片作为当前检测芯片;
S43:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S44;否则执行S45;
S44:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S43;
S45:关闭除当前检测端口外的其他数据端口;
S46:通过当前检测端口发送准备信号至与其信号连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
步骤S4的细化流程图是指循环上述步骤S2和步骤S3对网络节点中的其他节点连接芯片进行初始化的过程,在此不赘述。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (14)
- 一种基于节点连接芯片的节点网络,其特征在于,所述节点网络包括中央处理器和多个节点连接芯片,多个所述节点连接芯片中至少包括一个基准节点连接芯片,所述中央处理器与所述基准节点连接芯片连接,所述节点连接芯片之间通过数据端口连接,所述节点连接芯片包括微处理器以及与所述微处理器信号连接的数据端口。
- 如权利要求1所述的基于节点连接芯片的节点网络,其特征在于,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点连接芯片的四周。
- 如权利要求1所述的基于节点连接芯片的节点网络,其特征在于,所述节点连接芯片的数据端口上设置端口连接器,所述节点连接芯片之间通过所述端口连接器连接。
- 如权利要求3所述的基于节点连接芯片的节点网络,其特征在于,所述数据端口设置四个,四个所述数据端口均匀分布于所述节点连接芯片的四周。
- 如权利要求4所述的基于节点连接芯片的节点网络,其特征在于,四个所述数据端口设置于所述节点连接芯片四周不同的水平面上,且其中两个数据端口的信号线朝上设置,另外两个数据端口信号线朝下设置。
- 如权利要求5所述的基于节点连接芯片的节点网络,其特征在于,相邻的两个节点连接芯片通过信号线不同朝向的两个端口信号连接。
- 一种权利要求1所述的基于节点连接芯片的节点网络的初始化方法,其特征在于,所述节点网络的初始化方法包括如下步骤:S1:初始化基准节点连接芯片的信息,并将所述基准节点连接芯片作为当前检测芯片;所述基准节点连接芯片为与中央处理器连接的芯片;S2:获得与当前检测芯片信号连接的邻居芯片的信息;S3:根据邻居芯片的信息确定当前检测芯片的信息;S4:根据当前检测芯片的信息初始化与其连接的其他邻居芯片的信息。
- 如权利要求7所述的节点网络初始化方法,其特征在于,所述步骤S3包括:S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;S34:打开除当前检测端口以外的其他数据端口。
- 如权利要求7所述的节点网络初始化方法,其特征在于,所述步骤S4包括如下步骤:S41:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S42;若否,执行S43;S42:将与当前检测端口信号连接的邻居芯片作为当前检测芯片;S43:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S44;否则执行S45;S44:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S43;S45:关闭除当前检测端口外的其他数据端口;S46:通过当前检测端口发送准备信号至与其信号连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
- 如权利要求7所述的节点网络的初始化方法,其特征在于,所述步骤S2包括如下步骤:S21:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S22;否则,执行S23;S22:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S21;S23:关闭除当前检测端口外的其他数据端口;S24:通过当前检测端口发送准备信号至与其连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
- 如权利要求10所述的节点网络初始化方法,其特征在于,所述步骤S3包括:S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;S34:打开除当前检测端口以外的其他数据端口。
- 如权利要求10所述的节点网络的初始化方法,其特征在于,所述当前检测端口的初始值为预设的检测端口。
- 如权利要求10所述的节点网络的初始化方法,其特征在于,所述当前检测端口的初始值为预设的检测端口。13、如权利要求12所述的节点网络初始化方法,其特征在于,所述步骤S3包括:S31:判断当前检测端口是否没电;若是,执行S32;否则执行S33;S32:设定当前检测芯片为主芯片,并根据读取的邻居芯片的信息确定当前检测芯片的信息,接收与当前检测端口信号连接的邻居芯片发送的准备信号,发送当前检测芯片的信息至与当前检测端口信号连接的邻居芯片;执行S33;S33:将当前检测芯片的下一个数据端口作为当前检测端口;执行步骤S31;S34:打开除当前检测端口以外的其他数据端口。
- 如权利要求10所述的节点网络初始化方法,其特征在于,所述步骤S4包括如下步骤:S41:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S42;若否,执行S43;S42:将与当前检测端口信号连接的邻居芯片作为当前检测芯片;S43:判断当前检测芯片的当前检测端口是否没电或者没有信号;若是,执行S44;否则执行S45;S44:将所述当前检测芯片的下一个数据端口作为当前检测端口,执行S43;S45:关闭除当前检测端口外的其他数据端口;S46:通过当前检测端口发送准备信号至与其信号连接的邻居芯片,并通过当前检测端口读取邻居芯片的信息。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510157629.1A CN104866450A (zh) | 2015-04-03 | 2015-04-03 | 基于节点连接芯片的节点网络及其初始化方法 |
| CN201510157629.1 | 2015-04-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016155097A1 true WO2016155097A1 (zh) | 2016-10-06 |
Family
ID=53912292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/079545 Ceased WO2016155097A1 (zh) | 2015-04-03 | 2015-05-22 | 基于节点连接芯片的节点网络及其初始化方法 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104866450A (zh) |
| WO (1) | WO2016155097A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN204597990U (zh) * | 2015-04-03 | 2015-08-26 | 深圳市易特科信息技术有限公司 | 用于损毁检测的节点网络 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070076650A1 (en) * | 2005-09-30 | 2007-04-05 | Arati Manjeshwar | System and method for a communication protocol for wireless sensor systems including systems with high priority asynchronous message and low priority synchronous message |
| CN101868026A (zh) * | 2010-05-24 | 2010-10-20 | 北京航空航天大学 | 一种轻量级的无线传感器网络多跳定位方法 |
| CN102281558A (zh) * | 2011-06-23 | 2011-12-14 | 成都赛康信息技术有限责任公司 | 一种应用于物联网数据传输的无线传感器网络组网方法 |
| CN102395127A (zh) * | 2011-11-14 | 2012-03-28 | 北京邮电大学 | 无线传感器网络的故障恢复方法 |
| CN102665171A (zh) * | 2012-05-25 | 2012-09-12 | 重庆大学 | 基于大规模wsn突发事件监测的路由控制方法 |
| WO2013056418A1 (en) * | 2011-10-18 | 2013-04-25 | Renesas Mobile Corporation | Efficient data dissemination towards a mobile sink in a wireless sensor network |
| CN104394581A (zh) * | 2014-10-29 | 2015-03-04 | 南京南瑞集团公司 | 一种无线传感器自组网方法 |
-
2015
- 2015-04-03 CN CN201510157629.1A patent/CN104866450A/zh active Pending
- 2015-05-22 WO PCT/CN2015/079545 patent/WO2016155097A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070076650A1 (en) * | 2005-09-30 | 2007-04-05 | Arati Manjeshwar | System and method for a communication protocol for wireless sensor systems including systems with high priority asynchronous message and low priority synchronous message |
| CN101868026A (zh) * | 2010-05-24 | 2010-10-20 | 北京航空航天大学 | 一种轻量级的无线传感器网络多跳定位方法 |
| CN102281558A (zh) * | 2011-06-23 | 2011-12-14 | 成都赛康信息技术有限责任公司 | 一种应用于物联网数据传输的无线传感器网络组网方法 |
| WO2013056418A1 (en) * | 2011-10-18 | 2013-04-25 | Renesas Mobile Corporation | Efficient data dissemination towards a mobile sink in a wireless sensor network |
| CN102395127A (zh) * | 2011-11-14 | 2012-03-28 | 北京邮电大学 | 无线传感器网络的故障恢复方法 |
| CN102665171A (zh) * | 2012-05-25 | 2012-09-12 | 重庆大学 | 基于大规模wsn突发事件监测的路由控制方法 |
| CN104394581A (zh) * | 2014-10-29 | 2015-03-04 | 南京南瑞集团公司 | 一种无线传感器自组网方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104866450A (zh) | 2015-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019221451A1 (en) | Method and an electronic device connecting plurality of electronic devices to server through hub | |
| WO2013183967A1 (en) | Method and apparatus for handover in mobile content centric network | |
| WO2014092375A1 (en) | Method and apparatus for controlling access between home device and external server in home network system | |
| WO2018151390A1 (ko) | 사물 인터넷 장치 | |
| WO2020233073A1 (zh) | 区块链环境检测方法、设备、装置及存储介质 | |
| WO2019235813A1 (en) | Electronic device supporting multiple wireless communication protocols and method therefor | |
| WO2019066424A1 (ko) | 사물인터넷 장치의 네트워크 등록 방법 및 그 장치 | |
| WO2014088318A1 (en) | Method and apparatus for allocating an internet protocol address to a client device | |
| WO2018119872A1 (zh) | 通信故障检测方法、装置以及射频拉远电路 | |
| WO2020004805A1 (ko) | Nan 프로토콜에 기반한 네트워크 환경에서 데이터 통신을 위한 장치 및 방법 | |
| WO2017028299A1 (zh) | 一种液晶显示面板 | |
| WO2019112308A1 (en) | Electronic device, user terminal apparatus, and control method thereof | |
| CN107409151A (zh) | 多路复用通信系统及作业机 | |
| WO2019135603A1 (ko) | 전자 장치 및 전자 장치의 동작 방법 | |
| WO2023120906A1 (ko) | 펌웨어를 수신하는 방법 및 펌웨어를 전송하는 방법 | |
| WO2016195158A1 (ko) | 오버레이 sdn 망의 브릿지 도메인 확장 방법 | |
| WO2016155096A1 (zh) | 评估攻击者方向的可穿戴设备和方法 | |
| WO2019124801A1 (en) | Appliances and control method thereof | |
| WO2016155095A1 (zh) | 评估人体受伤情况的可穿戴设备和方法 | |
| WO2016107407A1 (zh) | 模块化产品的连接方法及使用该方法的模块化产品与用于该方法的家庭服务总线 | |
| WO2016155094A1 (zh) | 节点网络及基于边沿检测的数据传输方法 | |
| WO2021107389A1 (ko) | 네트워크 시스템 및 그것의 메시지 보안 방법 | |
| WO2012022036A1 (zh) | 终端、i/o扩展装置、方法及系统 | |
| WO2016144006A1 (ko) | 복수의 통신 선로를 통해 데이터 재전송을 수행하는 일방향 데이터 송신/수신 장치 및 그것을 이용하는 데이터 전송 방법 | |
| WO2020134788A1 (zh) | 空调器的控制方法、空调器及计算机可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15887065 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15887065 Country of ref document: EP Kind code of ref document: A1 |