CN111918414A - Wireless multiple redundant communication method based on android system - Google Patents

Wireless multiple redundant communication method based on android system Download PDF

Info

Publication number
CN111918414A
CN111918414A CN202010732980.XA CN202010732980A CN111918414A CN 111918414 A CN111918414 A CN 111918414A CN 202010732980 A CN202010732980 A CN 202010732980A CN 111918414 A CN111918414 A CN 111918414A
Authority
CN
China
Prior art keywords
application program
communication
client
server
android
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010732980.XA
Other languages
Chinese (zh)
Inventor
马保军
范德业
蔡欢媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Emdoor Digital Technology Co ltd
Original Assignee
Emdoor Digital 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 Emdoor Digital Technology Co ltd filed Critical Emdoor Digital Technology Co ltd
Priority to CN202010732980.XA priority Critical patent/CN111918414A/en
Publication of CN111918414A publication Critical patent/CN111918414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • 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 provides a wireless multiple redundant communication method based on an android system, and belongs to the technical field of terminal application. The invention comprises the following steps: the first device and the second device are respectively provided with a first application program and a second application program, and the first application program and the second application program are operated; selecting a first device as a server and a second device as a client; the first application program and the second application program respectively inquire the communication modes of the server and the client; when the same communication mode exists between the server and the client, one of the same communication mode is selected in the first application program and the second application program, and connection is established; after the connection is successful, the first application program and the second application program automatically and uninterruptedly monitor the communication state, and the server side can perform data interaction with the client side. The invention has the beneficial effects that: by the wireless multiple redundant communication method, redundant communication among multiple android devices in a complex environment is realized, and the integrity of data interaction is improved.

Description

