PTT voice call method, system and device for integrating self-organizing network radio stations in different locations and networks

By converting multicast data into unicast signals in the ad hoc network and into multicast signals in the remote ad hoc network, the problem of PTT voice calls in different places and different networks is solved, and voice calls with low resource consumption and low delay are realized. , simplifying networking operations.

CN115884106BActive Publication Date: 2024-09-17湖南智领通信科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211538738.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-02
Publication Date
2024-09-17
Estimated Expiration
2042-12-02

AI Technical Summary

Technical Problem

In the application scenario of ad hoc network, PTT voice calls between different places and different networks cannot be carried out normally because the public network VPN does not support the forwarding of UDP multicast, resulting in the traditional method being complicated and occupying high resources, which violates the portability of ad hoc network equipment. and simple networking features.

Method used

By obtaining the multicast data output by the PTT device in the local ad hoc network, converting it into a unicast signal, sending it to the remote ad hoc network, and converting the unicast data into a multicast signal in the remote ad hoc network, the remote ad hoc network can be realized Voice calls between self-organized networks use the audio coding and decoding capabilities of the PTT equipment to avoid additional configuration and public network deployment of voice conferencing services.

Benefits of technology

It realizes voice calls between self-organized networks in different places, reduces network resource occupation and delay, simplifies network operations, reduces resource consumption, and does not require additional audio codec equipment and voice conferencing services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115884106B
    Figure CN115884106B
Patent Text Reader

Abstract

The present application relates to a PPT voice call method, system and device for integrating self-organizing network radio stations in different places and networks. The method comprises: in a local self-organizing network, obtaining local multicast data output by a PTT device of a local self-organizing network radio station; converting the local multicast data into a form of a unicast signal to obtain local unicast data, and sending the local unicast data to a different self-organizing network; in a different self-organizing network, converting the received local unicast data into a form of a multicast signal to obtain local multicast data, and broadcasting the local multicast data; a PTT device of a different self-organizing network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete a PTT voice call between the local self-organizing network and the different self-organizing network. The use of this method can enable self-organizing networks in different places and networks to conduct voice calls, and can make networking operations simpler and greatly reduce resource occupation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a PPT voice call method, system and device for integrating self-organizing network radio stations in different locations and networks. Background Art

[0002] A wireless ad hoc network is a distributed network composed of multiple wireless communication devices (referred to as "nodes"), which has the characteristics of being centerless, dynamic topology changes, self-organizing, and multi-hop routing, and its bandwidth resources are limited. In the application scenario of the ad hoc network, the radio's built-in PTT intercom is used to conduct voice calls between radio nodes in the same ad hoc network. The PTT (Push-To-Talk) device integrates the voice encoding and decoding function, which can support voice recording encoding, multicasting, receiving multicast voice information, decoding and playing the sound. Pressing the speak button can seize the speaking right. At this time, you can talk and broadcast the voice to the radio PTT device listening to the same multicast in the ad hoc network; when the button is not pressed, the voice signal sent by the radio PTT listening to the same multicast in the same ad hoc network is automatically received and decoded and played. This preemptive mode ensures that only one PTT device is speaking at a time.

[0003] Since PTT transmits data in the form of UDP (User Datagram Protocol) multicast, voice calls can only be made within the same ad hoc network. However, when two ad hoc networks in different locations and networks are integrated through a public network VPN (Virtual Private Network), the VPN service often does not support the forwarding of UDP multicast, and PTT data cannot be normally transmitted between different locations and networks, resulting in the inability of ad hoc network radio stations in different locations and networks to make voice calls through PTT devices. The traditional method uses an independent voice conferencing system, deploys a conference server on the public network cloud, and each ad hoc network needs to deploy a voice distribution device. Each radio station node needs to be additionally configured with a corresponding voice call device. In actual use, the equipment deployment is cumbersome, which greatly increases the complexity of the system, reduces the fault tolerance rate, and occupies a large amount of network resources of the ad hoc network, which violates the characteristics of the portable and simple networking operation of the ad hoc network equipment. How to realize the transmission and playback of audio between ad hoc networks that are integrated in different locations and networks without increasing the existing hardware equipment and without using an independent voice conferencing system has become an urgent problem to be solved. Summary of the invention

[0004] Based on this, it is necessary to provide a PPT voice call method, system and equipment for integrating self-organizing network radio stations in different locations and networks to address the above technical problems.

[0005] A PPT voice call method for self-organizing network radio station in different locations and networks, the method comprising:

[0006] When the local ad hoc network sends PTT voice information to the remote ad hoc network, the local multicast data output by the local ad hoc network radio station PTT device is obtained in the local ad hoc network; the local ad hoc network and the remote ad hoc network are remote and remote network fusion ad hoc networks;

[0007] Convert the local multicast data into a unicast signal to obtain local unicast data, and send the local unicast data to a remote ad hoc network;

[0008] In the remote ad hoc network, converting the received local unicast data into a form of a multicast signal to obtain the local multicast data, and broadcasting the local multicast data;

[0009] The PTT device of the remote ad hoc network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete the PTT voice call between the local ad hoc network and the remote ad hoc network.

[0010] In one of the embodiments, it further includes: polling and monitoring the multicast data in the local ad hoc network until the multicast data is the local multicast data output by the PTT device of the local ad hoc network radio station, and then the polling ends.

[0011] In one of the embodiments, it also includes: receiving multicast data in the local self-organizing network, determining whether the multicast data is multicast data sent by the local IP, if not, determining whether the local self-organizing network is receiving remote unicast data sent by a remote self-organizing network, if not, the currently received data is local multicast data output by the local self-organizing network radio PTT device.

[0012] In one of the embodiments, it also includes: detecting whether the connection status between the remote self-organizing network and the local self-organizing network is normal through a pre-built local connection status monitoring thread and a remote connection status monitoring thread; the local connection status monitoring thread is used to monitor the local keep-alive signal continuously sent by the local self-organizing network to the remote self-organizing network; the remote connection status monitoring thread is used to monitor the remote keep-alive signal continuously sent by the remote self-organizing network to the local self-organizing network; if the connection status is normal, the local unicast data is sent to the remote self-organizing network.

[0013] In one of the embodiments, it also includes: in the local connection status monitoring thread, the local ad hoc network continuously sends a local keep-alive signal to the remote ad hoc network, if the remote ad hoc network continuously receives the local keep-alive signal, then the connection status between the remote ad hoc network and the local ad hoc network is normal; in the remote connection status monitoring thread, the local ad hoc network receives the remote keep-alive signal continuously sent by the remote ad hoc network, if the local ad hoc network continuously receives the remote keep-alive signal, then the connection status between the remote ad hoc network and the local ad hoc network is normal.

[0014] In one of the embodiments, the method further includes: checking a stop mark set on an external program, and determining whether it is necessary to stop converting the local multicast data into a unicast signal according to the stop mark.

[0015] In one of the embodiments, it also includes: the local ad hoc network and the remote ad hoc network both use UDP protocol for data transmission.

[0016] A PPT voice call system integrating self-organizing network radio stations in different locations and networks, the system comprising:

[0017] A local ad hoc radio station and a remote ad hoc radio station, each ad hoc radio station forms a corresponding ad hoc network, the local ad hoc radio station and the remote ad hoc radio station are connected via a VPN service of a public network, and communicate using the UDP protocol; each ad hoc network includes a multicast to unicast module and a unicast to multicast module;

[0018] When making a voice call, the multicast-to-unicast module in the local ad hoc network converts the local multicast data output by the local ad hoc network radio PTT device into a unicast signal to obtain local unicast data, and sends the local unicast data to the remote ad hoc network;

[0019] The unicast-to-multicast module in the remote ad hoc network converts the received local unicast data into a multicast signal to obtain the local multicast data, and broadcasts the local multicast data;

[0020] The remote ad hoc network radio station PTT device receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information.

[0021] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0022] When the local ad hoc network sends PTT voice information to the remote ad hoc network, the local multicast data output by the local ad hoc network radio station PTT device is obtained in the local ad hoc network; the local ad hoc network and the remote ad hoc network are remote and remote network fusion ad hoc networks;

[0023] Convert the local multicast data into a unicast signal to obtain local unicast data, and send the local unicast data to a remote ad hoc network;

[0024] In the remote ad hoc network, converting the received local unicast data into a form of a multicast signal to obtain the local multicast data, and broadcasting the local multicast data;

[0025] The PTT device of the remote ad hoc network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete the PTT voice call between the local ad hoc network and the remote ad hoc network.

[0026] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0027] When the local ad hoc network sends PTT voice information to the remote ad hoc network, the local multicast data output by the local ad hoc network radio station PTT device is obtained in the local ad hoc network; the local ad hoc network and the remote ad hoc network are remote and remote network fusion ad hoc networks;

[0028] Convert the local multicast data into a unicast signal to obtain local unicast data, and send the local unicast data to a remote ad hoc network;

[0029] In the remote ad hoc network, converting the received local unicast data into a form of a multicast signal to obtain the local multicast data, and broadcasting the local multicast data;

[0030] The PTT device of the remote ad hoc network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete the PTT voice call between the local ad hoc network and the remote ad hoc network.

[0031] The above-mentioned PPT voice call method, system and device for integrating remote and heterogeneous self-organizing network radio stations, by converting local multicast data into local unicast data, and then forwarding it to the remote self-organizing network, and in the remote self-organizing network, converting local unicast data into local multicast data, enables the local self-organizing network to transmit voice information with the remote self-organizing network, wherein no operation is performed on the PTT data packet, and it is directly forwarded, so that the network resource occupancy rate of the self-organizing network is low, the voice delay is low, and the audio codec capability of the PTT device itself is used for voice processing, so that each radio station node does not need to be additionally configured with corresponding audio codec equipment, and does not need to deploy voice conference services on the public network. The embodiment of the present invention can enable self-organizing networks in different locations and networks to conduct voice calls, and can make networking operations simpler and greatly reduce resource occupancy. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is an application scenario diagram of a PPT voice call method for integrating self-organizing network radio stations in different locations and networks in one embodiment;

[0033] Figure 2 It is a schematic diagram of a process of converting multicast data into unicast data in a specific embodiment;

[0034] Figure 3 It is a schematic diagram of a process of converting unicast data into multicast data in a specific embodiment;

[0035] Figure 4 It is a structural diagram of a PPT voice call system integrating self-organizing network radio stations in different locations and networks in one embodiment;

[0036] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] In one embodiment, Figure 1 As shown, a PPT voice call method for integrating a self-organizing network radio station in different locations and networks is provided, comprising the following steps:

[0039] Step 102, when the local ad hoc network sends PTT voice information to the remote ad hoc network, the local multicast data output by the PTT device of the local ad hoc network radio station is obtained in the local ad hoc network.

[0040] The local ad hoc network and the remote ad hoc network are ad hoc networks that integrate different locations and networks. The remote ad hoc networks are connected through the VPN service of the public network, and the UDP protocol is used for data communication. The PTT walkie-talkie that comes with the radio is used to conduct voice calls between radio stations in remote ad hoc networks. After receiving the UDP multicast data, the PTT voice call device will automatically decode and play the sound; if the call button is pressed, the UDP multicast data will no longer be received, and the voice signal will be automatically encoded into UDP multicast data and sent out. A voice forwarding program will run in each ad hoc network to realize the PTT voice call that integrates different locations and networks. This voice forwarding program runs in the network management software of this ad hoc network.

[0041] Step 104, converting the local multicast data into a unicast signal to obtain local unicast data, and sending the local unicast data to the remote ad hoc network.

