CN105101340A - Message multi-hop control method based on intelligent mobile terminal and system thereof - Google Patents

Message multi-hop control method based on intelligent mobile terminal and system thereof Download PDF

Info

Publication number
CN105101340A
CN105101340A CN201510566909.8A CN201510566909A CN105101340A CN 105101340 A CN105101340 A CN 105101340A CN 201510566909 A CN201510566909 A CN 201510566909A CN 105101340 A CN105101340 A CN 105101340A
Authority
CN
China
Prior art keywords
message
mobile terminal
hop
bag
client
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
CN201510566909.8A
Other languages
Chinese (zh)
Other versions
CN105101340B (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.)
SHENZHEN WINEXT TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN WINEXT 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 SHENZHEN WINEXT TECHNOLOGY Co Ltd filed Critical SHENZHEN WINEXT TECHNOLOGY Co Ltd
Priority to CN201510566909.8A priority Critical patent/CN105101340B/en
Publication of CN105101340A publication Critical patent/CN105101340A/en
Application granted granted Critical
Publication of CN105101340B publication Critical patent/CN105101340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The present invention relates to a message multi-hop control method based on intelligent mobile terminal and a system thereof. According to a mesh network configuration of the invention, a mobile terminal located in a MESH network is mainly served as a router or a client at some point. The client may be linked on the router and may accesses to external networks through the router. In order to extend the scale of the mesh network, there must be provided a plurality of edge routers in the mesh network, and a client between two routers may be served as a role of information relay to temporarily obtain information from one router and disconnect from the router; and then the information is subjected to relay broadcast to another router and at the same time data is obtained from the router. All the process is automatically completed without user manual participation of an interactive process and a root right.

Description

