CN113132911A - Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium - Google Patents

Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium Download PDF

Info

Publication number
CN113132911A
CN113132911A CN202110267499.2A CN202110267499A CN113132911A CN 113132911 A CN113132911 A CN 113132911A CN 202110267499 A CN202110267499 A CN 202110267499A CN 113132911 A CN113132911 A CN 113132911A
Authority
CN
China
Prior art keywords
node
electronic device
information
slave
movable electronic
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
CN202110267499.2A
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.)
Xidian University
CETC 54 Research Institute
Original Assignee
Xidian University
CETC 54 Research Institute
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 Xidian University, CETC 54 Research Institute filed Critical Xidian University
Priority to CN202110267499.2A priority Critical patent/CN113132911A/en
Publication of CN113132911A publication Critical patent/CN113132911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Landscapes

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

Abstract

The invention discloses a mobile electronic equipment ad hoc network method, which is applied to a mobile electronic equipment node, and comprises the following steps: scanning, by a first movable electronic device node, a second movable electronic device node, wherein the first movable electronic device node is in a scanning state and the second movable electronic device is in a listening state; when the first movable electronic device node scans the second movable electronic device node, determining a master node and a slave node in the first movable electronic device node and the second movable electronic device node according to parameter information fed back by the second movable electronic device node; the slave node is accessed into a network corresponding to the master node; and the master node transmits resource allocation information to the slave node to complete the initialization operation of the ad hoc network. The invention can quickly realize the initialization operation of the node ad hoc network of the mobile electronic equipment under the condition of no satellite navigation.

Description

Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a mobile electronic device ad hoc network method, an electronic device node and a storage medium.
Background
With the development of communication technology, the applications of mobile electronic devices in communication services are more and more extensive, such as unmanned aerial vehicle devices in applications of fire monitoring, personnel search and rescue, communication services and the like. In order to further expand the service range of the unmanned aerial vehicle device, a plurality of unmanned aerial vehicle device nodes are combined to form an unmanned aerial vehicle device ad hoc network, so that more complex work tasks can be executed.
In the prior art, communication tasks are usually realized between each unmanned aerial vehicle equipment node in the unmanned aerial vehicle equipment ad hoc network through a satellite navigation system, and specifically, the ground control console controls the directional orientation of beams of any two unmanned aerial vehicle equipment nodes to each other through acquiring the timing positioning information of the unmanned aerial vehicle equipment nodes provided by the satellite navigation system, so that communication between the unmanned aerial vehicle equipment nodes is realized, and thus the unmanned aerial vehicle equipment ad hoc network is realized.
However, in many application scenarios, the satellite navigation system cannot acquire the timing positioning information of the nodes of the unmanned aerial vehicle device, so that communication problems such as difficulty in discovery, misalignment of beam orientation, node target loss and the like occur between the nodes of the unmanned aerial vehicle device.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention provides an ad hoc network method for a mobile electronic device, an electronic device node, and a storage medium. The technical problem to be solved by the invention is realized by the following technical scheme:
applied to a mobile electronic device node, the method comprising: scanning, by a first movable electronic device node, a second movable electronic device node, wherein the first movable electronic device node is in a scanning state and the second movable electronic device is in a listening state; when the first movable electronic device node scans the second movable electronic device node, determining a master node and a slave node in the first movable electronic device node and the second movable electronic device node according to parameter information fed back by the second movable electronic device node; the slave node is accessed into a network corresponding to the master node; and the master node transmits resource allocation information to the slave node to complete the initialization operation of the ad hoc network.
In one embodiment of the invention, the first mobile electronic device node scanning for the second mobile electronic device node comprises: and the first movable electronic equipment node sends scanning information to the second movable electronic equipment node according to a preset scanning time slot.
In an embodiment of the present invention, the scan information includes: first network data corresponding to the first mobile electronic device node and receiving time slot information closest to the preset scanning time slot; before determining the master node and the slave node in the first mobile electronic device node and the second mobile electronic device node according to the parameter information fed back by the second mobile electronic device node, the method further includes: when the second mobile electronic device node receives the scanning information, the numerical values of the first network data and second network data corresponding to the second mobile electronic device node are judged; and according to the judgment result, the second movable electronic equipment node feeds back parameter information to the first movable electronic equipment node through the receiving time slot information closest to the preset scanning time slot.
The invention has the beneficial effects that:
the invention can scan a second movable electronic equipment node through a first movable electronic equipment node in a scanning state, acquire parameter information fed back by the second movable electronic equipment node after the second movable electronic equipment node is scanned, determine the master-slave node relation between the second movable electronic equipment node and the slave node according to the parameter information, access a network corresponding to a master node by the slave node, and issue resource allocation information to the slave node by the master node so that the master node controls the slave node to complete the self-networking initialization operation of the movable electronic equipment.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Drawings
Fig. 1 is a flowchart illustrating steps of an ad hoc network method for a mobile electronic device according to an embodiment of the present invention;
fig. 2 is a block diagram of an ad hoc network device of a mobile electronic device according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile electronic device node according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples, but the embodiments of the present invention are not limited thereto.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of an ad hoc network method for a mobile electronic device, applied to a mobile electronic device node, according to an embodiment of the present invention, where the method includes:
step 101, scanning a second movable electronic device node by a first movable electronic device node, wherein the first movable electronic device node is in a scanning state, and the second movable electronic device is in a listening state.
The invention relates to a mobile electronic device ad hoc network method, which is applied to a mobile electronic device node, wherein the mobile electronic device node refers to a device which inputs programs and data to a computer or receives an output result of the computer through a communication facility, and has a function of moving in a horizontal direction and/or a vertical direction in a space.
The ad hoc network is formed by combining a plurality of movable electronic equipment nodes according to a certain rule, and can be communicated with each other and cooperatively work. The movable electronic device node is configured with a beam antenna, the beam antenna is used for sending scanning beams to the periphery of the movable electronic device node according to a preset period, and the scanning beams are used for scanning and discovering other movable electronic device nodes. And after the movable electronic equipment node is powered on, respectively entering a scanning state and a listening state according to a random scanning rule or a scanning rule preset by a person skilled in the art, wherein the movable electronic equipment node in the scanning state is a first movable electronic equipment node, and the movable electronic equipment node in the listening state is a second movable electronic equipment node. The first mobile electronic device node is capable of actively scanning through a scanning beam to discover a second mobile electronic device node in a listening state within a communicable range.
Optionally, in step 101, the scanning, by the first removable electronic device node, of the second removable electronic device node includes: and the first movable electronic equipment node sends scanning information to the second movable electronic equipment node according to a preset scanning time slot.
The present invention divides the time slot scanned by the first mobile electronic device node into a plurality of scanning time slots and a plurality of receiving time slots, and the division rule is preset by a person skilled in the art, and the present invention is not limited specifically. For example, the time slot comprises 32 time slots, wherein 1, 2, 3, 6, 10 · · is a preset scanning time slot, 4, 5, 7, 8, 9, 11 · · is a receiving time slot, and the first movable electronic device node sends scanning information to the second movable electronic device node at 1, 2, 3, 6, 10 · · time slot to scan the second movable electronic device node within communication range of the first movable electronic device node.
Optionally, the scanning information includes: first network data corresponding to the first mobile electronic device node and receiving time slot information closest to the preset scanning time slot.
The first network data refers to data such as network scale size information, network ID (Identity document) information and the like corresponding to the first mobile electronic device node. And the receiving time slot is used for receiving reply information fed back by the second movable electronic equipment node according to the scanning information.
Compared with the prior art, one time slot is divided into two scanning micro time slots and two receiving micro time slots simultaneously, namely, the second movable electronic equipment node immediately feeds back reply information to the first movable electronic equipment node when receiving the scanning information sent by the first movable electronic equipment node, the technical scheme of delaying the receiving time slot can increase the probability of finding the movable electronic equipment node in motion, and reduce the possibility of unstable communication caused by fluctuation of a communication link. And in the invention, when the time slot is divided as follows: 1. 2, 3, 4 is a preset scanning time slot, and when 5 is a receiving time slot, the multiple-sending-receiving scheme which can realize the multiple-sending of the scanning information by 1, 2, 3 and 4 and receive the reply information at 5 can be realized; or, when the slot division is as follows: when 1 is a preset scanning time slot and 2, 3, 4 and 5 are receiving time slots, a multi-receiving-sending scheme can be realized, a plurality of scanning discovery processes of the movable electronic equipment nodes can be carried out simultaneously, and the efficiency of the ad hoc network is improved.
Step 102, when the first mobile electronic device node scans the second mobile electronic device node, according to the parameter information fed back by the second mobile electronic device node, determining a master node and a slave node in the first mobile electronic device node and the second mobile electronic device node.
The first movable electronic device node sends scanning information to the second movable electronic device node according to a preset scanning time slot so as to scan and discover the second movable electronic device node, and when the second movable electronic device node receives the scanning information, the first movable electronic device node scans the second movable electronic device node.
Optionally, the mobile electronic device node is configured with a beam antenna, the beam antenna has a function of measuring distance and angle, and when the first mobile electronic device node scans the second mobile electronic device node, the beam antenna corresponding to the first mobile electronic device node can automatically record beam parameter information at the current time.
Optionally, in step 102, before determining the master node and the slave node in the first mobile electronic device node and the second mobile electronic device node according to the parameter information fed back by the second mobile electronic device node, the method further includes:
step S11, the second portable electronic device node acquires the first network data.
And the first movable electronic equipment node receives the scanning information and acquires first network data in the scanning information.
Step S12, the second portable electronic device node determines the first network data and the numerical value of the second network data corresponding to the second portable electronic device node.
The second network data includes data such as network size information and network ID information corresponding to the second mobile electronic device node.
And judging the numerical value of the first network data and the second network data corresponding to the second mobile electronic device node at the second mobile electronic device node, for example, judging the numerical value according to the network scale size information, and further judging the numerical value according to the network ID size information when the network scales are the same. The judgment rule is set by a person skilled in the art according to the service requirement, and the invention is not limited in particular.
It should be noted that, in the present invention, the first portable electronic device node and the second portable electronic device node may be independent nodes, or may be a node cluster having a structure of a master node and a slave node. For example, the first removable electronic device node is an independent node, labeled a, the second removable electronic device node is a node cluster having a master node and slave node structure, the master node of the second removable electronic device nodes is labeled B, and the slave nodes are labeled B1, B2, B3, respectively.
Step S13, according to the determination result, the second mobile electronic device node feeds back parameter information to the first mobile electronic device node through the receiving time slot information closest to the preset scanning time slot.
Optionally, in step S13, according to the determination result, the feeding back, by the second portable electronic device node, parameter information to the first portable electronic device node through the receiving time slot information closest to the preset scanning time slot includes:
when the first network data is larger than the second network data, the second movable electronic equipment node feeds back resource request information to the first movable electronic equipment node; or, when the second network data is greater than the first network data, the second mobile electronic device node feeds back the first resource information to the first mobile electronic device node.
For example, when the network scale corresponding to the first mobile electronic device node is judged to be larger than the network scale corresponding to the second mobile electronic device node, the judgment result is as follows: the first network data is larger than the second network data. It should be noted that, when the network scale corresponding to the mobile electronic device node is larger than half of the sum of the network scales of all the mobile electronic device nodes, the mobile electronic device node does not need to enter the scanning state, and only needs to enter the listening state to wait for being scanned and discovered by other mobile electronic device nodes.
The resource request information is used to request allocation of resource information to the first movable electronic device node. The first resource information includes number information and the like, such as an IP Address (Internet Protocol Address), allocated by the second mobile electronic device node to the first mobile electronic device node, and is used for controlling the first mobile electronic device node to access to a network corresponding to the second mobile electronic device node according to a number sequence.
According to the invention, the first mobile electronic equipment node directly sends the scanning information carrying the first network data, and the judgment operation is executed at the second mobile electronic equipment node, when the second network data is greater than the first network data, the first resource information can be directly fed back to the first mobile electronic equipment node through the second mobile electronic equipment node, so that the interaction times among the mobile electronic equipment nodes at one time are reduced, and the interaction time is prolonged.
Optionally, in step 102, the determining, according to the parameter information fed back by the second movable electronic device node, a master node and a slave node in the first movable electronic device node and the second movable electronic device node includes:
step 1021, when the parameter information includes the resource request information, determining that the first movable electronic device node is a master node and the second movable electronic device node is a slave node, and simultaneously the first movable electronic device node sends second resource information to the second movable electronic device node. Or the like, or, alternatively,
step 1022, when the parameter information includes the first resource information, determining that the first movable electronic device node is a slave node and the second movable electronic device node is a master node.
The second resource information includes number information and the like allocated by the first mobile electronic device node to the second mobile electronic device node, and the second resource information is used for controlling the second mobile electronic device node to access to a network corresponding to the first mobile electronic device node according to a number sequence.
Optionally, the first mobile electronic device is configured with a timer, and before determining, in step 102, a master node and a slave node in the first mobile electronic device node and the second mobile electronic device node according to the parameter information fed back by the second mobile electronic device node, the method further includes:
and when the first movable electronic equipment node does not receive the parameter information within a preset time range, restarting to scan the second movable electronic equipment node. The preset time range is set by a person skilled in the art according to business needs, and the invention is not limited in any way.
And 103, accessing the slave node into a network corresponding to the master node.
Optionally, in step 103, the accessing, by the slave node, to the network corresponding to the master node includes:
step 1031, when it is determined that the first movable electronic device node is a master node and the second movable electronic device node is a slave node, the slave node is accessed to a network corresponding to the master node according to the second resource information. Or the like, or, alternatively,
step 1032, when it is determined that the second mobile electronic device node is a slave node and the second mobile electronic device node is a master node, the slave node is accessed to a network corresponding to the master node according to the first resource information.
For example, the first mobile electronic device node is an independent node, which is labeled as a, the second mobile electronic device node is a node cluster having a structure of master nodes and slave nodes, a master node in the second mobile electronic device node is labeled as B, the master node B is a meshed master node, and the slave nodes are labeled as B1, B2, and B3, respectively. And if the judgment result shows that the network scale of the second mobile electronic device node is larger than that of the first mobile electronic device node, determining the second mobile electronic device node as a master node, determining the first mobile electronic device node as a slave node, wherein the first resource information comprises number information B4, and the first mobile electronic device node is accessed into a network corresponding to the master node according to the number information B4.
As yet another example, the first mobile electronic device node is a cluster of nodes, the master node in the first mobile electronic device node cluster is labeled a, the slave nodes are labeled a1, a2, respectively, the second mobile electronic device node is also a cluster of nodes, the master node in the second mobile electronic device node is labeled B, and the slave nodes are labeled B1, B2, B3, respectively. And determining the second movable electronic equipment node as a master node and the first movable electronic equipment node as a slave node if the judgment result shows that the network scale of the second movable electronic equipment node is larger than that of the first movable electronic equipment node, and closing the scanning state after the first movable electronic equipment node receives the parameter information. According to the first resource information, the master node in the first mobile electronic device node is converted into a slave node B4 in the second mobile electronic device node cluster, and the slave nodes in the first mobile electronic device node are numbered as B41 and B42, so that all the nodes in the first mobile electronic device node cluster are accessed into the network corresponding to the second mobile electronic device node according to the numbering information.
Optionally, after the second removable electronic device node is determined to be the master node, the method further includes: and converting the listening state of the second movable electronic equipment node into a scanning state to execute a scanning task.
And 104, the master node transmits resource allocation information to the slave node to complete the initialization operation of the ad hoc network.
Optionally, in step 104, before the master node issues the resource allocation information to the slave node, the method further includes:
and the slave node sends the topology information corresponding to the slave node to the master node.
Optionally, the sending, by the master node, resource allocation information to the slave node includes:
and the master node transmits resource allocation information to the slave node according to the topology information, wherein the resource allocation information comprises time synchronization information, a topology updating information table and time slot allocation information.
The resource allocation information is used for updating time information, topology information and the like of all nodes under a network corresponding to the main node, so that state changes of all nodes in the mobile electronic equipment ad hoc network can be consistent, such as time synchronization, the design of a networking protocol can be simplified, the complexity of networking work is simplified, especially the topological relation in the networking network can be updated in time, the problem of network delay caused by frequent topology changes can be reduced, the possibility of communication link interruption is reduced, and the stability of a communication link is improved.
Specifically, the time synchronization information is used to control the time of the slave node to be consistent with the time of the master node, the topology update information table is used to inform the slave node of topology information of all nodes in a network corresponding to the master node, and the time slot allocation information is used to allocate time slot resources of a network communication link to the slave node.
Optionally, in the step 1042, before the master node issues the resource allocation information to the slave node according to the topology information, the method further includes:
step S21, the master node establishes a first unidirectional communication link with the slave node at the beginning of a frame period.
Step S22, at the end of the frame period, the slave node establishes a second unidirectional communication link with the master node.
The first unidirectional communication link can ensure that the master node can issue resource allocation information to the slave node when the slave node is accessed into the network corresponding to the master node. The second unidirectional communication link can ensure that the master node can timely receive the information reported by the slave node at the end of the frame period, and by establishing the first unidirectional communication link and the second unidirectional communication link, the invention can ensure that the issuing and reporting of the information are completed within a fixed time, and can ensure that the network access time of the slave node is not influenced by the distribution range of the slave node in the ad hoc network, thereby ensuring the stability, the accuracy and the efficiency of the ad hoc network of the mobile electronic equipment.
Step S23, in the middle of the frame period, according to the downlink direction, the master node allocates the first slot resource of the control link to the slave node.
Step S24, in the middle of the frame period, according to the uplink direction, the slave node allocates the second time slot resource of the control link to the master node.
All the node ends after networking store the adjacency list of the networking, and all the node adjacency relation information in the networking is recorded in the adjacency list. In the middle part of a frame period, a master node allocates a first time slot resource of a one-hop downlink control link to a slave node accessed to the master node in a downlink direction according to the adjacency list, and if the slave node is a slave node cluster, the master node controls the slave node to continuously allocate the first time slot resource of the multi-hop downlink control link to sub slave nodes in the slave nodes in sequence. In the middle part of a frame period, a slave node allocates uplink control link second time slot resources to a master node accessed by the slave node in an uplink direction according to the adjacency list, if the slave node is a slave node cluster, the slave node allocates multi-hop uplink control link second time slot resources to the slave node by sub-master nodes in the slave node cluster, and further, the slave node allocates one-hop uplink control link second time slot resources to the master node, namely, allocates uplink control link second time slot resources according to a rule that hop count is gradually reduced from multi-hop to one-hop, so that all nodes accessed to the mobile electronic device ad hoc network are allocated with the time slot resources of a control link. The control link is used for transmitting the service data in the communication link, and the real-time performance and the connectivity of the service data transmission can be ensured by allocating the time slot resources of the control link.
Optionally, after the step 104, the method further includes:
and step S31, the slave node receives the cooperative scanning instruction sent by the master node.
And step S32, the slave node responds to the cooperative scanning instruction to assist the master node in executing a scanning task.
And the master node enters a scanning state, continues to scan the second movable electronic equipment nodes in the interception state within the communication range of the master node, and when the master node does not scan a new second movable electronic equipment node within the preset scanning waiting time, the master node issues a cooperative scanning instruction to the slave node, wherein the cooperative scanning instruction is used for controlling the slave node under the master node network to enter the scanning state and assisting the master node to execute a scanning task according to the resource allocation information until all the second movable electronic equipment nodes are completely accessed to the network. It should be noted that the information, such as the network access number of the second mobile electronic device node, found by the auxiliary scanning of the slave node of the ad hoc network is allocated by the master node in the ad hoc network, and the master node in the ad hoc network issues the resource allocation information.
The preset scanning waiting time may be preset X scanning time slots, and the preset scanning waiting time is set by a person skilled in the art according to a service requirement, which is not limited by the present invention. The invention can increase the range of scanning and discovering the second movable electronic equipment node and improve the efficiency of the ad hoc network.
Optionally, after the ad hoc network initialization operation is completed, the method further includes:
and step S41, selecting standby slave nodes from the slave nodes in the ad hoc network according to a preset node selection rule.
And step S42, the main node sends network synchronization information to the standby slave node.
And step S43, when the master node is off-line, the standby slave node is switched to a new master node in the ad hoc network.
In practical applications, the mobile electronic device nodes in the ad hoc network may be interfered to be disconnected from the network, such as a drone node being knocked down and crashed. And the standby slave node is used for replacing the master node when the ad hoc network master node is interfered and is offline, and controlling the ad hoc network to continue to normally work.
And the preset node selection rule is used for selecting a standby slave node from all slave nodes in the ad hoc network. Examples are as follows: the label of the master node is a, and the labels of the slave nodes are B, C, D, respectively, then the preset node selection rule may be to determine the slave node labeled B in the ad hoc network as a standby slave node. It should be noted that the preset node selection rule is preset by a person skilled in the art according to a service requirement, and the present invention is not limited specifically.
After the standby slave node is determined, the master node sends network synchronization information to the standby slave node according to a preset synchronization information sending period, wherein the network synchronization information refers to network information corresponding to the ad hoc network under the condition that the master node works normally. And the standby slave node can be converted into a new master node in the ad hoc network when the master node is off-line, and replaces the original master node according to the network synchronization information to continuously control the ad hoc network to normally work. The invention can further improve the flexibility, anti-interference performance and stability of the mobile electronic equipment ad hoc network.
In summary, the embodiments of the present invention can implement the ad hoc network of the mobile electronic device without providing the position information and the time information by the satellite navigation system, thereby expanding the application range of the ad hoc network of the mobile electronic device, and can also divide the time slot into the preset scanning time slot and the receiving time slot, where the receiving time slot is delayed from the preset scanning time slot, thereby increasing the probability of finding the mobile electronic device node, improving the stability of the communication link in the ad hoc network, and improving the efficiency of the ad hoc network. In addition, the invention can issue resource allocation information for the slave node after network access through the master node, thereby updating topology change in time, reducing communication delay and further improving the stability of the communication link in the ad hoc network.
Example two
Referring to fig. 2, there is shown a block diagram of a mobile electronic device ad hoc network apparatus, applied to a mobile electronic device node, the apparatus including:
the scanning module 201 is configured to scan a second mobile electronic device node through a first mobile electronic device node, where the first mobile electronic device node is in a scanning state, and the second mobile electronic device node is in a listening state.
A determining module 202, configured to determine, when the first removable electronic device node scans the second removable electronic device node, a master node and a slave node in the first removable electronic device node and the second removable electronic device node according to parameter information fed back by the second removable electronic device node.
An accessing module 203, configured to access the slave node into the network corresponding to the master node.
And the issuing module 204 is configured to issue, by the master node, resource allocation information to the slave node to complete an ad hoc network initialization operation.
Optionally, the scanning module 201 includes:
and the scanning submodule is used for sending scanning information to the second movable electronic equipment node by the first movable electronic equipment node according to a preset scanning time slot.
Optionally, the scanning information includes: first network data corresponding to the first mobile electronic device node and receiving time slot information closest to the preset scanning time slot.
Optionally, the apparatus further comprises:
an obtaining module, configured to obtain, by the second mobile electronic device node, the first network data.
And the judging module is used for judging the numerical values of the first network data and the second network data corresponding to the second mobile electronic equipment node by the second mobile electronic equipment node.
And the feedback module is used for feeding back parameter information to the first movable electronic equipment node by the second movable electronic equipment node through the receiving time slot information closest to the preset scanning time slot according to the judgment result.
Optionally, the feedback module includes:
the first feedback submodule is used for feeding back resource request information to the first movable electronic equipment node by the second movable electronic equipment node when the first network data is larger than the second network data; or the like, or, alternatively,
and the second feedback submodule is used for feeding back the first resource information to the first movable electronic equipment node by the second movable electronic equipment node when the second network data is larger than the first network data.
Optionally, the determining module 202 includes:
a first determining submodule, configured to determine that the first mobile electronic device node is a master node and the second mobile electronic device node is a slave node when the parameter information includes the resource request information, and send second resource information to the second mobile electronic device node by the first mobile electronic device node; or the like, or, alternatively,
a second determining submodule, configured to determine that the first movable electronic device node is a slave node and the second movable electronic device node is a master node when the parameter information includes the first resource information.
Optionally, the access module 203 includes:
the first access sub-module is used for accessing the slave node into a network corresponding to the master node according to the second resource information when the first movable electronic equipment node is determined to be the master node and the second movable electronic equipment node is determined to be the slave node; or the like, or, alternatively,
and the second access sub-module is used for accessing the slave node into a network corresponding to the master node according to the first resource information when the first movable electronic equipment node is determined to be the slave node and the second movable electronic equipment node is determined to be the master node.
Optionally, the apparatus further comprises:
and the topology sending module is used for sending the topology information corresponding to the slave node to the master node by the slave node.
Optionally, the issuing module 204 includes:
and the issuing submodule is used for the master node to issue resource allocation information to the slave node according to the topology information, wherein the resource allocation information comprises time synchronization information, a topology updating information table and time slot allocation information.
Optionally, the apparatus further comprises:
and the auxiliary module is used for responding to the resource allocation information by the slave node and assisting the master node to execute a scanning task.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
EXAMPLE III
The embodiment of the present invention further provides a structural block diagram of a mobile electronic device node, as shown in fig. 3, including a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304,
a memory 303 for storing a computer program;
the processor 301, when executing the program stored in the memory 303, implements the following steps:
scanning, by a first movable electronic device node, a second movable electronic device node, wherein the first movable electronic device node is in a scanning state and the second movable electronic device is in a listening state;
when the first movable electronic device node scans the second movable electronic device node, determining a master node and a slave node in the first movable electronic device node and the second movable electronic device node according to parameter information fed back by the second movable electronic device node;
the slave node is accessed into a network corresponding to the master node;
and the master node transmits resource allocation information to the slave node to complete the initialization operation of the ad hoc network.
The communication bus mentioned in the above-mentioned removable electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the above-mentioned removable electronic device node and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
For the apparatus/removable electronic device/storage medium embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to some descriptions of the method embodiment for relevant points.
It should be noted that the apparatus, the mobile electronic device, and the storage medium according to the embodiments of the present invention are respectively an apparatus, a mobile electronic device node, and a storage medium to which the above-mentioned ad hoc network method for the mobile electronic device is applied, and all embodiments of the above-mentioned ad hoc network method for the mobile electronic device are applicable to the apparatus, the mobile electronic device node, and the storage medium, and can achieve the same or similar beneficial effects.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples described in this specification can be combined and combined by those skilled in the art.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "module" or "system. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A mobile electronic device ad hoc network method is applied to a mobile electronic device node, and the method comprises the following steps:
scanning, by a first movable electronic device node, a second movable electronic device node, wherein the first movable electronic device node is in a scanning state and the second movable electronic device is in a listening state;
when the first movable electronic device node scans the second movable electronic device node, determining a master node and a slave node in the first movable electronic device node and the second movable electronic device node according to parameter information fed back by the second movable electronic device node;
the slave node is accessed into a network corresponding to the master node;
and the master node transmits resource allocation information to the slave node to complete the initialization operation of the ad hoc network.
2. The method of claim 1, wherein scanning, by the first removable electronic device node, for the second removable electronic device node comprises:
and the first movable electronic equipment node sends scanning information to the second movable electronic equipment node according to a preset scanning time slot.
3. The method of claim 2, wherein the scanning information comprises: first network data corresponding to the first mobile electronic device node and receiving time slot information closest to the preset scanning time slot; before determining the master node and the slave node in the first mobile electronic device node and the second mobile electronic device node according to the parameter information fed back by the second mobile electronic device node, the method further includes:
the second mobile electronic device node obtaining the first network data;
the second mobile electronic device node judges the numerical value of the first network data and second network data corresponding to the second mobile electronic device node;
and according to the judgment result, the second movable electronic equipment node feeds back parameter information to the first movable electronic equipment node through the receiving time slot information closest to the preset scanning time slot.
4. The method according to claim 3, wherein the feeding back, by the second portable electronic device node, parameter information to the first portable electronic device node according to the receiving timeslot information closest to the preset scanning timeslot includes:
when the first network data is larger than the second network data, the second movable electronic equipment node feeds back resource request information to the first movable electronic equipment node; or, when the second network data is greater than the first network data, the second mobile electronic device node feeds back the first resource information to the first mobile electronic device node.
5. The method of claim 4, wherein the determining the master node and the slave node in the first mobile electronic device node and the second mobile electronic device node according to the parameter information fed back by the second mobile electronic device node comprises:
when the parameter information comprises the resource request information, determining that the first movable electronic equipment node is a master node and the second movable electronic equipment node is a slave node, and simultaneously sending second resource information to the second movable electronic equipment node by the first movable electronic equipment node; or the like, or, alternatively,
when the parameter information includes the first resource information, it is determined that the first movable electronic device node is a slave node and the second movable electronic device node is a master node.
6. The method according to claim 5, wherein the accessing of the slave node into the network corresponding to the master node comprises:
when the first movable electronic equipment node is determined to be a main node and the second movable electronic equipment node is determined to be a slave node, the slave node is accessed to a network corresponding to the main node according to the second resource information; or the like, or, alternatively,
and when the first movable electronic equipment node is determined to be a slave node and the second movable electronic equipment node is determined to be a master node, the slave node is accessed into a network corresponding to the master node according to the first resource information.
7. The method of claim 1, wherein before the master node issues the resource allocation information to the slave node, the method further comprises:
the slave node sends topology information corresponding to the slave node to the master node;
the main node issues resource allocation information to the slave node, and the resource allocation information comprises the following steps: and the master node transmits resource allocation information to the slave node according to the topology information, wherein the resource allocation information comprises time synchronization information, a topology updating information table and time slot allocation information.
8. The method of claim 7, wherein after the master node issues the resource allocation information to the slave node, the method further comprises:
the slave node receives a cooperative scanning instruction sent by the master node;
and the slave node responds to the cooperative scanning instruction to assist the master node in executing a scanning task.
9. A movable electronic device node is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 8 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-8.
CN202110267499.2A 2021-03-11 2021-03-11 Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium Pending CN113132911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267499.2A CN113132911A (en) 2021-03-11 2021-03-11 Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267499.2A CN113132911A (en) 2021-03-11 2021-03-11 Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium

Publications (1)

Publication Number Publication Date
CN113132911A true CN113132911A (en) 2021-07-16

Family

ID=76772998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267499.2A Pending CN113132911A (en) 2021-03-11 2021-03-11 Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium

Country Status (1)

Country Link
CN (1) CN113132911A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257594A (en) * 2021-12-21 2022-03-29 四川灵通电讯有限公司 Method for distributing network resources to user network side in distributed system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703247A (en) * 2015-01-07 2015-06-10 中国电子科技集团公司第三十研究所 Method and system for finding network neighborhood based on multi-micro time slot
CN110167032A (en) * 2019-04-30 2019-08-23 陕西师范大学 The network-building method and system of the software definition wireless self-organization network of unmanned aerial vehicle (UAV) control
CN110366153A (en) * 2019-07-17 2019-10-22 苏州佩林网络科技有限公司 A kind of method of bluetooth ad hoc network
CN110830968A (en) * 2019-09-30 2020-02-21 珠海格力电器股份有限公司 Networking method and device, Bluetooth equipment and computer readable medium
CN112073920A (en) * 2020-09-15 2020-12-11 杭州萤石软件有限公司 Networking method of wireless grid network node and network node equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703247A (en) * 2015-01-07 2015-06-10 中国电子科技集团公司第三十研究所 Method and system for finding network neighborhood based on multi-micro time slot
CN110167032A (en) * 2019-04-30 2019-08-23 陕西师范大学 The network-building method and system of the software definition wireless self-organization network of unmanned aerial vehicle (UAV) control
CN110366153A (en) * 2019-07-17 2019-10-22 苏州佩林网络科技有限公司 A kind of method of bluetooth ad hoc network
CN110830968A (en) * 2019-09-30 2020-02-21 珠海格力电器股份有限公司 Networking method and device, Bluetooth equipment and computer readable medium
CN112073920A (en) * 2020-09-15 2020-12-11 杭州萤石软件有限公司 Networking method of wireless grid network node and network node equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MING CHEN: "《web of science》", 14 November 2018 *
伍春等: "蓝牙无线传感器网络近饱和组网方法", 《计算机工程与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257594A (en) * 2021-12-21 2022-03-29 四川灵通电讯有限公司 Method for distributing network resources to user network side in distributed system
CN114257594B (en) * 2021-12-21 2023-12-01 四川灵通电讯有限公司 Method for distributing network resource to user network side in distributed system

