Wireless voice communication systems, methods, devices, and storage media

By introducing a state synchronization controller and a dual-channel transmission module into the wireless voice communication system, the delay problem during roaming switching of the wireless voice communication system is solved, and fast loading of authentication status and millisecond-level routing switching are achieved, ensuring the continuity and stability of voice communication.

CN120547641BActive Publication Date: 2025-10-21SHENZHEN DINSTAR TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510970995.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-10-21
Estimated Expiration
2045-07-15

AI Technical Summary

Technical Problem

Existing wireless voice communication systems experience significant delays during roaming and handover within the IEEE 802.11 standard framework, including authentication delays, session state loss, routing handover delays, and insufficient voice buffering.

Method used

A combination of a session initiation protocol terminal, a state synchronization controller, a first access point, and a second access point is adopted. The state synchronization controller caches WAPI authentication information and implements protocol session context synchronization. Combined with a dual-channel transmission module and a routing optimization module, fast authentication state loading across access points and millisecond-level routing switching are achieved.

Benefits of technology

It reduces WAPI authentication delay, ensures the continuity and stability of voice communications, and reduces the risk of service interruption during roaming switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120547641B_ABST
    Figure CN120547641B_ABST
Patent Text Reader

Abstract

The application discloses a wireless voice communication system, method, device and storage medium, relates to the technical field of wireless communication, and the wireless voice communication system comprises a session initiation protocol terminal, a state synchronization controller, a first access point and a second access point. When detecting that a roaming condition is met, the session initiation protocol terminal sends a roaming trigger signal to the state synchronization controller. When receiving the roaming trigger signal, the state synchronization controller caches WAPI authentication information of the first access point and the second access point to a distributed state cache cluster. The state synchronization controller synchronizes the WAPI authentication information and protocol session context to the first access point and the second access point. Since the WAPI authentication information is cached through the state synchronization controller, cross-AP authentication state fast loading is realized, and WAPI authentication delay is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technologies, and in particular to wireless voice communication systems, methods, devices, and storage media. Background Art

[0002] Wireless voice communication is widely used in personal communications, public safety, emergency rescue and other fields. It can realize real-time, two-way voice interaction and ensure the timeliness and accuracy of information transmission.

[0003] In the current wireless voice communication system under the IEEE 802.11 standard framework, the roaming handover process has significant delays. Summary of the Invention

[0004] The main purpose of this application is to provide a wireless voice communication system, method, device and storage medium, aiming to solve the technical problem that the existing wireless voice communication system has significant delay during roaming switching.

[0005] To achieve the above objectives, the present application proposes a wireless voice communication system, which includes:

[0006] A session initiation protocol terminal, a state synchronization controller, a first access point, and a second access point;

[0007] The session initiation protocol terminal is configured to send a roaming trigger signal to the state synchronization controller when detecting that a roaming condition is met;

[0008] The state synchronization controller is configured to cache the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster upon receiving the roaming trigger signal;

[0009] The state synchronization controller is further configured to synchronize the WAPI authentication information and the protocol session context to the first access point and the second access point.

[0010] In one embodiment, the session initiation protocol terminal is further configured to send a WAPI authentication request to the first access point;

[0011] The first access point is configured to perform authentication processing based on the WAPI authentication request and obtain authentication response information;

[0012] The first access point is further configured to return the authentication response information to the session initiation protocol terminal.

[0013] In one embodiment, the wireless voice communication system further includes: an authentication server;

[0014] The first access point is further configured to perform preliminary authentication on the WAPI authentication request and forward the WAPI authentication request to an authentication server when the preliminary authentication passes;

[0015] The authentication server is configured to obtain the identity information and registration information of the session initiation protocol terminal based on the WAPI authentication request;

[0016] The authentication server is further configured to perform verification based on the identity information and the registration information to obtain authentication response information;

[0017] The authentication server is further configured to return the authentication response information to the first access point.

[0018] In one embodiment, the system further comprises: a dual-channel transmission module;

[0019] The state synchronization controller is further configured to send a fast routing switching instruction to the first access point;

[0020] The first access point is further configured to start a dual-channel transmission module based on the fast routing switching instruction;

[0021] The dual-channel transmission module is used to transmit data through the master channel and the slave channel, and perform channel index detection; the channel index detection at least includes master channel index detection;

[0022] The dual-channel transmission module is further configured to use the slave channel as the master channel and perform diagnosis and repair on the master channel when an abnormality is detected in the master channel indicator.

[0023] In one embodiment, the dual-channel transmission module is further configured to obtain a channel strategy when the diagnosis and repair is successful;

[0024] The dual-channel transmission module is further configured to determine a primary channel for data transmission according to the channel strategy.

[0025] In one embodiment, the state synchronization controller is further configured to obtain first network information of the communication network;

[0026] The state synchronization controller is further configured to determine a first target path of the master channel and the slave channel based on the first network information;

[0027] The state synchronization controller is further configured to perform data transmission based on the first target path and monitor second network information during the data transmission process.

[0028] In one embodiment, the state synchronization controller is further configured to determine the network state of the communication network based on the second network information;

[0029] The state synchronization controller is further configured to determine, when the network state is abnormal, a second target path of the master channel and the slave channel based on the second network information;

[0030] The state synchronization controller is further configured to switch the data transmission path to the second target path.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a wireless voice communication method, which includes:

[0032] When the session initiation protocol terminal detects that a roaming condition is met, the session initiation protocol terminal sends a roaming trigger signal to the state synchronization controller;

[0033] The state synchronization controller caches the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster when receiving the roaming trigger signal;

[0034] The state synchronization controller synchronizes the WAPI authentication information and the protocol session context to the first access point and the second access point.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a wireless voice communication device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the wireless voice communication method described above.

[0036] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the steps of the wireless voice communication method described above are implemented.

[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the wireless voice communication method described above are implemented.

[0038] One or more technical solutions proposed in this application have at least the following technical effects:

[0039] The wireless voice communication system of the present application includes: a Session Initiation Protocol terminal, a state synchronization controller, a first access point, and a second access point. When the Session Initiation Protocol terminal detects that roaming conditions are met, it sends a roaming trigger signal to the state synchronization controller. When the state synchronization controller receives the roaming trigger signal, it caches the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster. The state synchronization controller synchronizes the WAPI authentication information and protocol session context to the first access point and the second access point. Because the WAPI authentication information is cached by the state synchronization controller, the authentication state is quickly loaded across APs, reducing WAPI authentication latency. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 A system structure block diagram of the first embodiment of the wireless voice communication system of the present application is provided;

[0043] Figure 2 A flowchart of the second embodiment of the wireless voice communication system of this application is provided;

[0044] Figure 3 A flowchart of the third embodiment of the wireless voice communication system of this application is provided;

[0045] Figure 4 This is a flow chart of a wireless voice communication method according to an embodiment of the present application;

[0046] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the wireless voice communication method in the embodiment of the present application.

[0047] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0050] In some implementations, existing wireless voice communication systems (such as VoIP) under the IEEE 802.11 standard have significant delays (typically 300-500ms) during roaming handovers. This presents the following technical bottlenecks:

[0051] (1) Authentication delay: The traditional WLAN Authentication and Privacy Infrastructure (WAPI) authentication process includes certificate negotiation and key generation, and takes 200-300ms, much longer than the IEEE 802.11i pre-authentication mechanism (approximately 50ms).

[0052] (2) Session state loss: The Session Initiation Protocol (SIP) session context does not migrate seamlessly across access points (APs), resulting in interrupted voice streaming.

[0053] (3) Routing switch delay: Traditional Layer 3 routing switching requires re-address resolution and path calculation, increasing the risk of service interruption;

[0054] (4) Insufficient voice buffering: The existing Real-time Transport Protocol (RTP) transmission does not establish redundant channels and cannot cope with instantaneous packet loss during the switching process.

[0055] Based on this, the embodiment of the present application provides a wireless voice communication system, referring to Figure 1 , Figure 1 This is a system structure block diagram provided for Example 1 of the wireless voice communication system of this application.

[0056] like Figure 1 As shown, in the embodiment of the present application, the wireless voice communication system includes: a session initiation protocol terminal, a state synchronization controller, a first access point and a second access point.

[0057] As you can understand, the Session Initiation Protocol (SIP) is a multimedia communication protocol developed by the Internet Engineering Task Force. It is a text-based application-layer control protocol used to create, modify, and terminate sessions on IP networks. SIP can be used for wireless communications and multimedia applications such as IP telephony, video conferencing, and instant messaging. A SIP terminal, or a user agent that supports SIP, can send and receive SIP messages. This SIP terminal can be a software application, a specific SIP phone, or other SIP-enabled device.

[0058] It should be understood that a state synchronization controller is a network device that can be used to centrally manage, monitor, and control the status of devices in a wireless communication network, such as the DWS6000, RG-WS6816, etc. The state synchronization controller can be used to centrally control wireless access points and can uniformly manage all wireless access points in the wireless communication network, such as issuing configurations, modifying configuration parameters, etc. The state synchronization controller in the embodiment of the present application can build a distributed state cache cluster and implement state synchronization between access points based on gRPC (delay <50ms), while supporting serial number storage of SIP session context (Protobuf format). Through the state synchronization controller in the embodiment of the present application, authentication status and SIP session transfer across access points can be achieved.

[0059] It is understood that in a wireless communication network, an access point can be a network device that allows wireless terminal devices (such as smartphones, tablets, and laptops) to connect to the network via wireless signals, thereby enabling wireless data transmission and communication. In the embodiments of the present application, the first access point is the source access point of the wireless communication, and the second access point is the target access point of the wireless communication.

[0060] It's important to note that wireless voice communications typically utilize wireless roaming to maintain network connectivity while a wireless device is on the move. During wireless roaming, when a wireless device moves from one access point to another, it automatically switches to the access point with the strongest signal to maintain network connectivity. During wireless roaming, the access point before the automatic switchover is the original access point, and the access point after the automatic switchover is the target access point.

[0061] In an embodiment of the present application, the session initiation protocol terminal is configured to send a roaming trigger signal to the state synchronization controller when detecting that a roaming condition is met;

[0062] The state synchronization controller is configured to cache the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster upon receiving the roaming trigger signal;

[0063] The state synchronization controller is further configured to synchronize the WAPI authentication information and the protocol session context to the first access point and the second access point.

[0064] It should be noted that the above roaming condition may be a rule or parameter that needs to be satisfied when a Session Initiation Protocol terminal switches from a first access point to a second access point.

[0065] In some implementations of the embodiments of the present application, the roaming conditions may include necessary conditions and optimization conditions. The necessary conditions may include a signal strength threshold being lower than a preset signal strength threshold and / or a signal quality being lower than a preset signal quality, and the optimization conditions may include the number of connected devices at the second access point being lower than a preset number of connected devices and / or the second access point needing to support the same security protocol as the first access point, etc., which are not limited in the embodiments of the present application.

[0066] It is understood that during the movement process, the Session Initiation Protocol terminal of the embodiment of the present application can determine whether to initiate wireless roaming handover based on information such as the signal strength, signal quality, and network status of the first access point. When wireless roaming handover needs to be initiated, the Session Initiation Protocol terminal of the embodiment of the present application can generate a roaming trigger signal and send the roaming trigger signal to the state synchronization controller.

[0067] It should be noted that in a wireless communication system, WAPI authentication information can be a collection of information used to implement security functions such as identity authentication, link verification, access control, and data encryption protection when a device accesses a wireless local area network. In an embodiment of the present application, the cache can be deployed in a distributed state cache cluster composed of multiple servers (such as a redis cluster) to provide cache services for WAPI authentication information in a cluster manner. By caching WAPI authentication information in a distributed state cache cluster, authentication efficiency is improved, back-end storage pressure is reduced, and system scalability is enhanced. It also realizes the establishment of an authentication state cache pool through a state synchronization controller, and realizes cross-access point pre-synchronization of authentication information.

[0068] In some implementations of the present application, the wireless voice communication system of the present application may further include an IAD voice gateway. A Session Initiation Protocol terminal may exchange voice data with an access point via wireless; the access point may synchronize WAPI authentication state and SIP session context with a state synchronization controller; and the IAD voice gateway may be responsible for processing SIP sessions and ensuring their continuity.

[0069] In some implementations of the embodiments of the present application, the data flow before roaming may include a WAPI authentication process and a SIP registration process. The WAPI authentication process may specifically include: the session initiation protocol terminal sends a WAPI authentication request to the first access point, and the first access point returns authentication response information after performing authentication processing. The SIP registration process may specifically include: the session initiation protocol terminal sends a SIP registration request to the first access point, and the first access point returns a registration response after processing the SIP registration request. After successful registration, the first access point can transmit voice data to the session initiation protocol terminal. That is, the session initiation protocol terminal is further used to send a WAPI authentication request to the first access point; the first access point is used to perform authentication processing based on the WAPI authentication request and obtain authentication response information; the first access point is also used to return the authentication response information to the session initiation protocol terminal.

[0070] Specifically, the wireless voice communication system further includes: an authentication server; the first access point is further configured to perform preliminary authentication on the WAPI authentication request and forward the WAPI authentication request to the authentication server when the preliminary authentication passes; the authentication server is configured to obtain the identity information and registration information of the session initiation protocol terminal based on the WAPI authentication request; the authentication server is further configured to perform verification based on the identity information and the registration information to obtain authentication response information; and the authentication server is further configured to return the authentication response information to the first access point.

[0071] In some implementations of the present application, for a roaming data flow, upon detecting that a roaming condition is met, a Session Initiation Protocol terminal may send a roaming trigger signal to a state synchronization controller. The state synchronization controller may query the WAPI authentication status of the first access point and the second access point and synchronize the SIP session context to the first access point and the second access point.

[0072] It is understood that the SIP session context, that is, the content that describes the current state of the session, participating access points, media configuration, and session-related metadata during the communication process based on the Session Initiation Protocol, is key to ensuring the correct establishment, management, and termination of SIP sessions.

[0073] In some implementations of the present invention, for roaming data flows, the first access point can open a dual channel with the second access point and mirror the RTP voice data to the second access point. Simultaneously, the state synchronization controller can send a fast routing switch instruction to the first access point and the second access point.

[0074] In some implementations of the embodiments of the present application, for the data flow after roaming, when roaming is completed, the second access point can transmit voice data to the session initiation protocol terminal, and the session initiation protocol terminal can send the RTP stream to the IAD voice gateway to maintain the continuity of voice communication.

[0075] The wireless voice communication system of an embodiment of the present application includes: a Session Initiation Protocol terminal, a state synchronization controller, a first access point, and a second access point. When the Session Initiation Protocol terminal detects that roaming conditions are met, it sends a roaming trigger signal to the state synchronization controller. When the state synchronization controller receives the roaming trigger signal, it caches WAPI authentication information of the first access point and the second access point in a distributed state cache cluster. The state synchronization controller synchronizes the WAPI authentication information and protocol session context to the first access point and the second access point. Because the WAPI authentication information is cached by the state synchronization controller, the authentication state is quickly loaded across APs, reducing WAPI authentication latency.

[0076] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the wireless voice communication system of this application.

[0077] like Figure 2 As shown, in the embodiment of the present application, the system further includes: a dual-channel transmission module; wherein the dual-channel transmission module can be a functional module in the state synchronization controller or an independent functional module in the system, and the embodiment of the present application does not limit this.

[0078] In the embodiments of the present application, the dual-channel transmission module is a functional module that can be used to establish a master-slave transmission channel to ensure voice continuity. Specifically, the dual-channel transmission module can be composed of a master channel and a slave channel. The master channel is built on the 5 GHz frequency band of IEEE 802.11ac. This frequency band features high bandwidth and low interference, meeting the requirements for high-speed transmission of large amounts of data. Under normal circumstances, it performs the primary data transmission task, providing a smooth network experience for terminal devices, such as supporting high-definition video playback and fast large file downloads. The slave channel uses LTE-V2X as a backup link, which has the advantages of wide coverage and strong penetration. Even if the primary channel experiences transmission failure due to environmental interference, signal obstruction, etc., the slave channel can quickly take over data transmission, ensuring uninterrupted data transmission and safeguarding critical services. For example, this can maintain network connectivity in complex industrial environments or while vehicles are in motion. Furthermore, a dynamic bandwidth allocation algorithm (based on the token bucket mechanism) can be used to implement bandwidth allocation.

[0079] The state synchronization controller is further configured to send a fast routing switching instruction to the first access point;

[0080] The first access point is further configured to start a dual-channel transmission module based on the fast routing switching instruction;

[0081] The dual-channel transmission module is used to transmit data through the master channel and the slave channel, and perform channel index detection; the channel index detection at least includes master channel index detection;

[0082] The dual-channel transmission module is further configured to use the slave channel as the master channel and perform diagnosis and repair on the master channel when an abnormality is detected in the master channel indicator.

[0083] It should be noted that the dual-channel transmission module, access point, and state synchronization control module of the embodiments of the present application can implement a routing optimization module, thereby achieving millisecond-level routing switching. In the embodiments of the present application, the optimal path to the candidate access points can be calculated by the dual-channel transmission module based on the centralized routing control of the OpenFlow protocol, and a routing table version rollback mechanism (Rollback Version) can be designed to achieve millisecond-level routing switching in the routing optimization module.

[0084] It is understandable that in order to provide higher transmission quality, the state synchronization controller of the embodiment of the present application can send a fast routing switching instruction to the first access point. When the first access point receives the fast routing switching instruction, the dual-channel transmission module is started. Under normal circumstances, the main channel is the main channel for data transmission. Specifically, the first access point can transmit RTP voice data to the second access point through the main channel, and at the same time use data mirroring technology to copy the same RTP voice data and transmit it through the slave channel. During the transmission process, the dual-channel transmission module can perform real-time channel indicator detection on the data transmission process, and collect channel indicators such as signal strength, transmission delay, packet loss rate, bandwidth utilization, and bit error rate of data transmission through probe nodes set in the main channel and the slave channel. Once an abnormality is detected in the main channel, such as the transmission delay exceeds the preset transmission delay threshold or the packet loss rate is higher than the preset packet loss rate threshold, the slave channel can be immediately switched to the main channel for data transmission to ensure the stability of voice data transmission.

[0085] In an embodiment of the present application, the dual-channel transmission module may be equipped with an intelligent switching controller, which can continuously analyze the channel indicators of the main channel and the slave channel, and evaluate the transmission quality of the channel based on the channel indicators. When the transmission quality of the main channel drops to the set switching threshold, the intelligent switching controller can issue a switching instruction, adjust the data flow, and switch all the data to the slave channel for transmission. At the same time, the intelligent switching controller can start the fault diagnosis and repair process of the main channel. When the main channel returns to normal, the intelligent switching controller will decide whether to switch the data back to the main channel or continue to maintain the current channel usage status based on the channel strategy, thereby realizing intelligent collaboration and seamless switching between the dual channels. That is, the dual-channel transmission module is also used to obtain the channel strategy when the diagnosis and repair is successful; the dual-channel transmission module is also used to determine the main channel for data transmission based on the channel strategy.

[0086] It can be understood that the above-mentioned channel strategy is a strategy for determining the channel used for data transmission, which can be set specifically according to the needs in use, and the embodiments of the present application are not limited to this.

[0087] In some implementations of the embodiments of the present application, after roaming, the SIP session can continue to transmit data to the Session Initiation Protocol terminal through the second access point, and the Session Initiation Protocol terminal can send the RTP voice data stream to the IAD voice gateway.

[0088] In some implementations of the present application, the present application may further include a terminal identity awareness module that can implement real-time awareness of Session Initiation Protocol terminal identities (such as MAC addresses, user IDs, SSIDs, etc.). Specifically, the module can obtain authentication status based on the WAPI Authentication Service Unit (ASU) interface, generate session tokens using the SHA-256 hash algorithm, and establish a terminal status database (including authentication timestamps, key information, etc.).

[0089] In some implementations of the present application, the terminal identity awareness module of the present application can obtain the Session Initiation Protocol terminal based on the WAPI ASU interface. The ASU interface can provide real-time feedback on whether the Session Initiation Protocol terminal has passed WAPI authentication, authentication-related parameters, and other information. At the same time, the system can obtain the MAC address of the Session Initiation Protocol terminal through the network interface and extract the user ID and SSID (Service Set Identifier) ​​from the Session Initiation Protocol terminal's configuration information or related network protocol interactions, thereby fully understanding the terminal identity and providing a basis for subsequent operations.

[0090] In some implementations of the present application, the terminal identity awareness module in the present application can use the SHA-256 hash algorithm to generate a unique session token using key information such as the acquired terminal identity (e.g., MAC address, user ID, etc.) and the current timestamp as input. Due to the excellent security and hashing properties of the SHA-256 hash algorithm, the generated token is difficult to tamper with and crack, ensuring the security and reliability of session authentication during communication.

[0091] In some implementations of the present application, the terminal identity awareness module of the present application can store authentication timestamps in a terminal status database, recording the specific moment when the Session Initiation Protocol terminal completes WAPI authentication, so as to facilitate subsequent timeliness assessment of the authentication status. Key information can also be stored. These keys can be used to encrypt and decrypt data transmitted between the terminal and the network to ensure data security. The terminal status database can also record the connection status of the Session Initiation Protocol terminal (such as connected, roaming, etc.) and other terminal-related configuration parameters, making it convenient for the system to query and call them at any time, thereby achieving comprehensive tracking and management of terminal status.

[0092] In the embodiment of the present application, the wireless voice communication system further includes: a dual-channel transmission module; a state synchronization controller sending a fast routing switching instruction to the first access point; the first access point activating the dual-channel transmission module based on the fast routing switching instruction; the dual-channel transmission module transmitting data through a master channel and a slave channel and performing channel indicator detection; the channel indicator detection at least includes master channel indicator detection; and when an abnormality is detected in the master channel indicator detection, the dual-channel transmission module uses the slave channel as the master channel and performs diagnosis and repair on the master channel. By establishing a master-slave channel synchronous transmission mechanism, the integrity of voice data during roaming switching is guaranteed.

[0093] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment and / or the second embodiment can be referred to the above introduction and will not be described in detail later. Figure 3 , Figure 3 This is a flow chart of the third embodiment of the wireless voice communication system of this application.

[0094] like Figure 3 As shown, in the embodiment of the present application, the state synchronization controller is further used to obtain first network information of the communication network;

[0095] The state synchronization controller is further configured to determine a first target path of the master channel and the slave channel based on the first network information;

[0096] The state synchronization controller is further configured to perform data transmission based on the first target path and monitor second network information during the data transmission process.

[0097] It should be noted that, to reduce routing switching delays, embodiments of the present application can also optimize routing in the communication network. The aforementioned network information can include information such as network topology, node load, and channel characteristics. In a dual-channel transmission scenario, routing optimization relies on pre-planned and calculated paths. Based on this network information, the state synchronization controller in embodiments of the present application can utilize a shortest path algorithm (such as the Dijkstra algorithm) to calculate the optimal transmission path from the first access point to the second access point for both the primary and secondary channels. During the calculation process, factors such as network latency, bandwidth, and hop count can be comprehensively considered to ensure that the planned target path meets the requirements for efficient data transmission. For example, for latency-sensitive voice data, paths with low latency are prioritized; for large data transmissions, paths with sufficient bandwidth are preferred. Furthermore, to address dynamic changes in the network environment, the state synchronization controller can recalculate paths periodically or when the network topology changes to ensure that the paths are always optimal. It should be noted that the aforementioned first network information refers to the network information of the communication network based on the current transmission path, the aforementioned first target path refers to the optimal path determined based on the first network information, and the aforementioned second network information refers to the network information based on the first target path.

[0098] Understandably, the network environment may change during data transmission, such as temporary interference or node failure. In these cases, monitoring nodes installed in the channel can collect network information in real time. Upon detecting network performance degradation or path anomalies, such as a significant increase in transmission delay or packet loss, the intelligent switching controller can trigger a dynamic routing adjustment mechanism, reassess the current network status, calculate a new optimal path (also known as the first target path), and switch the data transmission path to the new optimal path, ensuring the continuity and stability of data transmission. Furthermore, dynamic routing adjustment strategies are also applied during the switching process between the primary and secondary channels to ensure a seamless transition without disrupting normal business operations.

[0099] In some implementations of the embodiments of the present application, when the data transmission path is switched to the first target path, the network information of the communication network that performs data transmission based on the first target path can be monitored to obtain the second network information. At the same time, a judgment can be made based on the obtained second network information to determine the current network status of the communication network. When the network status is abnormal, the second target path can be further determined based on the second network information, and the data transmission path can be switched to the second target path. When the network status is normal, there is no need to switch, and data is transmitted based on the first target path. That is, the state synchronization controller is also used to judge the network status of the communication network based on the second network information; the state synchronization controller is also used to determine the second target path of the master channel and the slave channel based on the second network information when the network status is abnormal; the state synchronization controller is also used to switch the data transmission path to the second target path.

[0100] It should be noted that the above-mentioned method for determining an abnormal network status can be that one or more indicators in the second network information are abnormal. The specific judgment can be based on indicators in actual applications, and the embodiments of this application are not limited to this. By monitoring the network status during data transmission in real time and switching the data transmission path when an abnormality is detected, the delay during data transmission is reduced.

[0101] In some implementations of the embodiments of the present application, route optimization may also involve load balancing to avoid network congestion and make full use of network resources. The intelligent switching controller monitors the load conditions of the master and slave channels in real time, including indicators such as bandwidth utilization and node processing capacity. When it is found that the load on a certain channel is too high, the data traffic distribution will be dynamically adjusted according to the preset load balancing strategy. For example, some non-critical data is transferred from the master channel with high load to the slave channel with low load, so that the load of the two channels remains within the target range, thereby improving the overall network transmission efficiency. In addition, for different types of data, such as voice data and ordinary file data, they will be reasonably allocated to different channels for transmission according to their priority and real-time requirements to ensure the smoothness of critical services.

[0102] In some implementations of the present application, during RTP voice data transmission, voice codec algorithms, such as Opus and G.711, may be used to compress the raw voice data being transmitted. These algorithms can significantly reduce data volume while ensuring voice quality. For example, the Opus algorithm supports encoding rates from 6kbps to 510kbps and can be flexibly adjusted based on network conditions and needs, compressing the raw voice data to a smaller size and reducing transmission time. During the compression process, the algorithm analyzes the voice signal, removes redundant information, and retains key voice features, ensuring that the compressed voice data can be restored to clear and fluent speech after decoding.

[0103] In some implementations of the embodiments of the present application, a priority queue can also be established to divide the RTP voice data into different priorities. For voice key frame data with extremely high real-time requirements, the highest priority is given; ordinary voice data is set with a relatively low priority. At the same time, the voice data is fragmented to obtain voice data fragments, and each voice data fragment contains voice information of a certain length. During transmission, high-priority voice key frame data is transmitted first to ensure the continuity and fluency of the voice. Even in the case of limited network bandwidth, key frame data can be transmitted to the target end through the network first, avoiding problems such as voice jamming and interruption. In addition, by dynamically adjusting the size of the data fragments, it is possible to adapt to the transmission requirements of different network environments and further improve transmission efficiency.

[0104] In some implementations of the embodiments of the present application, in the dual-channel transmission module, the characteristics of the master channel and the slave channel can be combined to optimize RTP voice data transmission. According to the channel status monitored in real time, the voice data transmission task is intelligently allocated. When the bandwidth of the master channel is sufficient and the delay is low, most of the voice data is transmitted through the master channel first; if the master channel is congested or fails, part or all of the voice data is switched to the slave channel for transmission. At the same time, during the dual-channel transmission process, a data redundancy strategy is adopted to transmit critical voice data simultaneously on two channels to ensure data reliability and transmission speed. Through this dual-channel collaborative transmission method, network resources are maximized to achieve fast and stable output of voice data.

[0105] In some implementations of the present application, an adaptive retransmission mechanism is employed to address issues such as packet loss and errors that may occur during network transmission. When the receiving end detects voice data loss or errors, it can send a retransmission request to the sending end. The sending end dynamically adjusts the retransmission strategy based on network conditions and data priority. High-priority voice keyframe data is immediately retransmitted; for standard data, retransmission can be performed at an appropriate time based on network load. Furthermore, in conjunction with forward error correction (FEC) technology, redundant information is added to the voice data at the sending end. The receiving end uses this redundant information to recover from lost or erroneous data, reducing the number of retransmissions and improving the transmission efficiency and output speed of voice data.

[0106] The sending end / receiving end may be any access point or SIP terminal, and the embodiment of the present application does not impose any restrictions on this.

[0107] It should be noted that, through the processing method of RTP voice data in the above embodiment of the present application, smooth playback can be achieved after roaming switching, and instantaneous packet loss during roaming switching can be well dealt with.

[0108] In the embodiment of the present application, a state synchronization controller obtains first network information of the communication network; the state synchronization controller determines first target paths for the master channel and the slave channel based on the first network information; the state synchronization controller transmits data based on the first target path and monitors second network information during the data transmission process. Through the route optimization of the embodiment of the present application, millisecond-level route switching is achieved, reducing the risk of service interruption.

[0109] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the wireless voice communication method of the present application. Simple transformations in more forms based on this technical concept are all within the scope of protection of the present application.

[0110] This application also provides a wireless voice communication method, please refer to Figure 4 , Figure 4 This is a flow chart of a wireless voice communication method according to an embodiment of the present application. The wireless voice communication method is used in the wireless voice communication system described above. The wireless voice communication method includes:

[0111] Step S10: When the SIP terminal detects that a roaming condition is met, it sends a roaming trigger signal to the state synchronization controller;

[0112] Step S20: When the state synchronization controller receives the roaming trigger signal, it caches the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster;

[0113] Step S30: The state synchronization controller synchronizes the WAPI authentication information and protocol session context to the first access point and the second access point.

[0114] The wireless voice communication method provided in this application, using the wireless voice communication method of the above-described embodiment, can resolve the technical problem of significant delays in roaming handovers in existing wireless voice communication systems. Compared with the prior art, the beneficial effects of the wireless voice communication method provided in this application are the same as those of the wireless voice communication method provided in the above-described embodiment. Other technical features of the wireless voice communication method are the same as those disclosed in the above-described embodiment and are not further described here.

[0115] The present application provides a wireless voice communication device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the wireless voice communication method in the above-mentioned embodiment 1.

[0116] Reference below Figure 5 , which shows a schematic diagram of the structure of a wireless voice communication device suitable for implementing the embodiments of the present application. The wireless voice communication device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The wireless voice communication device shown is only an example and should not limit the functions and scope of use of the embodiments of the present application.

[0117] like Figure 5As shown, the wireless voice communication device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the wireless voice communication device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to I / O interface 1006: input devices 1007, such as a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008, such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003, such as a magnetic tape or hard disk; and communication device 1009. The communication device 1009 can allow the wireless voice communication device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a wireless voice communication device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.

[0118] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0119] The wireless voice communication device provided in this application, employing the wireless voice communication method of the aforementioned embodiment, can resolve the technical issue of significant delays in existing wireless voice communication systems during roaming handovers. Compared to the prior art, the beneficial effects of the wireless voice communication device provided in this application are the same as those of the wireless voice communication method provided in the aforementioned embodiment. Other technical features of the wireless voice communication device are the same as those disclosed in the aforementioned embodiment and are not further described here.

[0120] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0121] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0122] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, and the computer-readable program instructions are used to execute the wireless voice communication method in the above-mentioned embodiment.

[0123] The computer-readable storage medium provided herein may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including, but not limited to, wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0124] The computer-readable storage medium may be included in the wireless voice communication device, or may exist independently without being installed in the wireless voice communication device.

[0125] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the wireless voice communication device, the wireless voice communication device:

[0126] When the session initiation protocol terminal detects that a roaming condition is met, the session initiation protocol terminal sends a roaming trigger signal to the state synchronization controller;