Based on message multi-hop control method and the system of intelligent mobile terminal
Technical field
The present invention relates to a kind of message multi-hop control method and system, particularly relate to a kind of message multi-hop control method based on intelligent mobile terminal and system.
Background technology
According to the evolution of Future Internet technology, novel networking and data transmission technology emerge in an endless stream.Meshed network technology is not a new technology, has occurred in fact very early and has had good application in a lot of field, but due to its cost relatively high, still rest at present in the application of industry-level, as telecom operation, industrial Internet of Things etc. always.
Patent of invention number be 201210246511.2 " a kind of wireless self-networking multi-hop data receive-transmit system " by rational architecture Design, wireless network node is had to use advantage simple, easy to carry, and adopt Proactive routing protocols to carry out Dynamic Maintenance routing iinformation, but it does not consider the automatic configuration of node IP address, inconvenient practical application.
" mobile ad hoc network system and the construction method thereof based on Android phone " of patent of invention 201210251730.X is by being arranged on WiFi network interface card Ad-Hoc mode manager, automatic IP address allocation manager and the network topology management device in Android phone, multi-section Android phone is set up into an interconnected mobile ad hoc network system, IP in major design self-organizing network system distributes, but it does not illustrate adopted Routing Protocol.
Invention 201510025418.2 discloses a kind of method for building up of Android phone self-organization network system, and self-organization network system is made up of some Android phone as communication node.This invention utilizes mobile self-networking technology, WiFi technology, two layers of Mesh Routing Protocol L2MPM, there is non-stop layer, networking is quick and convenient, wireless multi-hop, traffic rate are high, do not rely on the advantage of carrier network signal, can be used for the communication in the places such as mountaineering tour, high ferro train, natural calamity.But the ad-hoc pattern that this invention is used, not all mobile phone is all supported, has some limitations.Some smart mobile phone cannot use the technical scheme proposed in invention, and need the root authority obtaining mobile phone, the firmware that must recompilate mobile phone operating system, to support ad-hoc, to domestic consumer, does not possess practicality.
Tradition WI-FI network is a kind of star network, and have two kinds of roles in network, AP is as the center connected, interconnected with multiple STA.STA needs access external network to be carry out bridge joint by AP, and in same WIFI network, general not direct communication between STA, the communication between two STA is transferred by AP.Under such network configuration a, STA(such as smart mobile phone) if needed to another STA(such as television set) video data of high quality, AP is busy beyond doubt.
At present, the current main Problems existing of this mode of employing wifi-direct is:
1, Android4.4(API19) the wifi-direct interface that uses can not allow equipment connect more than two equipment at synchronization.
2, the wifi-direct under android system connects in process, based on the consideration of wifi-direct safety, mutual and the Authority Verification of user is absolutely necessary, user must be confirmed to have a WPS acknowledgement window ejection, even if next restarting equipment to confirm manual and after " being remembered " by system, if also can require to confirm again again.
Summary of the invention
The technical problem that the present invention solves is: build a kind of message multi-hop control method based on intelligent mobile terminal and system, overcome prior art and can not carry out message multi-hop based on intelligent mobile terminal, wifi-direct interface can not allow equipment connect more than two equipment at synchronization, mutual and the Authority Verification of user limits its use at mobile terminal, causes prior art on mobile terminals can not application message multi-hop technical scheme.
Technical scheme of the present invention is: build a kind of message multi-hop transmission method based on intelligent mobile terminal, comprise the steps:
Monitor the message of access point: monitor and receive the message of other mobile terminal broadcast, set up according to the message received and the communication connection of maintenance and this mobile terminal;
Information interaction as route: the bag message of encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected;
Information interaction as client: the bag message of mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal;
Multi-hop Message Transmission: described multi-hop message is transmitted between multiple mobile terminal established a communications link, described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.
Further technical scheme of the present invention is: described mobile terminal all adopts to be implemented to monitor and be connected by independent process.
Further technical scheme of the present invention is: also comprise described mobile terminal by WiFi the point-to-point management interface of direct-connected or WiFi realize monitoring, registration, binding and start PNP Network finding messenger service.
Further technical scheme of the present invention is: also comprise described mobile terminal by timer mode once after getting broadcast, then stop the monitoring of message.
Further technical scheme of the present invention is: also comprise the optimum access point that described mobile terminal judges in access point list.
Further technical scheme of the present invention is: described multi-hop message comprises the indications for indicating message.
Further technical scheme of the present invention is: the number of described indications must be kept in a circular buffer, and the size of described circular buffer sets according to the scale of network in advance.
Further technical scheme of the present invention is: described type of message mark comprises following a few class type of message: data are used for the reception of individual equipment, the reception of data all devices on whole network, order is used for the reception of individual equipment, the reception of order all devices on whole network.
Technical scheme of the present invention is: build a kind of message multi-hop transmission system based on intelligent mobile terminal, comprise monitoring unit, communication unit, routing unit, client-side information interactive unit, multi-hop information unit, described monitoring unit is monitored and is received the message of other mobile terminal broadcast, the message foundation of described communication unit according to reception and the communication connection of maintenance and this mobile terminal; The bag message of described routing unit encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected; The bag message of described client-side information interactive unit mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal; The many transmission between multiple mobile terminal established a communications link of described multi-hop information unit jumps message, and described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.
Further technical scheme of the present invention is: described message multi-hop transmission system adopts stratified energy mechanism, comprises articulamentum, routing management layer, file management layer, application layer.
Technique effect of the present invention is: build a kind of message multi-hop control method based on intelligent mobile terminal and system, monitors and receives the message of other mobile terminal broadcast, set up and maintain and the communication connection of this mobile terminal according to the message received; Information interaction as route: the bag message of encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected; Information interaction as client: the bag message of mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal; Described multi-hop message is transmitted between multiple mobile terminal established a communications link, and described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.By adopting WI-FIDirect technology, in the non-existent situation of traditional AP network equipment, supported the communication of point-to-point by WI-FIDirect equipment, secondly, the WI-FI equipment that the GroupOwner in WI-FIDirect equipment can be compatible traditional.The present invention, according to the framework of mesh network, allows the mobile terminal be in MESH network, and at a time main role is: router or client.Client can connect on the router, by this router access external network.In order to the scale of extend web mesh network, be bound to there is multiple border router in mesh network, and the client between two routers, the role of information relay (relay) can be served as, it can also disconnect the connection with this router from obtaining information a router provisionally, then repeat broadcast goes to another router, also can obtain data from another router simultaneously and return.This processes all do not need user manually to participate in reciprocal process, but automatically complete, and do not need root authority simultaneously yet.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention.
Fig. 2 is system architecture block diagram of the present invention.
Fig. 3 is that mobile terminal of the present invention receives information schematic diagram.
Fig. 4 is that mobile terminal of the present invention receives concurrent carry information schematic diagram.
Fig. 5 is mobile terminal of the present invention transmission of information schematic diagram successively.
Embodiment
Below in conjunction with specific embodiment, technical solution of the present invention is further illustrated.
As shown in Figure 1, the specific embodiment of the present invention is: build a kind of message multi-hop transmission method based on intelligent mobile terminal, comprise the steps:
Monitor the message of access point: monitor and receive the message of other mobile terminal broadcast, set up according to the message received and the communication connection of maintenance and this mobile terminal.
Specific implementation process is: the solution of the present invention sets up the network topological diagram of a broadcast, realizes certain particular message being given a specific equipment.Be route pattern or client mode by confirmation equipment in main control line journey of the present invention, the subfunction different according to different mode treatment, as sent or monitoring information.In specific embodiment, described mobile terminal all adopts to be implemented to monitor and be connected by independent process.Main point comprises two parts function:
WiFi is direct-connected with WiFi process: the message being responsible for monitoring AP broadcast is connected with maintenance with foundation.
Netsock module: the connection of having set up before startup and at TCP socket transmitting data, and mutual with main thread, as adopted the Design Mode of multithreading, realize the business such as the process of thread events.
The present invention mainly comprises foundation and the connection of Handshake Protocol, can realize data interaction (port/IP/MAC) function between points that WiFi direct-connected (WifiDirect) technology does not possess; The each client device be in AP router signal cover can accept the Network Discovery Service of each access point, and client can obtain the broadcast of access point and decode, and realizes automatic connection network mesh network repeater.Client device for relaying can connect successively with all access points and exchange messages, and realizes the automatic transmission of information.Meanwhile, the present invention connects automatically by adopting software droid equipment room, instead of all wants user to participate in license confirmation at every turn;
Concrete grammar is as follows:
The problem that under adopting the method setting up soft AP can solve wifi-direct framework, multiple equipment cannot be connected with one, sets up soft AP by router, as long as know SSID and the PSK secret key of this AP, multiple client device can be connected with this equipment.But, because SSID and PSK secret key (presharedkey) has system automatically to produce at random, therefore manually do not generate by program frame and specify, but we can utilize wifi-direct framework, this SSID and PSK secret key (presharedkey) is packed, and in Network Discovery Service process, is broadcast to miscellaneous equipment by soft AP.SSID and PSK secret key is with another independent key encryption, and unlike the PSK secret key of AP, this independent cryptographic keys can use program setting, and therefore each equipment can know this secret key in advance.
The software APP of equipment end is main in automatic running, and what realize is network service function, comprise two aspects: the WiFi between mobile terminal is direct-connected, disappeared by broadcast, then in network service discovery broadcasting process, secret key for AP password encryption can be preserved on each device in advance, and therefore user just can will confirm at every turn alternately.PSK secret key due to AP is that system produces at random, but the PSK secret key of the AP after encryption can be broadcasted away to other equipment by we, this addresses the problem each manual confirmation process, achieves the autoconnect function of equipment.
Information interaction as route: the bag message of encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected.
Specific implementation process is as follows: utilize Wi-FiDirect to produce soft AP, and set up WiF connection group by the createGroup of WifiP2pManager class, this equipment is the owner (groupowner), and encapsulates SSID, MAC Address, connection state information, signcode in character string.Equipment, after completing soft AP and setting up, will send WIFI_P2P_-CONNECTION_CHANGED_ACTION message.By calling the addLocalService method of WifiP2pManager, realizing the client that broadcast service accepts UPNP broadcast and can monitor and catch this message at any time in the direct-connected process of WIFI; In order to make framework process more efficient, the present invention adopts and realizes network monitoring and connection by independent process, and for the purpose of simple designs, the connection of each client uses independent process.
Information interaction as client: the bag message of mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal.
Specific implementation process is as follows: APP client of the present invention is by WIFI fillet router device, and the mutual transmission of information can be realized with all clients be connected under this router, client can monitor and catch, the Network Discovery Service message received of decoding, and store decoded SSID, PSK messaging list in client device.APP client can pass through timer mode, once after getting certain broadcast, then stops the monitoring of message; By WifiManager, APP client can judge which access point is the Best link access point in access point list at the appointed time, as, " the best " can be that signal is the strongest, or the access point once connected is defined as the highest connectivity option of priority.APP client connects MESH router device by WIFI, and the network communication services (netsockserver) that can be provided by this router realizes the mutual of information.Also comprise described mobile terminal by WiFi the point-to-point management interface of direct-connected or WiFi realize monitoring, registration, binding and start PNP Network finding messenger service.
Concrete manipulation is as shown in Fig. 3, Fig. 4, Fig. 5, and its reciprocal process is as follows:
At initial phase, acquisition for mobile terminal the SSID of each access point of decoding and password;
The information exchange of single AP and equipment;
The Message Transmission of mesh network.
Multi-hop Message Transmission: described multi-hop message is transmitted between multiple mobile terminal established a communications link, described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.
The message of the employing of message transferring technology has an indications UUID to indicate message id, and comprise a mac source address, UUID is that system produces at random simultaneously.Router or node client can the message that indicate of receiving belt UUID.If message was received, then ignored this message, and stop continuing to transmit; UUID number must be kept in a circular buffer, the size of this buffer by system in advance according to network and scale sets.If the message authentication that equipment end obtains is new information, then the MAC Address of self is attached in the MAC table listings of this message, and this Message Transmission is gone out.
The message data structure transmitted comprises as follows:
Message header:
(a) UUID: unique message identifier ID.Owing to confirming whether this message is received before.
(b) Message Type data (MessageTypeData): type of message (data/order) mainly comprises the following aspects:
– data are used for the reception of individual equipment;
The reception of – data all devices on whole network;
– order is used for the reception of individual equipment;
– order is used for the reception of a whole network equipment;
(c) device mac address inventory: be used for building the direction (whether this message is passed through by equipment as confirmed, then ignores this message in this way) that route data and acknowledge message are transmitted.
Data: for the message data transmitted.
The preferred embodiment of the present invention is as follows: also comprise described mobile terminal by timer mode once after getting broadcast, stops the monitoring of message, resolves message.Also comprise the optimum access point that described mobile terminal judges in access point list, by the judgement of optimum access point, can connection speed be accelerated, more be conducive to the transmission of message.
The preferred embodiment of the present invention is as follows: described multi-hop message comprises the indications for indicating message, described indications is for indicating this message, by indications, be convenient to judge whether message was received, router or node client can the message that indicate of receiving belt UUID.If message was received, then ignored this message, and stop continuing to transmit.The number of described indications must be kept in a circular buffer, and the size of described circular buffer sets according to the scale of network in advance.
As shown in Figure 1, the specific embodiment of the present invention is: build a kind of message multi-hop transmission system based on intelligent mobile terminal, comprise monitoring unit 1, communication unit 2, routing unit 3, client-side information interactive unit 4, multi-hop information unit 5, described monitoring unit 1 is monitored and is received the message of other mobile terminal broadcast, the message foundation of described communication unit 2 according to reception and the communication connection of maintenance and this mobile terminal; Described routing unit 3 encapsulates the bag message of mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected; The bag message of described client-side information interactive unit 4 mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal; Described multi-hop information unit more than 5 transmits between multiple mobile terminal established a communications link jumps message, and described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.In specific embodiment, described message multi-hop transmission system adopts stratified energy mechanism, comprises articulamentum, routing management layer, file management layer, application layer.
As shown in Figure 1, specific embodiment of the invention process is as follows:
The solution of the present invention sets up the network topological diagram of a broadcast, realizes certain particular message being given a specific equipment.Be route pattern or client mode by confirmation equipment in main control line journey of the present invention, the subfunction different according to different mode treatment, as sent or monitoring information.In specific embodiment, described mobile terminal all adopts to be implemented to monitor and be connected by independent process.Main point comprises two parts function:
Monitoring unit 1 is responsible for the message monitoring AP broadcast, communication unit 2 set up with maintain be connected start before the connection of having set up and at TCP socket transmitting data, and mutual with main thread, as adopted the Design Mode of multithreading, realize the business such as the process of thread events.
The present invention mainly comprises foundation and the connection of Handshake Protocol, can realize data interaction (port/IP/MAC) function between points that WiFi direct-connected (WifiDirect) technology does not possess; The each client device be in AP router signal cover can accept the Network Discovery Service of each access point, and client can obtain the broadcast of access point and decode, and realizes automatic connection network mesh network repeater.Client device for relaying can connect successively with all access points and exchange messages, and realizes the automatic transmission of information.Meanwhile, the present invention connects automatically by adopting software droid equipment room, instead of all wants user to participate in license confirmation at every turn;
Concrete grammar is as follows:
The problem that under adopting the method setting up soft AP can solve wifi-direct framework, multiple equipment cannot be connected with one, sets up soft AP by router, as long as know SSID and the PSK secret key of this AP, multiple client device can be connected with this equipment.But, because SSID and PSK secret key (presharedkey) has system automatically to produce at random, therefore manually do not generate by program frame and specify, but we can utilize wifi-direct framework, this SSID and PSK secret key (presharedkey) is packed, and in Network Discovery Service process, is broadcast to miscellaneous equipment by soft AP.SSID and PSK secret key is with another independent key encryption, and unlike the PSK secret key of AP, this independent cryptographic keys can use program setting, and therefore each equipment can know this secret key in advance.
The software APP of equipment end is main in automatic running, and what realize is network service function, comprise two aspects: the WiFi between mobile terminal is direct-connected, disappeared by broadcast, then in network service discovery broadcasting process, secret key for AP password encryption can be preserved on each device in advance, and therefore user just can will confirm at every turn alternately.PSK secret key due to AP is that system produces at random, but the PSK secret key of the AP after encryption can be broadcasted away to other equipment by we, this addresses the problem each manual confirmation process, achieves the autoconnect function of equipment.
Routing unit 3 utilizes Wi-FiDirect to produce soft AP, and set up WiF connection group by the createGroup of WifiP2pManager class, this equipment is the owner (groupowner), and encapsulates SSID, MAC Address, connection state information, signcode in character string.Equipment, after completing soft AP and setting up, will send WIFI_P2P_-CONNECTION_CHANGED_ACTION message.By calling the addLocalService method of WifiP2pManager, realizing the client that broadcast service accepts UPNP broadcast and can monitor and catch this message at any time in the direct-connected process of WIFI; In order to make framework process more efficient, the present invention adopts and realizes network monitoring and connection by independent process, and for the purpose of simple designs, the connection of each client uses independent process.
Client-side information interactive unit 4 is by WIFI fillet router device, and the mutual transmission of information can be realized with all clients be connected under this router, client can monitor and catch, the Network Discovery Service message received of decoding, and store decoded SSID, PSK messaging list in client device.APP client can pass through timer mode, once after getting certain broadcast, then stops the monitoring of message; By WifiManager, APP client can judge which access point is the Best link access point in access point list at the appointed time, as, " the best " can be that signal is the strongest, or the access point once connected is defined as the highest connectivity option of priority.APP client connects MESH router device by WIFI, and the network communication services (netsockserver) that can be provided by this router realizes the mutual of information.Also comprise described mobile terminal by WiFi the point-to-point management interface of direct-connected or WiFi realize monitoring, registration, binding and start PNP Network finding messenger service.
Concrete manipulation is as shown in Fig. 3, Fig. 4, Fig. 5, and its reciprocal process is as follows:
At initial phase, acquisition for mobile terminal the SSID of each access point of decoding and password;
The information exchange of single AP and equipment;
The Message Transmission of mesh network.
As shown in Figure 3, mobile terminal receiving package is broadcasted containing the SSID of access point and password UPNP, decodes and stores.As shown in Figure 4, mobile terminal receives the information of access point, the information of self is issued the mobile terminal under access point simultaneously, realizes information interaction.As shown in Figure 5, the access point before mobile terminal disconnects connects, and then information is passed to the mobile terminal under other access point and this access point, realizes the mutual of information.
The message that multi-hop information unit 5 adopts has an indications UUID to indicate message id, and comprise a mac source address, UUID is that system produces at random simultaneously.Router or node client can the message that indicate of receiving belt UUID.If message was received, then ignored this message, and stop continuing to transmit; UUID number must be kept in a circular buffer, the size of this buffer by system in advance according to network and scale sets.If the message authentication that equipment end obtains is new information, then the MAC Address of self is attached in the MAC table listings of this message, and this Message Transmission is gone out.
The message data structure transmitted comprises as follows:
Message header:
(a) UUID: unique message identifier ID.Owing to confirming whether this message is received before.
(b) Message Type data (MessageTypeData): type of message (data/order) mainly comprises the following aspects:
– data are used for the reception of individual equipment;
The reception of – data all devices on whole network;
– order is used for the reception of individual equipment;
– order is used for the reception of a whole network equipment;
(c) device mac address inventory: be used for building the direction (whether this message is passed through by equipment as confirmed, then ignores this message in this way) that route data and acknowledge message are transmitted.
Data: for the message data transmitted.
Technique effect of the present invention is: build a kind of message multi-hop control method based on intelligent mobile terminal and system, monitors and receives the message of other mobile terminal broadcast, set up and maintain and the communication connection of this mobile terminal according to the message received; Information interaction as route: the bag message of encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected; Information interaction as client: the bag message of mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal; Described multi-hop message is transmitted between multiple mobile terminal established a communications link, and described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.By adopting WI-FIDirect technology, in the non-existent situation of traditional AP network equipment, supported the communication of point-to-point by WI-FIDirect equipment, secondly, the WI-FI equipment that the GroupOwner in WI-FIDirect equipment can be compatible traditional.The present invention, according to the framework of mesh network, allows the mobile terminal be in MESH network, and at a time main role is: router or client.Client can connect on the router, by this router access external network.In order to the scale of extend web mesh network, be bound to there is multiple border router in mesh network, and the client between two routers, the role of information relay (relay) can be served as, it can also disconnect the connection with this router from obtaining information a router provisionally, then repeat broadcast goes to another router, also can obtain data from another router simultaneously and return.This processes all do not need user manually to participate in reciprocal process, but automatically complete, and do not need root authority simultaneously yet.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1., based on a message multi-hop transmission method for intelligent mobile terminal, comprise the steps:
Monitor the message of access point: monitor and receive the message of other mobile terminal broadcast, set up according to the message received and the communication connection of maintenance and this mobile terminal;
Information interaction as route: the bag message of encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected;
Information interaction as client: the bag message of mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal;
Multi-hop Message Transmission: described multi-hop message is transmitted between multiple mobile terminal established a communications link, described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.
2. according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, described mobile terminal all adopts to be implemented to monitor and be connected by independent process.
3. according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, also comprise described mobile terminal by WiFi the point-to-point management interface of direct-connected or WiFi realize monitoring, registration, binding and start PNP Network finding messenger service.
4. according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, also comprise described mobile terminal by timer mode once after getting broadcast, then stop the monitoring of message.
5. according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, also comprise the optimum access point that described mobile terminal judges in access point list.
6., according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, described multi-hop message comprises the indications for indicating message.
7. according to claim 6 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, the number of described indications must be kept in a circular buffer, and the size of described circular buffer sets according to the scale of network in advance.
8. according to claim 1 based on the message multi-hop transmission method of intelligent mobile terminal, it is characterized in that, described type of message mark comprises following a few class type of message: data are used for the reception of individual equipment, the reception of data all devices on whole network, order is used for the reception of individual equipment, the reception of order all devices on whole network.
9. the message multi-hop transmission system based on intelligent mobile terminal, it is characterized in that, comprise monitoring unit, communication unit, routing unit, client-side information interactive unit, multi-hop information unit, described monitoring unit is monitored and is received the message of other mobile terminal broadcast, the message foundation of described communication unit according to reception and the communication connection of maintenance and this mobile terminal; The bag message of described routing unit encapsulation mobile terminal device, described bag message comprises SSID, MAC Address, connection state information, the signcode of mobile terminal, to the bag message of other this mobile terminal device of mobile terminal broadcast transmission, set up secure communication mechanism by the bag message of mobile terminal device and other mobile terminal, the WIFI undertaken between mobile terminal device by this secure communication mechanism is directly connected; The bag message of described client-side information interactive unit mobile terminal receive equipment, and decoding obtains SSID and the password of this mobile terminal, carries out information interaction with mobile terminal; The many transmission between multiple mobile terminal established a communications link of described multi-hop information unit jumps message, and described multi-hop message comprises message header and message data, and described message header comprises unique message identifier ID, type of message mark, device mac address inventory.
10. according to claim 9 based on the message multi-hop transmission system of intelligent mobile terminal, it is characterized in that, described message multi-hop transmission system adopts stratified energy mechanism, comprises articulamentum, routing management layer, file management layer, application layer.
CN201510566909.8A 2015-09-09 2015-09-09 Message multi-hop control method and system based on mobile terminal Active CN105101340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510566909.8A CN105101340B (en) 2015-09-09 2015-09-09 Message multi-hop control method and system based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510566909.8A CN105101340B (en) 2015-09-09 2015-09-09 Message multi-hop control method and system based on mobile terminal

