CN105338535A - Method for wireless networking through employing mobile terminal - Google Patents

Method for wireless networking through employing mobile terminal Download PDF

Info

Publication number
CN105338535A
CN105338535A CN201510544822.0A CN201510544822A CN105338535A CN 105338535 A CN105338535 A CN 105338535A CN 201510544822 A CN201510544822 A CN 201510544822A CN 105338535 A CN105338535 A CN 105338535A
Authority
CN
China
Prior art keywords
mobile terminal
packet
address
wireless router
wireless
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.)
Granted
Application number
CN201510544822.0A
Other languages
Chinese (zh)
Other versions
CN105338535B (en
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.)
Lierda Science & Technology Group Co., Ltd.
Original Assignee
ZHEJIANG LIERDA INTERNET OF THINGS 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 ZHEJIANG LIERDA INTERNET OF THINGS TECHNOLOGY Co Ltd filed Critical ZHEJIANG LIERDA INTERNET OF THINGS TECHNOLOGY Co Ltd
Priority to CN201510544822.0A priority Critical patent/CN105338535B/en
Publication of CN105338535A publication Critical patent/CN105338535A/en
Application granted granted Critical
Publication of CN105338535B publication Critical patent/CN105338535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/24Cell structures
    • H04W16/26Cell enhancers or enhancement, e.g. for tunnels, building shadow
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for wireless networking through employing a mobile terminal. The method comprises the following steps: modifying system configuration of the mobile terminal, enabling the mobile terminal not to discard a data package while the target MAC address of the data package received by the mobile terminal is not the MAC address of the data package, wherein the interior of the mobile terminal is provided with a route list; building wireless connection between the mobile terminal which can receive a wireless router signal in a wireless network and a wireless router, and enabling a mobile terminal which cannot receive the wireless router signal in the wireless network to be connected with the wireless router through a jump method. On the basis of conventional wireless networking, the method enables wireless equipment in the wireless network to serve as the wireless router, so as to achieve the continuous transmission of data. Through a plurality of wireless jumps, the method carries out networking, and greatly enlarges the coverage of a wireless signal under the conditions of not adding wired infrastructure and not increasing the cost.

Description

