CN113411868B - Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium - Google Patents
Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium Download PDFInfo
- Publication number
- CN113411868B CN113411868B CN202110664386.6A CN202110664386A CN113411868B CN 113411868 B CN113411868 B CN 113411868B CN 202110664386 A CN202110664386 A CN 202110664386A CN 113411868 B CN113411868 B CN 113411868B
- Authority
- CN
- China
- Prior art keywords
- network
- time
- network node
- time frame
- walkie
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000006855 networking Effects 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 39
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 10
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 6
- 230000011664 signaling Effects 0.000 description 26
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008713 feedback mechanism Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Interconnected Communication Systems, Intercoms, And Interphones (AREA)
Abstract
本申请实施例公开了一种对讲机组网方法,包括:向传输范围内的网络节点连续发射时帧,以通过所述时帧的信标时隙公布网络拓扑及各个网络节点在时帧中对应的语音时隙,所述时帧包括时分复用的信标时隙、语音时隙和竞争时隙;接收新增的网络节点发出时帧,以通过竞争时隙获取新增的网络节点的入网请求;对新增的网络节点分配时帧中的语音时隙,并且更新网络拓扑。本申请实施例在独立于信标时隙、语音时隙外的时间段进行入网申请。并更新拓扑结构并分配时帧中的时隙。该方案能够自行构建基于时分复用的对讲机通信网络,并且通过时分复用的方式供网络内至少两组对讲机在同一时间段内同时说话,以实现全双工通话的效果。
The embodiment of the present application discloses a method for intercom networking, including: continuously transmitting time frames to network nodes within the transmission range, so as to announce the network topology and the corresponding network nodes in the time frame through the beacon slots of the time frames. Voice time slots, the time frame includes time-division multiplexed beacon time slots, voice time slots and competition time slots; receive the time frame sent by the newly added network node, to obtain the network access of the newly added network node through the competition time slot Request; allocate voice time slots in the time frame to newly added network nodes, and update the network topology. In the embodiment of the present application, the network access application is performed in a time period independent of the beacon time slot and the voice time slot. And update the topology and assign the time slots in the time frame. This solution can build a radio communication network based on time division multiplexing, and through time division multiplexing, at least two groups of radios in the network can speak at the same time at the same time, so as to achieve the effect of full-duplex communication.
Description
技术领域technical field
本申请涉及对讲机通信技术领域,尤其涉及一种对讲机组网方法、装置、计算机设备和存储介质。The present application relates to the technical field of walkie-talkie communication, and in particular to a method, device, computer equipment and storage medium for networking of walkie-talkie sets.
背景技术Background technique
在各种通信手段当中,传统的对讲机是典型的半双工通信工具,具体来讲,在拥有若干对讲机的工作环境当中,同时只能有一个对讲机获取到话语权,对外以广播的形式进行无线电信号的发射,其他对讲机仅仅做接收端,如此,只有在这台对讲机放弃了话语权之后,其他对讲机中的一个才能够开始讲话,如此能够使用的通信资源非常少,通话效率不高。Among various means of communication, the traditional walkie-talkie is a typical half-duplex communication tool. Specifically, in a working environment with several walkie-talkies, only one walkie-talkie can obtain the right to speak at the same time. For signal transmission, other walkie-talkies are only used as receivers. In this way, only after this walkie-talkie gives up the right to speak, can one of the other walkie-talkies start to speak. In this way, there are very few communication resources that can be used, and the call efficiency is not high.
发明内容Contents of the invention
本申请实施例的目的在于提出一种对讲机组网方法,使得网络中的对讲机能够以全双工的形式进行一对一的对话。The purpose of the embodiments of the present application is to propose a method for intercom group networking, so that intercoms in the network can conduct one-to-one conversations in a full-duplex manner.
为了解决上述技术问题,本申请实施例提供一种对讲机组网方法,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application provides a method for networking of intercom sets, which adopts the following technical solutions:
一种对讲机组网方法,该方法包括:A method for intercom networking, the method comprising:
步骤1:向传输范围内的网络节点通过广播的方式连续发射时帧,以通过所述时帧的信标时隙公布网络拓扑及各个网络节点在时帧中对应的语音时隙,所述时帧包括时分复用的信标时隙、语音时隙、控制时隙和竞争时隙,所述控制时隙通过分配与网络节点对应;取多个对讲机中的一个作为主协调器,向传输范围内的作为网络节点的对讲机发射时帧;Step 1: Continuously transmit time frames to network nodes within the transmission range by broadcasting, so as to publish the network topology and the corresponding voice time slots of each network node in the time frame through the beacon time slots of the time frames. The frame includes time-division multiplexed beacon time slots, voice time slots, control time slots and contention time slots, and the control time slots correspond to network nodes through allocation; one of the multiple walkie-talkies is used as the main coordinator, and the transmission range The transmission time frame of the walkie-talkie as a network node within ;
步骤2、控制网络节点与主协调器同步时帧周期,并且通过广播的方式对外发射时帧,以通过所述控制时隙转发主协调器发出的网络拓扑及各个网络节点在时帧中对应的控制时隙;
当新增的网络节点检测到对讲机网络时以广播的形式发出时帧,并通过竞争时隙发出入网请求;步骤3:控制网络节点接收新增的网络节点发出时帧,以通过竞争时隙获取新增的网络节点的入网请求;并且通过竞争时隙向父亲节点发送所述入网请求;直到所述入网请求传输至主协调器;步骤4:对新增的网络节点分配时帧中的语音时隙,并且更新网络拓扑;其中接收到入网请求的网络节点作为新增的网络节点的父亲节点。When the newly added network node detects the walkie-talkie network, it sends a time frame in the form of broadcast, and sends a network access request through the competition time slot; Step 3: Control the network node to receive the time frame sent by the newly added network node, so as to obtain it through the competition time slot The network access request of the newly added network node; and send the network access request to the parent node through the competition time slot; until the network access request is transmitted to the main coordinator; step 4: the voice time in the time frame is allocated to the newly added network node gap, and update the network topology; the network node that receives the network access request serves as the parent node of the newly added network node.
进一步的,控制所述网络节点通过后续时帧中与所述父亲节点相应的控制时隙接收受理反馈,并通过后续时帧中与所述网络节点相应的控制时隙向叶子节点或所述新增的网络节点发出受理反馈。Further, the network node is controlled to receive the acceptance feedback through the control time slot corresponding to the parent node in the subsequent time frame, and sends the feedback to the leaf node or the new node through the control time slot corresponding to the network node in the subsequent time frame. The additional network nodes send acceptance feedback.
进一步的,所述方法还包括:Further, the method also includes:
控制网络节点接收时帧,以通过竞争时隙接收其他网络节点发送的漫游请求;Control the network node to receive the time frame, so as to receive roaming requests sent by other network nodes through the competition time slot;
控制所述网络节点发出时帧,以根据网络拓扑通过竞争时隙向所述网络节点的父亲节点发出所述漫游请求,直到所述漫游请求传输到主协调器;controlling the network node to send a time frame to send the roaming request to the parent node of the network node through a contention time slot according to the network topology until the roaming request is transmitted to the main coordinator;
主协调器根据所述漫游请求调整网络拓扑。The main coordinator adjusts the network topology according to the roaming request.
为了解决上述技术问题,本申请实施例提供一种对讲机通信方法,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application provides a walkie-talkie communication method, which adopts the following technical solution:
一种对讲机通信方法,该方法包括:A walkie-talkie communication method, the method comprising:
步骤a:接收网络节点发出的时帧,以通过竞争时隙获取网络节点的话语权请求;Step a: receiving the time frame sent by the network node, so as to obtain the speaking right request of the network node through the competition time slot;
步骤b:根据对讲机网络的拓扑,确定所述话语权请求对应的一组网络节点;Step b: According to the topology of the walkie-talkie network, determine a group of network nodes corresponding to the speech right request;
步骤c:根据所述一组网络节点均是可服务状态,允许所述话语权请求;Step c: Allow the speaking right request according to the fact that all of the group of network nodes are available for service;
步骤d:发出时帧,以通过信标时隙回复所述话语权请求;Step d: sending out a time frame to reply to the speaking right request through a beacon slot;
步骤e:通过所述一组网络节点依次收发时帧,以通过语音时隙传输语音。Step e: send and receive time frames sequentially through the group of network nodes, so as to transmit voice through voice time slots.
进一步的,该方法还包括:Further, the method also includes:
接收网络节点发出的时帧,以通过竞争时隙获取网络节点的释放请求;Receive the time frame sent by the network node to obtain the release request of the network node through the competition time slot;
根据所述释放请求,恢复相应的网络节点为可服务状态。According to the release request, the corresponding network node is restored to a serviceable state.
为了解决上述技术问题,本申请实施例提供一种对讲机组网装置,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application provides an intercom networking device, which adopts the following technical solution:
一种对讲机组网装置,包括:A walkie-talkie networking device, comprising:
发射单元:用于向传输范围内的网络节点通过广播的方式连续发射时帧,以通过所述时帧的信标时隙公布网络拓扑及各个网络节点在时帧中对应的语音时隙,所述时帧包括时分复用的信标时隙、语音时隙、控制时隙和竞争时隙,所述控制时隙通过分配与网络节点对应;取多个对讲机中的一个作为主协调器,向传输范围内的作为网络节点的对讲机发射时帧;Transmitting unit: used to continuously transmit time frames to network nodes within the transmission range by broadcasting, so as to announce the network topology and the corresponding voice time slots of each network node in the time frame through the beacon time slot of the time frame, so The time frame includes time-division multiplexed beacon time slots, voice time slots, control time slots and contention time slots, and the control time slots correspond to network nodes through allocation; one of the multiple walkie-talkies is used as the main coordinator, and the The transmission time frame of the walkie-talkie as a network node within the transmission range;
控制网络节点与主协调器同步时帧周期,并且通过广播的方式对外发射时帧,以通过所述控制时隙转发主协调器发出的网络拓扑及各个网络节点在时帧中对应的控制时隙;The control network node synchronizes the time frame period with the main coordinator, and transmits the time frame by broadcasting, so as to forward the network topology sent by the main coordinator and the corresponding control time slot of each network node in the time frame through the control time slot ;
当新增的网络节点检测到对讲机网络时以广播的形式发出时帧,并通过竞争时隙发出入网请求;When the newly added network node detects the walkie-talkie network, it sends a time frame in the form of broadcast, and sends a network access request through the competition time slot;
接收单元:用于控制网络节点接收新增的网络节点发出时帧,以通过竞争时隙获取新增的网络节点的入网请求;并且通过竞争时隙向父亲节点发送所述入网请求;直到所述入网请求传输至主协调器;Receiving unit: used to control the network node to receive the time frame sent by the newly added network node, so as to obtain the network access request of the newly added network node through the competition time slot; and send the network access request to the parent node through the competition time slot; until the The network access request is transmitted to the main coordinator;
调整分配单元:用于对新增的网络节点分配时帧中的语音时隙,并且更新网络拓扑;其中接收到入网请求的网络节点作为新增的网络节点的父亲节点。Adjustment allocation unit: used to allocate voice time slots in the time frame to newly added network nodes, and update the network topology; wherein the network node that receives the network access request is the parent node of the newly added network nodes.
为了解决上述技术问题,本申请实施例提供一种对讲机通信装置,采用了如下所述的技术方案:In order to solve the above technical problems, an embodiment of the present application provides a walkie-talkie communication device, which adopts the following technical solutions:
一种对讲机通信装置,其特征在于,该方法包括:A walkie-talkie communication device, characterized in that the method comprises:
话语权请求单元:用于接收网络节点发出的时帧,以通过竞争时隙获取网络节点的话语权请求;The right to speak request unit: used to receive the time frame sent by the network node, so as to obtain the right to speak request of the network node through the competition time slot;
链路整理单元:用于根据对讲机网络的拓扑,确定所述话语权请求对应的一组网络节点;Link sorting unit: used to determine a group of network nodes corresponding to the speaking right request according to the topology of the walkie-talkie network;
话语权分配单元:用于根据所述一组网络节点均是可服务状态,允许所述话语权请求;A speech right allocation unit: configured to allow the speech right request according to the fact that the group of network nodes are all in a serviceable state;
回复单元:用于发出时帧,以通过信标时隙回复所述话语权请求;Reply unit: used to send out a time frame to reply to the speaking right request through a beacon slot;
传输单元,用于通过所述一组网络节点依次收发时帧,以通过语音时隙传输语音。The transmission unit is configured to transmit and receive time frames sequentially through the group of network nodes, so as to transmit voice through voice time slots.
本申请还提供了一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,其特征在于:所述处理器执行所述计算机程序时实现如上所述的一种对讲机组网方法的步骤。The present application also provides a computer device, including a memory and a processor, and a computer program is stored in the memory, and it is characterized in that: when the processor executes the computer program, the above-mentioned intercom networking method is implemented A step of.
本申请还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的一种对讲机组网方法的步骤。The present application also provides a computer-readable storage medium, which is characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned intercom networking method is implemented A step of.
与现有技术相比,本申请实施例主要有以下有益效果:取多个对讲机中的一个作为主协调器,对外连续发射时帧,以通过时帧中的信标向外扩散网络的拓扑信息以及时分复用的时帧中,对各个作为网络节点的对讲机分配的语音时隙,使得网络中已有的网络节点实时确定最新的网络拓扑以及自身所拥有的语音时隙。Compared with the prior art, the embodiment of the present application mainly has the following beneficial effects: take one of the multiple walkie-talkies as the main coordinator, and continuously transmit time frames externally, so as to spread the topology information of the network outward through the beacons in the time frames And in the time-division multiplexing time frame, the voice time slot allocated to each walkie-talkie as a network node enables the existing network nodes in the network to determine the latest network topology and their own voice time slots in real time.
通过时帧中竞争时隙获取新的网络节点发出的入网请求,在独立于网络中对讲机语音收发以及信标发送的时间段进行入网申请。Obtain the network access request sent by the new network node through the competition time slot in the time frame, and apply for network access in the time period independent of the intercom voice transceiver and beacon transmission in the network.
根据新的网络节点的入网申请更新拓扑结构并分配时帧中的时隙,供新的网络节点进行通话。该方案能够自行构建基于时分复用的对讲机通信网络,并且通过时分复用的方式供网络内至少两组对讲机在同一时间段内同时说话,以实现全双工通话的效果。Update the topology structure according to the network access application of the new network node and allocate time slots in the time frame for the new network node to communicate. This solution can build a radio communication network based on time division multiplexing, and through time division multiplexing, at least two groups of radios in the network can speak at the same time at the same time, so as to achieve the effect of full-duplex communication.
附图说明Description of drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the solution in this application more clearly, a brief introduction will be given below to the accompanying drawings that need to be used in the description of the embodiments of the application. Obviously, the accompanying drawings in the following description are some embodiments of the application. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.
图1为本实施例一种对讲机组网方法流程图;Fig. 1 is a flow chart of a method for intercom set networking in this embodiment;
图2为图1中步骤S200的流程图;图3为本实施例一种对讲机通信方法流程图;Fig. 2 is a flow chart of step S200 in Fig. 1; Fig. 3 is a flow chart of a walkie-talkie communication method in this embodiment;
图4为本实施例一种对讲机组网装置结构示意图;FIG. 4 is a schematic structural diagram of a walkie-talkie network device in this embodiment;
图5为本实施例一种对讲机通信装置结构示意图;FIG. 5 is a schematic structural diagram of a walkie-talkie communication device in this embodiment;
图6为本实施例一种对讲机通信装置数据漫游的示意图一;FIG. 6 is a first schematic diagram of data roaming of a walkie-talkie communication device in this embodiment;
图7为本实施例一种对讲机通信装置数据漫游的示意图二;FIG. 7 is a second schematic diagram of data roaming of a walkie-talkie communication device in this embodiment;
图8为本实施例计算机设备结构示意图。FIG. 8 is a schematic structural diagram of a computer device in this embodiment.
具体实施方式Detailed ways
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the application; the terms used herein in the description of the application are only to describe specific embodiments The purpose is not to limit the present application; the terms "comprising" and "having" and any variations thereof in the specification and claims of the present application and the description of the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
如图1所示,根据本申请的一种对讲机组网方法的一个实施例的流程图。所述的一种对讲机组网方法,包括以下步骤:As shown in FIG. 1 , it is a flow chart of an embodiment of a method for intercom group networking according to the present application. A kind of walkie-talkie set networking method described, comprises the following steps:
步骤S100:向传输范围内的网络节点连续发射时帧,以通过所述时帧的信标时隙公布网络拓扑及各个网络节点在时帧中对应的语音时隙,所述时帧包括时分复用的信标时隙、语音时隙和竞争时隙;Step S100: Continuously transmit time frames to the network nodes within the transmission range, so as to publish the network topology and the corresponding voice time slots of each network node in the time frame through the beacon time slot of the time frame, the time frame includes time division multiplexing Beacon slots, voice slots and contention slots used;
步骤S200:接收新增的网络节点发出时帧,以通过竞争时隙获取新增的网络节点的入网请求;Step S200: Receive the time frame sent by the newly added network node, so as to obtain the network access request of the newly added network node through the competition time slot;
步骤S300:对新增的网络节点分配时帧中的语音时隙,并且更新网络拓扑。Step S300: Allocate voice time slots in a time frame to newly added network nodes, and update network topology.
具体的,本申请取多个对讲机中的一个作为主协调器,对外连续发射时帧,以通过时帧中的信标向外扩散网络的拓扑信息以及时分复用的时帧中,对各个作为网络节点的对讲机分配的语音时隙,使得网络中已有的网络节点实时确定最新的网络拓扑以及自身所拥有的语音时隙。Specifically, this application takes one of the multiple walkie-talkies as the main coordinator, and continuously transmits time frames to the outside to spread the topology information of the network through the beacons in the time frames and in the time-division multiplexed time frames. The voice time slot allocated by the walkie-talkie of the network node enables the existing network nodes in the network to determine the latest network topology and the voice time slot it owns in real time.
通过时帧中竞争时隙获取新的网络节点发出的入网请求,在独立于网络中对讲机语音收发以及信标发送的时间段进行入网申请。Obtain the network access request sent by the new network node through the competition time slot in the time frame, and apply for network access in the time period independent of the intercom voice transceiver and beacon transmission in the network.
根据新的网络节点的入网申请更新拓扑结构并分配时帧中的时隙,供新的网络节点进行通话。该方案能够自行构建基于时分复用的对讲机通信网络,并且通过时分复用的方式供网络内至少两组对讲机在同一时间段内同时说话,以实现全双工通话的效果。该方案提升一组对讲机通信的效率。Update the topology structure according to the network access application of the new network node and allocate time slots in the time frame for the new network node to communicate. This solution can build a radio communication network based on time division multiplexing, and through time division multiplexing, at least two groups of radios in the network can speak at the same time at the same time, so as to achieve the effect of full-duplex communication. This solution improves the communication efficiency of a group of walkie-talkies.
优选的,在步骤S100之前,在对讲机开机后,一台对讲机首先扫描附近是否存在已经创建的多跳网络,如果存在,就直接申请加入这个网络作为网络节点存在。如果不存在,则该对讲机作为主协调器创建一个新的多跳对讲网络。网络拓扑中的网络节点以及时帧中语音帧的分配是根据新增的网络节点不断申请而添加的。Preferably, before step S100, after the walkie-talkie is powered on, a walkie-talkie first scans whether there is an established multi-hop network nearby, and if so, directly applies to join this network as a network node. If it does not exist, the intercom acts as the master coordinator to create a new multi-hop intercom network. The network nodes in the network topology and the allocation of voice frames in the time frame are added according to the continuous application of new network nodes.
进一步的,时帧还包括控制时隙,所述控制时隙通过分配与网络节点对应,所述方法还包括:Further, the time frame also includes a control time slot, and the control time slot corresponds to a network node through allocation, and the method further includes:
步骤S400:控制网络节点对外发射时帧,以通过所述控制时隙转发主协调器发出的网络拓扑及各个网络节点在时帧中对应的控制时隙和语音时隙。Step S400: Control the network node to transmit the time frame to forward the network topology sent by the main coordinator and the corresponding control time slot and voice time slot of each network node in the time frame through the control time slot.
本实施例中涉及到的对讲机网络的全双工通信是通过收发时分复用的时帧形式实现的,一个时帧是该通信方式中最小的通信单位。具体通过将时帧划分为信标时隙、控制时隙、语音时隙和竞争时隙,每个时隙对应了一个时帧中的一段时间里的信号,如此根据时隙的功能进行相应信息的传递,使得网络内各个网络节点能够在一个时帧的时间长度上,共同使用链路。The full-duplex communication of the walkie-talkie network involved in this embodiment is realized by sending and receiving time-division multiplexed time frames, and a time frame is the smallest communication unit in this communication mode. Specifically, the time frame is divided into beacon time slots, control time slots, voice time slots, and contention time slots. Each time slot corresponds to a signal in a period of time in a time frame, so that the corresponding information is carried out according to the function of the time slot. The transmission of the network enables each network node in the network to share the link in the time length of one time frame.
具体的,一个时帧中包括1个信标时隙Ts,由主协调器发送信标和控制数据使用。若干个控制时隙Tc,由网络节点中转控制数据使用。若干个语音时隙Ta,由网络节点发送语音数据使用。一个竞争时隙Tr,由网络节点竞争使用,用于入网请求、漫游请求、话语权申请等请求信令发送。时帧周期以语音处理模块的处理周期为准。Specifically, one time frame includes one beacon time slot Ts, which is used by the master coordinator to send beacons and control data. Several control time slots Tc are used by network nodes to transfer control data. Several voice time slots Ta are used by network nodes to send voice data. A contention time slot Tr is used by network nodes for contention, and is used for request signaling such as network access request, roaming request, and speech right application. The time frame period is subject to the processing period of the voice processing module.
其中,信标时隙和控制时隙是作为下行信令使用,包括主协调器开始发送的网络拓扑数据和时隙分配数据,利用信标时隙和控制时隙,向全网广播控制数据。每个时帧周期开始,由主协调器开始发送,网络节点收到父节点的控制信令后,通过与自己相应的控制时隙,转发控制信令。当主协调器和网络节点发送完控制数据后,网络内所有网络节点都获得了最新的网络控制数据,并进行了时钟频率同步。在本实施例记载的对讲机网络当中,任意网络节点,根据网络拓扑,可以作为其他网络节点的父亲节点,以及其他网络节点和主协调器的叶子节点。Among them, the beacon time slot and control time slot are used as downlink signaling, including the network topology data and time slot allocation data sent by the main coordinator, and use the beacon time slot and control time slot to broadcast control data to the whole network. At the beginning of each time frame period, the main coordinator starts to send the control signaling. After receiving the control signaling from the parent node, the network node forwards the control signaling through its corresponding control time slot. After the main coordinator and the network nodes have sent the control data, all the network nodes in the network have obtained the latest network control data and synchronized the clock frequency. In the walkie-talkie network described in this embodiment, any network node, according to the network topology, can be the parent node of other network nodes, and the leaf node of other network nodes and the main coordinator.
竞争时隙作为上行信令使用,通过网络节点向网络节点的父亲节点发送,包括入网申请、漫游、话语权申请等。可以逐级传递上报,父节点会在下一个时帧周期的控制时隙中进行信令反馈,父节点再向上一级父节点发送,同样采用竞争时隙发送。The contention time slot is used as uplink signaling, which is sent by the network node to the parent node of the network node, including network access application, roaming, and speech right application. The report can be transmitted level by level, and the parent node will perform signaling feedback in the control time slot of the next time frame cycle, and the parent node will then send to the parent node of the next level, and also use the contention time slot to send.
其中DSP处理语音速度限制同时讲话的人数,通过竞争时隙竞争话语权能够保证各个网络节点之间的通话不会相互影响。Among them, the speed of DSP processing voice limits the number of people speaking at the same time, and the right to speak can be guaranteed by competing for time slots to ensure that the calls between various network nodes will not affect each other.
网络节点需要同步到以主协调器为准的时帧周期上,同步方法就是利用自己所挂载的父节点所发送控制信令来进行同步校准。如果网络节点的父节点是主协调器,主协调器发送控制数据时,是位于时帧周期的起点,所以相邻的网络节点可以根据通信时延,计算得到主协调器的时帧周期起点,从而校准本地时帧周期定时器,以实现和网络同步。通过其他网络节点与主协调器连接的网络节点,不能依靠主协调器的控制信令来进行时帧同步,它们只能依赖于自己的父节点进行时帧同步。根据父亲节点的控制时帧与信标之间的时隙间隔加上通信时延,就是距离主协调器的时帧周期起点的校准值,根据这个校准值调整本地定时器,就能实现本地对主协调器的时帧周期同步。The network nodes need to be synchronized to the time frame period based on the main coordinator. The synchronization method is to use the control signaling sent by the parent node mounted by itself to perform synchronization calibration. If the parent node of the network node is the main coordinator, when the main coordinator sends control data, it is located at the starting point of the time frame period, so the adjacent network nodes can calculate the starting point of the time frame period of the main coordinator according to the communication delay. Thereby calibrating the local frame cycle timer to achieve synchronization with the network. Network nodes connected to the main coordinator through other network nodes cannot rely on the control signaling of the main coordinator for time frame synchronization, and they can only rely on their own parent nodes for time frame synchronization. According to the time slot interval between the control time frame of the parent node and the beacon plus the communication delay, it is the calibration value from the starting point of the time frame period of the main coordinator. The coordinator's time frame is periodically synchronized.
在网络内的对讲机产生了收发语音的需求时,通过语音活动检测来实现话语权的动态申请和动态释放机制,以实现多人全双工的对讲功能。具体语音活动产生是,能通过检测麦克风的话音,当用户开始讲话时,发起话语权申请,当用户不说话时,释放话语权。由于语音检测速度很快,组网用户能实现免于手动干预情况下,实现全双工对讲。When the walkie-talkie in the network needs to send and receive voice, the voice activity detection is used to realize the dynamic application and release mechanism of the right to speak, so as to realize the multi-person full-duplex intercom function. The specific voice activity generation is that by detecting the voice of the microphone, when the user starts to speak, an application for the right to speak is initiated, and when the user does not speak, the right to speak is released. Due to the high speed of voice detection, network users can realize full-duplex intercom without manual intervention.
通过设置控制时隙,通过控制时隙转发住协调器发出的信令,能够使得对讲机网络延伸为多跳网络,能通过多跳技术实现比两台对讲机通信距离更远的通信覆盖范围。By setting the control time slot and forwarding the signaling sent by the coordinator through the control time slot, the walkie-talkie network can be extended into a multi-hop network, and the communication coverage that is farther than the communication distance between two walkie-talkies can be achieved through multi-hop technology.
在多跳对讲系统网络中,任何时刻下的任何网络节点都有可能成为中继转发节点,或者叶子节点。其中中继转发节点帮助转发控制数据和语音数据,其中叶子节点,只发送自己数据和接收其它节点的数据。网络节点在中继转发节点和叶子节点之间的切换,对于用户是透明的。该方案能够通过形成多跳网络大大扩展对讲机网络的使用范围。In a multi-hop intercom system network, any network node at any time may become a relay forwarding node, or a leaf node. The relay forwarding node helps to forward control data and voice data, and the leaf node only sends its own data and receives data from other nodes. The switching of network nodes between relay forwarding nodes and leaf nodes is transparent to users. This solution can greatly expand the use range of the walkie-talkie network by forming a multi-hop network.
进一步的,参考图2,所述步骤S200具体包括:Further, referring to FIG. 2, the step S200 specifically includes:
步骤S201控制网络节点接收新增的网络节点发出的时帧,并通过竞争时隙获取新增的网络节点的入网请求;Step S201 controls the network node to receive the time frame sent by the newly added network node, and obtains the network access request of the newly added network node through the competition time slot;
步骤S202控制所述网络节点发出时帧,以根据网络拓扑通过竞争时隙向所述网络节点的父亲节点发出新增的网络节点的入网请求,直到所述入网请求传输至主协调器;Step S202 controls the network node to send a time frame, so as to send a network access request of a newly added network node to the parent node of the network node through a competition time slot according to the network topology, until the network access request is transmitted to the main coordinator;
步骤S203控制所述网络节点通过后续时帧中与所述父亲节点相应的控制时隙接收受理反馈,并通过后续时帧中与所述网络节点相应的控制时隙向叶子节点或所述新增的网络节点发出受理反馈。Step S203 controls the network node to receive the acceptance feedback through the control time slot corresponding to the parent node in the subsequent time frame, and sends the feedback to the leaf node or the newly added node through the control time slot corresponding to the network node in the subsequent time frame The network nodes of the network send acceptance feedback.
具体的,新增的网络节点检测到对讲机网络,在入网的过程中,以广播的形式发出时帧,并通过竞争时隙发出入网请求,接收到新增的网络节点发送时帧的网络节点,作为新增的网络节点的父亲节点,父亲节点发出时帧,并且通过竞争时隙转发新增的网络节点的入网请求,并且根据网络拓扑将新增的网络节点的入网请求转发至主协调器,主协调器通过信标时隙发出受理反馈,网络节点通过控制时隙向子节点转发受理反馈,直到受理反馈通过新增的网络节点的父亲节点通过控制时隙将受理反馈转发给新增的网络节点,新增的网络节点确定入网,当新增网络节点没有收到上述受理反馈,在一定时间间隔之后,重新提出入网请求,该方案有利于新增的网络节点的入网请求有序的被处理,提升新增的网络节点的入网效率和成功率。Specifically, the newly added network node detects the walkie-talkie network. During the network access process, it sends out a time frame in the form of broadcast, and sends a network access request through the competition time slot. The network node that receives the time frame sent by the newly added network node, As the father node of the newly added network node, the father node sends a time frame, and forwards the network access request of the newly added network node through the competition time slot, and forwards the network access request of the newly added network node to the main coordinator according to the network topology, The main coordinator sends the acceptance feedback through the beacon time slot, and the network node forwards the acceptance feedback to the child nodes through the control time slot, until the acceptance feedback is forwarded to the newly added network node through the control time slot through the parent node of the newly added network node. Node, the newly added network node is determined to join the network. When the newly added network node does not receive the above acceptance feedback, after a certain time interval, it will resubmit the network access request. This scheme is conducive to the orderly processing of the network access request of the newly added network node , to improve the network access efficiency and success rate of newly added network nodes.
进一步的,所述方法还包括:Further, the method also includes:
步骤S501:控制网络节点接收时帧,以通过竞争时隙接收其他网络节点发送的漫游请求;Step S501: Control the network node to receive the time frame, so as to receive roaming requests sent by other network nodes through the contention time slot;
步骤S502:控制所述网络节点发出时帧,以根据网络拓扑通过竞争时隙向所述网络节点的父亲节点发出所述漫游请求,直到所述漫游请求传输到主协调器;Step S502: controlling the network node to send a time frame, so as to send the roaming request to the parent node of the network node through a contention time slot according to the network topology, until the roaming request is transmitted to the main coordinator;
步骤S503:主协调器根据所述漫游请求调整网络拓扑。Step S503: the main coordinator adjusts the network topology according to the roaming request.
具体的,通过竞争时隙提出漫游请求,控制主控制器调整网络拓扑,以及更新网络拓扑,该方案有利于网络节点在信号不良的状态下,调整网络拓扑,该方案提升对讲机网络的可靠性。Specifically, the roaming request is made through the contention time slot, and the main controller is controlled to adjust the network topology and update the network topology. This scheme is beneficial for network nodes to adjust the network topology when the signal is poor, and this scheme improves the reliability of the walkie-talkie network.
为了解决上述技术问题,本申请实施例提供一种对讲机通信方法,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application provides a walkie-talkie communication method, which adopts the following technical solution:
参考图3,一种对讲机通信方法,该方法包括:With reference to Fig. 3, a kind of walkie-talkie communication method, this method comprises:
步骤Sa:接收网络节点发出的时帧,以通过竞争时隙获取网络节点的话语权请求;Step Sa: receiving the time frame sent by the network node, so as to obtain the speaking right request of the network node through the competition time slot;
步骤Sb:根据对讲机网络的拓扑,确定所述话语权请求对应的一组网络节点;Step Sb: According to the topology of the walkie-talkie network, determine a group of network nodes corresponding to the speaking right request;
步骤Sc:根据所述一组网络节点均是可服务状态,允许所述话语权请求;Step Sc: Allow the speaking right request according to the group of network nodes being in a serviceable state;
步骤Sd:发出时帧,以通过信标时隙回复所述话语权请求:Step Sd: Send out a time frame to reply to the speaking right request through a beacon slot:
步骤Se:通过所述一组网络节点依次收发时帧,以通过语音时隙传输语音。Step Se: send and receive time frames sequentially through the group of network nodes, so as to transmit voice through voice time slots.
当有网络节点在对讲过程中节点要申请和释放话语权,都是通过竞争时隙发送信令到主协调者。如果信令不能直达主协调器,会通过多个作为中转节点的网络节点在竞争时隙进行转发请求。这些请求信令的结果响应,都是通过控制数据在信标时隙和数据时隙得到反馈。竞争时隙的采用CSMA/CD(载波侦听多路访问/冲突检测协议)算法支持所有非主协调器的节点使用该时隙。When a network node wants to apply for and release the right to speak during the intercom process, it sends signaling to the main coordinator through the competition time slot. If the signaling cannot reach the main coordinator directly, the request will be forwarded in the contention time slot through multiple network nodes as transit nodes. The result responses of these request signalings are all fed back in beacon time slots and data time slots through control data. The CSMA/CD (Carrier Sense Multiple Access/Collision Detection Protocol) algorithm is used in the contention time slot to support all nodes that are not the main coordinator to use the time slot.
参考图6、图7在多个节点申请话语权冲突时。对讲机5在竞争时隙发送完信令后,它会在下一个时帧周期收到其父亲节点对讲机3发送的控制数据中带有的信令接收反馈,判断自己的信令是否通过父亲节点对讲机3接收并且转发。假如没有获得反馈,那么将会随机等待几个时帧周期,后再此发送申请信令。每个竞争时隙发送的上行信令,如果成功被父节点接收,都会在下一个时帧周期中,由它的父节点在控制数据中进行应答反馈。入网信令和漫游信令也是按照这种反馈机制来使用竞争时隙的信令发送。Referring to Figure 6 and Figure 7, when multiple nodes apply for speaking rights conflicts. After the walkie-
其中网络节点与网络节点之间的通信是通过广播的形式实现的,当网络节点接收到广播的时帧,并通过控制时隙确定时帧需要通过自身转发,之后通过广播的形式进一步将接收到的时帧中语音时隙的内容封装到自身的时帧中广播出去,直到时帧被进一步的,该方法还包括:The communication between network nodes is implemented in the form of broadcast. When the network node receives the broadcast time frame and determines that the time frame needs to be forwarded by itself through the control time slot, it will further transmit the received time frame in the form of broadcast. The content of the voice time slot in the time frame is encapsulated into its own time frame and broadcasted until the time frame is further improved. The method also includes:
步骤Sf:接收网络节点发出的时帧,以通过竞争时隙获取网络节点的释放请求;Step Sf: receiving the time frame sent by the network node, so as to obtain the release request of the network node through the competition time slot;
步骤Sg:根据所述释放请求,恢复相应的网络节点为可服务状态。Step Sg: According to the release request, restore the corresponding network node to a serviceable state.
受到网络中对讲机开关机,对讲机之间距离变化,以及对讲机信号受到干扰的影响,建立之后的网络拓扑,无法时刻满足网络节点的需要,在此过程中,网络拓扑可能会产生变动的需求,参考图5、图6,对讲机5当在侦测到对讲机3的信号质量较差,而对讲机4的信号质量更好的情况,决定漫游到对讲机4上。对讲机5在竞争时隙,先向对讲机4发起漫游申请,对讲机4接收到请求,然后向上一级中转节点中继转发漫游申请信令,直到申请信令到达主协调器对讲机1。对讲机1裁决同意漫游申请后,更新组网拓扑和时隙分配情况,在下一个时帧开始,通过信标时隙广播新的控制数据。对讲机4收到新的控制数据,变为中转节点。对讲机5收到新的组网数据,确定自己的上一级中转节点为对讲机4。Affected by the switch of walkie-talkies in the network, the distance between walkie-talkies, and the interference of walkie-talkie signals, the established network topology cannot always meet the needs of network nodes. During this process, the network topology may have changing requirements. Refer to In Fig. 5 and Fig. 6, the walkie-
进一步的,由于中转节点会固定占用控制时隙和语音时隙进行数据和语音的中继转发,因此主协调器要根据带宽资源的限定条件来进行合理分配,网络的跳数和规模也会收到该条件的约束。尤其语音时隙的分配,当中转节点个数太多的情况,势必会占用叶子节点可同时说话的个数。因此主协调器会根据带宽的限定条件,来控制中转节点的个数。Furthermore, since the transit node will occupy the control time slot and the voice time slot for data and voice relay and forwarding, the main coordinator should make reasonable allocation according to the limited conditions of bandwidth resources, and the number of hops and the scale of the network will also be reduced. bound by this condition. Especially for the allocation of voice time slots, if there are too many transit nodes, it will inevitably occupy the number of leaf nodes that can speak at the same time. Therefore, the main coordinator will control the number of transit nodes according to the limited conditions of the bandwidth.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that realizing all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the aforementioned storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of the accompanying drawings are displayed sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
进一步参考图4,作为对上述图1所示方法的实现,本申请提供了一种对讲机组网装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 4, as an implementation of the method shown in FIG. 1 above, the present application provides an embodiment of a walkie-talkie networking device. The device embodiment corresponds to the method embodiment shown in FIG. 1. The device specifically It can be applied to various electronic devices.
一种对讲机组网装置,包括:A walkie-talkie networking device, comprising:
发射单元100:用于向传输范围内的网络节点连续发射时帧,以通过所述时帧的信标时隙公布网络拓扑及各个网络节点在时帧中对应的语音时隙,所述时帧包括时分复用的信标时隙、语音时隙和竞争时隙;Transmitting unit 100: used to continuously transmit time frames to network nodes within the transmission range, so as to announce the network topology and the corresponding voice time slots of each network node in the time frame through the beacon slot of the time frame, the time frame Including time-division multiplexed beacon slots, voice slots and contention slots;
接收单元200:用于接收新增的网络节点发出时帧,以通过竞争时隙获取新增的网络节点的入网请求;The receiving unit 200: used to receive the time frame sent by the newly added network node, so as to obtain the network access request of the newly added network node through the competition time slot;
调整分配单元300:对新增的网络节点分配时帧中的语音时隙,并且更新网络拓扑。Adjusting allocation unit 300: Allocating voice time slots in a time frame to newly added network nodes, and updating network topology.
根据新的网络节点的入网申请更新拓扑结构并分配时帧中的时隙,供新的网络节点进行通话。该方案能够自行构建基于时分复用的对讲机通信网络,并且通过时分复用的方式供网络内至少两组对讲机在同一时间段内同时说话,以实现全双工通话的效果。该方案提升一组对讲机通信的效率。Update the topology structure according to the network access application of the new network node and allocate time slots in the time frame for the new network node to communicate. This solution can build a radio communication network based on time division multiplexing, and through time division multiplexing, at least two groups of radios in the network can speak at the same time at the same time, so as to achieve the effect of full-duplex communication. This solution improves the communication efficiency of a group of walkie-talkies.
进一步参考图5,作为对上述图2所示方法的实现,本申请提供了一种对讲机组网装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。一种对讲机通信装置,其特征在于,该方法包括:Further referring to FIG. 5 , as an implementation of the method shown in FIG. 2 above, the present application provides an embodiment of a walkie-talkie network device. The device embodiment corresponds to the method embodiment shown in FIG. 2 , and the device specifically It can be applied to various electronic devices. A walkie-talkie communication device, characterized in that the method comprises:
话语权请求单元400:用于接收网络节点发出的时帧,以通过竞争时隙获取网络节点的话语权请求;The speaking right request unit 400: used to receive the time frame sent by the network node, so as to obtain the speaking right request of the network node through the competition time slot;
链路整理单元500:用于根据对讲机网络的拓扑,确定所述话语权请求对应的一组网络节点;Link sorting unit 500: for determining a group of network nodes corresponding to the speaking right request according to the topology of the walkie-talkie network;
话语权分配单元600:用于根据所述一组网络节点均是可服务状态,允许所述话语权请求;The right to speak allocation unit 600: configured to allow the request for the right to speak according to that the group of network nodes are all available for service;
回复单元700:用于发出时帧,以通过信标时隙回复所述话语权请求:Reply unit 700: used to send a time frame to reply to the speaking right request through a beacon slot:
传输单元800,用于通过所述一组网络节点依次收发时帧,以通过语音时隙传输语音。The
当有网络节点在对讲过程中节点要申请和释放话语权,都是通过竞争时隙发送信令到主协调者。如果信令不能直达主协调器,会通过多个作为中转节点的网络节点在竞争时隙进行转发请求。这些请求信令的结果响应,都是通过控制数据在信标时隙和数据时隙得到反馈。竞争时隙的采用CSMA/CD(载波侦听多路访问/冲突检测协议)算法支持所有非主协调器的节点使用该时隙。When a network node wants to apply for and release the right to speak during the intercom process, it sends signaling to the main coordinator through the competition time slot. If the signaling cannot reach the main coordinator directly, the request will be forwarded in the contention time slot through multiple network nodes as transit nodes. The result responses of these request signalings are all fed back in beacon time slots and data time slots through control data. The CSMA/CD (Carrier Sense Multiple Access/Collision Detection Protocol) algorithm is used in the contention time slot to support all nodes that are not the main coordinator to use the time slot.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图8,图8为本实施例计算机设备基本结构框图。In order to solve the above technical problems, the embodiment of the present application further provides computer equipment. Please refer to FIG. 8 for details. FIG. 8 is a block diagram of the basic structure of the computer device in this embodiment.
所述计算机设备6包括通过系统总线相互通信连接存储器61、处理器62、网络接口63。需要指出的是,图中仅示出了具有组件61-63的计算机设备6,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(ApplicationSpecific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable GateArray,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 6 includes a
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer equipment may be computing equipment such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device can perform human-computer interaction with the user through keyboard, mouse, remote controller, touch panel or voice control device.
所述存储器61至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器61可以是所述计算机设备6的内部存储单元,例如该计算机设备6的硬盘或内存。在另一些实施例中,所述存储器61也可以是所述计算机设备6的外部存储设备,例如该计算机设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(FlashCard)等。当然,所述存储器61还可以既包括所述计算机设备6的内部存储单元也包括其外部存储设备。本实施例中,所述存储器61通常用于存储安装于所述计算机设备6的操作系统和各类应用软件,例如一种对讲机组网方法或者一种对讲机通信方法的程序代码等。此外,所述存储器61还可以用于暂时地存储已经输出或者将要输出的各类数据。The
所述处理器62在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器62通常用于控制所述计算机设备6的总体操作。本实施例中,所述处理器62用于运行所述存储器61中存储的程序代码或者处理数据,例如运行所述一种对讲机组网方法或者一种对讲机通信方法的程序代码。The
所述网络接口63可包括无线网络接口或有线网络接口,该网络接口63通常用于在所述计算机设备6与其他电子设备之间建立通信连接。The
本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有一种对讲机组网方法或者一种对讲机通信程序,所述一种对讲机组网方法或者一种对讲机通信程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的一种对讲机组网方法或者一种对讲机通信方法的步骤。The present application also provides another implementation manner, that is, to provide a computer-readable storage medium, the computer-readable storage medium stores a walkie-talkie set networking method or a walkie-talkie communication program, and the walkie-talkie set networking method Or a walkie-talkie communication program may be executed by at least one processor, so that the at least one processor executes the steps of the above-mentioned method for networking a walkie-talkie or a method for communicating with a walkie-talkie.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Apparently, the embodiments described above are only some of the embodiments of the present application, not all of them. The drawings show preferred embodiments of the present application, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, on the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features . All equivalent structures made using the contents of the description and drawings of this application, directly or indirectly used in other related technical fields, are also within the scope of protection of this application.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110664386.6A CN113411868B (en) | 2021-06-16 | 2021-06-16 | Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110664386.6A CN113411868B (en) | 2021-06-16 | 2021-06-16 | Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113411868A CN113411868A (en) | 2021-09-17 |
| CN113411868B true CN113411868B (en) | 2023-05-02 |
Family
ID=77684168
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110664386.6A Active CN113411868B (en) | 2021-06-16 | 2021-06-16 | Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113411868B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114422963B (en) * | 2022-03-11 | 2022-07-05 | 深圳市宇隆移动互联网有限公司 | LoRa-based public and private network intercommunication and intercommunication method, device and system |
| CN115696650A (en) * | 2022-10-25 | 2023-02-03 | 泰凌微电子(上海)股份有限公司 | An audio communication method, device, electronic equipment and storage medium |
| CN115835163B (en) * | 2023-02-08 | 2023-05-09 | 四川省商投信息技术有限责任公司 | Method and system for fast networking of portable interphone |
| WO2025025170A1 (en) * | 2023-08-02 | 2025-02-06 | 深圳爱骑仕智能科技有限公司 | Intercom networking method and apparatus, and computer device and storage medium |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109640393A (en) * | 2018-12-28 | 2019-04-16 | 西安烽火电子科技有限责任公司 | A kind of competitive mode time division multiple acess cut-in method of wireless self-networking simultaneous data and speech transmission |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7936709B2 (en) * | 2008-03-18 | 2011-05-03 | Mitsubishi Electric Research Laboratories, Inc. | Distributed beacon enabled wireless networks |
| CN101635965B (en) * | 2009-07-30 | 2011-11-30 | 广州海格通信集团股份有限公司 | Multi-priority voice access method in Ad Hoc radio network |
| US10277748B2 (en) * | 2014-09-29 | 2019-04-30 | Cardo Systems, Inc. | Ad-Hoc communication network and communication method |
| CN111313926B (en) * | 2020-02-20 | 2021-03-02 | 中国人民解放军空军特色医学中心 | Time division duplex ad hoc network wireless communication device and communication method thereof |
-
2021
- 2021-06-16 CN CN202110664386.6A patent/CN113411868B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109640393A (en) * | 2018-12-28 | 2019-04-16 | 西安烽火电子科技有限责任公司 | A kind of competitive mode time division multiple acess cut-in method of wireless self-networking simultaneous data and speech transmission |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113411868A (en) | 2021-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113411868B (en) | Interphone networking method, interphone networking device, interphone networking computer equipment and storage medium | |
| CN113301511B (en) | Node joining method, interphone, system and storage medium | |
| CN104869526A (en) | Device-to-device communication and resource allocation method and equipment thereof | |
| WO2014120787A1 (en) | Wifi real-time streaming and bluetooth coexistence | |
| JP6900624B2 (en) | Data communication system, optical network unit and baseband unit | |
| CN104066209A (en) | Communication management method and communication device | |
| JP2003110583A (en) | Data transmission method and propagation delay complement method in one-to-many data communication network | |
| KR20060117202A (en) | Multichannel Allocation Method in Mesh Networks and Multichannel Systems for the Same | |
| CN104661229A (en) | Method for reducing mutual interference during working of Bluetooth and Wi-Fi | |
| CN108432311A (en) | A kind of resource request method, equipment, network side node and system | |
| CN115665768A (en) | Hybrid channel allocation method suitable for wireless self-organizing network | |
| CN108471640B (en) | Dynamic and static mixed time slot allocation method and system | |
| US8554139B2 (en) | Transmission method and related apparatus for reducing radio resource overhead | |
| CN116508377A (en) | Resource allocation method and device in a multi-connection scenario | |
| WO2023279359A1 (en) | Communication method and apparatus | |
| WO2025025170A1 (en) | Intercom networking method and apparatus, and computer device and storage medium | |
| CN109769238B (en) | A method for starting and configuring multiple devices to be distributed in a Bluetooth Mesh network | |
| US20190104467A1 (en) | Slotted channel access in communications network | |
| KR101097503B1 (en) | System and method get accomplished superframe structure for broadcast service in local area, and apparatus to the same | |
| US7924864B2 (en) | Terminal-based contention free low overhead access | |
| JP7758859B2 (en) | Communication method and communication device | |
| CN110290571B (en) | Master station networking method, slave station networking method and data frame structure for wireless transmission of data distribution | |
| US10827521B2 (en) | Channel scheduling for spatial reuse | |
| CN115767731A (en) | Dynamic time slot networking method, device, equipment and storage medium | |
| WO2025251598A1 (en) | Two-way radio communication method based on base station relay, and base station, two-way radio and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20241022 Address after: Building 3A, Building 1, No. 9 Queshan Zhongxin Road, Taoyuan Community, Dalang Street, Longhua District, Shenzhen City, Guangdong Province, 518000 Patentee after: Shenzhen Aiqishi Intelligent Technology Co.,Ltd. Country or region after: China Address before: 518000 Kangrui wisdom Valley, 3b, building 1, No. 9, Zhongxin Road, Queshan, Gaofeng community, Dalang street, Longhua District, Shenzhen, Guangdong Patentee before: Aiqishi industry (Shenzhen) Co.,Ltd. Country or region before: China |