CN111918383B - Bluetooth device and wireless local area network-based self-checking message synchronization method - Google Patents

Bluetooth device and wireless local area network-based self-checking message synchronization method Download PDF

Info

Publication number
CN111918383B
CN111918383B CN202010822983.2A CN202010822983A CN111918383B CN 111918383 B CN111918383 B CN 111918383B CN 202010822983 A CN202010822983 A CN 202010822983A CN 111918383 B CN111918383 B CN 111918383B
Authority
CN
China
Prior art keywords
module
message
host
checking
area 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.)
Active
Application number
CN202010822983.2A
Other languages
Chinese (zh)
Other versions
CN111918383A (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.)
Dalian Jiaotong University
Original Assignee
Dalian Jiaotong University
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 Dalian Jiaotong University filed Critical Dalian Jiaotong University
Priority to CN202010822983.2A priority Critical patent/CN111918383B/en
Publication of CN111918383A publication Critical patent/CN111918383A/en
Application granted granted Critical
Publication of CN111918383B publication Critical patent/CN111918383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The invention discloses a self-checking message synchronization method based on a Bluetooth device and a wireless local area network, wherein a host or a passenger plane comprises a message monitoring module, a notification screening module, a Bluetooth module, a local area network host module, a host checking module, a local area network passenger plane module, a passenger plane checking module, a message sending and receiving module, a clock module and a notification generating module, and the method is started according to actual conditions. The guest can also synchronize messages when the host receives the message notification. Meanwhile, the host computer and the passenger plane do uninterrupted message intercommunication, which is a solution capable of avoiding delay caused by server fluctuation and keeping connection in Bluetooth and local area network. Once the data is disconnected, the user can be informed of the fault elimination in time, and double insurance is realized. The method has very important significance in the aspect of message synchronization among intelligent devices, embedded devices or embedded devices.

Description

