CN108924768A - The ad hoc network method and system and smart machine of a kind of smart machine - Google Patents

The ad hoc network method and system and smart machine of a kind of smart machine Download PDF

Info

Publication number
CN108924768A
CN108924768A CN201810607012.9A CN201810607012A CN108924768A CN 108924768 A CN108924768 A CN 108924768A CN 201810607012 A CN201810607012 A CN 201810607012A CN 108924768 A CN108924768 A CN 108924768A
Authority
CN
China
Prior art keywords
smart machine
node
information
smart
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810607012.9A
Other languages
Chinese (zh)
Inventor
毛铭丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Feixun Information Technology Co Ltd
Original Assignee
Sichuan Feixun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Feixun Information Technology Co Ltd filed Critical Sichuan Feixun Information Technology Co Ltd
Priority to CN201810607012.9A priority Critical patent/CN108924768A/en
Publication of CN108924768A publication Critical patent/CN108924768A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of ad hoc network method of smart machine and system and smart machines, are related to wireless communication field.Including:Each smart machine sends broadcast data packet within a preset period of time may participate in other smart machines of networking to surrounding;The address information of each smart machine for sending broadcast data packet, and the signal strength with each smart machine for sending broadcast data packet are obtained, and the smart machine for sending the broadcast data packet is stored in device node list;Select the smart machine as agent equipment;Determine the node type information of all smart machines;The agent equipment sends its corresponding node type information to smart machine described in remaining;The node type for changing itself ultimately forms the network of central node and several child nodes composition.The data sharing between all smart machines is completed, and in shared procedure, without the participation of third-party platform and network, reduces the requirement of shared procedure.

Description

The ad hoc network method and system and smart machine of a kind of smart machine
Technical field
The present invention relates to wireless communication field, the ad hoc network method and system and smart machine of espespecially a kind of smart machine.
Background technique
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch. As its name suggests, Internet of Things is exactly the connected internet of object object.This has two layers of meaning:First, the core of Internet of Things and basis are still It is internet, is the network of extension based on the internet and extension;Second, its user terminal extends and extends to any object Between product and article, information exchange and communication are carried out, that is, object object mutually ceases.Internet of Things by Intellisense, identification technology with General fit calculation etc. communicates cognition technology, is widely used in the fusion of network.
Currently, the equipment of existing intelligence wearing class is various in style, and corresponding function is respectively had its own, but due to intelligence The equipment of class is dressed since equipment is smaller, and belongs to low-power consumption product, is relatively suitble to and matched communication mode is BLE technology, That is bluetooth technology with low power consumption, and the transmission of the data between smart phone is completed by the technology.
Currently, daily life and its data are also constantly being shared as interpersonal exchange is gradually close, But during data sharing, smart machine is after detecting the corresponding data of user, it is necessary first to same by smart phone It walks on corresponding third party APP, later, other users are shared in the data that can observe user in its buddy list In data procedures, it is necessary to can be realized by third-party platform and network, the limitation of data sharing is more.
Summary of the invention
The object of the present invention is to provide a kind of ad hoc network method of smart machine and system and smart machines, complete all Data sharing between smart machine, and in shared procedure, without the participation of third-party platform and network, reduces and shared The requirement of journey.
Technical solution provided by the invention is as follows:
A kind of ad hoc network method of smart machine, including:Under networking model, each smart machine is sent out within a preset period of time Other smart machines for sending broadcast data packet to may participate in networking to surrounding;When the smart machine receives other smart machines hair When the broadcast data packet sent, the address information of each smart machine for sending broadcast data packet is obtained, and broadcast with each transmission The signal strength of the smart machine of data packet, and the smart machine for sending the broadcast data packet is stored in device node list In;According to the address information of all smart machines, select the smart machine as agent equipment;The agency sets Back-up analyses the signal strength of other smart machines in each smart machine and device node list, determines all intelligence The node type information of energy equipment;The node type information includes central node information and child node information;The agency sets It is standby to send its corresponding node type information to smart machine described in remaining;Each smart machine is according to itself corresponding node class Type information changes the node type of itself, ultimately forms the network of central node and several child nodes composition.
Further, the address information according to all smart machines selects the smart machine to set as agency It is standby, including:Using the maximum smart machine of address information as agent equipment.
Further, the agent equipment analyzes other described intelligence in each smart machine and device node list The signal strength of equipment determines the node type information of all smart machines, including:It arranges the signal strength and is formed each The signal strength set of smart machine;Calculate and analyze the standard deviation of all signal strengths in each signal strength set; By node centered on the corresponding smart machine of the smallest signal strength set of standard deviation, and generate corresponding center Nodal information, and using remaining described smart machine as child node, and generate corresponding child node information.
Further, the method also includes:At least two child nodes in multiple child nodes are as to be separated Node sends separation request signal to the central node;The node to be separated receives the subnet that the central node is sent Node type information;The subnet node type packet enclosed tool net central node information and subnet child node information;It is described to Separate node is changed the subnet node type of itself, is ultimately formed in subnet according to itself corresponding subnet node type information The sub-network of heart node and several subnet child nodes composition.
An object of the present invention, which also resides in, provides a kind of smart machine for networking, including:Information sending module is used In transmission broadcast data packet may participate in other smart machines of networking to surrounding under networking model, and within a preset period of time; Information receiving module, for receiving the broadcast data packet of other smart machines transmission;Data resolution module, for obtaining each hair The address information of the smart machine of broadcast data packet, and the signal strength with each smart machine for sending broadcast data packet are sent, And the smart machine for sending the broadcast data packet is stored in device node list;Equipment selecting module, according to all institutes The address information for stating smart machine selects the smart machine as agent equipment;And pass through the information receiving module Receive the node type information that the agent equipment is sent;Type analysis module, when smart machine is agent equipment, for dividing The signal strength for analysing other smart machines in each smart machine and device node list, determines that all intelligence are set Standby node type information, and its corresponding node type is sent to smart machine described in remaining by the information sending module Information;The node type information includes central node information and child node information;Type Change module, it is corresponding according to itself Node type information changes the node type of itself, ultimately forms the network of central node and several child nodes composition.
Further, the equipment selecting module is using the maximum smart machine of address information as agent equipment.
Further, the type analysis module includes:Intensity arranges submodule, for arranging the signal strength and being formed The signal strength set of each smart machine;Intensive analysis submodule, for calculating and analyzing each signal strength set In all signal strengths standard deviation;Type determination module, for the smallest signal strength set of standard deviation is corresponding Smart machine centered on node, and generate corresponding central node information, and save remaining described smart machine as son Point, and generate corresponding child node information.
Further, when the smart machine is the child node in networking, the information sending module is also used to described Central node sends separation request signal;The information receiving module is also used to receive the subnet node that the central node is sent Type information;The subnet node type packet enclosed tool net central node information and subnet child node information;The type is more Change module according to itself corresponding subnet node type information, changes the subnet node type of itself, ultimately form subnet center The sub-network of node and several subnet child nodes composition.
An object of the present invention, which also resides in, provides a kind of self-organizing network system of smart machine, which is characterized in that including one A central node and several child nodes;When all child nodes enter broadcast mode, central node enters scan pattern, described Central node receives the broadcast data packet that the child node is sent;The central node is according to all broadcast datas received Packet, and the data of itself are received, form shared data packet;When all child nodes enter scan pattern, central node enters wide Mode is broadcast, the central node sends the shared data packet to all child nodes.
Further, when the duration that the central node enters scan pattern is more than overtime duration, the central node is straight It taps into broadcast mode;And/or;When the duration that the central node enters broadcast mode is more than overtime duration, the center Node is directly entered scan pattern.
Compared with prior art, a kind of ad hoc network method of smart machine provided by the invention and system and smart machine tool There is following beneficial effect:
1, smart machine communicates first between any two, and each smart machine can get remaining intelligence in preset range and set Standby presence, then the node centered on the smart machine of entad is selected, remaining smart machine is as child node, then The rule of communication of all smart machines is adjusted, realizes that central node will can receive simultaneously the data of remaining all smart machine, Also the data of all smart machines can be sent to each smart machine, the data completed between all smart machines are total It enjoys, and in shared procedure, without the participation of third-party platform and network, reduces the requirement of shared procedure.
2, signal strength is directly positively correlated with the distance between two smart machines;Agent equipment is by each smart machine After signal strength convergence, using analytical calculation it can be learnt that the general orientation of each smart machine;Core out position again The shared of the data of all smart machines can be completed in node centered on some smart machine.
3, signal strength is directly positively correlated with the distance between two smart machines;Agent equipment is by each smart machine After signal strength convergence, using analytical calculation it can be learnt that the general orientation of each smart machine;Core out position again The shared of the data of all smart machines can be completed in node centered on some smart machine.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of smart machine from group Above-mentioned characteristic, technical characteristic, advantage and its implementation of network method and system and smart machine are further described.
Fig. 1 is a kind of flow diagram of the ad hoc network method of smart machine of the present invention;
Fig. 2 is the flow diagram of the ad hoc network method of another smart machine of the invention;
Fig. 3 is the flow diagram of the ad hoc network method of another smart machine of the invention;
Fig. 4 is a kind of structural schematic diagram of the smart machine for networking of the present invention;
Fig. 5 is the structural schematic diagram of type analysis module in a kind of smart machine for networking of the present invention;
Fig. 6 is a kind of schematic diagram of the first state of the self-organizing network system of smart machine of the present invention;
Fig. 7 is a kind of schematic diagram of second of state of self-organizing network system of smart machine of the present invention.
Drawing reference numeral explanation:10. information sending module, 20. information receiving modules, 30. data resolution modules, 40. equipment Selecting module, 50. type analysis modules, 51. intensity arrange submodule, 52. intensive analysis submodules, 53. type determination moulds Block, 60. Type Change modules.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
A kind of embodiment provided according to the present invention, as shown in Figure 1, a kind of ad hoc network method of smart machine, including:
Under networking model, each smart machine sends broadcast data packet within a preset period of time and may participate in networking to surrounding Other smart machines.
When the smart machine receives the broadcast data packet of other smart machines transmission, obtains each transmission and broadcast number According to the address information of the smart machine of packet, and the signal strength with each smart machine for sending broadcast data packet, and will send The smart machine of the broadcast data packet is stored in device node list.
According to the address information of all smart machines, select the smart machine as agent equipment.
The agent equipment analyzes other smart machines in each smart machine and device node list Signal strength determines the node type information of all smart machines;The node type information includes central node information and son Nodal information.
The agent equipment sends its corresponding node type information to smart machine described in remaining.
Each smart machine changes the node type of itself according to itself corresponding node type information, ultimately forms The network of heart node and several child nodes composition.
Preferably, the address information according to all smart machines selects the smart machine to set as agency It is standby, including:Using the maximum smart machine of address information as agent equipment.
Specifically, in the present embodiment, when multiple smart machines are in some preset range, and smart machine is resolved to When user needs networking, refer in multiple smart machines spacing between two farthest smart machines also in a certain distance, And smart machine shared according to turn-on data mode when, smart machine can need itself data to be sharing to pass through broadcast number It is sent according to packet.It include the information such as device number, address information and the data of smart machine in data packet.
And start to receive the broadcast data packet of remaining smart machine transmission after sending, it can between all smart machines Data interaction is carried out, and in the present embodiment, data interactive mode refers mainly to BLE technology, i.e. bluetooth technology with low power consumption, i.e., same All smart machines in one particular range can carry out the transmission of data by low-power consumption bluetooth.In the present embodiment, intelligence Equipment refers mainly to the smart machine of wearing class, the i.e. equipment such as Intelligent bracelet and smartwatch.
Smart machines all first can first select a smart machine as agent equipment, since smart machine exists jointly During data interaction, comprising its own address information and signal strength, therefore all smart machines can be by comparing The address information of all smart machines, to select a specific smart machine as agent equipment.
Since the communication apart from farther away smart machine and all smart machines is more inconvenient, proxy terminal energy It is enough to analyze the rough location information of all smart machines by analyzing the signal strength of all smart machines, finally determine institute There is the device type of smart machine.And in the present embodiment, agent equipment is only it needs to be determined that obtain one by entad Central node, other smart machines can be used as child node, and it is corresponding that agent equipment produces all smart machines Device type information, and device type information is sent to corresponding smart machine.
Smart machine, which receives corresponding device type information, can change its configuration information, can include in configuration information The address information of corresponding child node or neutral arrangement;The ground of central node is stored in data exchange process, in child node Location information, while the address information of all child nodes is stored in central node, therefore, the foundation of networking is completed.
In the present embodiment, smart machine communicates first between any two, and each smart machine can get preset range The presence of remaining interior smart machine, then the node centered on the smart machine of entad is selected, remaining smart machine is made For child node, the rule of communication of all smart machines is then adjusted, realizes that central node will can receive simultaneously remaining all intelligence The data of all smart machines can be also sent to each smart machine, complete all smart machines by the data of energy equipment Between data sharing without the participation of third-party platform and network, reduce wanting for shared procedure and in shared procedure It asks.
And in the present embodiment, within the same time, central node can receive the shared number of all smart machines According to, and later, central node can be sent to each smart machine in conjunction with the data that itself is shared, at this point, all intelligence are set It is standby to complete the shared of data, and each smart machine can be completed to view the shared information of remaining smart machine.
Preferably, whether the address information for comparing itself first is greater than other smart machines, and address information refers mainly to intelligence The MAC Address of energy equipment contains the MAC Address of the smart machine, i.e., in intelligence in smart machine information interactive process always When energy equipment receives the data packet of remaining smart machine transmission, the MAC Address of remaining smart machine can be also learnt.
In the present embodiment, smart machine judges to obtain MAC Address of the MAC Address greater than remaining smart machine of itself When, i.e., the address information maximum of smart machine when, smart machine can be used as agent equipment, start to be calculated, and remaining intelligence Energy equipment is merely able to continue waiting for, to obtain the calculated result of agent equipment.
In the present embodiment, all smart machines can also choose the smallest smart machine of address information and set as agency It is standby, it is only used for selecting a specific smart machine as agent equipment.
Another embodiment provided according to the present invention, as depicted in figs. 1 and 2, a kind of ad hoc network method of smart machine, Including:
Under networking model, each smart machine sends broadcast data packet within a preset period of time and may participate in networking to surrounding Other smart machines.
When the smart machine receives the broadcast data packet of other smart machines transmission, obtains each transmission and broadcast number According to the address information of the smart machine of packet, and the signal strength with each smart machine for sending broadcast data packet, and will send The smart machine of the broadcast data packet is stored in device node list.
According to the address information of all smart machines, select the smart machine as agent equipment.
The agent equipment analyzes other smart machines in each smart machine and device node list Signal strength determines the node type information of all smart machines;The node type information includes central node information and son Nodal information.
The agent equipment sends its corresponding node type information to smart machine described in remaining.
Each smart machine changes the node type of itself according to itself corresponding node type information, ultimately forms The network of heart node and several child nodes composition.
The agent equipment analyzes other smart machines in each smart machine and device node list Signal strength determines the node type information of all smart machines, including:
It arranges the signal strength and forms the signal strength set of each smart machine.
Calculate and analyze the standard deviation of all signal strengths in each signal strength set.
By node centered on the corresponding smart machine of the smallest signal strength set of standard deviation, and generate pair The central node information answered, and using remaining described smart machine as child node, and generate corresponding child node information.
Specifically, in the present embodiment, signal strength is directly positively correlated with the distance between two smart machines;Agency sets After the standby signal strength by each smart machine converges, using analytical calculation it can be learnt that each smart machine it is substantially square Position;The shared of the data of all smart machines can be completed in node centered on some smart machine of core out position again.
Since the spacing distribution between the smart machine and all smart machines in outside is more irregular, outside is intelligently set The standby difference in signal strength opposite sex is larger, then outside smart machine signal strength set in all strength signals standard deviation compared with Greatly;Similarly, the standard deviation of all strength signals is smaller in the signal strength set of the smart machine of center;Standard deviation is minimum Smart machine most probable be in the centers of all smart machines, therefore centered on the small smart machine of selection standard difference Node.
Spacing between central node and remaining smart machine is smaller, further reduces remaining smart machine in Heart node disconnects the possibility of communication, increases the stability of the communication between all smart machines.
Another embodiment provided according to the present invention, in conjunction with shown in Fig. 2 to Fig. 3, a kind of ad hoc network side of smart machine Method, including:
The agent equipment analyzes other smart machines in each smart machine and device node list Signal strength determines the node type information of all smart machines;The node type information includes central node information and son Nodal information.
The agent equipment sends its corresponding node type information to smart machine described in remaining.
Each smart machine changes the node type of itself according to itself corresponding node type information, ultimately forms The network of heart node and several child nodes composition.
At least two child nodes in multiple child nodes are sent as node to be separated to the central node Separate request signal.
The node to be separated receives the subnet node type information that the central node is sent;The subnet node type Packet enclosed tool net central node information and subnet child node information.
The node to be separated changes the subnet node type of itself according to itself corresponding subnet node type information, Ultimately form the sub-network of subnet central node and several subnet child nodes composition.
The agent equipment analyzes other smart machines in each smart machine and device node list Signal strength determines the node type information of all smart machines, including:
It arranges the signal strength and forms the signal strength set of each smart machine.
Calculate and analyze the standard deviation of all signal strengths in each signal strength set.
By node centered on the corresponding smart machine of the smallest signal strength set of standard deviation, and generate pair The central node information answered, and using remaining described smart machine as child node, and generate corresponding child node information.
Specifically, in the present embodiment, when it is multiple closer to smart machine need to increase communication speed, re-establish When one sub-network, at least two child nodes in networking can be sent to central node is detached from solicited message;Due to needing to build Vertical subnet road, the process for establishing sub-network are identical as the process for establishing networking.
In the present embodiment, when determining subnet node type information, central node can be used as agent equipment, to calculate Signal strength between all equipment to be separated, and analyze the intelligence obtained in all equipment to be separated by entad and set It is standby.
It preferably, can be by establishing the setting of duration, so that all foundation are sub within one end time after subnet foundation The smart machine of net can return in networking, continue to continue to realize the shared of data as the child node in former networking.
A kind of embodiment provided according to the present invention, as shown in Figure 4 and Figure 5, a kind of smart machine for networking, packet It includes:
Information sending module 10 is used under networking model, and sends broadcast data packet within a preset period of time to surrounding It may participate in other smart machines of networking.
Information receiving module 20, for receiving the broadcast data packet of other smart machines transmission.
Data resolution module 30, for obtaining the address information of each smart machine for sending broadcast data packet, Yi Jiyu The signal strength of each smart machine for sending broadcast data packet, and the smart machine for sending the broadcast data packet is stored in and is set In slave node list.
Equipment selecting module 40 selects the smart machine to make according to the address information of all smart machines For agent equipment;And the node type information that the agent equipment is sent is received by the information receiving module 20.
Type analysis module 50, when smart machine is agent equipment, for analyzing each smart machine and equipment The signal strength of other smart machines in node listing, determines the node type information of all smart machines, and passes through The information sending module 10 sends its corresponding node type information to smart machine described in remaining;The node type information Including central node information and child node information.
Type Change module 60 is changed the node type of itself, is ultimately formed according to itself corresponding node type information The network of central node and several child nodes composition.
The equipment selecting module 40 is using the maximum smart machine of address information as agent equipment.
The type analysis module 50 includes:
Intensity arranges submodule 51, for arranging the signal strength and forming the signal strength set of each smart machine It closes.
Intensive analysis submodule 52, for calculating and analyzing the mark of all signal strengths in each signal strength set It is quasi- poor.
Type determination module 53, for using the corresponding smart machine of the smallest signal strength set of standard deviation as Central node, and corresponding central node information is generated, and using remaining described smart machine as child node, and generate corresponding Child node information.
When the smart machine is the child node in networking, the information sending module 10 is also used to the centromere Point sends separation request signal;
The information receiving module 20 is also used to receive the subnet node type information that the central node is sent;The son Net node type packet enclosed tool net central node information and subnet child node information.
The Type Change module 60 changes the subnet node class of itself according to itself corresponding subnet node type information Type ultimately forms the sub-network of subnet central node and several subnet child nodes composition.
By the setting of above-mentioned module, the foundation of the networking of all smart machines is realized, specific method is shown in corresponding side Method embodiment.
In the present embodiment, agent equipment is one established in the smart machine in networking, therefore, in agent equipment also Including the module in the smart machine for networking, it is used for networking, and as the child node or central node in networking.
A kind of embodiment provided according to the present invention, as shown in Figure 6 and Figure 7, a kind of self-organizing network system of smart machine, packet A central node and several child nodes are included, smart machine is as a central node or a child node.
When all child nodes enter broadcast mode, central node enters scan pattern, described in the central node receives The broadcast data packet that child node is sent;The broadcast data packet includes that the smart machine needs data to be sharing.
All broadcast data packets that the central node foundation receives, and the data of itself are received, form shared data Packet.
When all child nodes enter scan pattern, central node enters broadcast mode, and the central node is to all sons Node sends the shared data packet.
When the duration that the central node enters scan pattern is more than overtime duration, the central node is directly entered extensively Broadcast mode.
And/or;When the duration that the central node enters broadcast mode is more than overtime duration, the central node is direct Into scan pattern.
Specifically, in the present embodiment, after networking is established, each child node in networking enters broadcast mode, and continues First preset duration;And the first preset duration warp after, each child node enters scan pattern, and continue second it is default when It is long, and each child node into the time of broadcast mode or scan pattern can be different, and recycling replacing.And in the present embodiment In, it is preferable that certain interval can also be set between two modes.
Whether central node is according to that can receive or send successful data packet, to determine whether each child node enters extensively Mode or scan pattern are broadcast, when all child nodes enter broadcast mode, central node enters scan pattern, to receive all sons The data packet of node.
When all child nodes enter scan pattern, central node enters broadcast mode, by all child nodes and itself Shared data be sent to all child nodes jointly, complete the shared of data.
And in the present embodiment, the first preset duration and the second preset duration are preferably same duration, and preferably, center Node equally can carry out detecting each height section again after executing both of which by the first preset duration or the second preset duration The state of point, to guarantee the shared of the data between all smart machines.
Preferably, overtime duration can also be set in all smart machines, centered on smart machine when node, and in For heart node when maintaining some mode to reach overtime duration, central node can force change mode, further ensure center The transmission of data between node and child node.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (10)

1. a kind of ad hoc network method of smart machine, which is characterized in that including:
Under networking model, each smart machine send within a preset period of time broadcast data packet to surrounding may participate in networking other Smart machine;
When the smart machine receives the broadcast data packet of other smart machines transmission, each transmission broadcast data packet is obtained Smart machine address information, and with it is each send broadcast data packet smart machine signal strength, and will send described in The smart machine of broadcast data packet is stored in device node list;
According to the address information of all smart machines, select the smart machine as agent equipment;
The agent equipment analyzes the signal of other smart machines in each smart machine and device node list Intensity determines the node type information of all smart machines;The node type information includes central node information and child node Information;
The agent equipment sends its corresponding node type information to smart machine described in remaining;
Each smart machine changes the node type of itself, ultimately forms centromere according to itself corresponding node type information The network of point and several child nodes composition.
2. a kind of ad hoc network method of smart machine according to claim 1, which is characterized in that according to all intelligence The address information of equipment selects the smart machine as agent equipment, including:
Using the maximum smart machine of address information as agent equipment.
3. a kind of ad hoc network method of smart machine according to claim 1, which is characterized in that the agent equipment analysis The signal strength of other smart machines in each smart machine and device node list, determines all smart machines Node type information, including:
It arranges the signal strength and forms the signal strength set of each smart machine;
Calculate and analyze the standard deviation of all signal strengths in each signal strength set;
By node centered on the corresponding smart machine of the smallest signal strength set of standard deviation, and generate corresponding Central node information, and using remaining described smart machine as child node, and generate corresponding child node information.
4. a kind of ad hoc network method of smart machine according to any one of claims 1 to 3, which is characterized in that institute The method of stating further includes:
At least two child nodes in multiple child nodes send to the central node and separate as node to be separated Request signal;
The node to be separated receives the subnet node type information that the central node is sent;The subnet node type information Including subnet central node information and subnet child node information;
The node to be separated changes the subnet node type of itself, finally according to itself corresponding subnet node type information Form the sub-network of subnet central node and several subnet child nodes composition.
5. a kind of smart machine for networking, which is characterized in that including:
Information sending module, for transmission broadcast data packet to may participate in surrounding under networking model, and within a preset period of time Other smart machines of networking;
Information receiving module, for receiving the broadcast data packet of other smart machines transmission;
Data resolution module, for obtain it is each send broadcast data packet smart machine address information, and with each transmission The signal strength of the smart machine of broadcast data packet, and the smart machine for sending the broadcast data packet is stored in device node In list;
Equipment selecting module selects the smart machine as agency according to the address information of all smart machines Equipment;And the node type information that the agent equipment is sent is received by the information receiving module;
Type analysis module is arranged when smart machine is agent equipment for analyzing each smart machine and device node The signal strength of other smart machines in table determines the node type information of all smart machines, and passes through the letter It ceases sending module and sends its corresponding node type information to smart machine described in remaining;The node type information includes center Nodal information and child node information;
Type Change module changes the node type of itself, ultimately forms centromere according to itself corresponding node type information The network of point and several child nodes composition.
6. a kind of smart machine for networking according to claim 5, it is characterised in that:
The equipment selecting module is using the maximum smart machine of address information as agent equipment.
7. a kind of smart machine for networking according to claim 5, which is characterized in that the type analysis module Including:
Intensity arranges submodule, for arranging the signal strength and forming the signal strength set of each smart machine;
Intensive analysis submodule, for calculating and analyzing the standard deviation of all signal strengths in each signal strength set;
Type determination module, for will be saved centered on the corresponding smart machine of the smallest signal strength set of standard deviation Point, and corresponding central node information is generated, and using remaining described smart machine as child node, and generate corresponding child node Information.
8. a kind of smart machine for networking according to any one of claim 5~7, it is characterised in that:
When the smart machine is the child node in networking, the information sending module is also used to send to the central node Separate request signal;
The information receiving module is also used to receive the subnet node type information that the central node is sent;The subnet node Type information includes subnet central node information and subnet child node information;
The Type Change module changes the subnet node type of itself, most according to itself corresponding subnet node type information The sub-network that end form is formed at subnet central node and several subnet child nodes.
9. a kind of self-organizing network system of smart machine, which is characterized in that including a central node and several child nodes, intelligence Equipment is as a central node or a child node;
When all child nodes enter broadcast mode, central node enters scan pattern, and the central node receives the sub- section The broadcast data packet that point is sent;The broadcast data packet includes that the smart machine needs data to be sharing;
All broadcast data packets that the central node foundation receives, and the data of itself are received, form shared data packet;
When all child nodes enter scan pattern, central node enters broadcast mode, and the central node is to all child nodes Send the shared data packet.
10. a kind of self-organizing network system of smart machine according to claim 9, it is characterised in that:
When the duration that the central node enters scan pattern is more than overtime duration, the central node is directly entered broadcast mould Formula;
And/or;
When the duration that the central node enters broadcast mode is more than overtime duration, the central node is directly entered scanning mould Formula.
CN201810607012.9A 2018-06-13 2018-06-13 The ad hoc network method and system and smart machine of a kind of smart machine Pending CN108924768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810607012.9A CN108924768A (en) 2018-06-13 2018-06-13 The ad hoc network method and system and smart machine of a kind of smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810607012.9A CN108924768A (en) 2018-06-13 2018-06-13 The ad hoc network method and system and smart machine of a kind of smart machine

