WO2022267561A1 - Intercom device networking method and apparatus, intercom device, and readable storage medium - Google Patents

Intercom device networking method and apparatus, intercom device, and readable storage medium Download PDF

Info

Publication number
WO2022267561A1
WO2022267561A1 PCT/CN2022/080471 CN2022080471W WO2022267561A1 WO 2022267561 A1 WO2022267561 A1 WO 2022267561A1 CN 2022080471 W CN2022080471 W CN 2022080471W WO 2022267561 A1 WO2022267561 A1 WO 2022267561A1
Authority
WO
WIPO (PCT)
Prior art keywords
networking
data packet
intercom device
information
intercom
Prior art date
Application number
PCT/CN2022/080471
Other languages
French (fr)
Chinese (zh)
Inventor
周志刚
Original Assignee
东莞市吉声技术有限公司
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 东莞市吉声技术有限公司 filed Critical 东莞市吉声技术有限公司
Publication of WO2022267561A1 publication Critical patent/WO2022267561A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the technical field of intercom, and in particular, relates to a networking method and device for intercom equipment, intercom equipment and a readable storage medium.
  • the present invention provides an intercom device networking method, device, intercom device and readable storage medium to simplify the steps of intercom device pairing and networking, and improve the efficiency of intercom device pairing and networking, thereby Improve user experience.
  • a networking method for intercom equipment comprising:
  • the broadcast data packet After determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet;
  • extracting the first networking information in the broadcast data packet includes:
  • the decryption operation When the decryption operation is successful, it is determined that the broadcast data packet is the networking data packet, and the first networking information in the decrypted information is extracted.
  • the intercom device networking method further includes:
  • the generating a networking data packet using the second networking information includes:
  • the second networking information is encrypted by using a preset encryption algorithm to obtain a corresponding networking data packet.
  • the networking information includes channel information and subsound code information;
  • the near-field wireless communication module is a Bluetooth BLE module.
  • the intercom device networking method further includes:
  • the intercom device networking method further includes:
  • a prompt to complete the networking is given in a preset manner.
  • the present application also provides a networking device for intercom equipment, including:
  • the wireless communication opening module is used to respond to the triggering of the first distribution network button, open the near-field wireless communication module, and use the near-field wireless communication module to monitor the wireless broadcast within the preset distance;
  • a data packet receiving module configured to receive broadcast data packets within a preset distance
  • a networking information extraction module configured to extract the first networking information in the broadcast data packet after determining that the broadcast data packet is a networking data packet
  • the networking information storage module is configured to store the first networking information and use the first networking information to perform long-distance intercom communication with the corresponding intercom device.
  • the present application also provides an intercom device, including a memory and a processor, the memory stores a computer program, and the computer program executes the intercom device networking method when running on the processor.
  • the present application also provides a readable storage medium, which stores a computer program, and executes the intercom device networking method when the computer program runs on a processor.
  • the present application provides a networking method for intercom devices.
  • the networking method for intercom devices includes: responding to the triggering of the first network distribution button, entering the first distribution network state, turning on the near-field wireless communication module, and using the near-field
  • the wireless communication module monitors the wireless broadcast within the preset distance; receives the broadcast data packet within the preset distance, and extracts the first networking data in the broadcast data packet after determining that the broadcast data packet is a networking data packet. information; saving the first networking information.
  • the intercom device is provided with a near-field wireless communication module, which can automatically receive the networking data packet broadcast by the intercom device paired with it after entering the first distribution network state, and save the group
  • the networking information in the network data packet is used for subsequent remote mobile communication with the paired intercom device, which simplifies the steps of intercom device pairing and networking, and improves the efficiency of intercom device pairing and networking, thereby improving user experience.
  • Fig. 1 is a flowchart of a networking method for intercom devices provided in Embodiment 1 of the present application;
  • FIG. 2 is a flow chart for extracting networking information provided by Embodiment 1 of the present application.
  • Fig. 3 is a flowchart of a networking method for intercom devices provided in Embodiment 2 of the present application;
  • FIG. 4 is a flow chart of another intercom device networking method provided in Embodiment 2 of the present application.
  • FIG. 5 is a flow chart of generating a networking data packet provided by Embodiment 2 of the present application.
  • FIG. 6 is a flow chart of a networking method for intercom devices provided in Embodiment 3 of the present application.
  • FIG. 7 is a schematic structural diagram of an intercom device networking device provided in Embodiment 4 of the present application.
  • Fig. 1 is a flow chart of a method for networking of intercom devices provided in Embodiment 1 of the present application, the method comprising the following steps:
  • Step S11 In response to the triggering of the first network distribution button, enter the first network distribution state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
  • the above-mentioned intercom equipment includes wireless mobile communication equipment such as civilian walkie-talkies, handheld walkie-talkies, and vehicle-mounted walkie-talkies, and the intercom equipment is provided with a near-field wireless communication module, through which the near-field wireless communication module can communicate with the target
  • the intercom device performs the transmission and pairing of networking information, so as to perform long-distance mobile communication with the target intercom device according to the networking information.
  • the near-field wireless communication module is a Bluetooth BLE module (BLE, Bluetooth Low Energy, Bluetooth Low Energy).
  • the signal range of the Bluetooth BLE module is covered within a preset range, for example If you change the default range to 1 meter, you can control the current intercom device to only pair with other intercom devices within a range of 1 meter.
  • the Bluetooth BLE module can be integrated on the microprocessor of the intercom device, so that the intercom device does not need to install a radio frequency processing unit as a near-field wireless communication module, thereby reducing the cost of automatic configuration of the intercom device.
  • a first network distribution button is set on the intercom device. After the user presses the first network distribution button, the near-field wireless communication module of the intercom device can be activated, and the near-field wireless communication module can be used to The module listens for wireless broadcasts.
  • the first network distribution state can be regarded as the state of the slave device, that is, the current intercom device enters the state of the slave device to receive the networking information broadcast by the master device, so that a remote mobile network can be established with it according to the network information broadcast by the master device. communication.
  • Step S12 receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
  • the intercom device after the intercom device receives a broadcast data packet within a preset distance, it can first verify whether the broadcast data packet is a networking data packet. Specifically, the verification can be performed according to the name of the data packet, for example When pairing intercom devices of the same model, the model of the intercom device can be written into the name of the data packet, so that the intercom device receiving the data packet can judge whether it is a networking data packet according to the name.
  • the broadcast data packet can also be an encrypted data packet.
  • the intercom device After receiving the broadcast data packet, the intercom device will decrypt it, determine it as a networking data packet after the decryption is successful, and extract the first A set of network information.
  • the networking information includes channel information and subsound code information.
  • Step S13 saving the first networking information.
  • the intercom device is provided with a near-field wireless communication module, which can automatically receive the networking data packet broadcast by the intercom device paired with it after entering the first network distribution state, and save the network data packet in the
  • the networking information of the intercom device can be used for remote mobile communication with the paired intercom device, which simplifies the steps of intercom device pairing and networking, and improves the efficiency of intercom device pairing and networking, thereby improving user experience.
  • Fig. 2 is a flow chart of extracting networking information provided by Embodiment 1 of the present application, including the following steps:
  • Step S21 Perform a decryption operation on the broadcast data packet by using a preset decryption algorithm.
  • an application program based on the above-mentioned preset decryption algorithm can be set in the intercom device, and after receiving the broadcast data packet through the near-field wireless communication module, the broadcast data packet can be input into the preset decryption algorithm in the application program to obtain the first networking information in the broadcast packet.
  • the above-mentioned preset decryption algorithm may be the RSA decryption algorithm
  • the intercom device sending the broadcast data packet uses the RSA encryption algorithm, that is, the intercom device may be provided with an application program of the RSA encryption and decryption algorithm, or may be provided with a Applications of symmetric encryption algorithms.
  • the key of the asymmetric encryption algorithm can be stored in the factory-configured storage, that is, only intercom devices of the same model can decrypt each other.
  • Step S22 When the decryption operation is successful, determine that the broadcast data packet is the networking data packet, and extract the first networking information in the decrypted information.
  • the networking data packet since an asymmetric encryption algorithm is used to transmit the networking data packet, it can be judged whether the received broadcast data packet is a networking data packet based on successful decryption. After the decryption is successful, the first networking information can be extracted from the decrypted information.
  • Fig. 3 is a flow chart of a method for networking intercom devices provided in Embodiment 2 of the present application, the method comprising the following steps:
  • Step S31 In response to the triggering of the first network distribution button, enter the first network distribution state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
  • Step S32 receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
  • Step S33 saving the first networking information.
  • Step S34 In response to the triggering of the second network distribution button, enter the second network distribution state, and turn on the near-field wireless communication module.
  • a second network distribution button may also be provided on the intercom device, and the user can make the intercom device enter the second network distribution state by triggering the second network distribution button.
  • the second distribution network state is also the master device state, corresponding to the slave device state in the above-mentioned embodiment, that is, when the intercom devices are paired and networked, one of the intercom devices enters the master device state, and the remaining at least one pair After the intercom device enters the slave device state, the master device sends networking information to at least one slave device, thereby completing the configuration of multiple intercom device frequency bands and subsound codes, so as to achieve the effect of automatic networking of the intercom device.
  • Step S35 Using the pre-stored second networking information to generate a networking data packet, or generating a networking data packet according to preset rules, and using the near-field wireless communication module to broadcast the networking data packet within the preset distance.
  • the intercom device when the intercom device is used as the master device, the pre-stored second networking information will be used to generate the networking data packet, or the networking data packet will be generated according to the preset rules. If the networking data packet is verified by decryption When generating the networking data packet, it is also necessary to use the preset encryption algorithm for encryption. Among them, the preset rules include selecting the device frequency band and the sub-sound code through a random algorithm, so as to generate the networking data packet according to the device frequency band and the sub-sound code.
  • the intercom device uses the near-field wireless communication module to broadcast the networking data packet, such as using the Bluetooth BLE module to broadcast the networking data packet within a short distance. After the other intercom devices turn on the first distribution network state, and place them within the preset distance, the pairing and networking can be completed automatically.
  • Fig. 4 is a flow chart of another intercom device networking method provided by Embodiment 2 of the present application, the method also includes the following steps:
  • Step S36 After entering the second network distribution state, exit the second network distribution state after a preset time.
  • the intercom device can start timing after entering the second network distribution state.
  • a timing application program can be set in the intercom device, and exit the second network distribution state after a preset time. That is, the broadcasting of networking data packets is stopped, but the near-field wireless communication module can keep running normally, so as to connect to the mobile terminal through the near-field wireless communication module for data interaction.
  • the near-field wireless communication module can be turned off, and the network distribution state can be exited.
  • a sound or light can be used to prompt the user to enter the distribution network state for a long time, so that the user can turn off the near-field wireless communication module and exit the second network distribution state, so as to reduce the power consumption of the intercom device.
  • Fig. 5 is a flow chart of generating a networking packet provided by Embodiment 2 of the present application, including the following steps:
  • Step S51 Obtain the prestored second networking information.
  • Step S52 Encrypt the second networking information by using a preset encryption algorithm to obtain a corresponding networking data packet.
  • the preset encryption algorithm includes an asymmetric encryption algorithm such as the RSA encryption algorithm, and its key is provided with internal storage when the intercom device leaves the factory, that is, only intercom devices of the same model can be paired and networked , thereby improving security.
  • an asymmetric encryption algorithm such as the RSA encryption algorithm
  • an application program based on a preset encryption algorithm can be set in the intercom device. After obtaining the pre-stored second networking information, it can be input into the application program and encrypted by a preset encryption algorithm, so that Obtain the corresponding networking data package.
  • FIG. 6 is a flow chart of a method for networking intercom devices provided in Embodiment 3 of the present application. The method includes the following steps:
  • Step S61 In response to the triggering of the first distribution network button, enter the first distribution network state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
  • Step S62 receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
  • Step S63 Save the first networking information.
  • Step S64 After saving the first networking information, a prompt for completing the networking is given in a preset manner.
  • the intercom device after the intercom device enters the first network configuration state and receives and saves the first network information, it will prompt according to the preset method.
  • a buzzer can be set on the intercom device. The buzzer sends out a prompt sound, or an LED indicator light can also be set on the intercom device, and the LED indicator light sends a prompt and flashes.
  • a wireless off button for closing the near-field wireless communication module can also be set on the intercom device, and the user can trigger Press the button to turn off the near-field wireless communication module to exit the first distribution network state.
  • the near-field wireless communication module when the above-mentioned near-field wireless communication module is a Bluetooth BLE module, it may not be turned off after the intercom device is turned on, so that the intercom device can be connected to the mobile terminal through the Bluetooth BLE module, and the mobile terminal can perform intercommunication. Talk about device parameter settings. It is also possible to set a stateful shutdown button, that is, after the intercom device sends out a notification that the network is completed, the user can trigger the status shutdown button to close the first network distribution state, so that the intercom device no longer uses the near-field wireless communication module to monitor Bluetooth. Broadcast and no longer receive broadcast data.
  • FIG. 7 is a schematic structural diagram of an intercom device networking device provided in Embodiment 4 of the present application.
  • the intercom device networking device 700 includes:
  • the wireless communication opening module 710 is used to respond to the triggering of the first distribution network button, enter the first distribution network state, open the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance;
  • the networking information extraction module 720 is configured to receive a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extract the first networking information in the broadcast data packet;
  • the networking information saving module 730 is configured to save the first networking information.
  • the present application also provides an intercom device, the intercom device includes a memory and a processor, the memory can be used to store a computer program, and the processor runs the computer program, so that the intercom device executes the above method or the above intercom Talk about the functions of each module in the equipment networking device.
  • the memory can include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of the device (such as audio data, phonebook, etc.), etc.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • This embodiment also provides a computer storage medium for storing the computer program used in the above-mentioned intercom device.
  • each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flow diagrams, and combinations of blocks in the block diagrams and/or flow diagrams can be implemented by a dedicated hardware-based system that performs the specified function or action may be implemented, or may be implemented by a combination of special purpose hardware and computer instructions.
  • each functional module or unit in each embodiment of the present application may be integrated to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part.
  • the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

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