Wireless multiple redundant communication method based on android system
Technical Field
The invention relates to the technical field of terminal application, in particular to a wireless multiple redundancy communication method based on an android system.
Background
The wireless redundant communication control on the Android device refers to communication (such as WIFI, Zigbee, Bluetooth and the like) between the Android devices on the basis of hardware with multiple wireless communication, and data communication errors cannot be caused even if any one (or two) wireless access is disconnected by a redundant control method, so that the integrity of data is achieved. The existing network redundancy communication is basically based on network cable connection of a switch, a router and the like, namely, the two same network chips are used for controlling, so that one network in the communication process can continue to ensure data communication after the other network goes wrong.
In the long-term research, development, debugging and verification work, various external conditions are often restricted, no relevant external switch or routing equipment is provided, the equipment is subjected to some temperature experiments, vibration experiments, humidity experiments and the like, the direct connection operation of workers through cables is difficult, but the equipment needs to be ensured to be capable of keeping correct data communication with the external equipment, and the like, so that a method capable of realizing multiple redundant communication without the help of external relevant equipment is needed.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a wireless multiple redundant communication method based on an android system.
The invention provides a wireless multiple redundant communication method based on an android system, which comprises the following steps:
step 1: the first device is provided with a first application program, the second device is provided with a second application program, and the first application program and the second application program are respectively operated;
step 2: selecting a first device as a server and a second device as a client;
and step 3: the first application program queries the communication mode of the server, and the second application program queries the communication mode of the client;
and 4, step 4: judging whether the same communication mode exists between the server side and the client side;
and 5: when the same communication mode exists between the server and the client, one of the same communication mode is selected in the first application program, and the second application program selects the communication mode corresponding to the first application program and establishes connection;
step 6: when the connection is successful, the server and the client are both displayed as a connection state;
and 7: the first application program and the second application program automatically and continuously monitor whether the communication state keeps connection or not;
and 8: when the communication states of the server and the client are kept connected, the server can directly perform data interaction with the client.
In step 8, when the function button for sending the file is triggered at the service endpoint, the method further includes the following steps:
step 801: the first application program sends the file to a second application program of the appointed client;
step 802: the second application program analyzes and stores the received file;
step 803: and the second application program feeds back the message of the received file to the first application program of the server side.
In step 1, the first application program and the second application program are the same wireless multiple redundant communication program which is developed based on an android platform and applied to an android device.
The invention is further improved, in the step 2, the number of the clients is 1 or more.
In step 4, when the same wireless communication mode does not exist between the server and the client, the server and the client cannot perform redundant communication.
In step 7, after the first application program or the second application program detects that the communication connection is disconnected, it is determined whether the server and the client have other same communication modes, when the server and the client have other same communication modes, the first application program selects the communication mode, and the second application program selects the communication mode corresponding to the first application program to reestablish the communication connection.
The invention is further improved, when the server and the client do not have other same communication modes, the server and the client enter a standby state to wait for communication recovery.
In a further improvement of the present invention, in step 7, the time interval between the first application program and the second application program for automatically and continuously monitoring whether the communication status remains connected is 1 second.
In step 8, the first application program and the second application program are provided with exit keys, and the server and the client can cut off the remote communication connection by clicking the exit keys.
In step 8, the first application program and the second application program are further provided with other redundant function keys, and the other redundant function keys are application interfaces to which functions are to be added.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a wireless multiple redundant communication method based on an android system, which can realize redundant communication among a plurality of android devices in a complex environment without adding external auxiliary equipment, and can switch to other normal communication modes for data interaction continuously through a communication redundant mode if one or two communication mode faults occur in the communication process, thereby improving the integrity of data interaction among the devices, and particularly has wide application in debugging/testing inside some research and development enterprises.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is an interface diagram of a first application of the present invention;
FIG. 3 is an interface diagram of a second application of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1, the wireless multiple redundancy communication method based on the android system provided by the present invention includes the following steps:
step 1: the first device is provided with a first application program, the second device is provided with a second application program, and the first application program and the second application program are respectively operated;
step 2: selecting a first device as a server and a second device as a client;
and step 3: the first application program queries the communication mode of the server, and the second application program queries the communication mode of the client;
and 4, step 4: judging whether the same communication mode exists between the server side and the client side;
and 5: when the same communication mode exists between the server and the client, one of the same communication mode is selected in the first application program, and the second application program selects the communication mode corresponding to the first application program and establishes connection;
step 6: when the connection is successful, the server and the client are both displayed as a connection state;
and 7: the first application program and the second application program automatically and continuously monitor whether the communication state keeps connection or not;
and 8: when the communication states of the server and the client are kept connected, the server can directly perform data interaction with the client.
As shown in fig. 1, in step 8, when the function button for sending a file is triggered at the service endpoint, the method further includes the following steps:
step 801: the first application program sends the file to a second application program of the appointed client;
step 802: the second application program analyzes and stores the received file;
step 803: and the second application program feeds back the message of the received file to the first application program of the server side.
The first application program and the second application program are connected, so that wireless multiple redundant communication can be performed between the server and the client, the redundant communication among multiple android devices in a complex environment is realized through the wireless multiple redundant communication method, and the integrity of data interaction is improved.
As shown in fig. 1, in step 1, the first application program and the second application program are the same wireless multiple redundant communication program which is developed based on an android platform and applied to an android device, and at present, the applications are wider in an android environment, and the operation is more stable in the android environment.
As shown in fig. 1, in step 2, the number of the clients is 1 or more, and the server can perform data interaction with not only one client but a plurality of clients.
As shown in fig. 1, in step 4, when the service end and the client do not have the same wireless communication mode, the service end and the client cannot perform redundant communication.
As shown in fig. 1, in step 7, after detecting that the communication connection is disconnected, the first application program or the second application program determines whether the server and the client have other same communication modes, when the server and the client have other same communication modes, the first application program selects the communication mode, and the second application program selects the communication mode corresponding to the first application program, reestablishes the communication connection, and increases the integrity of data interaction.
As shown in fig. 1, when the server and the client do not have other same communication modes, the server and the client enter a standby state to wait for communication recovery.
As shown in fig. 1, in step 7, the time interval for the first application program and the second application program to automatically and continuously monitor whether the communication state is kept connected is 1 second, and the first application program and the second application program will automatically check whether the communication state is normal every 1 second, so as to ensure that the communication state of the first application program and the second application program is normal.
As shown in fig. 2 and 3, in step 8, the first application program and the second application program are provided with an exit key, and the server and the client can cut off the telecommunication connection by clicking the exit key.
As shown in fig. 2 and 3, in step 8, the first application program and the second application program are further provided with other redundant function keys, and the other redundant function keys are application interfaces to be added with functions, so that the server and the client can add other new communication modes conveniently.
As shown in fig. 2, after the remote communication is successfully established, the first application program of the server controls the interface, wherein the function keys include creating connection, sending a file, clearing a sending area, clearing a receiving area, WIFI redundancy, bluetooth redundancy, ZIGBEE redundancy, other redundancy, a client, a server, and exiting, except for displaying the information of the local device and the information of the communication client:
and establishing connection for the server side and the client side to establish communication connection.
And sending the file, wherein the file is sent to the client by the server.
And the clearing sending area is used for clearing the information displayed in the sending area.
And the clearing receiving area is used for clearing the information displayed in the receiving area.
And the WIFI redundancy is used for taking the WiFi communication as a communication connection mode.
And the Bluetooth redundancy is used for taking Bluetooth communication as a communication connection mode.
ZIGBEE redundancy is used for taking ZIGBEE communication as a communication connection mode.
And other redundancies are used for adding other new communication modes later.
A client for selecting the device as a client.
And the server is used for selecting the equipment as the server.
And exiting for cutting off the communication connection between the server and the client.
As shown in fig. 3, after the communication is successfully established, the second application program of the client controls the interface, wherein the function keys include creating connection, sending a file, clearing a sending area, clearing a receiving area, WIFI redundancy, bluetooth redundancy, ZIGBEE redundancy, other redundancy, the client, the server, and exiting, except for displaying the information of the local device and the information of the communication server:
and establishing connection for the server side and the client side to establish communication connection.
And sending the file, wherein the file is sent to the server by the server.
And the clearing sending area is used for clearing the information displayed in the sending area.
And the clearing receiving area is used for clearing the information displayed in the receiving area.
And the WIFI redundancy is used for taking the WiFi communication as a communication connection mode.
And the Bluetooth redundancy is used for taking Bluetooth communication as a communication connection mode.
ZIGBEE redundancy is used for taking ZIGBEE communication as a communication connection mode.
And other redundancies are used for adding other new communication modes later.
A client for selecting the device as a client.
And the server is used for selecting the equipment as the server.
And exiting for cutting off the communication connection between the server and the client.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a wireless multiple redundant communication method based on an android system, which can realize redundant communication among a plurality of android devices in a complex environment without adding external auxiliary equipment, and can switch to other normal communication modes for data interaction continuously through a communication redundant mode if one or two communication mode faults occur in the communication process, thereby improving the integrity of data interaction among the devices, and particularly has wide application in debugging/testing inside some research and development enterprises.
The above-described embodiments are intended to be illustrative, and not restrictive, of the invention, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (10)

1. A wireless multiple redundant communication method based on an android system is characterized by comprising the following steps:
step 1: the first device is provided with a first application program, the second device is provided with a second application program, and the first application program and the second application program are respectively operated;
step 2: selecting a first device as a server and a second device as a client;
and step 3: the first application program queries the communication mode of the server, and the second application program queries the communication mode of the client;
and 4, step 4: judging whether the same communication mode exists between the server side and the client side;
and 5: when the same communication mode exists between the server and the client, one of the same communication mode is selected in the first application program, and the second application program selects the communication mode corresponding to the first application program and establishes connection;
step 6: when the connection is successful, the server and the client are both displayed as a connection state;
and 7: the first application program and the second application program automatically and continuously monitor whether the communication state keeps connection or not;
and 8: when the communication states of the server and the client are kept connected, the server can directly perform data interaction with the client.
2. The android system-based wireless multiple redundant communication method of claim 1, wherein: in step 8, when the function button for sending the file is triggered at the service endpoint, the method further includes the following steps:
step 801: the first application program sends the file to a second application program of the appointed client;
step 802: the second application program analyzes and stores the received file;
step 803: and the second application program feeds back the message of the received file to the first application program of the server side.
3. The android-system-based wireless multiple redundant communication method according to claim 2, wherein in step 1, the first application program and the second application program are the same wireless multiple redundant communication program which is developed based on an android platform and applied to an android device.
4. The android-system-based wireless multiple redundant communication method of claim 3, wherein in step 2, the number of the clients is 1 or more.
5. The android-system-based wireless multiple redundant communication method of claim 4, wherein in step 4, when the same wireless communication mode does not exist between the server and the client, the server and the client cannot perform redundant communication.
6. The android-system-based wireless multiple redundant communication method of claim 5, wherein in step 7, after detecting that the communication connection is disconnected, the first application program or the second application program determines whether the server and the client have other same communication modes, when the server and the client have other same communication modes, the first application program selects the communication mode, and the second application program selects the communication mode corresponding to the first application program to reestablish the communication connection.
7. The android-system-based wireless multiple redundant communication method of claim 6, wherein when the server and the client do not have other same communication modes, the server and the client enter a standby state to wait for communication recovery.
8. The android-based wireless multiple redundant communication method of claim 7, wherein in step 7, the time interval for the first application program and the second application program to automatically and continuously monitor whether the communication status remains connected is 1 second.
9. The android-system-based wireless multiple redundant communication method of claim 8, wherein in step 8, the first application program and the second application program are provided with an exit key, and the server and the client can cut off the remote communication connection by clicking the exit key.
10. The method according to claim 9, wherein in step 8, the first application program and the second application program are further provided with other redundant function keys, and the other redundant function keys are application interfaces to which functions are to be added.
CN202010732980.XA 2020-07-27 2020-07-27 Wireless multiple redundant communication method based on android system Pending CN111918414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010732980.XA CN111918414A (en) 2020-07-27 2020-07-27 Wireless multiple redundant communication method based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010732980.XA CN111918414A (en) 2020-07-27 2020-07-27 Wireless multiple redundant communication method based on android system

Publications (1)

Publication Number Publication Date
CN111918414A true CN111918414A (en) 2020-11-10

Family

ID=73280140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010732980.XA Pending CN111918414A (en) 2020-07-27 2020-07-27 Wireless multiple redundant communication method based on android system

Country Status (1)

Country Link
CN (1) CN111918414A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956575A (en) * 2005-10-28 2007-05-02 乐金电子(中国)研究开发中心有限公司 Method for transmitting data between mobile communication terminals using mobile application program
US20110246894A1 (en) * 2010-04-06 2011-10-06 Asustek Computer Inc. File sharing method and system
CN103916852A (en) * 2012-12-28 2014-07-09 联想(北京)有限公司 Data transmission method and mobile terminal
CN108307286A (en) * 2016-09-23 2018-07-20 北京京东尚科信息技术有限公司 It is a kind of to realize the method and system communicated between Android device based on NFC
US20180213473A1 (en) * 2015-09-22 2018-07-26 Estmob Inc. System, method and program for p2p file transfer
CN108429751A (en) * 2018-03-15 2018-08-21 广州优视网络科技有限公司 File transfer control method, device and computer readable storage medium, terminal
US20180242135A1 (en) * 2015-09-02 2018-08-23 Lg Electronics Inc. Method and device for exchanging connection capability information in wireless communication system
CN108696847A (en) * 2017-03-31 2018-10-23 兄弟工业株式会社 Communication equipment, non-transitory computer readable recording medium and the method executed by communication equipment
CN109168152A (en) * 2018-08-27 2019-01-08 优视科技新加坡有限公司 A kind of method and device thereof, the equipment/terminal/server of file transmission
CN110505712A (en) * 2018-05-17 2019-11-26 华为技术有限公司 A kind of method and terminal for transmitting file

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956575A (en) * 2005-10-28 2007-05-02 乐金电子(中国)研究开发中心有限公司 Method for transmitting data between mobile communication terminals using mobile application program
US20110246894A1 (en) * 2010-04-06 2011-10-06 Asustek Computer Inc. File sharing method and system
CN103916852A (en) * 2012-12-28 2014-07-09 联想(北京)有限公司 Data transmission method and mobile terminal
US20180242135A1 (en) * 2015-09-02 2018-08-23 Lg Electronics Inc. Method and device for exchanging connection capability information in wireless communication system
US20180213473A1 (en) * 2015-09-22 2018-07-26 Estmob Inc. System, method and program for p2p file transfer
CN108307286A (en) * 2016-09-23 2018-07-20 北京京东尚科信息技术有限公司 It is a kind of to realize the method and system communicated between Android device based on NFC
CN108696847A (en) * 2017-03-31 2018-10-23 兄弟工业株式会社 Communication equipment, non-transitory computer readable recording medium and the method executed by communication equipment
CN108429751A (en) * 2018-03-15 2018-08-21 广州优视网络科技有限公司 File transfer control method, device and computer readable storage medium, terminal
CN110505712A (en) * 2018-05-17 2019-11-26 华为技术有限公司 A kind of method and terminal for transmitting file
CN109168152A (en) * 2018-08-27 2019-01-08 优视科技新加坡有限公司 A kind of method and device thereof, the equipment/terminal/server of file transmission

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RISE UP LABS: "Bluetooth&Wifi App Box Pro share with buddies", 《HTTPS://APPS.APPLE.COM/CN/APP/BLUETOOTH-WIFI-APP-BOX-PRO-SHARE-WITH-BUDDIES/ID359357403》 *
苗振兴: "基于ANDROID平台的WIFI文件传输系统的研究与实现", 《信息科技辑》 *
闫阿宾,王菁: "动态网络环境下面向移动端的文件传输方法", 《计算机与现代化》 *