A kind of method using mobile terminal to carry out wireless networking
Technical field
The present invention relates to Wireless Network field, particularly relate to a kind of method using mobile terminal to carry out wireless networking.
Background technology
Along with people's improving constantly network service demand, whenever, where people wish, can both communicate fast and accurately with whom.At present, in wireless networking, WiFi is subject to heat handful because of efficient ability to work, but in traditional wireless networking, a router connects multiple equipment by WIFI, belong to 1 to many patterns, the number of connection of router own is restricted, and transmission range is limited, causes wireless networking scope less.
Summary of the invention
The object of the invention is to overcome existing wireless networking to be made up of wireless router, the number of connection of wireless router own is restricted, transmission range is limited, cause the technical problem that wireless networking scope is less, provide a kind of method using mobile terminal to carry out wireless networking, it is on the basis of conventional wireless networking, wireless device in wireless networking is used as wireless router, data are constantly forwarded, networking is carried out by multiple wireless jumping, do not adding non-wireless infrastructures, when expanding cost, the coverage of extended wireless signal greatly.
In order to solve the problem, the present invention is achieved by the following technical solutions:
A kind of method using mobile terminal to carry out wireless networking of the present invention, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal not receiving wireless router signal in wireless networking first peripherad mobile terminal sends packet, includes object IP address and target MAC (Media Access Control) address in packet, i.e. the IP address of Target Wireless router and MAC Address;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the number of hops of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for number of hops is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
In the technical program, the IP layer of mobile terminal system both can be configured to the function of router, also can be configured to the function of main frame.For Android mobile phone most widely used on market, the kernel of Android mobile phone is linux core system, the built-in network protocol stack of linux is the ICP/IP protocol meeting international standard, in this agreement, default configuration is host function, namely destination address is not that the packet of this host MAC address can be dropped, therefore we need the IP layer of mobile terminal system to be configured to router feature, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address.At the application of mobile terminal system, we need the route list information of preserving a surrounding devices, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address, when the packet rs destination address received is not local mac address, inside route list information, first search the equipment of coupling, if can not find, judge to select next path node to carry out forwarding (route forwarding function) according to IP address, until arrive destination.
Wireless connections between wireless router and mobile terminal are that WIFI connects.By the wireless networking that this method is set up, each mobile terminal in wireless networking can be used as head-end site in wireless networking and forwards the data that wireless router or other mobile terminals send, thus the coverage of wireless networking is expanded greatly.
As preferably, when there being new mobile terminal to add wireless networking, new mobile terminal first sends to the mobile terminal be in wireless networking detected the request of networking, the mobile terminal be in wireless networking registers the information of new mobile terminal, the IP address of new mobile terminal and MAC Address are added in the route list of self, and send other mobile terminals that broadcast packet notifies to record in self route list and have new mobile terminal to add, and the IP address of new mobile terminal and MAC Address are sent to these mobile terminals, then self route list is sent to new mobile terminal, new mobile terminal sets up the route list of self according to the route list received.
As preferably, when final route path failure, re-execute step S21 to step S23, set up new final route path.
As preferably, the mobile terminal of initial transmission packet carries out exchanges data by final route path and wireless router and comprises the following steps: final route path is added in packet by the mobile terminal sending packet at first, then the next stop mobile terminal will recorded in Packet Generation to final route path, next stop mobile terminal is again forwarded to according to the final route path recorded in packet after next stop mobile terminal receives this packet, so forward successively according to final route path, until Packet Generation is to Target Wireless router, feedback data is sent back to the initial mobile terminal sending packet according to this final route path by Target Wireless router.
As preferably, other mobile terminals that mobile terminal in wireless networking is recorded at set intervals in self route list send a secondary data, other mobile terminals meeting feedback acknowledgment data, if do not receive the confirmation data of feedback, then this mobile terminal judges self to break, and execution step S2 reconnects and enters wireless networking.
A kind of method using mobile terminal to carry out wireless networking of the present invention, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal first peripherad mobile terminal transmission packet not receiving wireless router signal in wireless networking, current transmitting time, object IP address and target MAC (Media Access Control) address is included, i.e. the IP address of Target Wireless router and MAC Address in packet;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the overall transmission time of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for overall transmission time is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
Substantial effect of the present invention is: on the basis of conventional wireless networking, wireless device in wireless networking is used (wireless device comprises AP and STA) as wireless router, data are constantly forwarded, networking is carried out by multiple wireless jumping, when not adding non-wireless infrastructures, expanding cost, the coverage of extended wireless signal greatly.
Accompanying drawing explanation
Fig. 1 is a kind of workflow diagram of the present invention;
Fig. 2 is a kind of wireless networking structural representation of the present invention.
In figure: 1, wireless router, the 2, first mobile terminal, the 3, second mobile terminal, the 4, the 3rd mobile terminal, the 5, the 4th mobile terminal.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is done more specifically bright.
Embodiment 1: a kind of method using mobile terminal to carry out wireless networking of the present embodiment, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, as shown in Figure 1, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal not receiving wireless router signal in wireless networking first peripherad mobile terminal sends packet, includes object IP address and target MAC (Media Access Control) address in packet, i.e. the IP address of Target Wireless router and MAC Address;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the number of hops of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for number of hops is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
The mobile terminal of initial transmission packet carries out exchanges data by final route path and wireless router and comprises the following steps: final route path is added in packet by the mobile terminal sending packet at first, then the next stop mobile terminal will recorded in Packet Generation to final route path, next stop mobile terminal is again forwarded to according to the final route path recorded in packet after next stop mobile terminal receives this packet, so forward successively according to final route path, until Packet Generation is to Target Wireless router, feedback data is sent back to the initial mobile terminal sending packet according to this final route path by Target Wireless router.
(as certain mobile terminal shutdown, fault, release wireless networking etc. on final route path, cause this mobile terminal not forwarding data bag) when final route path failure, re-execute step S21 to step S23, set up new final route path.
When there being new mobile terminal to add wireless networking, new mobile terminal first sends to the mobile terminal being in signal in wireless networking the strongest detected the request of networking, be in the information that the strongest mobile terminal of signal in wireless networking registers new mobile terminal, the IP address of new mobile terminal and MAC Address are added in the route list of self, and send other mobile terminals that broadcast packet notifies to record in self route list and have new mobile terminal to add, and the IP address of new mobile terminal and MAC Address are sent to these mobile terminals (the IP address of the new mobile terminal received and MAC Address are added in the route list of self by these mobile terminals), then self route list is sent to new mobile terminal, new mobile terminal sets up the route list of self according to the route list received.
Other mobile terminals that mobile terminal in wireless networking is recorded at set intervals in self route list send a secondary data (telling other mobile terminals " I am also online "), other mobile terminals meeting feedback acknowledgment data, if do not receive the confirmation data of feedback, then this mobile terminal judges self to break, and execution step S2 reconnects and enters wireless networking.
The IP layer of mobile terminal system both can be configured to the function of router, also can be configured to the function of main frame.For Android mobile phone most widely used on market, the kernel of Android mobile phone is linux core system, the built-in network protocol stack of linux is the ICP/IP protocol meeting international standard, in this agreement, default configuration is host function, namely destination address is not that the packet of this host MAC address can be dropped, therefore we need the IP layer of mobile terminal system to be configured to router feature, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address.The ICP/IP protocol of acquiescence be judge IP packet front 20 bytes inside object IP and object MAC, if not, this bag just abandons, and therefore we need the corresponding field inside amendment agreement.Simultaneously all tcp ports must be unified, each equipment needs preparation 2 ports, one connects upper network, one connects undernet, in a program, set up message queue, forward the data in two conduits, the maximum MSS of each packet of pipeline of current TCP is 1460, therefore needs the length of restricting data bag.Mobile phone A PP uses eclipse+ADT(Android development environment), in APP, we need to set up 2 socket, one is client, and connect upper hop route, one is server, receive connection and the data of down hop route, therefore need to set up 2 threads, need disconnection reconnecting mechanism simultaneously.Procotol part mainly arranges routing forwarding in the option data part of IP, after flag bit is arranged, time the data forwarded pass to down hop, program can detect the mark of the datagram received automatically, first determine whether destination address is the machine, if not, detecting and forwarding flag bit is 1, then search for the address of route list determination down hop, forward.
At the application of mobile terminal system, we need the route list information of preserving a surrounding devices, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address, when the packet rs destination address received is not local mac address, inside route list information, first search the equipment of coupling, if can not find, judge to select next path node to carry out forwarding (route forwarding function) according to IP address, until arrive destination.
Wireless connections between wireless router and mobile terminal are that WIFI connects.By the wireless networking that this method is set up, each mobile terminal in wireless networking can be used as head-end site in wireless networking and forwards the data that wireless router or other mobile terminals send, thus the coverage of wireless networking is expanded greatly.Determine shortest route path by number of hops, reduce network delay.
A kind of wireless networking structure of the present embodiment, as shown in Figure 2, wireless networking is made up of wireless router 1, first mobile terminal 2, second mobile terminal 3, the 3rd mobile terminal 4 and the 4th mobile terminal 5.
First mobile terminal 2 and the second mobile terminal 3 can receive the WIFI signal of wireless router 1, directly can carry out WIFI with wireless router 1 and communicate.3rd mobile terminal 4 and the 4th mobile terminal 5 do not receive the WIFI signal of wireless router 1, need to carry out exchanges data by the first mobile terminal 2 and the second mobile terminal 3 forwarding data bag and wireless router 1.
3rd mobile terminal 4 first peripherad mobile terminal sends packet, includes object IP address and target MAC (Media Access Control) address in packet, i.e. the IP address of wireless router 1 and MAC Address.First mobile terminal 2, second mobile terminal 3 and the 4th mobile terminal 5 receive this packet, search the route list self stored.
First mobile terminal 2 and the second mobile terminal 3 find the target MAC (Media Access Control) address in this packet in route list, then the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to object IP address, this packet is forwarded to wireless router 1.
4th mobile terminal 5 does not find the target MAC (Media Access Control) address in this packet in route list, then from route list, find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, i.e. the first mobile terminal 2 and the second mobile terminal 3.First mobile terminal 2 and the second mobile terminal 3 are defined as the next stop node of forwarding data bag, the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then this packet is forwarded to the first mobile terminal 2 and the second mobile terminal 3.First mobile terminal 2 and the second mobile terminal 3 find the target MAC (Media Access Control) address in this packet in route list, then the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to object IP address, this packet is forwarded to wireless router 1.
After packet is forwarded to wireless router 1, the number of hops of feedback routed path and correspondence to the mobile terminal of initial transmission packet, the routed path of feedback and the number of hops of correspondence as follows:
Routed path 1: the three mobile terminal 4--first mobile terminal 2--wireless router 1, number of hops 1;
Routed path 2: the three mobile terminal 4--second mobile terminal 3--wireless router 1, number of hops 1;
Routed path 3: the three mobile terminal 4--the 4th mobile terminal 5--second mobile terminal 3--wireless router 1, number of hops 2;
Routed path 4: the three mobile terminal 4--the 4th mobile terminal 5--first mobile terminal 2--wireless router 1, number of hops 2;
The number of hops of routed path 1 and routed path 2 is minimum, 3rd mobile terminal 4 Stochastic choice one from routed path 1 and routed path 2 carries out the final route path of exchanges data as with wireless router 1, and the 3rd mobile terminal 4 carries out exchanges data by final route path and wireless router 1.
Embodiment 1: a kind of method using mobile terminal to carry out wireless networking of the present embodiment, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal first peripherad mobile terminal transmission packet not receiving wireless router signal in wireless networking, current transmitting time, object IP address and target MAC (Media Access Control) address is included, i.e. the IP address of Target Wireless router and MAC Address in packet;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the overall transmission time of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for overall transmission time is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
The minimum routed path of an overall transmission time data wrapped on routed path is defined as final route path, reduces network delay.All the other methods are with embodiment 1.

Claims (6)

1. use mobile terminal to carry out a method for wireless networking, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, is characterized in that, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal not receiving wireless router signal in wireless networking first peripherad mobile terminal sends packet, includes object IP address and target MAC (Media Access Control) address in packet, i.e. the IP address of Target Wireless router and MAC Address;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then the IP address of self, MAC Address are added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, in this packet, the counter of record number of hops adds 1, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the number of hops of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for number of hops is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
2. a kind of method using mobile terminal to carry out wireless networking according to claim 1, it is characterized in that: when there being new mobile terminal to add wireless networking, new mobile terminal first sends to the mobile terminal be in wireless networking detected the request of networking, the mobile terminal be in wireless networking registers the information of new mobile terminal, the IP address of new mobile terminal and MAC Address are added in the route list of self, and send other mobile terminals that broadcast packet notifies to record in self route list and have new mobile terminal to add, and the IP address of new mobile terminal and MAC Address are sent to these mobile terminals, then self route list is sent to new mobile terminal, new mobile terminal sets up the route list of self according to the route list received.
3. a kind of method using mobile terminal to carry out wireless networking according to claim 1, is characterized in that: when final route path failure, re-execute step S21 to step S23, sets up new final route path.
4. a kind of method using mobile terminal to carry out wireless networking according to claim 1 or 2 or 3, it is characterized in that: the initial mobile terminal sending packet carries out exchanges data by final route path and wireless router and comprises the following steps: final route path is added in packet by the mobile terminal sending packet at first, then the next stop mobile terminal will recorded in Packet Generation to final route path, next stop mobile terminal is again forwarded to according to the final route path recorded in packet after next stop mobile terminal receives this packet, so forward successively according to final route path, until Packet Generation is to Target Wireless router, feedback data is sent back to the initial mobile terminal sending packet according to this final route path by Target Wireless router.
5. a kind of method using mobile terminal to carry out wireless networking according to claim 1 or 2 or 3, it is characterized in that: other mobile terminals that the mobile terminal in wireless networking is recorded at set intervals in self route list send a secondary data, other mobile terminals meeting feedback acknowledgment data, if do not receive the confirmation data of feedback, then this mobile terminal judges self to break, and execution step S2 reconnects and enters wireless networking.
6. use mobile terminal to carry out a method for wireless networking, wireless networking comprises wireless router and several mobile terminals, and wireless router connecting Internet, is characterized in that, comprises the following steps:
S1: the system configuration of mobile terminal is modified, make mobile terminal can not abandon this packet when receiving target MAC (Media Access Control) address and not being the packet of own MAC address, be provided with route list in mobile terminal, this route list is for storing routed path, the IP address of wireless router and MAC Address, the IP address of other mobile terminals and MAC Address;
S2: mobile terminal and the wireless router that can receive wireless router signal in wireless networking set up wireless connections, the mobile terminal not receiving wireless router signal in wireless networking connects wireless router by jump method, and jump method comprises the following steps:
S21: the mobile terminal first peripherad mobile terminal transmission packet not receiving wireless router signal in wireless networking, current transmitting time, object IP address and target MAC (Media Access Control) address is included, i.e. the IP address of Target Wireless router and MAC Address in packet;
S22: mobile terminal around receives this packet, search the route list self stored, if find the target MAC (Media Access Control) address in this packet in route list, then by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to object IP address, this packet is forwarded to Target Wireless router, if do not find the target MAC (Media Access Control) address in this packet in route list, from route list, then find out the mobile terminal that the IP address that belongs to the same network segment with own IP address is corresponding, these mobile terminals are defined as the next stop node of forwarding data bag, by the IP address of self, MAC Address is added in the routed path of this packet, current transmitting time is added in packet, the time of timer record this transmission in this packet, namely current mobile terminal receives the difference between time that time of this packet and a upper station mobile terminal send this packet, then according to the IP address belonging to the same network segment with own IP address found out, this packet is forwarded to the mobile terminal of next stop node, above-mentioned steps is repeated after the mobile terminal of next stop node receives this packet, until this packet is forwarded to Target Wireless router,
S23: after packet is forwarded to Target Wireless router, the overall transmission time of feedback routed path and correspondence is to the initial mobile terminal sending packet, routed path minimum for overall transmission time is carried out the final route path of exchanges data as with Target Wireless router by the mobile terminal of initial transmission packet, and the initial mobile terminal sending packet carries out exchanges data by final route path and Target Wireless router.
CN201510544822.0A 2015-08-31 2015-08-31 A method of carrying out wireless networking using mobile terminal Active CN105338535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510544822.0A CN105338535B (en) 2015-08-31 2015-08-31 A method of carrying out wireless networking using mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510544822.0A CN105338535B (en) 2015-08-31 2015-08-31 A method of carrying out wireless networking using mobile terminal

Publications (2)

Publication Number Publication Date
CN105338535A true CN105338535A (en) 2016-02-17
CN105338535B CN105338535B (en) 2018-09-28

Family

ID=55288735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510544822.0A Active CN105338535B (en) 2015-08-31 2015-08-31 A method of carrying out wireless networking using mobile terminal

Country Status (1)

Country Link
CN (1) CN105338535B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704226A (en) * 2016-03-11 2016-06-22 北京奇虎科技有限公司 Intelligent terminal and network configuration method thereof
CN105721220A (en) * 2016-03-11 2016-06-29 北京奇虎科技有限公司 Intelligent terminal and network bottom configuration method thereof
CN106102019A (en) * 2016-06-02 2016-11-09 山东有人信息技术有限公司 A kind of data transmission method based on WIFI broadcast packet and data transmission system
CN106792979A (en) * 2016-12-07 2017-05-31 国网宁夏电力公司吴忠供电公司 It is a kind of to set up the method that radio relay communication route communication link
CN107294669A (en) * 2016-03-31 2017-10-24 深圳市维杰乐思科技有限公司 Improve method, system and the controller of the reliability of wireless camera network
CN108494687A (en) * 2018-03-08 2018-09-04 全球能源互联网研究院有限公司 Power information physical system multipath networking communication means based on wifi and system
CN113596821A (en) * 2021-07-15 2021-11-02 北京小米移动软件有限公司 Data communication method, device, computer equipment and storage medium
CN114866607A (en) * 2022-04-28 2022-08-05 中建三局智能技术有限公司 Networking transmission method and device based on voice coding technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004861A (en) * 2006-11-08 2007-07-25 北京航空航天大学 System for monitoring moving target on place of aerodrome
CN101217498A (en) * 2008-01-18 2008-07-09 北京科技大学 A self-organizing network routing method based on data message point-to-point decision making
US20100191968A1 (en) * 2009-01-27 2010-07-29 Sony Corporation Authentication for a multi-tier wireless home mesh network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004861A (en) * 2006-11-08 2007-07-25 北京航空航天大学 System for monitoring moving target on place of aerodrome
CN101217498A (en) * 2008-01-18 2008-07-09 北京科技大学 A self-organizing network routing method based on data message point-to-point decision making
US20100191968A1 (en) * 2009-01-27 2010-07-29 Sony Corporation Authentication for a multi-tier wireless home mesh network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704226A (en) * 2016-03-11 2016-06-22 北京奇虎科技有限公司 Intelligent terminal and network configuration method thereof
CN105721220A (en) * 2016-03-11 2016-06-29 北京奇虎科技有限公司 Intelligent terminal and network bottom configuration method thereof
CN105721220B (en) * 2016-03-11 2019-08-27 北京安云世纪科技有限公司 Intelligent terminal and its network bottom layer configuration method
CN107294669A (en) * 2016-03-31 2017-10-24 深圳市维杰乐思科技有限公司 Improve method, system and the controller of the reliability of wireless camera network
CN106102019A (en) * 2016-06-02 2016-11-09 山东有人信息技术有限公司 A kind of data transmission method based on WIFI broadcast packet and data transmission system
CN106792979A (en) * 2016-12-07 2017-05-31 国网宁夏电力公司吴忠供电公司 It is a kind of to set up the method that radio relay communication route communication link
CN108494687A (en) * 2018-03-08 2018-09-04 全球能源互联网研究院有限公司 Power information physical system multipath networking communication means based on wifi and system
CN108494687B (en) * 2018-03-08 2022-05-31 全球能源互联网研究院有限公司 Wifi-based multi-path networking communication method and system for electric power information physical system
CN113596821A (en) * 2021-07-15 2021-11-02 北京小米移动软件有限公司 Data communication method, device, computer equipment and storage medium
CN113596821B (en) * 2021-07-15 2024-03-01 北京小米移动软件有限公司 Data communication method, device, computer equipment and storage medium
CN114866607A (en) * 2022-04-28 2022-08-05 中建三局智能技术有限公司 Networking transmission method and device based on voice coding technology

