CN110225542A - A kind of method and system of wearable device handover network - Google Patents

A kind of method and system of wearable device handover network Download PDF

Info

Publication number
CN110225542A
CN110225542A CN201910459335.2A CN201910459335A CN110225542A CN 110225542 A CN110225542 A CN 110225542A CN 201910459335 A CN201910459335 A CN 201910459335A CN 110225542 A CN110225542 A CN 110225542A
Authority
CN
China
Prior art keywords
bluetooth
wifi
central control
control system
network
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
CN201910459335.2A
Other languages
Chinese (zh)
Other versions
CN110225542B (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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201910459335.2A priority Critical patent/CN110225542B/en
Publication of CN110225542A publication Critical patent/CN110225542A/en
Application granted granted Critical
Publication of CN110225542B publication Critical patent/CN110225542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0027Control or signalling for completing the hand-off for data sessions of end-to-end connection for a plurality of data sessions of end-to-end connections, e.g. multi-call or multi-bearer end-to-end data connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

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

Abstract

The invention discloses a kind of method of wearable device handover network, includes the following steps: to access network using GSM network access mode when central control system initialization, realize the normal communication of wearable device and internet;In central control system operational process, WIFI network access mode or bluetooth network access mode are switched to by way of interrupt response;Wherein, the implementation procedure of the interrupt response mode are as follows: step 1, WIFI networking module or bluetooth networking module initiate networking interrupt requests, corresponding interruption position 1;Step 2, central control system run RTOS, and response is interrupted, and corresponding interrupt requests function are closed, by corresponding interruption position 0;The connection request that the present invention handles WIFI by central control system interrupt response or bluetooth networks, to solve wearable device from GSM network access mode to WIFI, the flexible switching of bluetooth network access mode, it is further ensured that equipment normally accesses network, avoids the data transmission fails as caused by network connection failure.

Description

A kind of method and system of wearable device handover network
Technical field
The present invention relates to Network Connection fields, and in particular to a kind of method and system of wearable device handover network.
Background technique
Intelligent wearable device is using increased, however wearable device usually unstable causes network to connect due to being connected to the network Exception is connect, causes data to send abnormal.
It is shown according to network surveying, usually network is accessed using a certain internetwork connection mode in existing wearable device, when certain A kind of unusable then entire wearable device of internetwork connection mode is in suspension state, causes wearable device can not be normal through mutual Networking carries out data exchange, influences the use applied on line, causes user's using effect poor.
In the prior art, Chinese patent application (method and system of a kind of bluetooth and WIFI switching, 201710595570.3) method of a kind of bluetooth and WIFI switching is disclosed, is sentenced according to the transmittability of data transfer mode The mode of the disconnected switching for whether needing to carry out bluetooth or WIFI transmission and data forward, still, which can not be coped with multiple Heterocycle border, once and bluetooth module perhaps WIFI module sends failure or communication link and disconnects, then not can guarantee data Real-time stabilization transmission, causes the loss and lag of data.
Summary of the invention
The purpose of the present invention is to overcome the shortcomings of the existing technology and deficiency, provides a kind of side of wearable device handover network Method, this method can ensure that wearable device normally accesses network, and the transmission for causing data due to network connection failure is avoided to fail.
Another object of the present invention is to provide a kind of systems of wearable device handover network.
The purpose of the invention is achieved by the following technical solution:
A kind of method of wearable device handover network, includes the following steps:
Network is accessed using GSM network access mode when central control system initializes, is realizing wearable device and internet just Normal open letter;In central control system operational process, it is switched to WIFI network access mode by way of interrupt response or bluetooth networks Mode;
Wherein, the implementation procedure of the interrupt response mode are as follows:
Step 1, WIFI networking module or bluetooth networking module initiate networking interrupt requests, corresponding interruption position 1;
Step 2, central control system run RTOS, and response is interrupted, and corresponding interrupt requests function is closed, will be corresponding Interruption position 0;
Step 3 is networked using WIFI or bluetooth, continues to send information;
Step 4 when WIFI or bluetooth networking while being sent, excellent since WIFI interrupt requests are higher than bluetooth interrupt requests WIFI interrupt requests are first responded, and cancel bluetooth interrupt requests simultaneously;
Wherein, the WIFI, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system timing continuously transmit three heartbeat packets to equipment connecting pin;
Step 2, central control system use dma mode, receive heartbeat packet, true if receiving at least one heartbeat packet It is normal to recognize WIFI connection, otherwise WIFI is disconnected;
Step 3 then allows WIFI request to interrupt, and is switched to GSM network connection side when confirmation WIFI is disconnected Formula;
Wherein, the bluetooth, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system use dma mode, read bluetooth module LED pin high level frequency, if high electricity Flat frequency is 0.5HZ, then it is assumed that bluetooth disconnects;If high level frequency is 0.2HZ, then it is assumed that bluetooth connection is normal;
Step 2, when confirmation bluetooth disconnect, then allow BlueTooth request to interrupt, and be switched to GSM network connection side Formula.
A kind of system of wearable device handover network, including central control system, and with the central control system phase Bluetooth networking module, WIFI networking module and the GSM networking module of connection;
The central control system responds interrupt requests, the switching of tri- kinds of real-time control bluetooth, WIFI, GSM network access modes;
The central control system is built on microprocessor, and by operation RTOS realize to the bluetooth, The real-time response of tri- kinds of network access modes of WIFI, GSM.
Preferably, the central control system is run on embedded microprocessor using RTOS system.
Preferably, the bluetooth networking module uses HC-05 module, and the WIFI networking module uses SKW92A module, The GSM networking module uses SIM900 module.
The present invention have compared with prior art it is below the utility model has the advantages that
The connection request that the present invention handles WIFI by central control system interrupt response or bluetooth networks, to solve Wearable device is further ensured that equipment normally accesses net from GSM network access mode to WIFI, the flexible switching of bluetooth network access mode Network avoids the data transmission fails as caused by network connection failure;Towards complex environment, it is especially the need for stabilized communication In the environment of function, which has intelligence, can be realized and switches communication mode automatically to cope with changeable environment;When The error of some communication hardware, the invention have hardware error correcting capability, another can be selected reliable by switching communication mode Communication equipment ensure that the reliability of data transmission as communications carrier.
Detailed description of the invention
Fig. 1 is response type networking connection method schematic diagram of the present invention;
Fig. 2 is response type networking connection method flow chart of the present invention;
Fig. 3 is WIFI of the present invention networking connection on-off decision flow chart;
Fig. 4 is bluetooth of the present invention networking connection on-off decision flow chart.
Specific embodiment
Present invention will now be described in further detail with reference to the embodiments and the accompanying drawings, but embodiments of the present invention are unlimited In this.
As shown in figures 1-4, a kind of method of wearable device handover network, includes the following steps:
As shown in Figure 1, central control system initialize when using GSM network access mode access network, realize wearable device with The normal communication of internet;In central control system operational process, WIFI network access mode is switched to by way of interrupt response Or bluetooth network access mode.
Wherein, as shown in Fig. 2, the implementation procedure of the interrupt response mode are as follows:
Step 1, WIFI networking module or bluetooth networking module initiate networking interrupt requests, corresponding interruption position 1;
Step 2, central control system run RTOS, and response is interrupted, and corresponding interrupt requests function is closed, will be corresponding Interruption position 0;
Step 3 is networked using WIFI or bluetooth, continues to send information;
Step 4 when WIFI or bluetooth networking while being sent, excellent since WIFI interrupt requests are higher than bluetooth interrupt requests WIFI interrupt requests are first responded, and cancel bluetooth interrupt requests simultaneously.
Wherein, as shown in figure 3, the WIFI, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system timing continuously transmit three heartbeat packets to equipment connecting pin;
Step 2, central control system use dma mode, receive heartbeat packet, true if receiving at least one heartbeat packet It is normal to recognize WIFI connection, otherwise WIFI is disconnected;
Step 3 then allows WIFI request to interrupt, and is switched to GSM network connection side when confirmation WIFI is disconnected Formula.
Specifically, WIFI networking module triggers central control system WIFI interrupt response position, by the interrupt response position 1 is set, networking interrupt response is requested, central control system response is interrupted, stops GSM network, be switched to WIFI networking connection type Network is connected, and closes WIFI interrupt response, while by the interrupt response position 0.Above if two kinds interrupt while generating, Then preferentially use WIFI networking connection type.GSM network is used if two kinds of connection types disconnect;It networks and connects for WIFI It is connection if receiving heartbeat packet, if not receiving the heart by judging whether to receive heartbeat packet whether connecing its disconnection of mode Bao Zewei is jumped to disconnect and (disconnect and then use GSM network).
Wherein, as shown in figure 4, the bluetooth, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system use dma mode, read bluetooth module LED pin high level frequency, if high electricity Flat frequency is 0.5HZ, then it is assumed that bluetooth disconnects;If high level frequency is 0.2HZ, then it is assumed that bluetooth connection is normal;
Step 2, when confirmation bluetooth disconnect, then allow BlueTooth request to interrupt, and be switched to GSM network connection side Formula.
Specifically, the bluetooth interrupt response position of bluetooth networking module triggering central control system, by the interrupt response Position 1, requests networking interrupt response, and central control system response is interrupted, stops GSM network, be switched to bluetooth networking connection side Formula connects local area network, and closes bluetooth interrupt response, while by the interrupt response position 0;It networks and connects for bluetooth By judging that bluetooth module LED pin PWM waveform changes whether its disconnection of mode, if high level frequency is in a cycle 0.2HZ is then connection, is then to disconnect and (disconnecting then using GSM network) if 0.5HZ.
A kind of system of wearable device handover network, including central control system, and with the central control system phase Bluetooth networking module, WIFI networking module and the GSM networking module of connection;The bluetooth networking module uses HC-05 module, institute WIFI networking module is stated using SKW92A module, the GSM networking module uses SIM900 module.
The central control system responds interrupt requests, the switching of tri- kinds of real-time control bluetooth, WIFI, GSM network access modes;
The central control system is built on microprocessor, and by operation RTOS realize to the bluetooth, The real-time response of tri- kinds of network access modes of WIFI, GSM;The central control system runs on embedded micro process using RTOS system On device.
The connection request that the present invention handles WIFI by central control system interrupt response or bluetooth networks, to solve Wearable device is further ensured that equipment normally accesses net from GSM network access mode to WIFI, the flexible switching of bluetooth network access mode Network avoids the data transmission fails as caused by network connection failure;Towards complex environment, it is especially the need for stabilized communication In the environment of function, which has intelligence, can be realized and switches communication mode automatically to cope with changeable environment;When The error of some communication hardware, the invention have hardware error correcting capability, another can be selected reliable by switching communication mode Communication equipment ensure that the reliability of data transmission as communications carrier.
Above-mentioned is the preferable embodiment of the present invention, but embodiments of the present invention are not limited by the foregoing content, His any changes, modifications, substitutions, combinations, simplifications made without departing from the spirit and principles of the present invention, should be The substitute mode of effect, is included within the scope of the present invention.

Claims (4)

1. a kind of method of wearable device handover network, which is characterized in that include the following steps:
Network is accessed using GSM network access mode when central control system initializes, realizes the positive normal open of wearable device and internet Letter;In central control system operational process, WIFI network access mode or bluetooth network access mode are switched to by way of interrupt response;
Wherein, the implementation procedure of the interrupt response mode are as follows:
Step 1, WIFI networking module or bluetooth networking module initiate networking interrupt requests, corresponding interruption position 1;
Step 2, central control system run RTOS, and response is interrupted, and corresponding interrupt requests function are closed, by corresponding interruption Position 0;
Step 3 is networked using WIFI or bluetooth, continues to send information;
Step 4 when WIFI or bluetooth networking while being sent, preferential to ring since WIFI interrupt requests are higher than bluetooth interrupt requests WIFI interrupt requests are answered, and cancel bluetooth interrupt requests simultaneously;
Wherein, the WIFI, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system timing continuously transmit three heartbeat packets to equipment connecting pin;
Step 2, central control system use dma mode, receive heartbeat packet, confirm if receiving at least one heartbeat packet WIFI connection is normal, otherwise WIFI is disconnected;
Step 3 then allows WIFI request to interrupt, and is switched to GSM network connection type when confirmation WIFI is disconnected;
Wherein, the bluetooth, which networks, connects the judgement process of on-off are as follows:
Step 1, central control system use dma mode, read bluetooth module LED pin high level frequency, if high level frequency Rate is 0.5HZ, then it is assumed that bluetooth disconnects;If high level frequency is 0.2HZ, then it is assumed that bluetooth connection is normal;
Step 2, when confirmation bluetooth disconnect, then allow BlueTooth request to interrupt, and be switched to GSM network connection type.
2. a kind of system of wearable device handover network, which is characterized in that controlled including central control system, and with the center Bluetooth networking module, WIFI networking module and the GSM networking module that system processed is connected;
The central control system responds interrupt requests, the switching of tri- kinds of real-time control bluetooth, WIFI, GSM network access modes;
The central control system is built on microprocessor, and by operation RTOS realize to the bluetooth, WIFI, The real-time response of tri- kinds of network access modes of GSM.
3. the system of wearable device handover network according to claim 1, which is characterized in that the central control system uses RTOS system is run on embedded microprocessor.
4. the system of wearable device handover network according to claim 1, which is characterized in that the bluetooth networking module uses HC-05 module, the WIFI networking module use SKW92A module, and the GSM networking module uses SIM900 module.
CN201910459335.2A 2019-05-29 2019-05-29 Method and system for switching network of wearable device Active CN110225542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910459335.2A CN110225542B (en) 2019-05-29 2019-05-29 Method and system for switching network of wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910459335.2A CN110225542B (en) 2019-05-29 2019-05-29 Method and system for switching network of wearable device

Publications (2)

Publication Number Publication Date
CN110225542A true CN110225542A (en) 2019-09-10
CN110225542B CN110225542B (en) 2022-08-02

Family

ID=67818839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910459335.2A Active CN110225542B (en) 2019-05-29 2019-05-29 Method and system for switching network of wearable device

Country Status (1)

Country Link
CN (1) CN110225542B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984462A (en) * 2006-04-07 2007-06-20 华为技术有限公司 Wireless network system, its switching method and mobile station-transferring equipment
WO2008078206A2 (en) * 2006-12-20 2008-07-03 Nokia Corporation Suspending existing wlan link before starting bluetooth device discovery
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
CN104581893A (en) * 2014-12-08 2015-04-29 上海斐讯数据通信技术有限公司 Network access device and switching method thereof for accessing to multiple networks
CN105025158A (en) * 2015-05-29 2015-11-04 广西大学 Multifunctional data transmission device
CN106056875A (en) * 2016-05-26 2016-10-26 深圳市天鼎微波科技有限公司 Achievement method of multi-antenna unmanned aerial vehicle system
EP3167650A1 (en) * 2014-07-07 2017-05-17 Telefonaktiebolaget LM Ericsson (publ) Resolving competing handover conditions in wireless networks
CN107155204A (en) * 2017-07-20 2017-09-12 广东工业大学 The method and system that a kind of bluetooth switches with Wifi
CN108924777A (en) * 2018-07-27 2018-11-30 深圳市荣盛智能装备有限公司 A kind of redundance communicating method for individual soldier's command system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984462A (en) * 2006-04-07 2007-06-20 华为技术有限公司 Wireless network system, its switching method and mobile station-transferring equipment
WO2008078206A2 (en) * 2006-12-20 2008-07-03 Nokia Corporation Suspending existing wlan link before starting bluetooth device discovery
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
EP3167650A1 (en) * 2014-07-07 2017-05-17 Telefonaktiebolaget LM Ericsson (publ) Resolving competing handover conditions in wireless networks
CN104581893A (en) * 2014-12-08 2015-04-29 上海斐讯数据通信技术有限公司 Network access device and switching method thereof for accessing to multiple networks
CN105025158A (en) * 2015-05-29 2015-11-04 广西大学 Multifunctional data transmission device
CN106056875A (en) * 2016-05-26 2016-10-26 深圳市天鼎微波科技有限公司 Achievement method of multi-antenna unmanned aerial vehicle system
CN107155204A (en) * 2017-07-20 2017-09-12 广东工业大学 The method and system that a kind of bluetooth switches with Wifi
CN108924777A (en) * 2018-07-27 2018-11-30 深圳市荣盛智能装备有限公司 A kind of redundance communicating method for individual soldier's command system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘艳虹: ""3G与WiFi双模终端的无缝切换算法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN110225542B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN109412770B (en) Communication means and device
US5109483A (en) Node initiating xid exchanges over an activated link including an exchange of sets of binding signals between nodes for establishing sessions
CN102185753B (en) Device for realizing dual-backup switching of Ethernet link inside communication equipment
CN104378729B (en) Mobile communications network service implementation method and mobile terminal system
JPH08279822A (en) Bridging device between mutual nonadaptable communication networks
CN109005565A (en) A kind of conversation managing method and device
CN108011797B (en) Ethernet communication system based on 1553B protocol
CN101841929A (en) Wireless control terminal of electrical appliance with networking capability
CN108156149A (en) Communication means and system based on Transmission Control Protocol
CN103731303A (en) Method and device of vertical converged framework for achieving multi-active detection
CN110224875A (en) A kind of multichannel main/slave link fast switch over method and system
CN110225542A (en) A kind of method and system of wearable device handover network
EP1379026A1 (en) Dual rate wireless transmission system
CN101859480A (en) Electric appliance wireless control network
CN105049367A (en) Traffic distribution method of aggregated link and access device
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
US10270652B2 (en) Network management
CN106603443B (en) A method of carrying out data exchange in aggregated server system
CN205647567U (en) Thing networking gateway and thing communication network system
TWI774045B (en) Mobile communication devices and methods for multi-sim connection management
CN105848307B (en) Support the mixing apparatus and system of LTE and 3G communication standard
CN108011798B (en) NC and RT data communication method
CN114095408B (en) Ethernet debugging dynamic reconfiguration system of radar processor
JPH01119151A (en) System switching system for communication control equipment
CN110890984B (en) Dual-computer hot standby switching method based on isolation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant