[go: up one dir, main page]

WO2018157338A1 - Dual-medium complementary communication method, and wireless communication apparatus and system - Google Patents

Dual-medium complementary communication method, and wireless communication apparatus and system Download PDF

Info

Publication number
WO2018157338A1
WO2018157338A1 PCT/CN2017/075366 CN2017075366W WO2018157338A1 WO 2018157338 A1 WO2018157338 A1 WO 2018157338A1 CN 2017075366 W CN2017075366 W CN 2017075366W WO 2018157338 A1 WO2018157338 A1 WO 2018157338A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless communication
sound wave
communication device
module
perform
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.)
Ceased
Application number
PCT/CN2017/075366
Other languages
French (fr)
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.)
Shenzhen Emums Life Technology Co Ltd
Original Assignee
Shenzhen Emums Life 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 Emums Life Technology Co Ltd filed Critical Shenzhen Emums Life Technology Co Ltd
Priority to CN201780013573.XA priority Critical patent/CN108780600A/en
Priority to PCT/CN2017/075366 priority patent/WO2018157338A1/en
Publication of WO2018157338A1 publication Critical patent/WO2018157338A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Definitions

  • the invention belongs to the field of near field wireless transmission technology, and in particular relates to a dual medium complementary communication method, a wireless communication device and a system.
  • the anti-lost device When the anti-lost device is used, the anti-lost device is worn on the items, animals or people that need to be prevented from being lost, and the Bluetooth binding of the intelligent terminal is established to establish a signal connection, and the signal strength thereof increases with the distance between the anti-lost device and the intelligent terminal. Large and weak, when the distance is too long, the signal strength is too low or the connection is interrupted can trigger the alarm behavior of both the application and the anti-lost device on the smart terminal, thereby reminding the user to avoid loss. And when it is necessary to find the lost object, the smart terminal can also search for the Bluetooth signal of the target item, and the strength of the searched Bluetooth signal indicates the distance of the lost object.
  • the anti-lost device can also be established by re-establishing the Bluetooth connection between the two.
  • the alarm sounds, so that it is easy to find the lost property.
  • the anti-lost device has a wide range of uses and obvious effects, and has achieved huge market sales.
  • due to the limitation of the stability of the Bluetooth connection itself the high false alarm rate has always become a hindrance in practical use. In daily life, the main factors affecting the stability of Bluetooth are the following.
  • the human body blocks, in general, the body's blockage can cause 30dB or even higher attenuation, the blockage of two people can cause the Bluetooth signal to completely disconnect within a few meters, and this is unavoidable in use.
  • WIFI wireless fidelity
  • Bluetooth work in the 2.4G Hz spectrum basically coincide, so in densely populated communities and commercial areas, many WIFI nodes will cause more interference to Bluetooth communication, Increased packet loss rate and increased probability of disconnection.
  • the baseband communication work during a telephone call also affects the stability of Bluetooth.
  • Bluetooth devices In actual use, its signal value fluctuates greatly, and the anti-lost device has a long connection interval because it has to take care of low power consumption.
  • the broadcast interval is 500ms to 1000ms, so the strength between two adjacent signals is usually 10-20dB. Jumping between, for example, the signal value received in the first 1 second is -65dB, and it may become -80dB in the next second. Based on the strength of the two signals, the estimated distance may be about 1 meter to 20 meters.
  • the Bluetooth of the anti-lost device is difficult to calculate the distance value according to its intensity. Therefore, the ordinary Bluetooth anti-lost device can not be well adapted to indoor, outdoor and other different living environments, and cannot prevent accidental interference. The influence of factors causes either false positives or slow response, which is not satisfactory to users. These problems become common experience defects of anti-lost devices.
  • the embodiments of the present invention provide a dual-media complementary communication method, a wireless communication device, and a system, so as to solve the problem that the prior art cannot prevent accidental interference factors, causing either a false alarm or a slow response and failing to satisfy the user.
  • the dual medium complementary communication method includes:
  • the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is allocated for sound wave communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is cycled by the first preset time period. Emitted, the N is a positive integer greater than or equal to 1.
  • the method further includes:
  • the loss alarm includes one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.
  • the method further includes:
  • the method further includes:
  • step of initiating the communication communication between the initiating wireless communication module and the first wireless communication device specifically includes:
  • the MAC address and the universal unique identifier have pairing rights and are not connected to other devices, perform radio connection communication with the first wireless communication device.
  • the dual medium complementary communication method includes: starting a wireless communication module to perform broadcast to perform connection communication with a second wireless communication device, where the broadcast information includes a MAC address of the local end and a communication Use a unique identification code;
  • the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is first
  • the preset duration is an interval period transmission, and the N is a positive integer greater than or equal to 1.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the broadcast is continued to connect the second wireless communication device again, and the buzzer is turned off after waiting for the fourth predetermined duration.
  • the second wireless communication device includes:
  • a first communication unit configured to start a wireless communication module to perform connection communication with the first wireless communication device
  • a second communication unit configured to receive, by the microphone module, sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number to perform sound wave communication when the wireless connection information of the first wireless communication device is not received, the sound wave
  • the information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.
  • the device further includes:
  • the interrupting alarm unit is configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first wireless communication device by radio within a second preset time period, Then, a loss alarm is performed, and the lost alarm includes one or a combination of an alarm sound of a preset frequency, a warning interface, or a vibration.
  • the device further includes:
  • a device number allocation unit configured to determine whether the first wireless communication device has been allocated an acoustic wave device No. If no, the sonic device number is assigned to the first wireless communication device.
  • the device further includes:
  • the pseudo interrupt processing unit is configured to: if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, perform a loss alarm and attempt to perform radio connection communication with the first wireless communication device.
  • the first communication unit specifically includes:
  • the information receiving module is configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code;
  • a permission query module configured to access the cloud server to query whether the MAC address and the universal unique identifier have pairing rights
  • the communication module is configured to perform radio connection communication with the first wireless communication device if the MAC address and the universal unique identifier have pairing rights and are not connected to other devices.
  • the second wireless communication device includes:
  • a processor configured to start a wireless communication module to perform connection communication with the first wireless communication device; and when the wireless connection information of the first wireless communication device cannot be received, receive, by the microphone module, the first wireless communication device corresponding to the allocated acoustic wave device number
  • the sound wave information is sent to perform acoustic wave communication, wherein the sound wave information generates N high frequency sound wave sequences according to the sound wave device number, and is transmitted at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.
  • the processor is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is not received within the second preset time period, and cannot pass through the second preset time period When the radio is connected to the first wireless communication device, a loss alarm is performed, and the lost alarm includes one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.
  • the processor is further configured to determine whether the acoustic device number has been allocated for the first wireless communication device, and if not, allocate the acoustic wave device number to the first wireless communication device.
  • the processor is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, not performing a loss alarm, and simultaneously attempting to use the first wireless communication The device performs radio connection communication.
  • the processor is further configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identifier; and access the cloud server to query whether the MAC address and the universal unique identifier have the pairing authority; The MAC address and the universal unique identifier have pairing rights and are not connected to other devices, and perform radio connection communication with the first wireless communication device.
  • the first wireless communication device includes:
  • a third communication unit configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier;
  • a fourth communication unit configured to: when the wireless communication with the second wireless communication device is disconnected, start the buzzer to generate sound wave information for performing sonic communication, the sound wave information is to generate N high frequency signals according to the sound wave device number
  • the sound wave sequence is transmitted at intervals of a first preset duration, and the N is a positive integer greater than or equal to 1.
  • the device further includes:
  • the device number obtaining unit is configured to receive and save the sound wave device number sent by the second wireless communication device.
  • the device further includes:
  • the first waiting unit is configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.
  • the device further includes:
  • the first wireless communication device includes: a processor, configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier; If the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is first
  • the preset duration is an interval period transmission, and the N is greater than or equal to A positive integer of 1.
  • the processor is further configured to receive and save the sound wave device number sent by the second wireless communication device.
  • the processor is further configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.
  • the processor is further configured to continue to broadcast to connect the second wireless communication device again, and turn off the buzzer after waiting for a fourth preset duration.
  • the dual medium complementary communication system includes:
  • the second wireless communication device communicates with the first wireless communication device via two media, radio and acoustic.
  • the embodiment of the present invention performs connection communication with the first wireless communication device by starting the wireless communication module; when the wireless connection information of the first wireless communication device cannot be received, the allocated sound wave device is received by the microphone module.
  • the sound wave information sent by the first wireless communication device corresponding to the number is used for sound wave communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, N is a positive integer greater than or equal to 1.
  • the embodiment of the present invention enhances the connection robustness by utilizing the auxiliary radio communication for receiving and transmitting sound waves, effectively improves the reliability of the radio work, and greatly improves the use experience. .
  • FIG. 1 is a schematic diagram of a dual medium complementary communication system according to another embodiment of the present invention.
  • FIG. 2 is a flowchart of implementing a dual medium complementary communication method of a second wireless communication device according to an embodiment of the present invention
  • FIG. 3 is a flowchart of implementing a dual medium complementary communication method of a first wireless communication apparatus according to another embodiment of the present invention.
  • FIG. 4 is a structural diagram of a second wireless communication apparatus according to another embodiment of the present invention.
  • FIG. 5 is a structural diagram of a second wireless communication apparatus according to another embodiment of the present invention.
  • FIG. 6 is a structural diagram of a first wireless communication apparatus according to another embodiment of the present invention.
  • FIG. 7 is a structural diagram of a first wireless communication apparatus according to another embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a system scenario of dual-media complementary communication according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment are shown.
  • the system includes a plurality of first wireless communication devices 2 and a second wireless communication device 1, and the second wireless communication device 1 communicates with the first wireless communication device 2 by radio and acoustic waves.
  • Wireless methods include, but are not limited to, Bluetooth.
  • the second wireless communication device shown includes, but is not limited to, a smartphone, a tablet, and a tablet.
  • the first wireless communication device 2 includes an anti-lost device.
  • the second wireless communication device 1 includes a Bluetooth module, a microphone and a speaker, and the processor can control access to the microphone;
  • the first wireless communication device 2 includes a Bluetooth module and a buzzer, and its processor can control access to the buzzer.
  • the anti-lost device activates the Bluetooth module to broadcast to perform connection communication with the second wireless communication device 1,
  • the broadcast information includes a first wireless communication device MAC address and a universal unique identification code.
  • the second wireless communication device 1 activates the Bluetooth module to receive the MAC address of the anti-lost device and the universal unique identification code; the access cloud server 3 queries whether the MAC address and the universal unique identifier have the pairing authority; if the MAC address and the universal unique identification The code has the pairing authority and is not connected to other devices, and then performs connection and communication binding with the anti-lost device; after the Bluetooth connection, the sonic device number is allocated to the anti-lost device through pseudo-random calculation.
  • the anti-lost device determines whether the sonic device number has been assigned to the first wireless communication device, and if not, assigns the sonic device number to the first wireless communication device.
  • the wireless connection information of the first wireless communication device is not received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is according to the sound wave device. No. generating a sequence of acoustic signals consisting of three high frequency sound waves of a first preset duration; the first wireless device continues to broadcast to reconnect the second wireless communication device 1 and is turned off after waiting for the fourth predetermined duration The buzzer.
  • the second wireless communication device 1 receives the sound wave information sent by the first wireless communication device corresponding to the sound wave device number through the microphone module; if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, And failing to connect to the first wireless communication device by radio within a second preset time period, and performing a loss alarm, the loss alarm including one or more combinations of a preset frequency alarm sound, a warning interface or a vibration And if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, no loss alarm is performed, and at the same time, attempting to perform radio connection communication with the first wireless communication device.
  • the first preset duration is a transmission interval period of the high frequency sound wave signal sequence
  • the second preset duration is an alarm determination time of the second wireless communication device
  • the third preset duration is that the anti-lost device starts after the Bluetooth communication is disconnected.
  • the waiting time of the high frequency buzzer Preferably, the first preset duration is 5 seconds, the second preset duration is 10-60 seconds, and the third preset duration is 5 seconds.
  • the fourth preset duration is 20-60 seconds.
  • the first wireless communication device when the first wireless communication device Bluetooth connection is disconnected, the first wireless communication device continues the Bluetooth broadcast, waits for the connection to be restored with the terminal, and after a delay of 5 seconds, according to the assigned acoustic wave device number, three segments are issued according to the specific combination.
  • the high frequency sound wave of the frequency band is separated by 5 seconds. If it waits for 5 seconds after the sound wave is emitted, it will cycle until the total time reaches the third preset time length, and the Bluetooth still has not established a connection.
  • the first wireless communication The device enters the disconnection alarm mode and issues a 4k Hz alarm to alert the user that the anti-lost device has been disconnected.
  • the smart terminal After the Bluetooth connection of the anti-lost device is disconnected and the signal broadcast of the anti-lost device cannot be received, the smart terminal turns on the microphone to capture the high-frequency sound wave of a specific frequency.
  • the Bluetooth broadcast or sound wave signal is not searched within the second preset time period, it can be determined that the anti-lost device has been moved away, and the alarm mode is entered after the second preset time period; if the alarm mode is received before entering the alarm mode
  • the broadcast to the anti-lost device, reconnecting or receiving the acoustic signal triggers the second wireless device timer to restart timing and delay the alarm.
  • test data shows that the dual-medium complementary hybrid communication mode can make the anti-lost device almost completely avoid false alarms within a distance of 10 meters, and the anti-lost device can ensure the timely validity of the response when it is indeed far away from the loss.
  • this method has a parallel effect in enhancing system reliability, and only when Bluetooth and sound waves are faulty, false alarms are generated, and reliability is improved several times.
  • the following describes the usage scenario of the system by using the first wireless communication device as the data collection point and the second wireless communication device as the mobile terminal:
  • the following uses the dual communication mechanism of sound wave and Bluetooth, which is composed of intelligent terminal and data collection point.
  • the intelligent terminal has networking capability, the data collection point is powered by battery, equipped with a Bluetooth transceiver chip and an ultrasonic transmitter, and operates in a low power mode.
  • the intelligent terminal is connected to the data collection point to obtain the data of the collection point in real time.
  • Sex when the data collection point collects the data of the specific situation or some of the defined events occur, it needs to be reported to the system in time, thus requiring high reliability. Sex,.
  • Bluetooth systems are used. When Bluetooth communication is interfered, the communication link cannot be established, which may cause serious control accidents, and the robustness of the system is also affected.
  • the intelligent terminal can always be in the “listening” mode, so that when the terminal node fails to connect, it can transmit through the backup second data link and pass the data through the sound chain.
  • the road is transmitted, and the link is not easily suppressed by radio interference, and the fault point and the fault range can be determined according to the actual connection condition, thereby facilitating accident management.
  • Another application scenario is that the first wireless communication device and the second wireless communication device are integrated into one device for Beacon positioning:
  • the existing Beacon positioning is limited by the interference characteristics of the Bluetooth signal itself, which is difficult to implement.
  • the Bluetooth strength is good at close range, and the positioning accuracy can be achieved, but the distance is generally only 1 to 3 meters.
  • it will be affected by many factors, such as obstacle blocking and reflection, WIFI interference, relative orientation of the device, etc., so the distance to Beacon in iOS system is only immediate, near, far, unknown.
  • the state corresponds to within 20cm, within 1m, outside of 1m and unknown (generally no signal).
  • Beacon's indoor positioning is currently limited by large-scale commercial use. Some of the indoor Beacon positioning technologies that have been commercialized are relying solely on Beacon's Bluetooth signal, but many compromises have been made to achieve positioning.
  • High-density Beacon is used. Density to compensate for the lack of precision, but the cost of maintenance and investment is unacceptable, about every 10-50 square meters of each such density, but in fact, generally 100-200 square meters of shops only need to be equipped 1-2 devices, otherwise it will cause obstacles to the promotion and maintenance.
  • the device With the positioning method of Bluetooth plus sound wave, the device periodically emits sound waves while emitting Beacon broadcast, and the individual can achieve coverage of about 300 square meters.
  • FIG. 2 is a flowchart of an implementation process of a dual-media complementary communication method for a second wireless communication device according to another embodiment of the present invention.
  • the execution body of the embodiment is the second wireless communication device 1 in FIG. Details are as follows:
  • step S201 the wireless communication module is activated to perform connection communication with the first wireless communication device.
  • the second wireless communication device starts the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code; and the access cloud server queries whether the MAC address and the universal unique identification code have the pairing authority; If the MAC address and the universal unique identifier have pairing rights and are not connected to other devices, perform radio connection communication with the first wireless communication device.
  • step S201 determining whether the first wireless communication device has been allocated sound
  • the wave device number if not, distributes the sonic device number to the first wireless communication device by pseudorandom calculation.
  • the first wireless connection is disconnected, if the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is not received, and the radio connection cannot be made within the second preset time period.
  • a loss alarm is performed, the loss alarm including one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.
  • step S202 when the wireless connection information of the first wireless communication device is not received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is Generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.
  • the first wireless communication device emits sound wave information through a buzzer.
  • the smart terminal performs Bluetooth reconnection after detecting the Bluetooth broadcast of the first wireless communication device.
  • the embodiment of the invention enhances the connection robustness by using auxiliary communication for receiving and transmitting sound waves, thereby effectively improving the reliability of the operation of the first wireless communication device, and the sound wave has the advantages of long wavelength and being difficult to be blocked by the human body.
  • the sound wave is sent to indicate whether the device is nearby, or when the Bluetooth signal RSSI of the device receiving the smart terminal is reduced, the device starts sound wave transmission, and the smart terminal can simultaneously according to the loudness of the sound or The transmission time of the sound determines the distance.
  • the first wireless communication device activates the sound wave emitted by the sounding device, and refers to a sound wave of a specific frequency or a sound wave signal modulated by the data, and preferably uses a high frequency sound wave that is not easily detected by the human ear, and the anti-lost app is detected. RSSI is reduced or lost.
  • the microphone Before entering the alarm mode, the microphone can be turned on. When the sound wave of the device is received, it can be determined that the item is still nearby, and the alarm mode can be temporarily disabled. If the Bluetooth and sound waves are not available within the agreed time, Upon receiving, it can be determined that the first wireless communication device has been moved away, and an alarm can be triggered. In this mode, the false alarm rate of the first wireless communication device is reduced.
  • FIG. 3 is a flowchart of an implementation of a first wireless communication device-side dual-media complementary communication method according to another embodiment of the present invention.
  • the execution body of the embodiment is the first wireless communication device in FIG. as follows:
  • step S301 the wireless communication module is activated to perform broadcast communication with the second wireless communication device, and the broadcast information includes a MAC address of the local end and a universal unique identification code.
  • the method further includes:
  • step S302 if the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number. And transmitting at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.
  • the method further includes:
  • the method further includes:
  • the broadcast is continued to connect the second wireless communication device again, and the buzzer is turned off after waiting for the fourth predetermined duration.
  • the first preset duration is a waiting time for the preset anti-lost device to start the buzzer after the Bluetooth communication is disconnected.
  • the first preset duration is 5 seconds
  • the second preset duration is 10-60 seconds
  • the third preset duration is 5 seconds
  • the fourth preset duration is 20-60 seconds.
  • the first wireless communication device when the first wireless communication device Bluetooth connection is disconnected, the first wireless communication device continues Bluetooth Broadcast, waiting to resume connection with the terminal, and after a delay of 10 seconds, according to the assigned sonic device number, three-band high-frequency sound waves are emitted according to a specific combination, with an interval of 5 seconds. If waiting for 5 seconds after emitting sound waves, Bluetooth still If the connection is not established, the sound wave signal is sent continuously for the first preset time period. When the fourth preset time period is exceeded, the first wireless communication device enters the disconnection alarm mode, and a 4k Hz alarm sound is issued to remind the user that the first wireless communication device has Disconnected.
  • the smart terminal After the Bluetooth connection of the first wireless communication device is disconnected, and the signal broadcast of the first wireless communication device cannot be received, the smart terminal turns on the microphone to capture the high frequency sound wave of the specific frequency.
  • the algorithm extracts the sound wave information.
  • the Bluetooth broadcast or sound wave signal is not searched within the second preset time period, it can be determined that the first wireless communication device has been moved away, and after this time, the alarm mode is entered; if the alarm mode is received before entering the alarm mode
  • the broadcast of a wireless communication device, reconnecting or receiving an acoustic signal triggers a restart of the timer and delays the alarm.
  • FIG. 4 shows a composition of a second wireless communication device according to another embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the second wireless communication device includes: a first communication unit 41, a second communication unit 42, an interrupt alarm unit 43, and a device number assignment unit 44.
  • the first communication unit 41 is configured to start a wireless communication module to perform connection communication with the first wireless communication device.
  • the second communication unit 42 is configured to receive, by the microphone module, sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number to perform acoustic wave communication when the wireless connection information of the first wireless communication device cannot be received,
  • the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is transmitted at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.
  • the device further includes:
  • the interrupting alarm unit 43 is configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first wireless communication device by radio within a second preset time period a loss alarm, which includes an alarm sound of a preset frequency, One or more combinations of warning interfaces or vibrations.
  • the device further includes:
  • the device number assigning unit 44 is configured to determine whether the first wireless communication device has been assigned an acoustic device number, and if not, to assign the acoustic device number to the first wireless communication device.
  • the device further includes:
  • the pseudo interrupt processing unit 45 is configured to: if receiving the sound wave information sent by the first wireless communication device corresponding to the sound wave device number, do not perform a loss alarm, and at the same time, attempt to perform radio connection communication with the first wireless communication device.
  • the first communication unit 41 specifically includes:
  • the information receiving module is configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code;
  • a permission query module configured to access the cloud server to query whether the MAC address and the universal unique identifier have pairing rights
  • the communication module is configured to perform radio connection communication with the first wireless communication device if the MAC address and the universal unique identifier have pairing rights and are not connected to other devices.
  • the second wireless communication device provided in this embodiment may be used in the foregoing corresponding dual-media complementary communication method.
  • the second wireless communication device dual-media complementary communication method in FIG. 2 may be used in the foregoing corresponding dual-media complementary communication method.
  • each unit included in the second wireless communication device embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented;
  • the specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of protection of the present application.
  • FIG. 5 is a diagram showing the configuration of a second wireless communication device according to another embodiment of the present invention.
  • the second wireless communication device provided by the embodiment of the present invention may be used to implement the method corresponding to the embodiment of FIG. 2, Parts related to the embodiments of the present invention are shown, and the specific technical details are not disclosed, please Referring to Figure 2, the corresponding embodiment.
  • the second wireless communication device 1 includes a processor 51, a wireless communication module 52, and a microphone module 53.
  • the processor 51 is configured to initiate a wireless communication module to perform connection communication with the first wireless communication device; when the first wireless cannot be received
  • the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is generated by generating N high frequency sound waves according to the sound wave device number. And sequenced and transmitted at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.
  • the processor 51 is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first part by radio within a second preset time period A wireless communication device performs a loss alarm including one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.
  • the processor 51 is further configured to determine whether the first wireless communication device has been assigned an acoustic device number, and if not, to allocate the acoustic device number to the first wireless communication device.
  • the processor 51 is further configured to: if receiving the sound wave information sent by the first wireless communication device corresponding to the sound wave device number, do not perform a loss alarm, and at the same time, attempt to perform radio with the first wireless communication device. Connect communication.
  • the processor 51 is further configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identifier; and access the cloud server to query whether the MAC address and the universal unique identifier have the pairing authority; The MAC address and the universal unique identifier have pairing rights, and are not connected to other devices, and perform radio connection communication with the first wireless communication device.
  • FIG. 5 does not constitute a limitation of the second wireless communication device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
  • FIG. 6 shows a composition of a first wireless communication device according to another embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the first wireless communication device includes a third communication unit 61, a fourth communication unit 62, a device number acquisition unit 63, a first waiting unit 64, and a connection closing unit 65.
  • the third communication unit 61 is configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier;
  • the fourth communication unit 62 is configured to: when the wireless communication with the second wireless communication device is disconnected, start the buzzer to generate sound wave information for performing sonic communication, and the sound wave information is generated according to the sound wave device number to generate N high
  • the frequency sound wave sequence is transmitted at intervals of a first preset duration, and the N is a positive integer greater than or equal to 1.
  • the device further includes:
  • the device number obtaining unit 63 is configured to receive and save the sound wave device number sent by the second wireless communication device.
  • the device further includes:
  • the first waiting unit 64 is configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.
  • the device further includes:
  • the connection closing unit 65 is configured to continue broadcasting to connect the second wireless communication device again, and close the buzzer after waiting for the fourth predetermined duration.
  • the first wireless communication device provided in this embodiment may use the dual media complementary communication method of the corresponding first wireless communication device.
  • the dual media complementary communication method of the first wireless communication device may be used.
  • each unit included in the second wireless communication device embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented;
  • the specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of protection of the present application.
  • FIG. 7 is a block diagram showing the structure of a first wireless communication device according to another embodiment of the present invention.
  • the first wireless communication device provided in the embodiment can be used to implement the method in the corresponding embodiment of FIG. 3.
  • FIG. 7 For the convenience of description, only the parts related to the embodiment of the present invention are shown. For details, please refer to FIG. Corresponding to the embodiment.
  • the first wireless communication device 2 includes: a wireless communication module 71, a buzzer 72, and a processor 73.
  • the processor 73 is configured to start the wireless communication module 71 to broadcast to perform connection communication with the second wireless communication device.
  • the broadcast information includes a MAC address of the local end and a universal unique identifier; if the wireless communication with the second wireless communication device is disconnected, the buzzer 72 is activated to generate sound wave information for sound wave communication, and the sound wave information is according to the sound wave.
  • the device number generates N high frequency sound wave sequences and transmits at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.
  • the processor 73 is further configured to receive and save the sound wave device number sent by the second wireless communication device.
  • the processor 73 is further configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.
  • the processor 73 is further configured to continue to broadcast to connect the second wireless communication device again, and close the buzzer 72 after waiting for a fourth preset duration.
  • FIG. 7 does not constitute a limitation of the first wireless communication device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
  • the embodiment of the present invention performs connection communication with the first wireless communication device by starting the wireless communication module; assigning the acoustic wave device number to the first wireless communication device; and not receiving the wireless connection information of the first wireless communication device; At the time, the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received by the microphone module to perform sound wave communication.
  • the embodiment of the present invention utilizes the auxiliary communication for receiving and transmitting sound waves to enhance connection robustness, effectively improve the reliability of the first wireless communication device, and greatly improve the use experience. .

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention is applicable to the technical field of near-field wireless transmission, and provided are a dual-medium complementary communication method, and a wireless communication apparatus and system. The method comprises: starting a wireless communication module to connect and communicate with a first wireless communication apparatus; and when wireless connection information about the first wireless communication apparatus cannot be received, receiving, by means of a microphone module, sound wave information sent by the first wireless communication apparatus corresponding to an assigned sound wave device number so as to perform sound wave communication, wherein the sound wave information is N high-frequency sound wave sequences generated according to the sound wave device number and is transmitted by using a first pre-set duration as an interval period, and N is a positive integer greater than or equal to 1. In the present invention, auxiliary radio communication is performed by means of receiving and sending sound waves, so that the robustness of connection is enhanced, the reliability of the operation of a wireless system is effectively improved, and the usage experience is greatly improved.

Description

一种双介质互补通信方法、无线通讯装置及系统Dual medium complementary communication method, wireless communication device and system 技术领域Technical field

本发明属于近场无线传输技术领域,尤其涉及一种双介质互补通信方法、无线通讯装置及系统。The invention belongs to the field of near field wireless transmission technology, and in particular relates to a dual medium complementary communication method, a wireless communication device and a system.

背景技术Background technique

人们在日常生活中普遍存在寻物的需求,防丢设备类产品也得到了较大的普及,新型的防丢设备在防止物品丢失方面能起到非常良好的作用。蓝牙4.0版本推出后,因其优越的功耗特性,已经成为防丢设备的绝对主流的技术。同时得益于智能手机这一移动终端平台的普及,配合智能手机的基于蓝牙4.0技术的防丢设备,得到了很大的发展和普及。People often have the need to find objects in their daily lives, and anti-lost equipment products have also gained popularity. New anti-lost devices can play a very good role in preventing the loss of items. After the release of Bluetooth 4.0, due to its superior power consumption characteristics, it has become the absolute mainstream technology of anti-lost devices. At the same time, thanks to the popularity of the mobile phone platform, and the anti-lost device based on the Bluetooth 4.0 technology of the smart phone, it has been greatly developed and popularized.

防丢设备使用时,将防丢设备佩戴在需要防丢的物品、动物或人身上,和智能终端的蓝牙绑定,建立信号连接,其信号强度会随着防丢设备和智能终端距离的增大而减弱,当距离较远时,信号强度过低或连接中断都可以触发智能终端上应用程序和防丢设备双方的警报行为,从而提醒用户,避免丢失。并且在需要寻找失物的时候,智能终端也可以搜寻目标物品的蓝牙信号,搜到蓝牙信号的强弱即表明了失物的距离,此时还可以通过重新建立二者的蓝牙连接来使防丢设备发出警报声,从而方便地找到失物,防丢设备用途广泛,效果明显,取得巨大的市场销量,但受限于蓝牙连接本身稳定性的限制,误报率高始终成为一个实际使用中的阻碍。日常生活中,影响蓝牙稳定性的因素主要有以下几点。When the anti-lost device is used, the anti-lost device is worn on the items, animals or people that need to be prevented from being lost, and the Bluetooth binding of the intelligent terminal is established to establish a signal connection, and the signal strength thereof increases with the distance between the anti-lost device and the intelligent terminal. Large and weak, when the distance is too long, the signal strength is too low or the connection is interrupted can trigger the alarm behavior of both the application and the anti-lost device on the smart terminal, thereby reminding the user to avoid loss. And when it is necessary to find the lost object, the smart terminal can also search for the Bluetooth signal of the target item, and the strength of the searched Bluetooth signal indicates the distance of the lost object. At this time, the anti-lost device can also be established by re-establishing the Bluetooth connection between the two. The alarm sounds, so that it is easy to find the lost property. The anti-lost device has a wide range of uses and obvious effects, and has achieved huge market sales. However, due to the limitation of the stability of the Bluetooth connection itself, the high false alarm rate has always become a hindrance in practical use. In daily life, the main factors affecting the stability of Bluetooth are the following.

1、智能终端设备差异大,不同型号,由于固件和硬件的不同,对蓝牙信号的稳定连接有很大的影响,部分型号会经常出现连续数十个的丢包和长达数十秒的断联,而有些则非常稳定,极少丢包断联,从而适配困难。 1. The difference between intelligent terminal devices is different. Different models have great influence on the stable connection of Bluetooth signals due to different firmware and hardware. Some models often have dozens of consecutive packet loss and tens of seconds of breaks. Linked, while others are very stable, and there are very few breaks and breaks, which makes the adaptation difficult.

2、人体阻挡,一般来说人体的阻挡可造成30dB甚至更高的衰减,两个人身体的阻挡即可在数米内造成蓝牙信号的完全断联,而这个在使用中是无法避免的。2, the human body blocks, in general, the body's blockage can cause 30dB or even higher attenuation, the blockage of two people can cause the Bluetooth signal to completely disconnect within a few meters, and this is unavoidable in use.

3、周围电磁环境的干扰,现在WIFI极端普及,WIFI和蓝牙都工作在2.4G Hz频谱基本重合,所以在人口密集的小区和商业区域,众多的WIFI节点会对蓝牙通讯产生较多的干扰,引起丢包率升高和断联几率加大。其中电话通话时的基带通讯工作也会影响蓝牙的稳定性。3, the interference of the surrounding electromagnetic environment, now WIFI is extremely popular, WIFI and Bluetooth work in the 2.4G Hz spectrum basically coincide, so in densely populated communities and commercial areas, many WIFI nodes will cause more interference to Bluetooth communication, Increased packet loss rate and increased probability of disconnection. The baseband communication work during a telephone call also affects the stability of Bluetooth.

因此,在防丢设备产品的设计中,需要特别强调蓝牙连接的鲁棒性,用户所处环境不同,比如室内、公园,商场,游乐场,空旷的野外都会影响蓝牙信号传播的远近;蓝牙设备在实际使用中其信号值浮动很大,且防丢设备因为要兼顾低功耗,连接间隔都较长,一般500ms到1000ms广播间隔,这样一般两个相邻信号间的强度常会在10-20dB之间跳动,比如前1秒钟接收到的信号值是-65dB,有可能下一秒变成-80dB,而单纯依据这两个信号强度,推测出来的距离可能是1米左右到20米左右这样的突变,所以防丢设备的蓝牙很难依据其强度计算其距离值,因此,采用普通的蓝牙防丢设备并不能很好地适应室内、户外等多种不同生活环境,无法防止偶然的干扰因素影响,造成要么误报,要么警报反应迟钝,无法让用户满意,这些问题也就成为防丢设备普遍的体验缺陷。Therefore, in the design of anti-lost equipment products, it is necessary to emphasize the robustness of the Bluetooth connection, and the environment in which the user is located, such as indoors, parks, shopping malls, playgrounds, and open fields, will affect the distance of Bluetooth signal transmission; Bluetooth devices In actual use, its signal value fluctuates greatly, and the anti-lost device has a long connection interval because it has to take care of low power consumption. Generally, the broadcast interval is 500ms to 1000ms, so the strength between two adjacent signals is usually 10-20dB. Jumping between, for example, the signal value received in the first 1 second is -65dB, and it may become -80dB in the next second. Based on the strength of the two signals, the estimated distance may be about 1 meter to 20 meters. Such a sudden change, so the Bluetooth of the anti-lost device is difficult to calculate the distance value according to its intensity. Therefore, the ordinary Bluetooth anti-lost device can not be well adapted to indoor, outdoor and other different living environments, and cannot prevent accidental interference. The influence of factors causes either false positives or slow response, which is not satisfactory to users. These problems become common experience defects of anti-lost devices.

发明内容Summary of the invention