[0042] Multicast and unicast are both ways of message transmission. Unicast is a one-to-one communication mode between hosts. The devices in the network select the transmission path according to the destination address contained in the network message, transmit the unicast message to the specified destination, and only forward the received data without copying it. It can respond to each host in a timely manner. All current web browsing uses unicast mode; multicast is a one-to-many communication mode between hosts. Multicast is a technology that allows one or more multicast sources to send the same message to multiple receivers. The multicast source sends a message to a specific multicast address. Unlike a unicast address, a multicast address does not belong to a specific host, but to a group of hosts. A multicast address represents a group, and all receivers who need to receive multicast messages join this group.

[0043] like Figure 4 As shown, two remote ad hoc networks, ad hoc network 1 and ad hoc network 2, are formed respectively through two sets of remote ad hoc network radio stations, radio station 1 and radio station 2. Each ad hoc network includes two modules, unicast to multicast and multicast to unicast. In the same ad hoc network, the multicast to unicast module is responsible for sending local voice information to the remote ad hoc network, and the unicast to multicast module is responsible for receiving the remote voice information sent by the remote ad hoc network. In this embodiment, the local multicast signal is converted into a local unicast signal, and the local unicast signal is forwarded through a VPN service deployed on the public network to realize the transmission of voice information between remote ad hoc networks.

[0044] Step 106: In the remote ad hoc network, the received local unicast data is converted into a multicast signal to obtain local multicast data, and the local multicast data is broadcast.

[0045] The remote ad hoc network converts the received local unicast data into local multicast data, and broadcasts the local multicast data, so that all nodes of the remote ad hoc network receive the local multicast data, and the PTT voice call device of the remote ad hoc network radio station automatically decodes and plays the sound after receiving the multicast data. Through the method of the present invention, a node of the local ad hoc network presses the call button to send a local voice message to all nodes of the remote ad hoc network.

[0046] Step 108, the PTT device of the remote ad hoc network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete the PTT voice call between the local ad hoc network and the remote ad hoc network.

[0047] In the above-mentioned PPT voice call method for integrating remote and heterogeneous networks of self-organizing network radio stations, by converting local multicast data into local unicast data, and then forwarding it to the remote self-organizing network, and in the remote self-organizing network, converting local unicast data into local multicast data, the local self-organizing network can transmit voice information with the remote self-organizing network, wherein no operation is performed on the PTT data packet, and it is directly forwarded, so that the network resource occupancy rate of the self-organizing network is low, the voice delay is low, and the audio encoding and decoding capabilities of the PTT device itself are used for voice processing, so that each radio station node does not need to be additionally configured with corresponding audio encoding and decoding equipment, and does not need to deploy voice conferencing services on the public network. The embodiment of the present invention can enable self-organizing networks in different locations and networks to conduct voice calls, and can make networking operations simpler and greatly reduce resource occupancy.

[0048] In one embodiment, the step of obtaining local multicast data output by the local ad hoc network radio station PTT device includes: polling and monitoring the multicast data in the local ad hoc network until the multicast data is the local multicast data output by the local ad hoc network radio station PTT device, and then ending the polling; the step of polling and monitoring the multicast data in the local ad hoc network includes: receiving the multicast data in the local ad hoc network, determining whether the multicast data is the multicast data sent by the local IP, if not, determining whether the local ad hoc network is receiving remote unicast data sent by a remote ad hoc network, if not, the currently received data is the local multicast data output by the local ad hoc network radio station PTT device.

[0049] In this embodiment, after receiving a data packet, it is checked to determine whether it is multicast data sent by the local IP. If so, it means that the PTT of the remote ad hoc network has seized the right to speak, and return to the previous step to continue receiving the multicast data packet. This can prevent the multicast information of the local ad hoc network from being forwarded to another remote ad hoc network, and then being received by the remote ad hoc network and forwarded back again, resulting in a data storm between the two ad hoc networks; if not, it is further determined whether the local ad hoc network is receiving a remote unicast data packet sent by the remote ad hoc network. Data, if yes, it means that the PTT of the remote self-organizing network has seized the right to speak and is continuously broadcasting voice information to the local self-organizing network, then return to the previous step and continue to receive multicast data packets, which can solve the problem of conflict between two remote self-organizing networks and different networks when PTT of different self-organizing networks is pressed to speak at the same time, and ensure that when PTT of different self-organizing networks and different networks are pressed to speak at the same time, only one PTT is effective, that is, the preemptive speaking function of PTT is realized between the remote self-organizing networks and different networks.