Publications (2)

Publication Number Publication Date
CN105101340A true CN105101340A (en) 2015-11-25
CN105101340B CN105101340B (en) 2019-02-01

Family

ID=54580621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510566909.8A Active CN105101340B (en) 2015-09-09 2015-09-09 Message multi-hop control method and system based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105101340B (en)

Cited By (7)

* 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
CN105847321A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Intelligent terminal and system permission-free network configuration method thereof
CN106060970A (en) * 2016-03-11 2016-10-26 北京奇虎科技有限公司 Intelligent terminal and network configuration method thereof
CN107426726A (en) * 2017-07-07 2017-12-01 珠海市魅族科技有限公司 Network sharing method and device, terminal and storage medium
CN110278592A (en) * 2019-05-15 2019-09-24 深圳市优博讯科技股份有限公司 A kind of data communications method, terminal and system
CN111181807A (en) * 2019-12-26 2020-05-19 国汽(北京)智能网联汽车研究院有限公司 Communication interface device and multi-port communication interaction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600198A (en) * 2009-07-08 2009-12-09 西安电子科技大学 Wireless sensor network security trust method based on identity
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN103945369A (en) * 2013-01-18 2014-07-23 杭州古北电子科技有限公司 Internet access configuration method for WIFI device by checking length of WIFI data packets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600198A (en) * 2009-07-08 2009-12-09 西安电子科技大学 Wireless sensor network security trust method based on identity
CN103945369A (en) * 2013-01-18 2014-07-23 杭州古北电子科技有限公司 Internet access configuration method for WIFI device by checking length of WIFI data packets
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system