[0127] The state synchronization controller caches the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster when receiving the roaming trigger signal;

[0128] The state synchronization controller synchronizes the WAPI authentication information and the protocol session context to the first access point and the second access point.

[0129] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0130] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0131] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0132] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the wireless voice communication method described above. This computer-readable storage medium can address the significant delays experienced during roaming handovers in existing wireless voice communication systems. Compared to the prior art, the computer-readable storage medium provided in this application offers the same advantages as the wireless voice communication method described in the aforementioned embodiments, and will not be further elaborated upon here.

[0133] The present application also provides a computer program product, comprising a computer program, which implements the steps of the wireless voice communication method as described above when the computer program is executed by a processor.

[0134] The computer program product provided in this application can address the technical issue of significant delays in roaming handovers in existing wireless voice communication systems. Compared to the prior art, the computer program product provided in this application offers the same beneficial effects as the wireless voice communication method provided in the aforementioned embodiments, and will not be further elaborated upon here.

[0135] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A wireless voice communication system, characterized in that: The system includes: a session initiation protocol terminal, a state synchronization controller, a first access point and a second access point; The session initiation protocol terminal is configured to send a roaming trigger signal to the state synchronization controller when detecting that a roaming condition is met; The state synchronization controller is configured to cache the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster upon receiving the roaming trigger signal; The state synchronization controller is further configured to synchronize the WAPI authentication information and the protocol session context to the first access point and the second access point.

2. The wireless voice communication system according to claim 1, wherein: The session initiation protocol terminal is further configured to send a WAPI authentication request to the first access point; The first access point is configured to perform authentication processing based on the WAPI authentication request and obtain authentication response information; The first access point is further configured to return the authentication response information to the session initiation protocol terminal.

3. The wireless voice communication system according to claim 2, wherein: The wireless voice communication system further includes: an authentication server; The first access point is further configured to perform preliminary authentication on the WAPI authentication request and forward the WAPI authentication request to an authentication server when the preliminary authentication passes; The authentication server is configured to obtain the identity information and registration information of the session initiation protocol terminal based on the WAPI authentication request; The authentication server is further configured to perform verification based on the identity information and the registration information to obtain authentication response information; The authentication server is further configured to return the authentication response information to the first access point.

4. The wireless voice communication system according to claim 1, wherein: The system further comprises: a dual-channel transmission module; The state synchronization controller is further configured to send a fast routing switching instruction to the first access point; The first access point is further configured to start a dual-channel transmission module based on the fast routing switching instruction; The dual-channel transmission module is used to transmit data through the master channel and the slave channel, and perform channel index detection; the channel index detection at least includes master channel index detection; The dual-channel transmission module is further configured to use the slave channel as the master channel and perform diagnosis and repair on the master channel when an abnormality is detected in the master channel indicator.

5. The wireless voice communication system according to claim 4, wherein: The dual-channel transmission module is further configured to obtain a channel strategy when the diagnosis and repair are successful; The dual-channel transmission module is further configured to determine a primary channel for data transmission according to the channel strategy.

6. The wireless voice communication system according to claim 5, wherein: The state synchronization controller is further configured to obtain first network information of the communication network; The state synchronization controller is further configured to determine a first target path of the master channel and the slave channel based on the first network information; The state synchronization controller is further configured to perform data transmission based on the first target path and monitor second network information during the data transmission process.

7. The wireless voice communication system according to claim 6, wherein: The state synchronization controller is further configured to determine the network state of the communication network based on the second network information; The state synchronization controller is further configured to determine, when the network state is abnormal, a second target path of the master channel and the slave channel based on the second network information; The state synchronization controller is further configured to switch the data transmission path to the second target path.

8. A wireless voice communication method, characterized in that: The wireless voice communication method is used in the wireless voice communication system according to any one of claims 1 to 7, the method comprising: When the session initiation protocol terminal detects that a roaming condition is met, the session initiation protocol terminal sends a roaming trigger signal to the state synchronization controller; The state synchronization controller caches the WAPI authentication information of the first access point and the second access point in a distributed state cache cluster when receiving the roaming trigger signal; The state synchronization controller synchronizes the WAPI authentication information and the protocol session context to the first access point and the second access point.

9. A wireless voice communication device, characterized in that: The device includes: a memory, a processor, and a wireless voice communication program stored in the memory and executable on the processor, wherein the wireless voice communication program is configured to implement the steps of the wireless voice communication system according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a wireless voice communication program, and when the wireless voice communication program is executed by the processor, the steps of the wireless voice communication system according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Wireless roaming method and access controller

    US20150163657A1

  • Remote access point clustering for user authentication in wireless networks

    US20200280851A1