Bluetooth device and wireless local area network-based self-checking message synchronization method
Technical Field
The invention relates to the technical field of communication, in particular to a self-checking message synchronization method based on a Bluetooth device and a wireless local area network.
Background
With the continuous development of the internet and intelligent devices, the existence of multiple intelligent devices may cause a user to miss important message notifications or to notice untimely problems. The message synchronization by means of the Internet has the problems of high use cost and untimely pushing; conventional lan solutions have the problem of unknowing the user due to communication interruption caused by the limitations of the device itself. The use of bluetooth and local area networks as a dual means of message synchronization in the internet-free state is a solution.
Disclosure of Invention
The invention aims to provide a self-checking message synchronization method based on a Bluetooth device and a wireless local area network, and when a host receives a message notification, a passenger plane can synchronize the message. Meanwhile, the host computer and the passenger plane do uninterrupted message intercommunication, which is a solution capable of avoiding delay caused by server fluctuation and keeping connection in Bluetooth and local area network. Once the data is disconnected, the user can be informed of the fault elimination in time, and double insurance is realized. The method has very important significance in the aspect of message synchronization among intelligent devices, embedded devices or embedded devices so as to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a self-checking message synchronization method based on a Bluetooth device and a wireless local area network, wherein a host or a passenger plane comprises a message monitoring module, a notification screening module, a Bluetooth module, a local area network host module, a host checking module, a local area network passenger plane module, a passenger plane checking module, a message sending and receiving module, a clock module and a notification generating module, and is started according to actual conditions, wherein:
the message monitoring module is responsible for monitoring information received by the equipment and applying relevant authorities to the system when the message monitoring module is applied to the intelligent equipment;
the notification screening module judges the information, judges whether the source belongs to a preset application or not, and prevents redundant message interference;
the Bluetooth module is responsible for the connection between devices through Bluetooth, and the functions of sending and receiving the messages are controlled by the message sending and receiving module;
the local area network host module is used for starting an intranet host in the front local area network, and the address is intranet IP: an intranet port, wherein other devices of the intranet can detect and connect to the address;
the host checking module is responsible for receiving the checking information uploaded by the guest checking module and transmitting the checking success information to the guest checking module;
the local area network guest module is connected to the local area network host module through scanning and is responsible for receiving information issued by the local area network host module;
the guest checking module is responsible for starting a double clock, sending checking information to the host checking module at regular time and waiting for host reply;
the message sending and receiving module is responsible for operating each receiving and transmitting module to exchange information, and judging whether the currently connected equipment is connected through Bluetooth or local area network at the moment;
the clock module comprises a clock 1 and a clock 2, and the clock 1 sends verification information to the host verification module at regular time intervals;
the notification generation module is responsible for generating local notification information, and when the message sending and receiving module judges that the current information is a common text, the notification generation module generates reminding information, and the reminding information is assisted with acousto-optic display for reminding; and generating alarm information to prompt that the current connection check fails.
Further, the local area network guest module plays a role of issuing data and is controlled by the message sending and receiving module.
Further, the method comprises the following steps:
the user opens the Bluetooth module of the host and grants relevant authorities, the system can search the available equipment at present automatically, after the user selects the equipment to be connected, the Bluetooth module is controlled by the message sending and receiving module, the message monitoring module, the notification screening module and the message sending and receiving module are started at the same time, if the system is applied to the intelligent equipment, the message monitoring module applies the required authorities to the user and sends the notification message received by the host to the notification screening module, the notification screening module judges whether the sender of the current notification belongs to the preset sender, if so, the message sending and receiving module controls the Bluetooth module to send the message to the connected equipment, the passenger plane judges the text after receiving the Bluetooth message, and the passenger plane sends the notification to the user through the notification generating module if the passenger plane belongs to the common text message.
Further, the user opens the local area network host module, the system sets a default port value, the system returns an intranet IP value, and the intranet IP is formed by the default port value and the intranet IP value: the port, start the message monitoring module, notify the screening module at the same time, the message monitoring module will apply for the required permission to users, and send the notice received to notifying the screening module, notify the screening module to judge whether the sender of the present notice belongs to the sender of preseting, if yes, judge whether the apparatus that connects at present is connected through bluetooth or LAN again; if it is connected via a local area network, it is necessary to acquire all connected guests currently connected, at which point the message sending and receiving module will send the message to all devices.
Further, the guest opens the Bluetooth module, receives a connection request of the host Bluetooth device, and starts the message sending and receiving module, the host checking module, the guest checking module and the clock module. The message sending and receiving module judges whether the received text is check text or normal text. If the text is the check text, judging by a passenger plane check module; and if the text is the common text, the delivery notification generation module reminds the user.
Further, the guest starts a local area network guest module, fills in the generated IP value, directly generates an address containing the IP and the port by the system, respectively starts a host checking module, a guest checking module and a clock module after the host is connected with the guest, judges whether the received text is a checking text or a common text by a message sending and receiving module, and if the received text is the checking text, judges by the guest checking module; and if the text is the common text, the delivery notification generation module reminds the user.
Compared with the prior art, the invention has the beneficial effects that: the self-checking message synchronization method based on the Bluetooth device and the wireless local area network can synchronize the message notification of a plurality of intelligent devices in real time, and is a solution capable of avoiding delay caused by server fluctuation and keeping connection in Bluetooth and the local area network. Once the data is disconnected, the user can be informed of the fault elimination in time, and the message synchronization method is low in cost and good in effect. The use scene is wide, and the transplanting is convenient. There may be a wide range of applications between intelligent devices, between embedded devices and intelligent devices, or between embedded devices and embedded devices.
Drawings
FIG. 1 is a flow chart of a host portion of the present invention;
FIG. 2 is a flow chart of a portion of a guest of the present invention;
fig. 3 is a flow chart of a timing verification portion of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a self-checking message synchronization method based on a bluetooth device and a wireless local area network, wherein a host or a guest includes a message monitoring module, a notification screening module, a bluetooth module, a local area network host module, a host checking module, a local area network guest module, a guest checking module, a message sending and receiving module, a clock module, and a notification generating module, and is started according to actual situations, wherein:
the message monitoring module is responsible for monitoring information received by the device itself, and when the message monitoring module is applied to the intelligent device, related authorities need to be applied to the system.
The notification screening module judges the information, judges whether the source belongs to a preset application, and prevents redundant message interference.
The Bluetooth module is responsible for the connection between devices through Bluetooth, and the functions of sending and receiving messages are controlled by the message sending and receiving module.
The local area network host module is used for starting an intranet host in the front local area network, and the address is intranet IP: the intranet port (such as 192.168.1.101:8080), other devices of the intranet can detect and connect to the address, and the module plays a role of issuing data and is controlled by the message sending and receiving module.
The host checking module is responsible for receiving the checking information uploaded by the guest checking module and transmitting the checking success information to the guest checking module.
The local area network guest module is connected to the local area network host module through scanning and is responsible for receiving information issued by the local area network host module.
The guest checking module is responsible for starting the double clocks, sending checking information to the host checking module at regular time and waiting for host reply.
The message sending and receiving module is responsible for operating each transceiver module to exchange information, and at this time, whether the currently connected equipment is connected through Bluetooth or local area network is judged, and if the currently connected equipment is connected through local area network, the message needs to be sent to all the connected equipment.
The clock module comprises a clock 1 and a clock 2, and the clock 1 sends verification information to the host verification module at regular time intervals (such as 60 seconds); and at the same time, the clock 2 is activated to judge whether the check information is successfully received or not once every certain time interval (such as 3 seconds). If successful, closing the clock 2 and waiting for the next clock cycle of the clock 1; if the test fails, judging whether the retry times are less than a certain value (such as 3 times), if the test is true, waiting for the next clock cycle of the clock 2 to be judged again; if the local area network guest module is false, judging that the verification fails, closing the local area network guest module, the Bluetooth module, the clock 1 and the clock 2, and generating local alarm information.
The notification generation module is responsible for generating local notification information, and when the message sending and receiving module judges that the current information is a common text, the notification generation module generates reminding information, and the reminding information is assisted with acousto-optic display for reminding; and generating alarm information to prompt that the current connection check fails.
The operation flow of the invention comprises the following steps:
the user opens the Bluetooth module of the host and grants relevant authorities, the system can search the available equipment at present automatically, after the user selects the equipment to be connected, the Bluetooth module is controlled by the message sending and receiving module, the message monitoring module, the notification screening module and the message sending and receiving module are started at the same time, if the system is applied to the intelligent equipment, the message monitoring module applies the required authorities to the user and sends the notification message received by the host to the notification screening module, the notification screening module judges whether the sender of the current notification belongs to the preset sender, if so, the message sending and receiving module controls the Bluetooth module to send the message to the connected equipment, the passenger plane judges the text after receiving the Bluetooth message, and the passenger plane sends the notification to the user through the notification generating module if the passenger plane belongs to the common text message.
The user opens the local area network host module, the system sets a default port value (e.g. 8080), the system returns an intranet IP value, and the intranet IP value form an intranet IP: the port, start the message monitoring module, notify the screening module at the same time, the message monitoring module will apply for the required permission to users, and send the notice received to notifying the screening module, notify the screening module to judge whether the sender of the present notice belongs to the sender of preseting, if yes, judge whether the apparatus that connects at present is connected through bluetooth or LAN again; if it is connected via a local area network, it is necessary to acquire all connected guests currently connected, at which point the message sending and receiving module will send the message to all devices. The host part flow chart is shown in fig. 1.
The guest opens the Bluetooth module, receives the connection request of the host Bluetooth device, and starts the message sending and receiving module, the host checking module, the guest checking module and the clock module. The message sending and receiving module judges whether the received text is check text or normal text. If the text is the check text, judging by a passenger plane check module; and if the text is the common text, the delivery notification generation module reminds the user.
The guest starts a local area network guest module, fills in the generated IP value, directly generates an address (such as 192.168.1.101:8080) containing IP and a port by a system, respectively starts a host checking module, a guest checking module and a clock module after the host is connected with the guest, judges whether the received text is a checking text or a common text by a message sending and receiving module, and if the received text is the checking text, the checking text is judged by the guest checking module; if the text is the normal text, the notification generation module is used for reminding the user, and the flow chart of the guest part is shown in fig. 2.
And (3) checking: the clock 1 started by the guest check module controls the guest check module to send check information to the host at regular time, and at the same time, the clock 2 is started. And after receiving the verification information, the host verification module sends verification success information to the passenger plane. The clock 2 operates the guest checking module at regular time to judge the received information, if the information of successful check is received, the information is judged to be true, the clock 2 is closed, and the next clock cycle of the clock 1 is waited for the next check; the reception failure determines whether the current retry number is less than 3. If true, retry; if false, three times of reception fail, the connection is terminated, clock 1 and clock 2 are stopped, and the user is alerted. The timing verification portion flow chart is shown in fig. 3.
The scheme is properly expanded, and the method can be used for optimizing the verification flow, setting automatic searching and connecting with local area network IP, modifying verification passwords, simplifying or increasing the number of modules, expanding the use scene (such as using NFC and other communication modes), and transplanting to other non-intelligent devices (such as embedded devices and the like).
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should be covered by the protection scope of the present invention by making equivalents and modifications to the technical solution and the inventive concept thereof.