Cited By (9)

* 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
CN105847321A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Intelligent terminal and system permission-free network configuration method thereof
CN106060970A (en) * 2016-03-11 2016-10-26 北京奇虎科技有限公司 Intelligent terminal and network configuration method thereof
CN105721220B (en) * 2016-03-11 2019-08-27 北京安云世纪科技有限公司 Intelligent terminal and its network bottom layer configuration method
CN107426726A (en) * 2017-07-07 2017-12-01 珠海市魅族科技有限公司 Network sharing method and device, terminal and storage medium
CN110278592A (en) * 2019-05-15 2019-09-24 深圳市优博讯科技股份有限公司 A kind of data communications method, terminal and system
CN110278592B (en) * 2019-05-15 2021-12-10 深圳市优博讯科技股份有限公司 Data communication method, terminal and system
CN111181807A (en) * 2019-12-26 2020-05-19 国汽(北京)智能网联汽车研究院有限公司 Communication interface device and multi-port communication interaction method

Also Published As

Publication number Publication date
CN105101340B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN105101340A (en) Message multi-hop control method based on intelligent mobile terminal and system thereof
CN109417695A (en) A kind of communication path conversion method and equipment
CN101621747B (en) Reliable multicast transmission method of wireless mesh network
US20170099567A1 (en) Method and device for transmitting and receiving data in mesh network using bluetooth
CN102461323B (en) Communication method in an ieee 802.11 wireless lan environment
CN101371528A (en) Methods and apparatus for communicating device capability and/or setup information
KR20120070945A (en) Base station apparatus and data processing method in wireless communication system
EP2984902B1 (en) A method and a network structure for providing device connectivity to a radio access network
TW201141298A (en) Method and apparatus for implementing a blanket wireless local area network control plane
CN105245574A (en) Internet of things control method and system based on mobile terminal multihops
CN109195116A (en) A kind of application layer group broadcasting method of LPWAN Internet of Things
WO2010047914A3 (en) System for enabling communication over a wireless intermittently connected network
Lee et al. Wi-Fi direct based mobile ad hoc network
CN109526039A (en) A kind of method and apparatus sending system information
CN109041078A (en) A kind of service data transmission method and device
CN104662936B (en) A kind of method, apparatus and system for transmitting data
CN111787431B (en) Centralized meter reading system of dual-mode networking communication technology and implementation method thereof
Conner et al. IEEE 802.11 s Tutorial
JP2017532875A (en) Data exchange method, baseband processing unit, wireless remote unit and relay unit
CN103442450A (en) Wireless communication method and wireless communication equipment
CN103501354A (en) Method and device for obtaining base station self-starting configuration parameters
WO2013067941A1 (en) Identifier allocation method and device
CN102857918A (en) Vehicle-mounted communication system
JP2009171407A (en) Radio network system
WO2013114465A1 (en) Wireless multi-hop communication device and communication control method

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