Similar Documents

Publication Publication Date Title
US20220322464A1 (en) Connection establishment method and device, link state notification method and device, interface establishment method and device, information transmission method and device, integrated access backhaul node, centralized unit, system and storage medium
CN109041136B (en) Method for inserting SMF and AMF entity
US9100818B2 (en) Apparatus and method for allocating D2D ID of user terminal in ad-hoc network
CN111885122B (en) Remote pushing method, system, server and computer readable storage medium
CN109417829B (en) Method and apparatus for determining cluster head
US11646939B2 (en) Network function NF management method and NF management device
US9769738B2 (en) Implementing an access controller pool
CN112261702B (en) Wireless Mesh network routing method and device based on position and electronic equipment
US10051561B2 (en) Methods and nodes for M2M communication
CN111343237A (en) Server cluster communication method, communication device and computer storage medium
CN109417741B (en) Data migration method and device
CN113596863A (en) Method, apparatus and medium for determining user plane function and providing information
WO2019057106A1 (en) Method and device for network slice configuration
CN111597061A (en) Method and device for remote procedure call of client or server
US20160198424A1 (en) Method and Apparatus for Setting Up Interface Between Access Points
US8902785B2 (en) Method, apparatus and system for finding and selecting partners
EP4247039A1 (en) Computing-aware session management method and communication device
CN113271137A (en) Cooperative processing method and storage medium for space-based network heterogeneous computational power resources
US20220353320A1 (en) System for providing exact communication delay guarantee of request response for distributed service
CN113132911A (en) Ad hoc network method of mobile electronic equipment, electronic equipment node and storage medium
US20220060954A1 (en) Communication Method And Related Communication Device
JP6159019B2 (en) Method, device and system for access technology configuration
Oteafy Resource augmentation in heterogeneous internet of things via UAVs
EP2958270B1 (en) Direct-link quality monitoring method, communications device, and system
CN112654056B (en) Method, distribution unit, concentration unit and medium for managing shared cell

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: 20210716