[0050] In traditional methods, due to the unreliability of UDP, it is impossible to confirm whether the remote MANET is still in a normal connection state. As a result, after the remote MANET is disconnected, the local MANET continues to send information to the remote MANET, affecting security and causing information leakage.

[0051] In one embodiment, before sending local unicast data to the remote ad hoc network, it also includes detecting whether the connection status between the remote ad hoc network and the local ad hoc network is normal through a pre-built local connection status monitoring thread and a remote connection status monitoring thread; the local connection status monitoring thread is used to monitor the local keep-alive signal continuously sent by the local ad hoc network to the remote ad hoc network; the remote connection status monitoring thread is used to monitor the remote keep-alive signal continuously sent by the remote ad hoc network to the local ad hoc network; if the connection status is normal, the local unicast data is sent to the remote ad hoc network; the pre-built local connection status monitoring thread is used to monitor the local keep-alive signal continuously sent by the remote ad hoc network to the local ad hoc network. The connection status monitoring thread and the remote connection status monitoring thread detect whether the connection status between the remote ad hoc network and the local ad hoc network is normal, including: in the local connection status monitoring thread, the local ad hoc network continuously sends a local keep-alive signal to the remote ad hoc network. If the remote ad hoc network continuously receives the local keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal; in the remote connection status monitoring thread, the local ad hoc network receives the remote keep-alive signal continuously sent by the remote ad hoc network. If the local ad hoc network continuously receives the remote keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal. In this embodiment, if the connection status is abnormal, the conversion of local multicast data into local unicast data is stopped. At this time, it is impossible to send messages to the remote ad hoc network. It is possible to control whether the voice information needs to be sent to the remote ad hoc network according to the connection status of the remote and network ad hoc networks to ensure information security.

[0052] In one embodiment, after sending the local unicast data to the remote ad hoc network, the method further includes: checking a stop mark set on an external program, and judging whether it is necessary to stop converting the local multicast data into a unicast signal according to the stop mark. In this embodiment, if it is not necessary to stop, the method returns to the step of monitoring the ad hoc network data in the local ad hoc network, and continues to receive the multicast data packet. This step can be achieved by operating the stop mark by the external program, thereby controlling the stop and start of the multicast to unicast module.

[0053] Traditional voice conferencing systems often need to process voice data packets, and need to cache part of the data first, and then send it out after processing; at the same time, voice packets are transmitted in the self-organizing network in the form of TCP (Transfer Controln Protocol / InternetProtocol, Transmission Control Protocol). When the network is unstable or there are multi-hop connections, retransmission will occur, occupying a large amount of network resources; the above two points will lead to large voice delays and occupy a large amount of network resources in the self-organizing network. In the embodiment of the present invention, the data packets sent by multicast are converted into unicast, and no processing is performed on the monitored data packets. They are sent to the self-organizing network in a different place and network in the form of UDP unicast. In the self-organizing network in a different place and network, there will be a unicast-to-multicast module to receive this unicast signal, which solves the problem that the public network VPN service does not provide UDP multicast and broadcast forwarding, and can realize the sending and playing of audio without increasing the existing hardware equipment and without using an independent voice conferencing system.

[0054] In one embodiment, both the local ad hoc network and the remote ad hoc network use the UDP protocol for data transmission.

[0055] In a specific embodiment, Figure 2 As shown, a flow chart of converting multicast data into unicast data is provided. The PTT device will encode the voice signal into multicast data and send it to the local ad hoc network. This step monitors the multicast signal sent by the local radio station PTT device, and then sends the multicast data to the unicast receiving end of the remote network in the form of UDP unicast signal. The above process can also be realized when converting remote multicast data into remote unicast data in the remote ad hoc network. The specific steps include:

[0056] S202: The PTT device divides and encodes the continuous voice signal into a single multicast data packet of a fixed length, and starts a thread to poll and monitor the multicast data packet in the local ad hoc network.

[0057] S204: After receiving a data packet, check to determine whether it is multicast data sent by the local IP. If so, it means that the PTT of the remote ad hoc network has seized the right to speak, and return to S202 to continue receiving multicast data packets; if not, continue to the next step; this step is to prevent the multicast data sent by the unicast to multicast module from being received and forwarded again by the multicast to unicast module, causing a data storm.

[0058] S206: When the judgment of S204 is no, perform this step; determine whether the unicast to multicast module is receiving unicast data. If so, it means that the PTT of the remote ad hoc network has seized the right to speak and is continuously broadcasting voice information to the local ad hoc network, then return to S202 to continue receiving multicast data packets; if not, proceed to the next step; this step is to ensure that when the PTTs of different ad hoc networks in two different locations are pressed to speak at the same time, only one PTT is effective, that is, the PTT preemptive speaking function is realized between the ad hoc networks in different locations.

[0059] S208: When the judgment of S206 is no, perform this step; judge whether the connection between the local ad hoc network and the ad hoc network of a different location and network through the public network VPN is normal. This judgment standard is given by the maintenance and monitoring of the keep-alive signal in S202; if it is no, the connection is abnormal, then directly close this module and end the multicast to unicast conversion; if it is yes, the connection is normal, proceed to the next step; this step is to achieve, according to the connection status of the ad hoc network with the different location and network, to control whether the voice information needs to be sent to the different location ad hoc network to ensure information security.

[0060] S210: When the judgment of S208 is yes, perform this step; the data packets monitored in S202 are sent to the remote self-organizing network in the form of UDP unicast without any processing. There will be a unicast to multicast module in the remote self-organizing network to receive this unicast signal; this step converts the data packets sent by multicast into unicast, which solves the problem that the public network VPN service does not provide UDP multicast and broadcast forwarding.

[0061] S212: After executing S210, check the stop mark set on the external program to determine whether it is necessary to stop the multicast to unicast conversion. If yes, end the multicast to unicast conversion and stop running this module; if not, return to S202 and continue to receive multicast data packets; this step can be achieved by controlling the stop and start of the multicast to unicast module by the external program.

[0062] In a specific embodiment, Figure 3 As shown, a flow chart of converting unicast data into multicast data is provided. Taking the unicast to multicast module in the local ad hoc network as an example, the local ad hoc network monitors the unicast voice signal sent by the ad hoc network in another place and another network, and then broadcasts the unicast data to the local ad hoc network in the form of a multicast signal. The PTT device will automatically decode the received multicast data into sound information and play it out. The above process can also be realized when converting the received local unicast data into local multicast data in the ad hoc network in another place. The specific steps include:

[0063] S302: Start a thread to poll and listen to the UDP unicast data packets sent from the ad hoc network in different locations and networks.

[0064] S304: After receiving a data packet, check to determine whether the multicast-to-unicast module is receiving multicast data. If so, it means that the PTT of the local ad hoc network has seized the right to speak and is continuously sending voice information to the remote ad hoc network, then return to S302 to continue receiving unicast data packets; if not, proceed to the next step; this step is to ensure that when the PTTs of two ad hoc networks in different locations are pressed at the same time to speak, only one PTT is effective, that is, the PTT preemptive speaking function is realized between the ad hoc networks in different locations.

[0065] S306: When the judgment of S304 is no, perform this step; judge whether the connection between the local ad hoc network and the ad hoc network of a different location and network through the public network VPN is normal. This judgment standard is given by the maintenance and monitoring of the keep-alive signal in S302; if it is no, the connection is abnormal, then directly close this module and end the unicast to multicast conversion; if it is yes, the connection is normal, proceed to the next step; this step is to achieve, according to the connection status of the ad hoc network with the different location and network, to control whether to receive the voice signal from the different location ad hoc network to ensure information security.

[0066] S308: When the judgment of S306 is yes, perform this step; the data packets monitored in S302 are broadcast to the local self-organizing network in the form of multicast without any processing, and the PTT device on the local radio station will automatically decode the received multicast data into sound information and play it out; this step converts the received unicast voice data into multicast data that can be automatically received and transcoded by the PTT device, solving the problem that the public network VPN service does not provide UDP multicast and broadcast forwarding; and the existing PTT device can be used to directly play voice information in different locations and networks, without the need to add complex encoding and decoding and voice fusion equipment to the system.

[0067] S310: After executing S308, check the stop mark set on the external program to see whether it is necessary to stop the unicast to multicast conversion. If yes, end the unicast to multicast conversion and stop running this module; if not, return to S302 and continue to receive unicast data packets; this step can be achieved by controlling the stop and start of the unicast to multicast module by the external program.

[0068] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0069] In one embodiment, Figure 4 As shown, a PPT voice call system integrating self-organizing network radio stations in different locations and networks is provided, including:

[0070] Local ad hoc radio stations and remote ad hoc radio stations, each ad hoc radio station forms a corresponding ad hoc network, the local ad hoc radio station and the remote ad hoc radio station are connected through the VPN service of the public network, and use the UDP protocol for communication; each ad hoc network includes a multicast to unicast module and a unicast to multicast module;

[0071] When making a voice call, the multicast-to-unicast module in the local ad hoc network converts the local multicast data output by the local ad hoc network radio PTT device into a unicast signal to obtain local unicast data, and sends the local unicast data to the remote ad hoc network;

[0072] The unicast-to-multicast module in the remote ad hoc network converts the received local unicast data into a multicast signal, obtains local multicast data, and broadcasts the local multicast data;

[0073] The remote ad hoc network radio station PTT device receives the broadcasted local multicast data, decodes the local multicast data, obtains the local voice information, and plays the local voice information.

[0074] In one of the embodiments, it is also used to poll and monitor the multicast data in the local ad hoc network until the multicast data is the local multicast data output by the PTT device of the local ad hoc network radio station, and then the polling is terminated.

[0075] In one of the embodiments, it is also used to receive multicast data in the local self-organizing network, determine whether the multicast data is multicast data sent by the local IP, if not, determine whether the local self-organizing network is receiving remote unicast data sent by a remote self-organizing network, if not, the currently received data is the local multicast data output by the local self-organizing network radio PTT device.

[0076] In one of the embodiments, it is also used to detect whether the connection status between the remote self-organizing network and the local self-organizing network is normal through a pre-built local connection status monitoring thread and a remote connection status monitoring thread; the local connection status monitoring thread is used to monitor the local keep-alive signal continuously sent by the local self-organizing network to the remote self-organizing network; the remote connection status monitoring thread is used to monitor the remote keep-alive signal continuously sent by the remote self-organizing network to the local self-organizing network; if the connection status is normal, the local unicast data is sent to the remote self-organizing network.

[0077] In one of the embodiments, it is also used that in the local connection status monitoring thread, the local ad hoc network continuously sends a local keep-alive signal to the remote ad hoc network. If the remote ad hoc network continuously receives the local keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal; in the remote connection status monitoring thread, the local ad hoc network receives the remote keep-alive signal continuously sent by the remote ad hoc network. If the local ad hoc network continuously receives the remote keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal.

[0078] In one of the embodiments, it is further used to check a stop mark set on the external program, and determine whether it is necessary to stop converting the local multicast data into a unicast signal according to the stop mark.

[0079] In one of the embodiments, both the local ad hoc network and the remote ad hoc network adopt the UDP protocol for data transmission.

[0080] For the specific definition of the PPT voice call system of the self-organizing radio station in different locations and networks, please refer to the definition of the PPT voice call method of the self-organizing radio station in different locations and networks mentioned above, which will not be repeated here. Each module in the above-mentioned PPT voice call system of the self-organizing radio station in different locations and networks can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0081] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a PPT voice call method for integrating self-organizing network radio stations in different locations and networks is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.

[0082] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0083] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in the above embodiment when executing the computer program.

[0084] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in the above embodiment are implemented.