本发明实施例提供一种双介质互补通信方法、无线通讯装置及系统,以解决现有技术无法防止偶然的干扰因素影响,造成要么误报,要么警报反应迟钝,无法让用户满意的问题。The embodiments of the present invention provide a dual-media complementary communication method, a wireless communication device, and a system, so as to solve the problem that the prior art cannot prevent accidental interference factors, causing either a false alarm or a slow response and failing to satisfy the user.

第一方面,所述双介质互补通信方法包括:In a first aspect, the dual medium complementary communication method includes:

启动无线通讯模块与第一无线通讯装置进行连接通信;Initiating a wireless communication module to perform connection communication with the first wireless communication device;

当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收 已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。Receiving through the microphone module when the wireless connection information of the first wireless communication device cannot be received The sound wave information sent by the first wireless communication device corresponding to the sound wave device number is allocated for sound wave communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is cycled by the first preset time period. Emitted, the N is a positive integer greater than or equal to 1.

进一步地,所述通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信的步骤之后,还包括:Further, after the step of receiving, by the microphone module, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number to perform the acoustic wave communication, the method further includes:

如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。If the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and the first wireless communication device cannot be connected by radio within the second preset time period, a loss alarm is performed. The loss alarm includes one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.

进一步地,所述启动无线通讯模块与第一无线通讯装置进行连接通信的步骤之后还包括:Further, after the step of initiating the communication communication between the initiating wireless communication module and the first wireless communication device, the method further includes:

判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。Determining whether the first wireless communication device has been assigned an acoustic device number, and if not, assigning the acoustic device number to the first wireless communication device.

进一步地,所述通过麦克风模块接收所述声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信的步骤之后,还包括:Further, after the step of receiving, by the microphone module, the sound wave information sent by the first wireless communication device corresponding to the sound wave device number to perform sound wave communication, the method further includes:

如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。If the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, no loss alarm is performed, and at the same time, attempting to perform radio connection communication with the first wireless communication device.

进一步地,所述启动无线通讯模块与第一无线通讯装置进行连接通信的步骤具体包括:Further, the step of initiating the communication communication between the initiating wireless communication module and the first wireless communication device specifically includes:

启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;Initiating the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code;

访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;Accessing the cloud server to query whether the MAC address and the universal unique identifier have pairing rights;

如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。If the MAC address and the universal unique identifier have pairing rights and are not connected to other devices, perform radio connection communication with the first wireless communication device.

第二方面,所述双介质互补通信方法包括:启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通 用唯一识别码;In a second aspect, the dual medium complementary communication method includes: starting a wireless communication module to perform broadcast to perform connection communication with a second wireless communication device, where the broadcast information includes a MAC address of the local end and a communication Use a unique identification code;

如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。If the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is first The preset duration is an interval period transmission, and the N is a positive integer greater than or equal to 1.

进一步地,所述启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信的步骤之后还包括:Further, after the step of starting the wireless communication module to perform broadcast communication with the second wireless communication device, the method further includes:

接收所述第二无线通讯装置发送的声波设备号并保存。Receiving the sound wave device number sent by the second wireless communication device and saving.

进一步地,所述启动蜂鸣器发出声波信息之前还包括:Further, before the starting buzzer emits sound wave information, the method further includes:

如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。If the radio communication with the second wireless communication device is disconnected, waiting for the third preset duration while continuing to resume the connection.

进一步地,所述启动蜂鸣器发出声波信息之后,还包括:Further, after the activation buzzer emits the sound wave information, the method further includes:

继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。The broadcast is continued to connect the second wireless communication device again, and the buzzer is turned off after waiting for the fourth predetermined duration.

第三方面,所述第二无线通讯装置包括:In a third aspect, the second wireless communication device includes:

第一通讯单元,用于启动无线通讯模块与第一无线通讯装置进行连接通信;a first communication unit, configured to start a wireless communication module to perform connection communication with the first wireless communication device;

第二通讯单元,用于当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。a second communication unit, configured to receive, by the microphone module, sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number to perform sound wave communication when the wireless connection information of the first wireless communication device is not received, the sound wave The information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.

进一步地,所述装置还包括:Further, the device further includes:

中断报警单元,用于如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。The interrupting alarm unit is configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first wireless communication device by radio within a second preset time period, Then, a loss alarm is performed, and the lost alarm includes one or a combination of an alarm sound of a preset frequency, a warning interface, or a vibration.

进一步地,所述装置还包括:Further, the device further includes:

设备号分配单元,用于判断是否已为所述第一无线通讯装置分配声波设备 号,如果否,则分配声波设备号至所述第一无线通讯装置。a device number allocation unit, configured to determine whether the first wireless communication device has been allocated an acoustic wave device No. If no, the sonic device number is assigned to the first wireless communication device.

进一步地,所述装置还包括:Further, the device further includes:

伪中断处理单元,用于如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。The pseudo interrupt processing unit is configured to: if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, perform a loss alarm and attempt to perform radio connection communication with the first wireless communication device.

进一步地,所述第一通讯单元具体包括:Further, the first communication unit specifically includes:

信息接收模块,用于启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;The information receiving module is configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code;

权限查询模块,用于访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;a permission query module, configured to access the cloud server to query whether the MAC address and the universal unique identifier have pairing rights;

连接通信模块,用于如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。The communication module is configured to perform radio connection communication with the first wireless communication device if the MAC address and the universal unique identifier have pairing rights and are not connected to other devices.

第四方面,所述第二无线通讯装置包括:In a fourth aspect, the second wireless communication device includes:

处理器,用于启动无线通讯模块与第一无线通讯装置进行连接通信;当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。a processor, configured to start a wireless communication module to perform connection communication with the first wireless communication device; and when the wireless connection information of the first wireless communication device cannot be received, receive, by the microphone module, the first wireless communication device corresponding to the allocated acoustic wave device number The sound wave information is sent to perform acoustic wave communication, wherein the sound wave information generates N high frequency sound wave sequences according to the sound wave device number, and is transmitted at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1. .

进一步地,所述处理器还用于如果在第二预设时长内接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。Further, the processor is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is not received within the second preset time period, and cannot pass through the second preset time period When the radio is connected to the first wireless communication device, a loss alarm is performed, and the lost alarm includes one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.

进一步地,所述处理器还用于判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。Further, the processor is further configured to determine whether the acoustic device number has been allocated for the first wireless communication device, and if not, allocate the acoustic wave device number to the first wireless communication device.

进一步地,所述处理器还用于如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通 讯装置进行无线电连接通信。Further, the processor is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, not performing a loss alarm, and simultaneously attempting to use the first wireless communication The device performs radio connection communication.

进一步地,所述处理器还用于启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。Further, the processor is further configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identifier; and access the cloud server to query whether the MAC address and the universal unique identifier have the pairing authority; The MAC address and the universal unique identifier have pairing rights and are not connected to other devices, and perform radio connection communication with the first wireless communication device.

第五方面,所述第一无线通讯装置包括:In a fifth aspect, the first wireless communication device includes:

第三通信单元,用于启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;a third communication unit, configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier;

第四通信单元,用于如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。a fourth communication unit, configured to: when the wireless communication with the second wireless communication device is disconnected, start the buzzer to generate sound wave information for performing sonic communication, the sound wave information is to generate N high frequency signals according to the sound wave device number The sound wave sequence is transmitted at intervals of a first preset duration, and the N is a positive integer greater than or equal to 1.

进一步地所述装置还包括:Further, the device further includes:

设备号获取单元,用于接收所述第二无线通讯装置发送的声波设备号并保存。The device number obtaining unit is configured to receive and save the sound wave device number sent by the second wireless communication device.

进一步地所述装置还包括:Further, the device further includes:

第一等待单元,用于如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。The first waiting unit is configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.

进一步地所述装置还包括:Further, the device further includes:

连接关闭单元,用于继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。And connecting a closing unit for continuing to broadcast to connect the second wireless communication device again, and turning off the buzzer after waiting for the fourth predetermined duration.

第六方面,所述第一无线通讯装置包括:处理器,用于启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于 1的正整数。In a sixth aspect, the first wireless communication device includes: a processor, configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier; If the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is first The preset duration is an interval period transmission, and the N is greater than or equal to A positive integer of 1.

进一步地,所述处理器还用于接收所述第二无线通讯装置发送的声波设备号并保存。Further, the processor is further configured to receive and save the sound wave device number sent by the second wireless communication device.

进一步地,所述处理器还用于如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。Further, the processor is further configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.

进一步地,所述处理器还用于继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。Further, the processor is further configured to continue to broadcast to connect the second wireless communication device again, and turn off the buzzer after waiting for a fourth preset duration.

第七方面,所述双介质互补通信系统包括:In a seventh aspect, the dual medium complementary communication system includes:

如上所述所述的第二无线通讯装置,和若干个如上所述的第一无线通讯装置;a second wireless communication device as described above, and a plurality of first wireless communication devices as described above;

所述第二无线通讯装置与所述第一无线通讯装置通过无线电和声波两种介质进行通信。The second wireless communication device communicates with the first wireless communication device via two media, radio and acoustic.

从上述方案中可以看出,本发明实施例通过启动无线通讯模块与第一无线通讯装置进行连接通信;当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。与现有技术相比,本发明实施例通过利用对声波的接收和发送进行辅助无线电通讯,增强了连接鲁棒性,有效地提升了无线电工作的可靠性,给使用体验带来极大的提升。As can be seen from the foregoing solution, the embodiment of the present invention performs connection communication with the first wireless communication device by starting the wireless communication module; when the wireless connection information of the first wireless communication device cannot be received, the allocated sound wave device is received by the microphone module. The sound wave information sent by the first wireless communication device corresponding to the number is used for sound wave communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, N is a positive integer greater than or equal to 1. Compared with the prior art, the embodiment of the present invention enhances the connection robustness by utilizing the auxiliary radio communication for receiving and transmitting sound waves, effectively improves the reliability of the radio work, and greatly improves the use experience. .

附图说明DRAWINGS

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art in light of the inventive workability.

图1是本发明另一实施例提供的双介质互补通信系统的示意图;1 is a schematic diagram of a dual medium complementary communication system according to another embodiment of the present invention;

图2是本发明一实施例提供的第二无线通讯装置的双介质互补通信方法的实现流程图;2 is a flowchart of implementing a dual medium complementary communication method of a second wireless communication device according to an embodiment of the present invention;

图3是本发明另一实施例提供的第一无线通讯装置的双介质互补通信方法的实现流程图;3 is a flowchart of implementing a dual medium complementary communication method of a first wireless communication apparatus according to another embodiment of the present invention;

图4是本发明另一实施例提供的第二无线通讯装置的组成结构图;4 is a structural diagram of a second wireless communication apparatus according to another embodiment of the present invention;

图5是本发明另一实施例提供的第二无线通讯装置的组成结构图;FIG. 5 is a structural diagram of a second wireless communication apparatus according to another embodiment of the present invention; FIG.

图6是本发明另一实施例提供的第一无线通讯装置的组成结构图;FIG. 6 is a structural diagram of a first wireless communication apparatus according to another embodiment of the present invention; FIG.

图7是本发明另一实施例提供的第一无线通讯装置的组成结构图。FIG. 7 is a structural diagram of a first wireless communication apparatus according to another embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solution described in the present invention, the following description will be made by way of specific embodiments.

图1示出了本发明一实施例提供的双介质互补通信的系统场景示意图,为了便于说明,仅示出了与本实施例相关的部分。FIG. 1 is a schematic diagram of a system scenario of dual-media complementary communication according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment are shown.