Publications (1)

Publication Number Publication Date
CN108924768A true CN108924768A (en) 2018-11-30

Family

ID=64420573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810607012.9A Pending CN108924768A (en) 2018-06-13 2018-06-13 The ad hoc network method and system and smart machine of a kind of smart machine

Country Status (1)

Country Link
CN (1) CN108924768A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361558A (en) * 2018-12-19 2019-02-19 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network proxy for equipment node
CN110333952A (en) * 2019-07-09 2019-10-15 王延晋 Data processing method and system based on artificial intelligence
CN110392373A (en) * 2019-08-05 2019-10-29 深圳市久通物联科技股份有限公司 A kind of wireless self-networking method and system applied to intelligent electronic lock
CN110933825A (en) * 2019-10-25 2020-03-27 深圳市轩火部落科技有限公司 Communication control method of rescue equipment and related product
CN111212485A (en) * 2019-12-11 2020-05-29 上海纪烨物联网科技有限公司 Intelligent chess table networking method and system based on 5G network
CN111628922A (en) * 2020-06-30 2020-09-04 上海乾隆节能科技有限公司 Network communication method, bridge device node, and network communication system
CN112800391A (en) * 2021-01-06 2021-05-14 深圳市康弘环保技术有限公司 Data analysis method, equipment and storage medium of intelligent ad hoc network
CN113365253A (en) * 2021-06-15 2021-09-07 上海高仙自动化科技发展有限公司 Method, device, equipment, system and storage medium for node communication in network
CN113721471A (en) * 2020-05-26 2021-11-30 惠州莫思特智照科技有限公司 Networking system and method of intelligent equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237366A (en) * 2008-03-05 2008-08-06 中科院嘉兴中心微系统所分中心 A valid wireless sensor network architecture for collaborative energy sensing
CN101729331A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Clustering method and device, routing method and device of cluster head and base station
CN102857991A (en) * 2012-10-11 2013-01-02 中航物联技术(北京)有限公司 Networking method of multilayer WSN (wireless sensor network) with dynamic cluster head algorithm
CN106621280A (en) * 2016-12-09 2017-05-10 深圳未网科技有限公司 Movement statistical system and communication method applied to movement statistical system
CN108135008A (en) * 2017-11-13 2018-06-08 新奥泛能网络科技股份有限公司 The method of star-like self-organizing network Centroid change

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237366A (en) * 2008-03-05 2008-08-06 中科院嘉兴中心微系统所分中心 A valid wireless sensor network architecture for collaborative energy sensing
CN101729331A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Clustering method and device, routing method and device of cluster head and base station
CN102857991A (en) * 2012-10-11 2013-01-02 中航物联技术(北京)有限公司 Networking method of multilayer WSN (wireless sensor network) with dynamic cluster head algorithm
CN106621280A (en) * 2016-12-09 2017-05-10 深圳未网科技有限公司 Movement statistical system and communication method applied to movement statistical system
CN108135008A (en) * 2017-11-13 2018-06-08 新奥泛能网络科技股份有限公司 The method of star-like self-organizing network Centroid change

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361558A (en) * 2018-12-19 2019-02-19 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network proxy for equipment node
CN109361558B (en) * 2018-12-19 2021-09-21 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network equipment proxy node
CN110333952B (en) * 2019-07-09 2021-09-14 王延晋 Data processing method and system based on artificial intelligence
CN110333952A (en) * 2019-07-09 2019-10-15 王延晋 Data processing method and system based on artificial intelligence
CN110392373A (en) * 2019-08-05 2019-10-29 深圳市久通物联科技股份有限公司 A kind of wireless self-networking method and system applied to intelligent electronic lock
CN110392373B (en) * 2019-08-05 2023-06-30 深圳市久通物联科技股份有限公司 Wireless ad hoc network method and system applied to intelligent electronic lock
CN110933825A (en) * 2019-10-25 2020-03-27 深圳市轩火部落科技有限公司 Communication control method of rescue equipment and related product
CN111212485A (en) * 2019-12-11 2020-05-29 上海纪烨物联网科技有限公司 Intelligent chess table networking method and system based on 5G network
CN113721471A (en) * 2020-05-26 2021-11-30 惠州莫思特智照科技有限公司 Networking system and method of intelligent equipment
CN113721471B (en) * 2020-05-26 2024-04-26 惠州莫思特智照科技有限公司 Networking system and method of intelligent equipment
CN111628922A (en) * 2020-06-30 2020-09-04 上海乾隆节能科技有限公司 Network communication method, bridge device node, and network communication system
CN112800391A (en) * 2021-01-06 2021-05-14 深圳市康弘环保技术有限公司 Data analysis method, equipment and storage medium of intelligent ad hoc network
CN113365253A (en) * 2021-06-15 2021-09-07 上海高仙自动化科技发展有限公司 Method, device, equipment, system and storage medium for node communication in network
CN113365253B (en) * 2021-06-15 2023-10-03 上海高仙自动化科技发展有限公司 Node communication method, device, equipment, system and storage medium in network