Also Published As

Publication number Publication date
CN105338535B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN105338535A (en) Method for wireless networking through employing mobile terminal
EP3228123B1 (en) Efficient hybrid resource and schedule management in time slotted channel hopping networks
KR101299759B1 (en) Pseudo wires for mobility management
CN102571587B (en) Method and equipment for forwarding messages
CN106797377A (en) The infrastructure access in networking data path is perceived via neighbours
CN102318316B (en) Method and network and equipment for communication in including the network without battery ZigBee equipment
CN108476457A (en) Distributed reaction resource in time slotted channel hopping network and management and running
JP2017518670A (en) Method and apparatus for reducing packet storm time length in a wireless mesh network
WO2012106915A1 (en) Failure notification method, detection apparatus, forwarding apparatus, system and data structure
CN106470117B (en) Transmission switching method, equipment and the system of LTE broadband cluster system
JP6197468B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
US20160127150A1 (en) Packet processing method and device
WO2019119346A1 (en) Method and network device for determining communication path
CN105471613A (en) Temporary channel establishing method, device and system
KR20140124116A (en) Apparatus and method for optimizing data-path in mobile communication network
CN102685009B (en) A kind of detection method of multicast transmission path and device
US20170208528A1 (en) Routing protocol for advanced metering infrastructure system
WO2022007861A1 (en) Failure notification method and electronic device
WO2015085801A1 (en) Fault processing method and apparatus for edge route bridge in trill network
CN105703997A (en) Tunnel control method and apparatus
CN104683208A (en) Stack establishing method and communication equipment
WO2021220525A1 (en) Content transmitting device, content receiving device, content transmitting method, and content receiving method
CN107959985B (en) Hybrid mesh network construction method, data transmission method and device
WO2011131688A1 (en) A path selection method for a network
WO2015180174A1 (en) Base station and network management device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191209

Address after: 310000 room 1201, block a, building 18, United courtyard, Gongshu District, Hangzhou City, Zhejiang Province

Patentee after: Lierda Science & Technology Group Co., Ltd.

Address before: Yuhang District, Hangzhou City, Zhejiang Province, 310000 West No. 1500 Building No. 1 room 105

Patentee before: ZHEJIANG LIERDA INTERNET OF THINGS TECHNOLOGY CO., LTD.