如图1所示,该系统包括若干个第一无线通讯装置2以及第二无线通讯装置1,所述第二无线通讯装置1与所述第一无线通讯装置2通过无线电方式和声波方式进行通信。无线方式包括但不限于蓝牙。所示第二无线通讯装置包括但不限于智能手机、Pad和平板电脑。所述第一无线通讯装置2包括防丢设备。As shown in FIG. 1, the system includes a plurality of first wireless communication devices 2 and a second wireless communication device 1, and the second wireless communication device 1 communicates with the first wireless communication device 2 by radio and acoustic waves. . Wireless methods include, but are not limited to, Bluetooth. The second wireless communication device shown includes, but is not limited to, a smartphone, a tablet, and a tablet. The first wireless communication device 2 includes an anti-lost device.

其中,第二无线通讯装置1包括蓝牙模块、麦克风和扬声器,并且处理器可以控制访问麦克风;第一无线通讯装置2包括蓝牙模块和蜂鸣器,并且其处理器可以控制访问蜂鸣器。The second wireless communication device 1 includes a Bluetooth module, a microphone and a speaker, and the processor can control access to the microphone; the first wireless communication device 2 includes a Bluetooth module and a buzzer, and its processor can control access to the buzzer.

以下以第一无线通讯装置2为防丢设备的场景描述该系统的使用场景:The following uses the scenario in which the first wireless communication device 2 is an anti-lost device:

防丢设备启动蓝牙模块进行广播以与第二无线通讯装置1进行连接通信, 所述广播信息包括第一无线通讯装置MAC地址及通用唯一识别码。第二无线通讯装置1启动蓝牙模块接收防丢设备的MAC地址及通用唯一识别码;访问云服务器3查询所述MAC地址及通用唯一识别码是否具有配对权限;如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述防丢设备进行连接通信绑定;蓝牙连接之后,通过伪随机计算,分配声波设备号至所述防丢设备。防丢设备判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成由3个第一预设时长的高频声波组成的声波信号序列;第一无线装置继续进行广播以再次连接所述第二无线通讯装置1,并在等待第四预设时长之后,关闭所述蜂鸣器。第二无线通讯装置1通过麦克风模块接收所述声波设备号对应的第一无线通讯装置发出的声波信息;如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合;如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。所述第一预设时长为高频声波信号序列的发射间隔周期,第二预设时长为第二无线通讯装置的警报判断时间,第三预设时长为防丢设备在蓝牙通讯断开之后启动高频蜂鸣器的等待时间。优选的,第一预设时长为5秒,所述第二预设时长为10-60秒,第三预设时长为5秒。第四预设时长为20-60秒The anti-lost device activates the Bluetooth module to broadcast to perform connection communication with the second wireless communication device 1, The broadcast information includes a first wireless communication device MAC address and a universal unique identification code. The second wireless communication device 1 activates the Bluetooth module to receive the MAC address of the anti-lost device and the universal unique identification code; the access cloud server 3 queries whether the MAC address and the universal unique identifier have the pairing authority; if the MAC address and the universal unique identification The code has the pairing authority and is not connected to other devices, and then performs connection and communication binding with the anti-lost device; after the Bluetooth connection, the sonic device number is allocated to the anti-lost device through pseudo-random calculation. The anti-lost device determines whether the sonic device number has been assigned to the first wireless communication device, and if not, assigns the sonic device number to the first wireless communication device. When the wireless connection information of the first wireless communication device is not received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is according to the sound wave device. No. generating a sequence of acoustic signals consisting of three high frequency sound waves of a first preset duration; the first wireless device continues to broadcast to reconnect the second wireless communication device 1 and is turned off after waiting for the fourth predetermined duration The buzzer. The second wireless communication device 1 receives the sound wave information sent by the first wireless communication device corresponding to the sound wave device number through the microphone module; if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, And failing to connect to the first wireless communication device by radio within a second preset time period, and performing a loss alarm, the loss alarm including one or more combinations of a preset frequency alarm sound, a warning interface or a vibration And if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, no loss alarm is performed, and at the same time, attempting to perform radio connection communication with the first wireless communication device. The first preset duration is a transmission interval period of the high frequency sound wave signal sequence, and the second preset duration is an alarm determination time of the second wireless communication device, and the third preset duration is that the anti-lost device starts after the Bluetooth communication is disconnected. The waiting time of the high frequency buzzer. Preferably, the first preset duration is 5 seconds, the second preset duration is 10-60 seconds, and the third preset duration is 5 seconds. The fourth preset duration is 20-60 seconds.

其中,当第一无线通讯装置蓝牙连接断开时,第一无线通讯装置继续蓝牙广播,等待与终端恢复连接,并在延迟5秒后,根据分配到的声波设备号,按照特定组合发出三段频段的高频声波,间隔5秒,若在发出声波之后等待5秒,以此循环,直至总时间达到第三预设时长,蓝牙仍未建立连接,第一无线通讯 装置进入断联警报模式,发出4k Hz警报声,提醒用户防丢设备已经断联。智能终端在防丢设备的蓝牙连接断开后,且无法收到防丢设备的信号广播,则开启麦克风,对特定频率的高频声波进行捕获,此处,我们使用了小波变换算法对声波信息进行提取。此时,若在第二预设时长内,都未搜索到蓝牙广播或声波信号,则可以判定防丢设备已经远离,超过第二预设时长后即进入警报模式;若在进入警报模式前收到防丢设备的广播,重新连接或接收到声波信号,都触发第二无线装置计时器重新开始计时,推迟警报。Wherein, when the first wireless communication device Bluetooth connection is disconnected, the first wireless communication device continues the Bluetooth broadcast, waits for the connection to be restored with the terminal, and after a delay of 5 seconds, according to the assigned acoustic wave device number, three segments are issued according to the specific combination. The high frequency sound wave of the frequency band is separated by 5 seconds. If it waits for 5 seconds after the sound wave is emitted, it will cycle until the total time reaches the third preset time length, and the Bluetooth still has not established a connection. The first wireless communication The device enters the disconnection alarm mode and issues a 4k Hz alarm to alert the user that the anti-lost device has been disconnected. After the Bluetooth connection of the anti-lost device is disconnected and the signal broadcast of the anti-lost device cannot be received, the smart terminal turns on the microphone to capture the high-frequency sound wave of a specific frequency. Here, we use the wavelet transform algorithm for the acoustic wave information. Perform extraction. At this time, if the Bluetooth broadcast or sound wave signal is not searched within the second preset time period, it can be determined that the anti-lost device has been moved away, and the alarm mode is entered after the second preset time period; if the alarm mode is received before entering the alarm mode The broadcast to the anti-lost device, reconnecting or receiving the acoustic signal triggers the second wireless device timer to restart timing and delay the alarm.

测试数据显示,在距离10米范围内,此双介质互补混合通讯方式可以使防丢设备几乎完全避免误报,并且防丢设备在确实远离丢失的时候可以保证反应的及时有效性。从以上工作流程可知,此方法在增强系统可靠性方面具有并联效果,仅当蓝牙和声波都故障时才会引发误报,可靠性有数倍的提升。The test data shows that the dual-medium complementary hybrid communication mode can make the anti-lost device almost completely avoid false alarms within a distance of 10 meters, and the anti-lost device can ensure the timely validity of the response when it is indeed far away from the loss. As can be seen from the above workflow, this method has a parallel effect in enhancing system reliability, and only when Bluetooth and sound waves are faulty, false alarms are generated, and reliability is improved several times.

以下以第一无线通讯装置为数据采集点、第二无线通讯装置为移动终端的场景描述该系统的使用场景:The following describes the usage scenario of the system by using the first wireless communication device as the data collection point and the second wireless communication device as the mobile terminal:

以下利用声波和蓝牙双重通讯机制,由智能终端和数据采集点组成,智能终端具有联网能力,数据采集点由电池供电,配备基于蓝牙收发芯片和超声波发射器,工作于低功耗模式。智能终端连接到数据采集点,实时获取采集点的数据,特别的,当数据采集点采集到特定情形的数据或定义的某些事件发生时,需要及时地上报至系统,因而需要很高的可靠性,。普通仅采用蓝牙的系统,当蓝牙通讯受到干扰时,因通讯链路无法建立,有可能造成严重的控制事故,系统的鲁棒性也受到影响。而系统因为采用了声波蓝牙双重通讯机制,智能终端可以始终处于“聆听”模式,这样当终端节点发生无法连接的情形,则可以通过此后备的第二数据链路进行传送,将数据通过声波链路发送,并且此链路不易受无线电干扰的抑制,且可以根据实际的连接情况,判定故障点及故障范围,便于进行事故管理。 The following uses the dual communication mechanism of sound wave and Bluetooth, which is composed of intelligent terminal and data collection point. The intelligent terminal has networking capability, the data collection point is powered by battery, equipped with a Bluetooth transceiver chip and an ultrasonic transmitter, and operates in a low power mode. The intelligent terminal is connected to the data collection point to obtain the data of the collection point in real time. In particular, when the data collection point collects the data of the specific situation or some of the defined events occur, it needs to be reported to the system in time, thus requiring high reliability. Sex,. Generally, only Bluetooth systems are used. When Bluetooth communication is interfered, the communication link cannot be established, which may cause serious control accidents, and the robustness of the system is also affected. Because the system adopts the Sonic Bluetooth dual communication mechanism, the intelligent terminal can always be in the “listening” mode, so that when the terminal node fails to connect, it can transmit through the backup second data link and pass the data through the sound chain. The road is transmitted, and the link is not easily suppressed by radio interference, and the fault point and the fault range can be determined according to the actual connection condition, thereby facilitating accident management.

另外一个应用场景是,第一无线通讯装置和第二无线通讯装置集成为一个设备用于Beacon定位:Another application scenario is that the first wireless communication device and the second wireless communication device are integrated into one device for Beacon positioning:

现有Beacon定位受限于蓝牙本身信号的易受干扰的特质,较难实现,在近距离蓝牙强度尚可,可以实现较好的定位精度,但这个距离一般只有1到3米,在这个距离之外会受到多种因素的影响,如障碍物的阻挡和反射、WIFI的干扰、设备的相对方向等等,所以iOS系统中对Beacon的距离,仅有immediate,near,far、unknown这四种状态,分别对应20cm以内,1米以内,1米以外和未知(一般为无信号)。Beacon的室内定位,目前未能大规模商用主要也是受此限制,部分开始商用的室内Beacon定位技术是单纯依靠Beacon广播的蓝牙信号但为了实现定位做了很多折衷,比如高密度布置Beacon,就是利用密度来弥补精度的不足,但是这样造成维护和投入上的成本是难以接受的,约需要每10-50平方米每个这样的密度铺设,而实际上一般100-200平方米的店铺仅需配备1-2个设备,否则会对推广使用维护造成障碍,而使用蓝牙加声波的定位方式,设备在发出Beacon广播的同时,周期性地发出声波信号,单个可以实现约300平方米覆盖范围。The existing Beacon positioning is limited by the interference characteristics of the Bluetooth signal itself, which is difficult to implement. The Bluetooth strength is good at close range, and the positioning accuracy can be achieved, but the distance is generally only 1 to 3 meters. In addition, it will be affected by many factors, such as obstacle blocking and reflection, WIFI interference, relative orientation of the device, etc., so the distance to Beacon in iOS system is only immediate, near, far, unknown. The state corresponds to within 20cm, within 1m, outside of 1m and unknown (generally no signal). Beacon's indoor positioning is currently limited by large-scale commercial use. Some of the indoor Beacon positioning technologies that have been commercialized are relying solely on Beacon's Bluetooth signal, but many compromises have been made to achieve positioning. For example, high-density Beacon is used. Density to compensate for the lack of precision, but the cost of maintenance and investment is unacceptable, about every 10-50 square meters of each such density, but in fact, generally 100-200 square meters of shops only need to be equipped 1-2 devices, otherwise it will cause obstacles to the promotion and maintenance. With the positioning method of Bluetooth plus sound wave, the device periodically emits sound waves while emitting Beacon broadcast, and the individual can achieve coverage of about 300 square meters.

图2示出了本发明另一实施例提供的第二无线通讯装置的端双介质互补通信方法的实现流程,该实施例的执行主体为图1中的第二无线通讯装置1,该方法过程详述如下:FIG. 2 is a flowchart of an implementation process of a dual-media complementary communication method for a second wireless communication device according to another embodiment of the present invention. The execution body of the embodiment is the second wireless communication device 1 in FIG. Details are as follows:

在步骤S201中,启动无线通讯模块与第一无线通讯装置进行连接通信。In step S201, the wireless communication module is activated to perform connection communication with the first wireless communication device.

在本实施例中,所述第二无线通讯装置启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。In this embodiment, the second wireless communication device starts the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code; and the access cloud server queries whether the MAC address and the universal unique identification code have the pairing authority; If the MAC address and the universal unique identifier have pairing rights and are not connected to other devices, perform radio connection communication with the first wireless communication device.

优选的,在步骤S201之后,判断是否已为所述第一无线通讯装置分配声 波设备号,如果否,则通过伪随机计算,分配声波设备号至所述第一无线通讯装置。Preferably, after step S201, determining whether the first wireless communication device has been allocated sound The wave device number, if not, distributes the sonic device number to the first wireless communication device by pseudorandom calculation.

优选的,在步骤S201之后,第一无线连接断开,如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。Preferably, after the step S201, the first wireless connection is disconnected, if the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is not received, and the radio connection cannot be made within the second preset time period. To the first wireless communication device, a loss alarm is performed, the loss alarm including one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.

在步骤S202中,当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。In step S202, when the wireless connection information of the first wireless communication device is not received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is Generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.

在本实施例中,所述第一无线通讯装置通过蜂鸣器发出声波信息。In this embodiment, the first wireless communication device emits sound wave information through a buzzer.

优选的,如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。当第一无线通讯装置再次靠近智能终端,智能终端检测到第一无线通讯装置的蓝牙广播后进行蓝牙重联。Preferably, if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, no loss alarm is performed, and at the same time, attempting to perform radio connection communication with the first wireless communication device. When the first wireless communication device approaches the smart terminal again, the smart terminal performs Bluetooth reconnection after detecting the Bluetooth broadcast of the first wireless communication device.

本发明实施例通过利用对声波的接收和发送进行辅助通讯增强连接鲁棒性,有效地提升了第一无线通讯装置工作的可靠性,而且声波具有波长较长,不易被人体阻挡的优势,在蓝牙信号断联的时候,开启声波发送,可以向智能终端表明设备是否在附近,或在设备接收智能终端的蓝牙信号RSSI减小的时候,设备开启声波发送,智能终端可以同时根据声音的响度或声音的传输时间判断距离。上述第一无线通讯装置启动发声装置发出的声波,是指特定频率的声波或经过调制加载了数据的声波信号,并且优选地使用了人耳不易察觉的高频声波,防丢App在侦测到RSSI降低或失联,进入警报模式前,可以开启麦克风侦听,当收到设备的声波,即可判定,物品仍然在附近,即可暂时不进入警报模式,若约定时间内蓝牙和声波都无法接收到,即可判定为第一无线通讯装置已经远离,即可触发警报。在这种模式下,第一无线通讯装置的误报率减 小,并且,此种方式不仅可以用于第一无线通讯装置,还可以用于高可靠性要求的近场数据传输领域,如物联网数据采集,若对数据的连续性有极高要求,单纯依赖蓝牙一种无线电介质,容易受到干扰也容易被攻击,如果使用本专利的双重介质传输,则可以在一同介质失效的时候,即可切换或同时并行使用第二种介质,可达到双倍的可靠性,极难被干扰。The embodiment of the invention enhances the connection robustness by using auxiliary communication for receiving and transmitting sound waves, thereby effectively improving the reliability of the operation of the first wireless communication device, and the sound wave has the advantages of long wavelength and being difficult to be blocked by the human body. When the Bluetooth signal is disconnected, the sound wave is sent to indicate whether the device is nearby, or when the Bluetooth signal RSSI of the device receiving the smart terminal is reduced, the device starts sound wave transmission, and the smart terminal can simultaneously according to the loudness of the sound or The transmission time of the sound determines the distance. The first wireless communication device activates the sound wave emitted by the sounding device, and refers to a sound wave of a specific frequency or a sound wave signal modulated by the data, and preferably uses a high frequency sound wave that is not easily detected by the human ear, and the anti-lost app is detected. RSSI is reduced or lost. Before entering the alarm mode, the microphone can be turned on. When the sound wave of the device is received, it can be determined that the item is still nearby, and the alarm mode can be temporarily disabled. If the Bluetooth and sound waves are not available within the agreed time, Upon receiving, it can be determined that the first wireless communication device has been moved away, and an alarm can be triggered. In this mode, the false alarm rate of the first wireless communication device is reduced. Small, and this way can be used not only for the first wireless communication device, but also for the field of near-field data transmission with high reliability requirements, such as IoT data collection. If the continuity of data is extremely high, simply Relying on a kind of wireless medium of Bluetooth, it is easy to be interfered and easily attacked. If the dual medium transmission of this patent is used, the second medium can be switched or simultaneously used in parallel when the same medium fails, which can double Reliability, extremely difficult to be disturbed.

图3示出了本发明另一实施例提供的第一无线通讯装置端双介质互补通信方法的实现流程,该实施例的执行主体为图1中的第一无线通讯装置,该方法过程详述如下:FIG. 3 is a flowchart of an implementation of a first wireless communication device-side dual-media complementary communication method according to another embodiment of the present invention. The execution body of the embodiment is the first wireless communication device in FIG. as follows:

在步骤S301中,启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码。In step S301, the wireless communication module is activated to perform broadcast communication with the second wireless communication device, and the broadcast information includes a MAC address of the local end and a universal unique identification code.

在步骤S301之后,所述方法还包括:After the step S301, the method further includes:

接收所述第二无线通讯装置发送的声波设备号并保存。Receiving the sound wave device number sent by the second wireless communication device and saving.

在步骤S302中,如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。In step S302, if the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number. And transmitting at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.

优选的,在步骤S302之前,所述方法还包括:Preferably, before the step S302, the method further includes:

如果与所述第二无线通讯装置的无线通讯断开,等待第一预设时长。If the wireless communication with the second wireless communication device is disconnected, waiting for the first preset duration.

优选的,在步骤S302之后,所述方法还包括:Preferably, after step S302, the method further includes:

继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。The broadcast is continued to connect the second wireless communication device again, and the buzzer is turned off after waiting for the fourth predetermined duration.

其中,所述第一预设时长为预设防丢设备在蓝牙通讯断开之后启动蜂鸣器的等待时间。优选的,第一预设时长为5秒,所述第二预设时长为10-60秒,第三预设时长为5秒。第四预设时长为20-60秒。The first preset duration is a waiting time for the preset anti-lost device to start the buzzer after the Bluetooth communication is disconnected. Preferably, the first preset duration is 5 seconds, the second preset duration is 10-60 seconds, and the third preset duration is 5 seconds. The fourth preset duration is 20-60 seconds.

其中,当第一无线通讯装置蓝牙连接断开时,第一无线通讯装置继续蓝牙 广播,等待与终端恢复连接,并在延迟10秒后,根据分配到的声波设备号,按照特定组合发出三段频段的高频声波,间隔5秒,若在发出声波之后等待5秒,蓝牙仍未建立连接,继续以第一预设时间为周期发送声波信号,当超过第四预设时长,第一无线通讯装置进入断联警报模式,发出4k Hz警报声,提醒用户第一无线通讯装置已经断联。智能终端在第一无线通讯装置的蓝牙连接断开后,且无法收到第一无线通讯装置的信号广播,则开启麦克风,对特定频率的高频声波进行捕获,此处,我们使用了小波变换算法对声波信息进行提取。此时,若第二预设时长内,都未搜索到蓝牙广播或声波信号,则可以判定第一无线通讯装置已经远离,超过这个时间后即进入警报模式;若在进入警报模式前收到第一无线通讯装置的广播,重新连接或接收到声波信号,都触发重新开始计时,推迟警报。Wherein, when the first wireless communication device Bluetooth connection is disconnected, the first wireless communication device continues Bluetooth Broadcast, waiting to resume connection with the terminal, and after a delay of 10 seconds, according to the assigned sonic device number, three-band high-frequency sound waves are emitted according to a specific combination, with an interval of 5 seconds. If waiting for 5 seconds after emitting sound waves, Bluetooth still If the connection is not established, the sound wave signal is sent continuously for the first preset time period. When the fourth preset time period is exceeded, the first wireless communication device enters the disconnection alarm mode, and a 4k Hz alarm sound is issued to remind the user that the first wireless communication device has Disconnected. After the Bluetooth connection of the first wireless communication device is disconnected, and the signal broadcast of the first wireless communication device cannot be received, the smart terminal turns on the microphone to capture the high frequency sound wave of the specific frequency. Here, we use the wavelet transform. The algorithm extracts the sound wave information. At this time, if the Bluetooth broadcast or sound wave signal is not searched within the second preset time period, it can be determined that the first wireless communication device has been moved away, and after this time, the alarm mode is entered; if the alarm mode is received before entering the alarm mode The broadcast of a wireless communication device, reconnecting or receiving an acoustic signal triggers a restart of the timer and delays the alarm.

图4示出了本发明另一实施例提供的第二无线通讯装置的组成结构,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 4 shows a composition of a second wireless communication device according to another embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.

该第二无线通讯装置包括:第一通讯单元41、第二通讯单元42、中断报警单元43和设备号分配单元44。The second wireless communication device includes: a first communication unit 41, a second communication unit 42, an interrupt alarm unit 43, and a device number assignment unit 44.

其中,第一通讯单元41,用于启动无线通讯模块与第一无线通讯装置进行连接通信;The first communication unit 41 is configured to start a wireless communication module to perform connection communication with the first wireless communication device.

第二通讯单元42,用于当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。The second communication unit 42 is configured to receive, by the microphone module, sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number to perform acoustic wave communication when the wireless connection information of the first wireless communication device cannot be received, The sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is transmitted at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1.

进一步地,所述装置还包括:Further, the device further includes:

中断报警单元43,用于如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、 警示界面或者震动中的一种或多种组合。The interrupting alarm unit 43 is configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first wireless communication device by radio within a second preset time period a loss alarm, which includes an alarm sound of a preset frequency, One or more combinations of warning interfaces or vibrations.

进一步地,所述装置还包括:Further, the device further includes:

设备号分配单元44,用于判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。The device number assigning unit 44 is configured to determine whether the first wireless communication device has been assigned an acoustic device number, and if not, to assign the acoustic device number to the first wireless communication device.

进一步地,所述装置还包括:Further, the device further includes:

伪中断处理单元45,用于如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。The pseudo interrupt processing unit 45 is configured to: if receiving the sound wave information sent by the first wireless communication device corresponding to the sound wave device number, do not perform a loss alarm, and at the same time, attempt to perform radio connection communication with the first wireless communication device.

进一步地,所述第一通讯单元41具体包括:Further, the first communication unit 41 specifically includes:

信息接收模块,用于启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;The information receiving module is configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code;

权限查询模块,用于访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;a permission query module, configured to access the cloud server to query whether the MAC address and the universal unique identifier have pairing rights;

连接通信模块,用于如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。The communication module is configured to perform radio connection communication with the first wireless communication device if the MAC address and the universal unique identifier have pairing rights and are not connected to other devices.

本实施例提供的第二无线通讯装置可以使用在前述对应的双介质互补通信方法,详情参见上述第二无线通讯装置双介质互补通信方法图2对应实施例的相关描述,在此不再赘述。The second wireless communication device provided in this embodiment may be used in the foregoing corresponding dual-media complementary communication method. For details, refer to the related description of the corresponding embodiment of the second wireless communication device dual-media complementary communication method in FIG. 2, and details are not described herein again.

本领域普通技术人员可以理解为所述第二无线通讯装置实施例所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。A person skilled in the art may understand that each unit included in the second wireless communication device embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; The specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of protection of the present application.

图5示出了本发明另一实施例提供的第二无线通讯装置的组成结构,本发明实施例提供的第二无线通讯装置可以用于实施图2对应实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请 参照图2对应实施例。FIG. 5 is a diagram showing the configuration of a second wireless communication device according to another embodiment of the present invention. The second wireless communication device provided by the embodiment of the present invention may be used to implement the method corresponding to the embodiment of FIG. 2, Parts related to the embodiments of the present invention are shown, and the specific technical details are not disclosed, please Referring to Figure 2, the corresponding embodiment.

该第二无线通讯装置1包括:处理器51、无线通讯模块52和麦克风模块53,所述处理器51用于启动无线通讯模块与第一无线通讯装置进行连接通信;当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。The second wireless communication device 1 includes a processor 51, a wireless communication module 52, and a microphone module 53. The processor 51 is configured to initiate a wireless communication module to perform connection communication with the first wireless communication device; when the first wireless cannot be received When the wireless connection information of the communication device is received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is generated by generating N high frequency sound waves according to the sound wave device number. And sequenced and transmitted at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.

进一步地,所述处理器51还用于如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。Further, the processor 51 is further configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first part by radio within a second preset time period A wireless communication device performs a loss alarm including one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency.

进一步地,所述处理器51还用于判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。Further, the processor 51 is further configured to determine whether the first wireless communication device has been assigned an acoustic device number, and if not, to allocate the acoustic device number to the first wireless communication device.

进一步地,所述处理器51还用于如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。Further, the processor 51 is further configured to: if receiving the sound wave information sent by the first wireless communication device corresponding to the sound wave device number, do not perform a loss alarm, and at the same time, attempt to perform radio with the first wireless communication device. Connect communication.

进一步地,所述处理器51还用于启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。Further, the processor 51 is further configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identifier; and access the cloud server to query whether the MAC address and the universal unique identifier have the pairing authority; The MAC address and the universal unique identifier have pairing rights, and are not connected to other devices, and perform radio connection communication with the first wireless communication device.

本领域技术人员可以理解,图5中示出的组成结构并不构成对第二无线通讯装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the constituent structure shown in FIG. 5 does not constitute a limitation of the second wireless communication device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.

图6示出了本发明另一实施例提供的第一无线通讯装置的组成结构,为了便于说明,仅示出了与本发明实施例相关的部分。 FIG. 6 shows a composition of a first wireless communication device according to another embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.

该第一无线通讯装置包括:第三通信单元61、第四通信单元62、设备号获取单元63、第一等待单元64和连接关闭单元65。The first wireless communication device includes a third communication unit 61, a fourth communication unit 62, a device number acquisition unit 63, a first waiting unit 64, and a connection closing unit 65.

其中,第三通信单元61,用于启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;The third communication unit 61 is configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier;

第四通信单元62,用于如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。The fourth communication unit 62 is configured to: when the wireless communication with the second wireless communication device is disconnected, start the buzzer to generate sound wave information for performing sonic communication, and the sound wave information is generated according to the sound wave device number to generate N high The frequency sound wave sequence is transmitted at intervals of a first preset duration, and the N is a positive integer greater than or equal to 1.

进一步地,所述装置还包括:Further, the device further includes:

设备号获取单元63,用于接收所述第二无线通讯装置发送的声波设备号并保存。The device number obtaining unit 63 is configured to receive and save the sound wave device number sent by the second wireless communication device.

进一步地,所述装置还包括:Further, the device further includes:

第一等待单元64,用于如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。The first waiting unit 64 is configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.

进一步地,所述装置还包括:Further, the device further includes:

连接关闭单元65,用于继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。The connection closing unit 65 is configured to continue broadcasting to connect the second wireless communication device again, and close the buzzer after waiting for the fourth predetermined duration.

本实施例提供的第一无线通讯装置可以使用在前述对应的第一无线通讯装置的双介质互补通信方法,详情参见上述第一无线通讯装置的双介质互补通信方法图3对应实施例的相关描述,在此不再赘述。The first wireless communication device provided in this embodiment may use the dual media complementary communication method of the corresponding first wireless communication device. For details, refer to the dual media complementary communication method of the first wireless communication device. , will not repeat them here.

本领域普通技术人员可以理解为所述第二无线通讯装置实施例所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。A person skilled in the art may understand that each unit included in the second wireless communication device embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; The specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of protection of the present application.

图7示出了本发明另一实施例提供的第一无线通讯装置的组成结构,本发 明实施例提供的第一无线通讯装置可以用于实施图3对应实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照图3对应实施例。FIG. 7 is a block diagram showing the structure of a first wireless communication device according to another embodiment of the present invention. The first wireless communication device provided in the embodiment can be used to implement the method in the corresponding embodiment of FIG. 3. For the convenience of description, only the parts related to the embodiment of the present invention are shown. For details, please refer to FIG. Corresponding to the embodiment.

该第一无线通讯装置2包括:无线通讯模块71、蜂鸣器72和处理器73,所述处理器73用于启动无线通讯模块71进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器72发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。The first wireless communication device 2 includes: a wireless communication module 71, a buzzer 72, and a processor 73. The processor 73 is configured to start the wireless communication module 71 to broadcast to perform connection communication with the second wireless communication device. The broadcast information includes a MAC address of the local end and a universal unique identifier; if the wireless communication with the second wireless communication device is disconnected, the buzzer 72 is activated to generate sound wave information for sound wave communication, and the sound wave information is according to the sound wave. The device number generates N high frequency sound wave sequences and transmits at intervals of a first preset duration, the N being a positive integer greater than or equal to 1.

进一步地,所述处理器73还用于接收所述第二无线通讯装置发送的声波设备号并保存。Further, the processor 73 is further configured to receive and save the sound wave device number sent by the second wireless communication device.

进一步地,所述处理器73还用于如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。Further, the processor 73 is further configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected.

进一步地,所述处理器73还用于继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器72。Further, the processor 73 is further configured to continue to broadcast to connect the second wireless communication device again, and close the buzzer 72 after waiting for a fourth preset duration.

本领域技术人员可以理解,图7中示出的组成结构并不构成对第一无线通讯装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the constituent structure shown in FIG. 7 does not constitute a limitation of the first wireless communication device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.

综上所述,本发明实施例通过启动无线通讯模块与第一无线通讯装置进行连接通信;分配声波设备号至所述第一无线通讯装置;当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收所述声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信。与现有技术相比,本发明实施例利用对声波的接收和发送进行辅助通讯增强连接鲁棒性,有效地提升了第一无线通讯装置工作的可靠性,给使用体验带来极大的提升。In summary, the embodiment of the present invention performs connection communication with the first wireless communication device by starting the wireless communication module; assigning the acoustic wave device number to the first wireless communication device; and not receiving the wireless connection information of the first wireless communication device; At the time, the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received by the microphone module to perform sound wave communication. Compared with the prior art, the embodiment of the present invention utilizes the auxiliary communication for receiving and transmitting sound waves to enhance connection robustness, effectively improve the reliability of the first wireless communication device, and greatly improve the use experience. .

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其 依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 The embodiments described above are only intended to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the spirit of the technical solutions of the embodiments of the present application. range.

Claims (18)

一种双介质互补通信方法,其特征在于,所述方法包括:A dual medium complementary communication method, characterized in that the method comprises: 启动无线通讯模块与第一无线通讯装置进行连接通信;Initiating a wireless communication module to perform connection communication with the first wireless communication device; 当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。When the wireless connection information of the first wireless communication device is not received, the sound wave information sent by the first wireless communication device corresponding to the allocated acoustic wave device number is received by the microphone module to perform sound wave communication, and the sound wave information is according to the sound wave device. No. N high frequency sound wave sequences are generated and transmitted at intervals of a first preset duration, the N being a positive integer greater than or equal to 1. 如权利要求1所述的方法,其特征在于,所述通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信的步骤之后,还包括:The method according to claim 1, wherein after the step of receiving the sound wave information sent by the first wireless communication device corresponding to the assigned acoustic wave device number by the microphone module to perform the acoustic wave communication, the method further includes: 如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。If the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and the first wireless communication device cannot be connected by radio within the second preset time period, a loss alarm is performed. The loss alarm includes one or more combinations of an alarm sound, a warning interface, or a vibration of a preset frequency. 如权利要求1所述的方法,其特征在于,所述启动无线通讯模块与第一无线通讯装置进行连接通信的步骤之后还包括:The method of claim 1, wherein the step of initiating the communication communication between the wireless communication module and the first wireless communication device further comprises: 判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置。Determining whether the first wireless communication device has been assigned an acoustic device number, and if not, assigning the acoustic device number to the first wireless communication device. 如权利要求1所述的方法,其特征在于,所述通过麦克风模块接收所述声波设备号对应的第一无线通讯装置发出的声波信息以进行声波通信的步骤之后,还包括:The method according to claim 1, wherein after the step of receiving, by the microphone module, the sound wave information sent by the first wireless communication device corresponding to the sound wave device number to perform sound wave communication, the method further comprises: 如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,尝试与所述第一无线通讯装置进行无线电连接通信。If the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, no loss alarm is performed, and at the same time, attempting to perform radio connection communication with the first wireless communication device. 如权利要求1所述的方法,其特征在于,所述启动无线通讯模块与第一无线通讯装置进行连接通信的步骤具体包括: The method of claim 1, wherein the step of initiating the communication communication between the wireless communication module and the first wireless communication device comprises: 启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;Initiating the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code; 访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;Accessing the cloud server to query whether the MAC address and the universal unique identifier have pairing rights; 如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。If the MAC address and the universal unique identifier have pairing rights and are not connected to other devices, perform radio connection communication with the first wireless communication device. 一种双介质互补通信方法,其特征在于,所述方法包括:A dual medium complementary communication method, characterized in that the method comprises: 启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;The wireless communication module is activated to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier; 如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。If the wireless communication with the second wireless communication device is disconnected, the buzzer is activated to generate sound wave information for performing sonic communication, and the sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and is first The preset duration is an interval period transmission, and the N is a positive integer greater than or equal to 1. 如权利要求6所述的方法,其特征在于,所述启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信的步骤之后还包括:The method of claim 6, wherein the step of initiating the wireless communication module to broadcast to perform connection communication with the second wireless communication device further comprises: 接收所述第二无线通讯装置发送的声波设备号并保存。Receiving the sound wave device number sent by the second wireless communication device and saving. 如权利要求6所述的方法,其特征在于,所述启动蜂鸣器发出声波信息之前还包括:The method according to claim 6, wherein said initiating the buzzer to emit sound wave information further comprises: 如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。If the radio communication with the second wireless communication device is disconnected, waiting for the third preset duration while continuing to resume the connection. 如权利要求6所述的方法,其特征在于,所述启动蜂鸣器发出声波信息之后,还包括:The method according to claim 6, wherein after the buzzer is activated to emit sound wave information, the method further comprises: 继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。The broadcast is continued to connect the second wireless communication device again, and the buzzer is turned off after waiting for the fourth predetermined duration. 一种第二无线通讯装置,其特征在于,所述第二无线通讯装置包括:A second wireless communication device, wherein the second wireless communication device comprises: 第一通讯单元,用于启动无线通讯模块与第一无线通讯装置进行连接通信;a first communication unit, configured to start a wireless communication module to perform connection communication with the first wireless communication device; 第二通讯单元,用于当不能接收到第一无线通讯装置的无线连接信息时,通过麦克风模块接收已分配声波设备号对应的第一无线通讯装置发出的声波信 息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于1的正整数。a second communication unit, configured to receive, by the microphone module, a sound wave signal sent by the first wireless communication device corresponding to the allocated sound wave device number when the wireless connection information of the first wireless communication device cannot be received The sound wave information is generated by generating N high frequency sound wave sequences according to the sound wave device number, and transmitting at intervals of a first preset time period, wherein the N is a positive integer greater than or equal to 1. 如权利要求10所述的装置,其特征在于,所述装置还包括:The device of claim 10, wherein the device further comprises: 中断报警单元,用于如果接收不到所述已分配声波设备号对应的第一无线通讯装置发出的声波信息,且不能在第二预设时长内通过无线电连接到所述第一无线通讯装置,则进行丢失报警,所述丢失报警包括预设频率的警报声、警示界面或者震动中的一种或多种组合。The interrupting alarm unit is configured to: if the sound wave information sent by the first wireless communication device corresponding to the allocated sound wave device number is not received, and cannot be connected to the first wireless communication device by radio within a second preset time period, Then, a loss alarm is performed, and the lost alarm includes one or a combination of an alarm sound of a preset frequency, a warning interface, or a vibration. 如权利要求10所述的装置,其特征在于,所述装置还包括:The device of claim 10, wherein the device further comprises: 设备号分配单元,用于判断是否已为所述第一无线通讯装置分配声波设备号,如果否,则分配声波设备号至所述第一无线通讯装置;a device number assigning unit, configured to determine whether the first wireless communication device has been assigned an acoustic wave device number, and if not, assigning the acoustic wave device number to the first wireless communication device; 伪中断处理单元,用于如果接收到所述声波设备号对应的第一无线通讯装置发出的声波信息,则不进行丢失报警,同时,继续尝试与所述第一无线通讯装置进行无线电连接通信。The pseudo interrupt processing unit is configured to not perform a loss alarm if the sound wave information sent by the first wireless communication device corresponding to the sound wave device number is received, and continue to attempt to perform radio connection communication with the first wireless communication device. 如权利要求11所述的装置,其特征在于,所述第一通讯单元具体包括:The device according to claim 11, wherein the first communication unit specifically comprises: 信息接收模块,用于启动无线通讯模块接收第一无线通讯装置的MAC地址及通用唯一识别码;The information receiving module is configured to start the wireless communication module to receive the MAC address of the first wireless communication device and the universal unique identification code; 权限查询模块,用于访问云服务器查询所述MAC地址及通用唯一识别码是否具有配对权限;a permission query module, configured to access the cloud server to query whether the MAC address and the universal unique identifier have pairing rights; 连接通信模块,用于如果所述MAC地址及通用唯一识别码具有配对权限,且未与其他设备连接,则与所述第一无线通讯装置进行无线电连接通信。The communication module is configured to perform radio connection communication with the first wireless communication device if the MAC address and the universal unique identifier have pairing rights and are not connected to other devices. 一种第一无线通讯装置,其特征在于,所述第一无线通讯装置包括:A first wireless communication device, wherein the first wireless communication device comprises: 第三通信单元,用于启动无线通讯模块进行广播以与第二无线通讯装置进行连接通信,所述广播信息包括本端的MAC地址及通用唯一识别码;a third communication unit, configured to start a wireless communication module to perform broadcast communication with the second wireless communication device, where the broadcast information includes a MAC address of the local end and a universal unique identifier; 第四通信单元,用于如果与所述第二无线通讯装置的无线通讯断开,启动蜂鸣器发出声波信息以进行声波通信,所述声波信息为根据所述声波设备号生成N个高频声波序列,并以第一预设时长为间隔周期发射,所述N为大于等于 1的正整数。a fourth communication unit, configured to: when the wireless communication with the second wireless communication device is disconnected, start the buzzer to generate sound wave information for performing sonic communication, the sound wave information is to generate N high frequency signals according to the sound wave device number a sequence of sound waves, and transmitting at intervals of a first preset duration, the N being greater than or equal to A positive integer of 1. 如权利要求14所述的装置,其特征在于,所述装置还包括:The device of claim 14 wherein said device further comprises: 设备号获取单元,用于接收所述第二无线通讯装置发送的声波设备号并保存。The device number obtaining unit is configured to receive and save the sound wave device number sent by the second wireless communication device. 如权利要求14所述的装置,其特征在于,所述装置还包括:The device of claim 14 wherein said device further comprises: 第一等待单元,用于如果与所述第二无线通讯装置的无线电通讯断开,等待第三预设时长并同时继续恢复连接。The first waiting unit is configured to wait for a third preset duration while continuing to resume the connection if the radio communication with the second wireless communication device is disconnected. 如权利要求16所述的装置,其特征在于,所述装置还包括:The device of claim 16 wherein said device further comprises: 连接关闭单元,用于继续进行广播以再次连接所述第二无线通讯装置,并在等待第四预设时长之后,关闭所述蜂鸣器。And connecting a closing unit for continuing to broadcast to connect the second wireless communication device again, and turning off the buzzer after waiting for the fourth predetermined duration. 一种双介质互补通信系统,其特征在于,所述系统包括:A dual medium complementary communication system, characterized in that the system comprises: 如权利要求10-13任一项所述的第二无线通讯装置,和若干个如权利要求14-17任一项所述的第一无线通讯装置;A second wireless communication device according to any one of claims 10 to 13, and a plurality of first wireless communication devices according to any one of claims 14-17; 所述第二无线通讯装置与所述第一无线通讯装置通过无线电和声波两种介质进行通信。 The second wireless communication device communicates with the first wireless communication device via two media, radio and acoustic.
PCT/CN2017/075366 2017-03-01 2017-03-01 Dual-medium complementary communication method, and wireless communication apparatus and system Ceased WO2018157338A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780013573.XA CN108780600A (en) 2017-03-01 2017-03-01 A dual-medium complementary communication method, wireless communication device and system
PCT/CN2017/075366 WO2018157338A1 (en) 2017-03-01 2017-03-01 Dual-medium complementary communication method, and wireless communication apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/075366 WO2018157338A1 (en) 2017-03-01 2017-03-01 Dual-medium complementary communication method, and wireless communication apparatus and system

Publications (1)

Publication Number Publication Date
WO2018157338A1 true WO2018157338A1 (en) 2018-09-07

Family

ID=63369649

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075366 Ceased WO2018157338A1 (en) 2017-03-01 2017-03-01 Dual-medium complementary communication method, and wireless communication apparatus and system

Country Status (2)

Country Link
CN (1) CN108780600A (en)
WO (1) WO2018157338A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612017A (en) * 2020-11-05 2021-04-06 牟端 Anti-lost method for radio and ultrasonic ranging
CN114462996B (en) * 2020-11-10 2025-07-18 腾讯科技(深圳)有限公司 Resource transfer processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257692A (en) * 2008-04-09 2008-09-03 中兴通讯股份有限公司 Mobile phone capable of two-way automatic alarm and its sub-machine and two-way automatic alarm method
CN102595268A (en) * 2011-12-30 2012-07-18 吴东辉 Bluetooth headset with loss prevention function
CN104504845A (en) * 2014-12-20 2015-04-08 成都史塔克智能科技有限公司 Loss prevention method, loss prevention device and loss prevention system
US20150348396A1 (en) * 2012-11-27 2015-12-03 Ashkan Sattari Smart caregiver platform methods, apparatuses and media
CN106205004A (en) * 2016-08-16 2016-12-07 华中师范大学 A kind of Intelligent lost-proof type system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4172120B2 (en) * 1999-06-29 2008-10-29 ソニー株式会社 COMMUNICATION DEVICE AND COMMUNICATION METHOD, COMMUNICATION TERMINAL DEVICE
US7706548B2 (en) * 2003-08-29 2010-04-27 International Business Machines Corporation Method and apparatus for computer communication using audio signals
CN104876076A (en) * 2015-05-26 2015-09-02 永大电梯设备(中国)有限公司 Elevator system provided with elevator wireless communication system with redundant fault-tolerant function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257692A (en) * 2008-04-09 2008-09-03 中兴通讯股份有限公司 Mobile phone capable of two-way automatic alarm and its sub-machine and two-way automatic alarm method
CN102595268A (en) * 2011-12-30 2012-07-18 吴东辉 Bluetooth headset with loss prevention function
US20150348396A1 (en) * 2012-11-27 2015-12-03 Ashkan Sattari Smart caregiver platform methods, apparatuses and media
CN104504845A (en) * 2014-12-20 2015-04-08 成都史塔克智能科技有限公司 Loss prevention method, loss prevention device and loss prevention system
CN106205004A (en) * 2016-08-16 2016-12-07 华中师范大学 A kind of Intelligent lost-proof type system and method

Also Published As

Publication number Publication date
CN108780600A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN105744498B (en) Method and apparatus for generating a distress signal
CN103246255B (en) A kind of community Household intelligent train watching system
US9367718B2 (en) Methods for enabling low-power RFID communication
CN102232310B (en) System, device and method for monitoring distributed antenna system
US20170234962A1 (en) Method and apparatus for locating of a mobile device
JP2015531566A5 (en)
CN103237292A (en) Locator-based locating method
CN107258087A (en) Position determines the time-multiplexed transmission of beacon signal and control coherent signal
CN102621520A (en) Method and device for positioning trapped individual in the case of emergency
JP2016517660A5 (en)
CN109040253A (en) The method for uploading of data in the case of a kind of signal is obstructed
WO2022057456A1 (en) Slot updating method, electronic device, and storage medium
WO2018157338A1 (en) Dual-medium complementary communication method, and wireless communication apparatus and system
KR20190064406A (en) Apparatus and method for searching and registering tags in local positioning system
CN104410432B (en) Micro digital beacon device as well as monitoring system and method for rapidly finding moving target
JP2015014986A (en) Alarm and alarm system
CN102930677A (en) Anti-theft early warning system for electric power distribution room
CN204833568U (en) Broken detection device of glass and LED lighting device
CN104170321A (en) Network device discovery method, network device and network device discovery system
CN204272160U (en) A kind of for locating the gateway device with equipment control
US10405139B2 (en) Portable electronic devices with an emergency mode for locating survivors in disasters
CN203376842U (en) Radiationless child positioning device
WO2015196698A1 (en) Paging method, system and device, and computer storage medium
CN203338524U (en) Low radiation anti-lost device for children
CN103248398B (en) Mine multi-service communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17898436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17898436

Country of ref document: EP

Kind code of ref document: A1