Similar Documents

Publication Publication Date Title
CN108924768A (en) The ad hoc network method and system and smart machine of a kind of smart machine
CN104716993B (en) It is used for method, equipment and the computer program product of service discovery in junction service environment
CN107846714B (en) Switching method and device for visible light communication and WiFi heterogeneous system
CN103347246B (en) Discovery method between proximal subscribers under embedded D2D environment in cellular network
Wang et al. Social overlapping community-aware neighbor discovery for D2D communications
CN109660958A (en) A kind of network-building method and meter register method of power meter reading system
CN109548175A (en) A kind of conversation processing method and device
CN106211053A (en) Communication in mobile communication system and the scheme of transmission discovery signal
CN107018545B (en) A kind of ad hoc network method applied in wireless communication system
CN109275177A (en) A kind of method, apparatus and system of IAB base station access network network
CN104486174B (en) The network-building method and device of a kind of intelligent terminal
CN109451583A (en) Ad hoc network method, device, nodal terminal and storage medium based on superframe
CN106686607A (en) Communication network, service access method and related device
CN104284321B (en) A kind of method, equipment and the user equipment of path switching
CN102883333B (en) Wireless sensor network construction method based on location information
CN109709915A (en) A kind of method and system of intelligent cooperating manufacture between multiple production line
CN105873007B (en) The wireless self-organization network neighbors of beam switchable antenna finds method
CN110225512A (en) A kind of radio resource control method and system of honeycomb Internet of Things
Wang et al. Research on uneven clustering APTEEN in CWSN based on ant colony algorithm
CN103139073A (en) Cognitive routing method based on Ad Hoc network form
CN107948984A (en) A kind of cognitive system combined based on main passive perception suitable for self-organizing network
CN109756380B (en) Self-adaptive access and sharing method and system for Internet of things equipment
CN106455055A (en) Method for determining gateway and terminal
CN103313309B (en) A kind of minizone D2D user model system of selection based on load
CN103108385B (en) Control the method and system of the network node in network area

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181130