Claims (1)

1. A self-checking message synchronization method based on a Bluetooth device and a wireless local area network is characterized in that a host or a passenger plane comprises a message monitoring module, a notification screening module, a Bluetooth module, a local area network host module, a host checking module, a local area network passenger plane module, a passenger plane checking module, a message sending and receiving module, a clock module and a notification generating module, and is started according to actual conditions, wherein:
the message monitoring module is responsible for monitoring information received by the equipment and applying relevant authorities to the system when the message monitoring module is applied to the intelligent equipment;
the notification screening module judges the information, judges whether the source belongs to a preset application or not, and prevents redundant message interference;
the Bluetooth module is responsible for the connection between devices through Bluetooth, and the functions of sending and receiving the messages are controlled by the message sending and receiving module;
the local area network host module is used for starting an intranet host in the front local area network, and the address is intranet IP: an intranet port, wherein other devices of the intranet can detect and connect to the address;
the host checking module is responsible for receiving the checking information uploaded by the guest checking module and transmitting the checking success information to the guest checking module;
the local area network guest module is connected to the local area network host module through scanning and is responsible for receiving information issued by the local area network host module, and the local area network guest module plays a role of issuing data and is controlled by the message sending and receiving module;
the guest checking module is responsible for starting a double clock, sending checking information to the host checking module at regular time and waiting for host reply;
the message sending and receiving module is responsible for operating each receiving and transmitting module to exchange information, and judging whether the currently connected equipment is connected through Bluetooth or local area network at the moment;
the clock module comprises a clock 1 and a clock 2, and the clock 1 sends verification information to the host verification module at regular time intervals;
the notification generation module is responsible for generating local notification information, and when the message sending and receiving module judges that the current information is a common text, the notification generation module generates reminding information, and the reminding information is assisted with acousto-optic display for reminding; meanwhile, alarm information is generated to prompt that the current connection check fails;
the operation flow comprises the following steps:
the user opens the Bluetooth module of the host and grants relevant authorities, the system can search the current available equipment automatically, the user selects the equipment to be connected, after the connection is successful, the Bluetooth module is controlled by the message sending and receiving module, the message monitoring module, the notification screening module and the message sending and receiving module are started at the same time, if the system is applied to the intelligent equipment, the message monitoring module applies the required authorities to the user and sends the notification message received by the host to the notification screening module, the notification screening module judges whether the sender of the current notification belongs to the preset sender, if so, the message sending and receiving module controls the Bluetooth module to send the message to the connected equipment, the passenger plane judges the text after receiving the Bluetooth message, and if the passenger plane belongs to the common text message, the notification is sent to the user through the notification generating module;
the user opens the local area network host module, the system sets a default port value, the system returns an intranet IP value, and the intranet IP value form an intranet IP: the port, start the message monitoring module, notify the screening module at the same time, the message monitoring module will apply for the required permission to users, and send the notice received to notifying the screening module, notify the screening module to judge whether the sender of the present notice belongs to the sender of preseting, if yes, judge whether the apparatus that connects at present is connected through bluetooth or LAN again; if the connection is through the local area network, all connected airliners connected currently need to be acquired, and the message sending and receiving module sends the message to all devices;
the guest starts a Bluetooth module, receives a connection request of host Bluetooth equipment, starts a message sending and receiving module, a host checking module, a guest checking module and a clock module, and judges whether a received text is a checking text or a common text if the received text is the checking text, and then judges by the guest checking module; if the text is the common text, the delivery notification generation module reminds the user;
the guest starts a local area network guest module, fills in the generated IP value, directly generates an address containing the IP and a port by a system, respectively starts a host checking module, a guest checking module and a clock module after a host is connected with the guest, judges whether a received text is a checking text or a common text by a message sending and receiving module, and if the received text is the checking text, judges by the guest checking module; and if the text is the common text, the delivery notification generation module reminds the user.
CN202010822983.2A 2020-08-17 2020-08-17 Bluetooth device and wireless local area network-based self-checking message synchronization method Active CN111918383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010822983.2A CN111918383B (en) 2020-08-17 2020-08-17 Bluetooth device and wireless local area network-based self-checking message synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010822983.2A CN111918383B (en) 2020-08-17 2020-08-17 Bluetooth device and wireless local area network-based self-checking message synchronization method

Publications (2)

Publication Number Publication Date
CN111918383A CN111918383A (en) 2020-11-10
CN111918383B true CN111918383B (en) 2023-10-27

Family

ID=73278036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010822983.2A Active CN111918383B (en) 2020-08-17 2020-08-17 Bluetooth device and wireless local area network-based self-checking message synchronization method

Country Status (1)

Country Link
CN (1) CN111918383B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866502B (en) * 2022-05-17 2023-04-07 四川虹美智能科技有限公司 Method for pushing intelligent household appliance message

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898525A (en) * 2015-06-14 2015-09-09 上海北工光翔电气科技有限公司 Data acquisition device, data acquisition system and data acquisition method
CN106201372A (en) * 2016-06-28 2016-12-07 努比亚技术有限公司 Mobile terminal and file printing method
CN106506674A (en) * 2016-11-25 2017-03-15 腾讯科技(深圳)有限公司 Communication information synchronous method and device
CN107852420A (en) * 2016-06-16 2018-03-27 华为技术有限公司 The method and apparatus to be communicated between wearable device and mobile terminal
CN109819236A (en) * 2019-02-15 2019-05-28 西安勺子智能科技有限公司 A kind of multi-user's VR live broadcast system based on unmanned plane binocular video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486843A (en) * 2014-12-02 2015-04-01 英业达科技有限公司 Information notifying method and instant notifying equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898525A (en) * 2015-06-14 2015-09-09 上海北工光翔电气科技有限公司 Data acquisition device, data acquisition system and data acquisition method
CN107852420A (en) * 2016-06-16 2018-03-27 华为技术有限公司 The method and apparatus to be communicated between wearable device and mobile terminal
CN106201372A (en) * 2016-06-28 2016-12-07 努比亚技术有限公司 Mobile terminal and file printing method
CN106506674A (en) * 2016-11-25 2017-03-15 腾讯科技(深圳)有限公司 Communication information synchronous method and device
CN109819236A (en) * 2019-02-15 2019-05-28 西安勺子智能科技有限公司 A kind of multi-user's VR live broadcast system based on unmanned plane binocular video