[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0086] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0087] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A PTT voice call method for integrating self-organizing network radio stations in different locations and networks, characterized in that: The method comprises: When the local ad hoc network sends PTT voice information to the remote ad hoc network, the local multicast data output by the local ad hoc network radio station PTT device is obtained in the local ad hoc network; the local ad hoc network and the remote ad hoc network are remote and remote network fusion ad hoc networks; Convert the local multicast data into a unicast signal to obtain local unicast data, and send the local unicast data to a remote ad hoc network; In the remote ad hoc network, converting the received local unicast data into a form of a multicast signal to obtain the local multicast data, and broadcasting the local multicast data; The PTT device of the remote ad hoc network radio station receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information to complete the PTT voice call between the local ad hoc network and the remote ad hoc network.

2. The method according to claim 1, characterized in that The step of obtaining the local multicast data output by the local ad hoc network radio station PTT device includes: The multicast data in the local ad hoc network is monitored by polling until the multicast data is the local multicast data output by the PTT device of the local ad hoc network radio station, and then the polling is terminated.

3. The method according to claim 2, characterized in that The step of polling and monitoring multicast data in the local ad hoc network includes: Receive multicast data in the local ad hoc network and determine whether the multicast data is multicast data sent by the local IP. If not, determine whether the local ad hoc network is receiving remote unicast data sent by a remote ad hoc network. If not, the currently received data is local multicast data output by the local ad hoc network radio PTT device.

4. The method according to claim 1, characterized in that: Before sending the local unicast data to the remote ad hoc network, the method further includes: Through the pre-built local connection status monitoring thread and the remote connection status monitoring thread, it is detected whether the connection status between the remote ad hoc network and the local ad hoc network is normal; the local connection status monitoring thread is used to monitor the local keep-alive signal continuously sent by the local ad hoc network to the remote ad hoc network; the remote connection status monitoring thread is used to monitor the remote keep-alive signal continuously sent by the remote ad hoc network to the local ad hoc network; If the connection status is normal, the local unicast data is sent to the remote ad hoc network.

5. The method according to claim 4, characterized in that The detecting whether the connection status between the remote ad hoc network and the local ad hoc network is normal by using the pre-built local connection status monitoring thread and the remote connection status monitoring thread includes: In the local connection status monitoring thread, the local ad hoc network continuously sends a local keep-alive signal to the remote ad hoc network. If the remote ad hoc network continuously receives the local keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal; In the remote connection status monitoring thread, the local ad hoc network receives the remote keep-alive signal continuously sent by the remote ad hoc network. If the local ad hoc network continues to receive the remote keep-alive signal, the connection status between the remote ad hoc network and the local ad hoc network is normal.

6. The method according to claim 1, characterized in that After sending the local unicast data to the remote ad hoc network, the method further includes: A stop mark set on the external program is checked, and it is determined according to the stop mark whether it is necessary to stop converting the local multicast data into a unicast signal.

7. The method according to any one of claims 1 to 6, characterized in that: The local ad hoc network and the remote ad hoc network both use the UDP protocol for data transmission.

8. A PPT voice call system integrating self-organizing radio stations in different locations and networks, characterized in that: The system comprises: A local ad hoc radio station and a remote ad hoc radio station, each ad hoc radio station forms a corresponding ad hoc network, the local ad hoc radio station and the remote ad hoc radio station are connected via a VPN service of a public network, and communicate using the UDP protocol; each ad hoc network includes a multicast to unicast module and a unicast to multicast module; When making a voice call, the multicast-to-unicast module in the local ad hoc network converts the local multicast data output by the local ad hoc network radio PTT device into a unicast signal to obtain local unicast data, and sends the local unicast data to the remote ad hoc network; The unicast-to-multicast module in the remote ad hoc network converts the received local unicast data into a multicast signal to obtain the local multicast data, and broadcasts the local multicast data; The remote ad hoc network radio station PTT device receives the broadcasted local multicast data, decodes the local multicast data, obtains local voice information, and plays the local voice information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.