Similar Documents

Publication Publication Date Title
US6115743A (en) Interface system for integrated monitoring and management of network devices in a telecommunication network
CA2608341C (en) Remote network node management system and method
CN108965123A (en) A kind of link switch-over method and network communicating system
CN101902697A (en) System and method for monitoring and operating service through mobile equipment
CN104243205A (en) Message processing method and device used during virtual switch fault
CN110457176A (en) For the monitoring method of distributed system, device, storage medium and electronic equipment
CN111585797A (en) Ethernet link switching method, device, equipment and computer readable storage medium
JP2005237018A (en) Data transmission to network management system
JPH11234272A (en) Compound communication terminal equipment management system and compound communication terminal equipment
CN111918414A (en) Wireless multiple redundant communication method based on android system
JPH02292932A (en) Data transmission system
KR100274848B1 (en) Network management method for network management system
JPH04299743A (en) Computer network system
CN105323088A (en) Springboard processing method and springboard processing device
CN114500157B (en) Redundancy implementation system based on CAN gateway, electronic device and computer readable storage medium
CN108737220B (en) Test system of routing equipment
JPH09331339A (en) Monitor controller
CN109245864B (en) ETH-CAN communication front-end detection device based on self-feedback and error self-detection method
CN111899495A (en) Wireless master-slave device control method based on android system
KR100256672B1 (en) Data consistency method on communication management network environment
CN115134838A (en) UPF fault detection method and device based on 5G, electronic equipment and storage medium
CN115150373A (en) Audio transmission method, terminal device and computer-readable storage medium
CN116614412A (en) Terminal abnormality repairing method, device, system, storage medium and electronic equipment
JPH09224040A (en) Multiplexing switch
JPH09160875A (en) Multi-agent mutual back-up system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110

RJ01 Rejection of invention patent application after publication