Abstract

The present application provides an intercom device networking method and apparatus, an intercom device, and a readable storage medium. The intercom device networking method comprises: in response to triggering of a first network configuration key, entering a first network configuration state, turning on a near field wireless communication module, and monitoring a wireless broadcast within a preset distance using the near field wireless communication module (S11); receiving a broadcast data packet within the preset distance, and after determining that the broadcast data packet is a networking data packet, extracting first networking information in the broadcast data packet (S12); and saving the first networking information (S13). The present application provides a near-field wireless communication module in an intercom device, which can automatically receive the networking data packet broadcast by the intercom device paired with it after entering a first network configuration state, and save the networking information in the networking data packet, so as to subsequently carry out remote mobile communication with a paired intercom device, simplifying the steps of intercom device pairing and networking, and improving the efficiency of intercom device pairing and networking, thus improving a user experience.

Description

对讲设备组网方法、装置、对讲设备和可读存储介质Intercom equipment networking method, device, intercom equipment and readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年6月21日提交中国国家知识产权局的申请号为202110684167.4、名称为“对讲设备组网方法、装置、对讲设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110684167.4 and titled "Intercom equipment networking method, device, intercom equipment and readable storage medium" submitted to the State Intellectual Property Office of China on June 21, 2021 , the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及对讲技术领域,具体而言,涉及一种对讲设备组网方法、装置、对讲设备和可读存储介质。The present application relates to the technical field of intercom, and in particular, relates to a networking method and device for intercom equipment, intercom equipment and a readable storage medium.
背景技术Background technique
现有的对讲设备,在进行配对组网时,一般需要用户自行在对讲设备的按键或者屏幕上进行操作,输入正确的组网信息后,才可以时多个对讲设备组网成功,因此器组网效率比较低。For existing intercom devices, when performing pairing and networking, users generally need to operate on the buttons or screens of the intercom devices by themselves. After entering the correct networking information, multiple intercom devices can be successfully networked. Therefore, the device networking efficiency is relatively low.
发明内容Contents of the invention
鉴于上述问题,本发明提供了一种对讲设备组网方法、装置、对讲设备和可读存储介质,以简化对讲设备配对组网的步骤,并提高对讲设备配对组网效率,从而提高用户的体验度。In view of the above problems, the present invention provides an intercom device networking method, device, intercom device and readable storage medium to simplify the steps of intercom device pairing and networking, and improve the efficiency of intercom device pairing and networking, thereby Improve user experience.
为了实现上述目的,本申请采用如下的技术方案:In order to achieve the above object, the application adopts the following technical solutions:
一种对讲设备组网方法,包括:A networking method for intercom equipment, comprising:
响应于第一配网按键的触发,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;In response to the triggering of the first distribution network button, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance;
接收预设距离内的广播数据包;Receive broadcast packets within a preset distance;
在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;After determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet;
保存所述第一组网信息并利用所述第一组网信息与对应的对讲设备进行远距离对讲通信。Save the first networking information and use the first networking information to perform long-distance intercom communication with the corresponding intercom device.
优选地,所述的对讲设备组网方法中,所述在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息包括:Preferably, in the intercom device networking method, after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet includes:
利用预设解密算法对所述广播数据包进行解密运算;performing a decryption operation on the broadcast data packet by using a preset decryption algorithm;
在解密运算成功时,确定所述广播数据包为所述组网数据包,并提取解密信息中所述第一组网信息。When the decryption operation is successful, it is determined that the broadcast data packet is the networking data packet, and the first networking information in the decrypted information is extracted.
优选地,所述的对讲设备组网方法中,还包括:Preferably, the intercom device networking method further includes:
响应于第二配网按键的触发,开启所述近场无线通信模块;In response to the triggering of the second network distribution button, turn on the near-field wireless communication module;
利用预存的第二组网信息生成组网数据包,或按照预设规则生成组网数据包,并利用所述近场无线通信模块在所述预设距离内广播组网数据包。Using the pre-stored second networking information to generate a networking data packet, or generating a networking data packet according to a preset rule, and using the near-field wireless communication module to broadcast the networking data packet within the preset distance.
优选地,所述的对讲设备组网方法中,所述利用第二组网信息生成组网数据包,包括:Preferably, in the intercom device networking method, the generating a networking data packet using the second networking information includes:
获取预存的所述第二组网信息;Obtain the prestored second networking information;
利用预设加密算法对所述第二组网信息进行加密运算,获得相应的组网数据包。The second networking information is encrypted by using a preset encryption algorithm to obtain a corresponding networking data packet.
优选地,所述的对讲设备组网方法中,所述组网信息包括频道信息以及亚音码信息;所述近场无线通信模块为蓝牙BLE模块。Preferably, in the intercom device networking method, the networking information includes channel information and subsound code information; the near-field wireless communication module is a Bluetooth BLE module.
优选地,所述的对讲设备组网方法中,还包括:Preferably, the intercom device networking method further includes:
在保存所述第一组网信息后,经过预设时间后退出所述第二配网状态。After saving the first network configuration information, exit the second network configuration state after a preset time.
优选地,所述的对讲设备组网方法中,还包括:Preferably, the intercom device networking method further includes:
在保存所述第一组网信息后,按照预设方式进行完成组网提示。After saving the first networking information, a prompt to complete the networking is given in a preset manner.
本申请还提供一种对讲设备组网装置,包括:The present application also provides a networking device for intercom equipment, including:
无线通信开启模块,用于响应于第一配网按键的触发,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;The wireless communication opening module is used to respond to the triggering of the first distribution network button, open the near-field wireless communication module, and use the near-field wireless communication module to monitor the wireless broadcast within the preset distance;
数据包接收模块,用于接收预设距离内的广播数据包;A data packet receiving module, configured to receive broadcast data packets within a preset distance;
组网信息提取模块,用于在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;A networking information extraction module, configured to extract the first networking information in the broadcast data packet after determining that the broadcast data packet is a networking data packet;
组网信息保存模块,用于保存所述第一组网信息并利用所述第一组网信息与对应的对讲设备进行远距离对讲通信。The networking information storage module is configured to store the first networking information and use the first networking information to perform long-distance intercom communication with the corresponding intercom device.
本申请还提供一种对讲设备,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行所述的对讲设备组网方法。The present application also provides an intercom device, including a memory and a processor, the memory stores a computer program, and the computer program executes the intercom device networking method when running on the processor.
本申请还提供一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行所述的对讲设备组网方法。The present application also provides a readable storage medium, which stores a computer program, and executes the intercom device networking method when the computer program runs on a processor.
本申请提供一种对讲设备组网方法,该对讲设备组网方法包括:响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;保存所述第一组网信息。本申请的对讲设备组网方法,在对讲设备中设置有近场无线通信模块,在进入第一配网状态后可以自动接收与其配对的对讲设备广播的组网数据包,并保存组网数据包中的组网信息,以便后续与配对的对讲设备进行远程移动通信,简化了对讲设备配对组网的步骤,并提高对讲设备配对组网效率,从而提高用户的体验度。The present application provides a networking method for intercom devices. The networking method for intercom devices includes: responding to the triggering of the first network distribution button, entering the first distribution network state, turning on the near-field wireless communication module, and using the near-field The wireless communication module monitors the wireless broadcast within the preset distance; receives the broadcast data packet within the preset distance, and extracts the first networking data in the broadcast data packet after determining that the broadcast data packet is a networking data packet. information; saving the first networking information. In the intercom device networking method of the present application, the intercom device is provided with a near-field wireless communication module, which can automatically receive the networking data packet broadcast by the intercom device paired with it after entering the first distribution network state, and save the group The networking information in the network data packet is used for subsequent remote mobile communication with the paired intercom device, which simplifies the steps of intercom device pairing and networking, and improves the efficiency of intercom device pairing and networking, thereby improving user experience.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所 附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present application more comprehensible, the preferred embodiments are specifically cited below, together with the attached drawings, which are described in detail as follows.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对本申请保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to illustrate the technical solution of the present application more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the application, and therefore should not be regarded It is regarded as a limitation on the scope of protection of the present application. In the respective drawings, similar components are given similar reference numerals.
图1是本申请实施例1提供的一种对讲设备组网方法的流程图;Fig. 1 is a flowchart of a networking method for intercom devices provided in Embodiment 1 of the present application;
图2是本申请实施例1提供的一种提取组网信息的流程图;FIG. 2 is a flow chart for extracting networking information provided by Embodiment 1 of the present application;
图3是本申请实施例2提供的一种对讲设备组网方法的流程图;Fig. 3 is a flowchart of a networking method for intercom devices provided in Embodiment 2 of the present application;
图4是本申请实施例2提供的另一种对讲设备组网方法的流程图;FIG. 4 is a flow chart of another intercom device networking method provided in Embodiment 2 of the present application;
图5是本申请实施例2提供的一种生成组网数据包的流程图;FIG. 5 is a flow chart of generating a networking data packet provided by Embodiment 2 of the present application;
图6是本申请实施例3提供的一种对讲设备组网方法的流程图;FIG. 6 is a flow chart of a networking method for intercom devices provided in Embodiment 3 of the present application;
图7是本申请实施例4提供的一种对讲设备组网装置的结构示意图。FIG. 7 is a schematic structural diagram of an intercom device networking device provided in Embodiment 4 of the present application.
具体实施方式detailed description
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them.
通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
在下文中,可在本申请的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "comprising", "having" and their cognates that may be used in various embodiments of the present application are only intended to represent specific features, numbers, steps, operations, elements, components or combinations of the foregoing, And it should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing or adding one or more features, numbers, steps, operations, elements, components or a combination of the foregoing possibilities.
此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions, and should not be construed as indicating or implying relative importance.
除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本申请的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本申请的各种实施例中被清楚地限定。Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the application belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, Unless clearly defined in the various embodiments of the present application.
实施例1Example 1
图1是本申请实施例1提供的一种对讲设备组网方法的流程图,该方法包括如下步骤:Fig. 1 is a flow chart of a method for networking of intercom devices provided in Embodiment 1 of the present application, the method comprising the following steps:
步骤S11:响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播。Step S11: In response to the triggering of the first network distribution button, enter the first network distribution state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
本申请实施例中,上述对讲设备包括民用对讲机、手持对讲机以及车载对讲机等无线移动通信设备,并且,该对讲设备上设置有近场无线通信模块,通过该近场无线通信模块可以与目标对讲设备进行组网信息的传输配对,从而与目标对讲设备按照组网信息进行远距离移动通信。其中,该近场无线通信模块为蓝牙BLE模块(BLE,Bluetooth Low Energy,蓝牙低能耗),通过对蓝牙BLE模块信号强度的调制,使该蓝牙BLE模块的信号范围覆盖在预设范围内,例如改预设范围为1米,则可以控制当前对讲设备仅与1米范围内的其它对讲设备进行配对组网。其中,该蓝牙BLE模块可以集成于对讲设备的微处理器上,从而使对讲设备无需再设置一个射频处理单元来做为近场无线通信模块,从而降低对讲设备自动配置的成本。In the embodiment of the present application, the above-mentioned intercom equipment includes wireless mobile communication equipment such as civilian walkie-talkies, handheld walkie-talkies, and vehicle-mounted walkie-talkies, and the intercom equipment is provided with a near-field wireless communication module, through which the near-field wireless communication module can communicate with the target The intercom device performs the transmission and pairing of networking information, so as to perform long-distance mobile communication with the target intercom device according to the networking information. Wherein, the near-field wireless communication module is a Bluetooth BLE module (BLE, Bluetooth Low Energy, Bluetooth Low Energy). By modulating the signal strength of the Bluetooth BLE module, the signal range of the Bluetooth BLE module is covered within a preset range, for example If you change the default range to 1 meter, you can control the current intercom device to only pair with other intercom devices within a range of 1 meter. Among them, the Bluetooth BLE module can be integrated on the microprocessor of the intercom device, so that the intercom device does not need to install a radio frequency processing unit as a near-field wireless communication module, thereby reducing the cost of automatic configuration of the intercom device.
本申请实施例中,在对讲设备上设置有第一配网按键,用户在按下第一配网按键后,即可启动对讲设备的近场无线通信模块,并利用该近场无线通信模块监听无线广播。其中,该第一配网状态即可以为从设备状态,也即当前对讲设备进入从设备状态,以接收主设备广播的组网信息,从而可以根据主设备广播的组网信息与其建立远程移动通信。In the embodiment of the present application, a first network distribution button is set on the intercom device. After the user presses the first network distribution button, the near-field wireless communication module of the intercom device can be activated, and the near-field wireless communication module can be used to The module listens for wireless broadcasts. Among them, the first network distribution state can be regarded as the state of the slave device, that is, the current intercom device enters the state of the slave device to receive the networking information broadcast by the master device, so that a remote mobile network can be established with it according to the network information broadcast by the master device. communication.
步骤S12:接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息。Step S12: receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
本申请实施例中,对讲设备在接收到预设距离内的广播数据包后,可以先验证该广播数据包是否为组网数据包,具体地,可以根据数据包的名称来进行验证,例如在同型号的对讲设备进行配对时,可以将对讲设备的型号写入数据包的名称中,以便接收数据包的对讲设备可以根据名称来判断是否为组网数据包。或者,该广播数据包还可以为加密的数据包,在接收到广播数据包后对讲设备将对其进行解密,在解密成功后确定为组网数据包,并提取解密后的信息中的第一组网信息。其中,所述组网信息包括频道信息以及亚音码信息。In the embodiment of the present application, after the intercom device receives a broadcast data packet within a preset distance, it can first verify whether the broadcast data packet is a networking data packet. Specifically, the verification can be performed according to the name of the data packet, for example When pairing intercom devices of the same model, the model of the intercom device can be written into the name of the data packet, so that the intercom device receiving the data packet can judge whether it is a networking data packet according to the name. Alternatively, the broadcast data packet can also be an encrypted data packet. After receiving the broadcast data packet, the intercom device will decrypt it, determine it as a networking data packet after the decryption is successful, and extract the first A set of network information. Wherein, the networking information includes channel information and subsound code information.
步骤S13:保存所述第一组网信息。Step S13: saving the first networking information.
本申请实施例中,在对讲设备中设置有近场无线通信模块,在进入第一配网状态后可以自动接收与其配对的对讲设备广播的组网数据包,并保存组网数据包中的组网信息,以便后续与配对的对讲设备进行远程移动通信,简化了对讲设备配对组网的步骤,并提高对讲设备配对组网效率,从而提高用户的体验度。In the embodiment of the present application, the intercom device is provided with a near-field wireless communication module, which can automatically receive the networking data packet broadcast by the intercom device paired with it after entering the first network distribution state, and save the network data packet in the The networking information of the intercom device can be used for remote mobile communication with the paired intercom device, which simplifies the steps of intercom device pairing and networking, and improves the efficiency of intercom device pairing and networking, thereby improving user experience.
图2是本申请实施例1提供的一种提取组网信息的流程图,包括如下步骤:Fig. 2 is a flow chart of extracting networking information provided by Embodiment 1 of the present application, including the following steps:
步骤S21:利用预设解密算法对所述广播数据包进行解密运算。Step S21: Perform a decryption operation on the broadcast data packet by using a preset decryption algorithm.
本申请实施例中,在对讲设备中可以设置有基于上述预设解密算法的应用程序,在通过近场无线通信模块接收到广播数据包后,可以将该广播数据包输入至预设解密算法的应用程序中,以获得广播数据包中的第一组网信息。其中,上述预设解密算法可以为RSA解密算法,而发送广播数据包的对讲设备则使用RSA加密算法,也即对讲设备中可以设置有RSA加解密算法的应用程序,或者设置有基于非对称加密算法的应用程序。而非对称加密算法的密钥则可以存储在出厂配置的存储里面,也即只有同型号的对讲设备才可以进行互相解密。In the embodiment of the present application, an application program based on the above-mentioned preset decryption algorithm can be set in the intercom device, and after receiving the broadcast data packet through the near-field wireless communication module, the broadcast data packet can be input into the preset decryption algorithm in the application program to obtain the first networking information in the broadcast packet. Wherein, the above-mentioned preset decryption algorithm may be the RSA decryption algorithm, and the intercom device sending the broadcast data packet uses the RSA encryption algorithm, that is, the intercom device may be provided with an application program of the RSA encryption and decryption algorithm, or may be provided with a Applications of symmetric encryption algorithms. The key of the asymmetric encryption algorithm can be stored in the factory-configured storage, that is, only intercom devices of the same model can decrypt each other.
步骤S22:在解密运算成功时,确定所述广播数据包为所述组网数据包,并提取解密信息中所述第一组网信息。Step S22: When the decryption operation is successful, determine that the broadcast data packet is the networking data packet, and extract the first networking information in the decrypted information.
本申请实施例中,由于使用非对称加密算法进行组网数据包的传输,因此可以以解密成功来判断接收到的广播数据包是否为组网数据包。在解密成功后,可以从解密信息中提取出第一组网信息。In the embodiment of the present application, since an asymmetric encryption algorithm is used to transmit the networking data packet, it can be judged whether the received broadcast data packet is a networking data packet based on successful decryption. After the decryption is successful, the first networking information can be extracted from the decrypted information.
实施例2Example 2
图3是本申请实施例2提供的一种对讲设备组网方法的流程图,该方法包括如下步骤:Fig. 3 is a flow chart of a method for networking intercom devices provided in Embodiment 2 of the present application, the method comprising the following steps:
步骤S31:响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播。Step S31: In response to the triggering of the first network distribution button, enter the first network distribution state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
此步骤与上述步骤S11一致,在此不再赘述。This step is consistent with the above step S11, and will not be repeated here.
步骤S32:接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息。Step S32: receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
此步骤与上述步骤S12一致,在此不再赘述。This step is consistent with the above step S12, and will not be repeated here.
步骤S33:保存所述第一组网信息。Step S33: saving the first networking information.
此步骤与上述步骤S13一致,在此不再赘述。This step is consistent with the above step S13, and will not be repeated here.
步骤S34:响应于第二配网按键的触发,进入第二配网状态,开启所述近场无线通信模块。Step S34: In response to the triggering of the second network distribution button, enter the second network distribution state, and turn on the near-field wireless communication module.
本申请实施例中,在对讲设备上还可以设置有第二配网按键,用户通过触发第二配网按键使对讲设备进入第二配网状态。第二配网状态也即主设备状态,与上述实施例中的从设备状态相对应,也即在对讲设备进行配对组网时,其中一个对讲设备进入主设备状态,剩余的至少一个对讲设备进入从设备状态后,通过主设备发送组网信息至至少一个从设备,从而完成多个对讲设备频段以及亚音码的配置,以达到对讲设备自动组网的效果。In the embodiment of the present application, a second network distribution button may also be provided on the intercom device, and the user can make the intercom device enter the second network distribution state by triggering the second network distribution button. The second distribution network state is also the master device state, corresponding to the slave device state in the above-mentioned embodiment, that is, when the intercom devices are paired and networked, one of the intercom devices enters the master device state, and the remaining at least one pair After the intercom device enters the slave device state, the master device sends networking information to at least one slave device, thereby completing the configuration of multiple intercom device frequency bands and subsound codes, so as to achieve the effect of automatic networking of the intercom device.
步骤S35:利用预存的第二组网信息生成组网数据包,或按照预设规则生成组网数据包,并利用所述近场无线通信模块在所述预设距离内广播组网数据包。Step S35: Using the pre-stored second networking information to generate a networking data packet, or generating a networking data packet according to preset rules, and using the near-field wireless communication module to broadcast the networking data packet within the preset distance.
本申请实施例中,在对讲设备作为主设备时,将利用预存的第二组网信息生成组网数据包,或按照预设规则生成组网数据包,若组网数据包通过解密进行验证时,在生成组网数据包时还需要利用预设的加密算法进行加密。其中,预设规则包括通过随机算法选取出设备频段以及亚音码,从而根据设备频段以及亚音码生成组网数据包。在生成组网数据包后,对讲设备利用近场无线通信模块进行组网数据包的广播,例如使用蓝牙BLE模块,在近距离内进行广播组网数据包,在进行组网时将同型号的其它对讲设备开启第一配网状态后,放在预设距离内,即可自动完成配对组网。In the embodiment of this application, when the intercom device is used as the master device, the pre-stored second networking information will be used to generate the networking data packet, or the networking data packet will be generated according to the preset rules. If the networking data packet is verified by decryption When generating the networking data packet, it is also necessary to use the preset encryption algorithm for encryption. Among them, the preset rules include selecting the device frequency band and the sub-sound code through a random algorithm, so as to generate the networking data packet according to the device frequency band and the sub-sound code. After generating the networking data packet, the intercom device uses the near-field wireless communication module to broadcast the networking data packet, such as using the Bluetooth BLE module to broadcast the networking data packet within a short distance. After the other intercom devices turn on the first distribution network state, and place them within the preset distance, the pairing and networking can be completed automatically.
图4是本申请实施例2提供的另一种对讲设备组网方法的流程图,该方法还包括如下步骤:Fig. 4 is a flow chart of another intercom device networking method provided by Embodiment 2 of the present application, the method also includes the following steps:
步骤S36:进入所述第二配网状态后,经过预设时间后退出所述第二配网状态。Step S36: After entering the second network distribution state, exit the second network distribution state after a preset time.
本申请实施例中,对讲设备在进入第二配网状态后,可以开始计时,如可以在对讲设备中设置有计时应用程序,在经过预设时间后退出所述第二配网状态,也即停止广播组网数据包,但是近场无线通信模块可以保持正常运行,以便于通过该近场无线通信模块连接至移动终端进行数据交互。或者,可以关闭近场无线通信模块,以及退出配网状态。或者,还可以在经过预设时间后通过声音或灯光进行长时间进入配网状态的提示,以便用户自行关闭近场无线通信模块并退出第二配网状态,以降低对讲设备的功耗。In the embodiment of the present application, the intercom device can start timing after entering the second network distribution state. For example, a timing application program can be set in the intercom device, and exit the second network distribution state after a preset time. That is, the broadcasting of networking data packets is stopped, but the near-field wireless communication module can keep running normally, so as to connect to the mobile terminal through the near-field wireless communication module for data interaction. Alternatively, the near-field wireless communication module can be turned off, and the network distribution state can be exited. Alternatively, after a preset time, a sound or light can be used to prompt the user to enter the distribution network state for a long time, so that the user can turn off the near-field wireless communication module and exit the second network distribution state, so as to reduce the power consumption of the intercom device.
图5是本申请实施例2提供的一种生成组网数据包的流程图,包括如下步骤:Fig. 5 is a flow chart of generating a networking packet provided by Embodiment 2 of the present application, including the following steps:
步骤S51:获取预存的所述第二组网信息。Step S51: Obtain the prestored second networking information.
步骤S52:利用预设加密算法对所述第二组网信息进行加密运算,获得相应的组网数据包。Step S52: Encrypt the second networking information by using a preset encryption algorithm to obtain a corresponding networking data packet.
本申请实施例中,该预设加密算法包括RSA加密算法等非对称加密算法,其密钥在对讲设备出厂时设置有内部存储,也即只有同型号的对讲设备才可以进行配对组网,从而提高安全性。In the embodiment of this application, the preset encryption algorithm includes an asymmetric encryption algorithm such as the RSA encryption algorithm, and its key is provided with internal storage when the intercom device leaves the factory, that is, only intercom devices of the same model can be paired and networked , thereby improving security.
本申请实施例中,在对讲设备中可以设置有基于预设加密算法的应用程序,在获取预存的第二组网信息后,可以输入至该应用程序中,通过预设加密算法加密,从而获得相应的组网数据包。In the embodiment of the present application, an application program based on a preset encryption algorithm can be set in the intercom device. After obtaining the pre-stored second networking information, it can be input into the application program and encrypted by a preset encryption algorithm, so that Obtain the corresponding networking data package.
实施例3Example 3
图6是本申请实施例3提供的一种对讲设备组网方法的流程图,该方法包括如下步骤:FIG. 6 is a flow chart of a method for networking intercom devices provided in Embodiment 3 of the present application. The method includes the following steps:
步骤S61:响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块, 利用所述近场无线通信模块监听预设距离内的无线广播。Step S61: In response to the triggering of the first distribution network button, enter the first distribution network state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance.
此步骤与上述步骤S11一致,在此不再赘述。This step is consistent with the above step S11, and will not be repeated here.
步骤S62:接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息。Step S62: receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet.
此步骤与上述步骤S12一致,在此不再赘述。This step is consistent with the above step S12, and will not be repeated here.
步骤S63:保存所述第一组网信息。Step S63: Save the first networking information.
此步骤与上述步骤S13一致,在此不再赘述。This step is consistent with the above step S13, and will not be repeated here.
步骤S64:在保存所述第一组网信息后,按照预设方式进行完成组网提示。Step S64: After saving the first networking information, a prompt for completing the networking is given in a preset manner.
本申请实施例中,对讲设备在进入第一配网状态,接收并保存到第一组网信息后,将按照预设方式进行提示,例如在对讲设备上可以设置有蜂鸣器,通过蜂鸣器发出提示音,或者还可以在对讲设备上设置有LED指示灯,通过LED指示灯发出提示闪烁。In the embodiment of the present application, after the intercom device enters the first network configuration state and receives and saves the first network information, it will prompt according to the preset method. For example, a buzzer can be set on the intercom device. The buzzer sends out a prompt sound, or an LED indicator light can also be set on the intercom device, and the LED indicator light sends a prompt and flashes.
还包括:响应于无线关闭按键的触发,关闭所述近场无线通信模块。It also includes: closing the near field wireless communication module in response to the triggering of the wireless off button.
本申请实施例中,在对讲设备上还可以设置有用于关闭近场无线通信模块的无线关闭按键,用户在通过完成组网提示知晓对讲设备已经保存好第一组网信息后,可以触发该按键,从而关闭近场无线通信模块,以退出第一配网状态。In the embodiment of the present application, a wireless off button for closing the near-field wireless communication module can also be set on the intercom device, and the user can trigger Press the button to turn off the near-field wireless communication module to exit the first distribution network state.
本申请实施例中,上述近场无线通信模块为蓝牙BLE模块时,在对讲设备开启后可以不进行关闭,以便对讲设备可以通过该蓝牙BLE模块与移动终端进行连接,通过移动终端进行对讲设备的参数设置。而还可以设置有状态关闭按键,也即对讲设备发出完成组网提示后,用户可以触发状态关闭按键以关闭第一配网状态,以使对讲设备不再利用近场无线通信模块监听蓝牙广播以及不再接收广播数据。In the embodiment of the present application, when the above-mentioned near-field wireless communication module is a Bluetooth BLE module, it may not be turned off after the intercom device is turned on, so that the intercom device can be connected to the mobile terminal through the Bluetooth BLE module, and the mobile terminal can perform intercommunication. Talk about device parameter settings. It is also possible to set a stateful shutdown button, that is, after the intercom device sends out a notification that the network is completed, the user can trigger the status shutdown button to close the first network distribution state, so that the intercom device no longer uses the near-field wireless communication module to monitor Bluetooth. Broadcast and no longer receive broadcast data.
实施例4Example 4
图7是本申请实施例4提供的一种对讲设备组网装置的结构示意图。FIG. 7 is a schematic structural diagram of an intercom device networking device provided in Embodiment 4 of the present application.
该对讲设备组网装置700包括:The intercom device networking device 700 includes:
无线通信开启模块710,用于响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;The wireless communication opening module 710 is used to respond to the triggering of the first distribution network button, enter the first distribution network state, open the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance;
组网信息提取模块720,用于接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;The networking information extraction module 720 is configured to receive a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extract the first networking information in the broadcast data packet;
组网信息保存模块730,用于保存所述第一组网信息。The networking information saving module 730 is configured to save the first networking information.
本申请实施例中,上述各个模块更加详细的功能描述可以参考前述实施例中相应部分的内容,在此不再赘述。In the embodiment of the present application, for more detailed functional descriptions of the above modules, reference may be made to the content of corresponding parts in the foregoing embodiments, and details are not repeated here.
此外,本申请还提供了一种对讲设备,该对讲设备包括存储器和处理器,存储器可用 于存储计算机程序,处理器通过运行所述计算机程序,从而使对讲设备执行上述方法或者上述对讲设备组网装置中的各个模块的功能。In addition, the present application also provides an intercom device, the intercom device includes a memory and a processor, the memory can be used to store a computer program, and the processor runs the computer program, so that the intercom device executes the above method or the above intercom Talk about the functions of each module in the equipment networking device.
存储器可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据对讲设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of the device (such as audio data, phonebook, etc.), etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
本实施例还提供了一种计算机存储介质,用于储存上述对讲设备中使用的计算机程序。This embodiment also provides a computer storage medium for storing the computer program used in the above-mentioned intercom device.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are only illustrative. For example, the flow charts and structural diagrams in the accompanying drawings show the possible implementation architecture and functions of devices, methods and computer program products according to multiple embodiments of the present application. and operation. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also to be noted that each block of the block diagrams and/or flow diagrams, and combinations of blocks in the block diagrams and/or flow diagrams, can be implemented by a dedicated hardware-based system that performs the specified function or action may be implemented, or may be implemented by a combination of special purpose hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块或单元可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。In addition, each functional module or unit in each embodiment of the present application may be integrated to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (10)

  1. 一种对讲设备组网方法,其特征在于,包括:A networking method for intercom equipment, characterized in that it includes:
    响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;In response to the triggering of the first distribution network button, enter the first distribution network state, turn on the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance;
    接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;receiving a broadcast data packet within a preset distance, and after determining that the broadcast data packet is a networking data packet, extracting the first networking information in the broadcast data packet;
    保存所述第一组网信息。Save the first networking information.
  2. 根据权利要求1所述的对讲设备组网方法,其特征在于,所述在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息包括:The intercom device networking method according to claim 1, wherein after the broadcast data packet is determined to be a networking data packet, extracting the first networking information in the broadcast data packet includes:
    利用预设解密算法对所述广播数据包进行解密运算;performing a decryption operation on the broadcast data packet by using a preset decryption algorithm;
    在解密运算成功时,确定所述广播数据包为所述组网数据包,并提取解密信息中所述第一组网信息。When the decryption operation is successful, it is determined that the broadcast data packet is the networking data packet, and the first networking information in the decrypted information is extracted.
  3. 根据权利要求1所述的对讲设备组网方法,其特征在于,还包括:The intercom device networking method according to claim 1, further comprising:
    响应于第二配网按键的触发,进入第二配网状态,开启所述近场无线通信模块;In response to the triggering of the second network distribution button, enter the second network distribution state, and turn on the near-field wireless communication module;
    利用预存的第二组网信息生成组网数据包,或按照预设规则生成组网数据包,并利用所述近场无线通信模块在所述预设距离内广播组网数据包。Using the pre-stored second networking information to generate a networking data packet, or generating a networking data packet according to a preset rule, and using the near-field wireless communication module to broadcast the networking data packet within the preset distance.
  4. 根据权利要求3所述的对讲设备组网方法,其特征在于,所述利用第二组网信息生成组网数据包,包括:The intercom device networking method according to claim 3, wherein said generating a networking data packet using the second networking information includes:
    获取预存的所述第二组网信息;Obtain the prestored second networking information;
    利用预设加密算法对所述第二组网信息进行加密运算,获得相应的组网数据包。The second networking information is encrypted by using a preset encryption algorithm to obtain a corresponding networking data packet.
  5. 根据权利要求1所述的对讲设备组网方法,其特征在于,所述组网信息包括频道信息以及亚音码信息;所述近场无线通信模块为蓝牙BLE模块。The networking method for intercom devices according to claim 1, wherein the networking information includes channel information and subsound code information; and the near-field wireless communication module is a Bluetooth BLE module.
  6. 根据权利要求3所述的对讲设备组网方法,其特征在于,还包括:The intercom device networking method according to claim 3, further comprising:
    进入所述第二配网状态后,经过预设时间后退出所述第二配网状态。After entering the second network distribution state, exit the second network distribution state after a preset time.
  7. 根据权利要求1所述的对讲设备组网方法,其特征在于,还包括:The intercom device networking method according to claim 1, further comprising:
    在保存所述第一组网信息后,按照预设方式进行完成组网提示。After saving the first networking information, a prompt to complete the networking is given in a preset manner.
  8. 一种对讲设备组网装置,其特征在于,包括:A networking device for intercom equipment, characterized in that it includes:
    无线通信开启模块,用于响应于第一配网按键的触发,进入第一配网状态,开启近场无线通信模块,利用所述近场无线通信模块监听预设距离内的无线广播;The wireless communication opening module is used to respond to the triggering of the first distribution network button, enter the first distribution network state, open the near-field wireless communication module, and use the near-field wireless communication module to monitor wireless broadcasts within a preset distance;
    组网信息提取模块,用于接收到预设距离内的广播数据包,并在确定所述广播数据包为组网数据包后,提取所述广播数据包中的第一组网信息;A networking information extraction module, configured to receive a broadcast data packet within a preset distance, and extract the first networking information in the broadcast data packet after determining that the broadcast data packet is a networking data packet;
    组网信息保存模块,用于保存所述第一组网信息。The networking information storage module is configured to store the first networking information.
  9. 一种对讲设备,其特征在于,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行根据权利要求1至7中任一项所述的对讲设备组网方法。An intercom device, characterized in that it includes a memory and a processor, the memory stores a computer program, and when the computer program runs on the processor, it executes the method according to any one of claims 1 to 7 Intercom device networking method.
  10. 一种可读存储介质,其特征在于,其存储有计算机程序,所述计算机程序在处理器上运行时执行权利要求1至7中任一项所述的对讲设备组网方法。A readable storage medium, characterized in that it stores a computer program, and the computer program executes the intercom device networking method according to any one of claims 1 to 7 when running on a processor.