Also Published As

Publication number Publication date
CN111918383A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US7814167B2 (en) System and method for obtaining remote instant messages
US20080191861A1 (en) Auto connect virtual keypad
US20090006654A1 (en) System and method for optimizing synchronization
CN106658377B (en) Communication method and device of low-power-consumption Bluetooth
CN104270533A (en) Event reminding method and device
CN110192428B (en) Method for message processing and associated device and apparatus
US20080005280A1 (en) Automatic data synchronization
CN111918383B (en) Bluetooth device and wireless local area network-based self-checking message synchronization method
CN111277483B (en) Multi-terminal message synchronization method, server and storage medium
CN102932733A (en) Mobile terminal as well as tracking method and tracking system thereof
CN101227456B (en) System and method for implementing data synchronization
US20120203857A1 (en) Short-Message Transfer Method, Subsystem and System
CN103167406A (en) Global positioning system monitoring method and monitoring equipment and monitoring system
CN101106548B (en) Device and method for realizing storage and disaster tolerance in multimedia message service system
CN112332955B (en) Data synchronization method, system and storage medium
CN103368791B (en) A kind of IEC104 protocol massages fast automatic detecting method
KR101973264B1 (en) Clocks timing fault recovery method and apparatus in precision time protocol system
CN107222385B (en) Chat message synchronization method and device
CN114448594B (en) Communication frequency synchronization method and system
EP1873986B1 (en) Automatic data synchronization
WO2016188499A1 (en) Network management method and apparatus, network device and data synchronization system
CN100356745C (en) Data transmission method based on signaling asynchronous transmission mode adaptive layer and its use
JPH11274996A (en) Restart system for base station device
JPH0764472A (en) Remote i/o system of programmable controller
US20080037564A1 (en) Network device and method for starting v5 connection thereof

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