PCT/CN2022/080471 2021-06-21 2022-03-11 Intercom device networking method and apparatus, intercom device, and readable storage medium WO2022267561A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110684167.4 2021-06-21
CN202110684167.4A CN113329350A (en) 2021-06-21 2021-06-21 Intercommunication equipment networking method and device, intercommunication equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022267561A1 true WO2022267561A1 (en) 2022-12-29

Family

ID=77423857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/080471 WO2022267561A1 (en) 2021-06-21 2022-03-11 Intercom device networking method and apparatus, intercom device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113329350A (en)
WO (1) WO2022267561A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117098075A (en) * 2023-10-18 2023-11-21 西安蜂语信息科技有限公司 Communication team forming method, device, terminal equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329350A (en) * 2021-06-21 2021-08-31 东莞市吉声技术有限公司 Intercommunication equipment networking method and device, intercommunication equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263560A1 (en) * 2006-05-10 2007-11-15 Mikko Saarisalo Push-to-talk over cellular group set-up and handling using near field communication (NFC)
US20100054218A1 (en) * 2008-08-27 2010-03-04 Richard Mark Clayton Method and System for Detecting Broadcast Receivers and Transitioning to Selective Communications
CN103491633A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Channel configuration method and channel configuration device of TD trunking system, and trunking realization method
CN103533508A (en) * 2013-10-10 2014-01-22 翁杰军 Vehicle networking communication system and method thereof
US20160100295A1 (en) * 2014-10-02 2016-04-07 Deborah Lynn Pinard Methods and systems for walkie-talkie communications
CN107959924A (en) * 2017-11-17 2018-04-24 西安蜂语信息科技有限公司 Intercom method for parameter configuration and device
CN113329350A (en) * 2021-06-21 2021-08-31 东莞市吉声技术有限公司 Intercommunication equipment networking method and device, intercommunication equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792091B2 (en) * 2002-02-22 2004-09-14 Marc S. Lemchen Network-based intercom system and method for simulating a hardware based dedicated intercom system
WO2016130992A1 (en) * 2015-02-13 2016-08-18 Reed Mark L Multi-mode wireless intercom
CN106131183A (en) * 2016-07-13 2016-11-16 北京深米科技有限公司 A kind of method and device controlling transmitter receiver work
CN106793001A (en) * 2017-01-19 2017-05-31 深圳市民益得信息科技有限公司 A kind of cordless communication network network-building method and device
CN108964997B (en) * 2018-07-05 2021-08-10 泉州市新维电子有限公司 Wireless frequency writing method for interphone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263560A1 (en) * 2006-05-10 2007-11-15 Mikko Saarisalo Push-to-talk over cellular group set-up and handling using near field communication (NFC)
US20100054218A1 (en) * 2008-08-27 2010-03-04 Richard Mark Clayton Method and System for Detecting Broadcast Receivers and Transitioning to Selective Communications
CN103491633A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Channel configuration method and channel configuration device of TD trunking system, and trunking realization method
CN103533508A (en) * 2013-10-10 2014-01-22 翁杰军 Vehicle networking communication system and method thereof
US20160100295A1 (en) * 2014-10-02 2016-04-07 Deborah Lynn Pinard Methods and systems for walkie-talkie communications
CN107959924A (en) * 2017-11-17 2018-04-24 西安蜂语信息科技有限公司 Intercom method for parameter configuration and device
CN113329350A (en) * 2021-06-21 2021-08-31 东莞市吉声技术有限公司 Intercommunication equipment networking method and device, intercommunication equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117098075A (en) * 2023-10-18 2023-11-21 西安蜂语信息科技有限公司 Communication team forming method, device, terminal equipment and storage medium
CN117098075B (en) * 2023-10-18 2024-01-05 西安蜂语信息科技有限公司 Communication team forming method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN113329350A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
WO2022267561A1 (en) Intercom device networking method and apparatus, intercom device, and readable storage medium
US9654564B2 (en) Controlling an IoT device using a remote control device via a remote control proxy device
US10470063B2 (en) Apparatus and method for capturing, manipulating, and analyzing wireless network traffic
CN109417758B (en) Bluetooth connection method and terminal
KR102303689B1 (en) Systems and methods for establishing secure communication channels with Internet of Things (IoT) devices
JP6929390B2 (en) Wireless local area network configuration method and device
US9749420B2 (en) Controlling an IoT device using a remote control device via an infrastructure device
CN107222372B (en) Information sending method and equipment
US7463596B2 (en) Time based wireless access provisioning
US8654679B2 (en) Communication apparatus, control method thereof, and computer program
US9793937B2 (en) Apparatus and method for filtering wireless signals
KR20050114634A (en) Method and device for identifying and pairing bluetooth devices
CN105553964B (en) Control the method and device of bluetooth equipment
US20190089693A1 (en) Systems and methods for authenticating internet-of-things devices
US20220167173A1 (en) Hearing device system, devices and method of creating a trusted bond between a hearing device and a user application
CN108040355A (en) Method for network access and system
CN115567932B (en) Method, system and equipment for synchronizing key information
US11026277B2 (en) Assistive listening system that uses sound waves for device pairing
US20060041749A1 (en) Method and system for improved communication network setup
CN112564889B (en) Data encryption transmission method and related product
CN113115153B (en) Processing method, Bluetooth headset and management platform
KR102097577B1 (en) System for controlling IoT gate using sound wave communication
CN107046689A (en) A kind of BLE wearable device safety certifying methods of lightweight
US20200235824A1 (en) Device pairing using sound waves
CN117395614A (en) Message forwarding method, device, storage medium and 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: 22827066

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE