H323 protocol adaptation method and device of open source honeng system and storage medium
Patent Information
- Application Number
- CN202610740921.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-27
- Publication Date
- 2026-09-22
AI Technical Summary
[0005]本发明的目的在于克服现有技术的缺陷,提供一种开源鸿蒙系统的H323协议适配方法、装置及存储介质,解决现有技术中存量H323硬件设备无法接入鸿蒙生态的问题
1、首次完成H323完整协议栈在开源鸿蒙系统的原生适配,无需改造现有H323服务端、MCU设备及会议终端,即可实现存量硬件设备无缝接入鸿蒙万物互联生态,无需大规模更换通信硬件,大幅降低企业数字化升级成本,保护企业原有通信资产投入。
Smart Images

Figure CN122802488A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of distributed network communication technology, and specifically to an H.323 protocol adaptation method, device, and storage medium for the open-source HarmonyOS system. Background Technology
[0002] OpenHarmony is a distributed open-source operating system incubated by the OpenAtom Foundation, designed for the era of full-scenario, full-connectivity, and full-intelligence. It possesses core capabilities such as distributed soft bus, distributed data management, hardware resource virtualization, and seamless collaboration among multiple devices.
[0003] However, the native communication protocol stack of the open-source HarmonyOS system only adapts to mainstream new multimedia communication protocols and does not have a built-in H.323 dedicated protocol stack. The H.323 protocol is a multimedia communication standard based on packet-switched networks developed by the International Telecommunication Union (ITU-T). Currently, most organizations still have a large number of hardware conferencing terminals, multipoint control units, and other communication devices based on the H.323 protocol. Because the native open-source HarmonyOS system cannot recognize and parse H.323 signaling messages and media data streams, the existing H.323 hardware devices of organizations cannot be directly connected to the HarmonyOS ecosystem, and HarmonyOS smart terminals cannot carry traditional video conferencing services, resulting in the idle waste of existing communication assets of enterprises.
[0004] Therefore, there is an urgent need for an open-source HarmonyOS H323 protocol adaptation method, device, and storage medium to solve the technical problem that existing H323 hardware devices cannot access the HarmonyOS ecosystem. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide an H.323 protocol adaptation method, device and storage medium for the open-source HarmonyOS system, so as to solve the problem that existing H.323 hardware devices cannot access the HarmonyOS ecosystem.
[0006] To achieve the above objectives, this invention provides an H.323 protocol adaptation method for the open-source HarmonyOS system, comprising the following steps: Protocol stack porting and compilation: The H323 open source protocol stack is modified at the source code level, eliminating proprietary dependency code that depends on non-HarmonyOS operating systems, adapting to open source HarmonyOS standard interfaces and compilation toolchains, compiling the modified protocol stack into a dynamic link library, building the protocol core layer, and realizing H2250 signaling processing, H245 capability negotiation and RTP / RTCP media stream transmission and reception processing. Multimedia framework adaptation and connection: Construct a multimedia adaptation middleware layer to map the native encoding and decoding callback interface of the H323 protocol stack to the open-source HarmonyOS AVCodec hardware encoding and decoding interface, and synchronize the H323 call session state to the open-source HarmonyOS AVSession session management framework. Distributed soft bus adaptation and transformation: Extend the H323 protocol stack media distribution module, connect to the open source HarmonyOS distributed soft bus interface, and distribute the H323 audio and video media streams and control signaling to other collaborative terminals under the same account based on the account and device binding mechanism. Network layer adaptation optimization and upgrade: It connects to the open-source HarmonyOS NetManager network management interface, collects terminal network parameters in real time, dynamically adjusts the NAT traversal detection cycle, and triggers a fast reconnection mechanism to dynamically switch media stream transmission paths when switching networks.
[0007] By adopting this technical solution, through the synergistic effect of four steps—protocol stack porting and compilation, multimedia framework adaptation and connection, distributed soft bus adaptation and transformation, and network layer adaptation and optimization upgrade—native adaptation of the H.323 protocol stack is achieved in the open-source HarmonyOS system. This allows traditional H.323 hardware devices to be connected to the HarmonyOS ecosystem without modifying existing H.323 server and terminal devices, thus solving the technical problem that the open-source HarmonyOS does not natively support the H.323 protocol.
[0008] Furthermore, in the protocol stack porting and compilation steps, the OpenH323 open-source protocol stack is selected as the basic modification object, its exclusive dependency code for adapting to Linux and Windows systems is removed, and it is compatible with the open-source HarmonyOS POSIX standard interface. Adapt to the HarmonyOS hb compilation toolchain, modify the compilation configuration script, and compile the protocol stack into a dynamic link library that can be called by the HarmonyOS system.
[0009] By adopting this technical solution, the modified protocol stack can be dynamically loaded and invoked by the HarmonyOS system, realizing the porting of the protocol stack from the traditional operating system to the HarmonyOS system.
[0010] Furthermore, in the multimedia framework adaptation and connection step, the native encoding and decoding callback interface of the H323 protocol stack is mapped to the AVCodec interface, and the HarmonyOS hardware decoder is called to complete the decoding and / or the hardware encoder is called to complete the encoding. The creation, connection, hanging up, and pause status of H323 call sessions are synchronized to the AVSession framework, and audio focus preemption and system-level volume control are achieved through AVSession.
[0011] By adopting this technical solution, the traditional software encoding and decoding method of protocol stack offsetting is abandoned. The computing power of the terminal's dedicated encoding chip is used to improve the efficiency of encoding and decoding, and at the same time reduce the terminal's CPU utilization, which can effectively reduce the terminal's energy consumption.
[0012] Furthermore, in the distributed soft bus adaptation and transformation step, without modifying the H323 server logic, online collaborative terminals under the same account are detected in real time. The audio and video media streams and control signals received by H323 are encrypted and encapsulated, and transmitted to the collaborative terminal selected by the user through the distributed soft bus. The transfer latency is controlled within 100ms, realizing seamless transfer and synchronous playback of conference media streams among multiple HarmonyOS terminals.
[0013] By adopting this technical solution, the protocol media processing capability is combined with the HarmonyOS distributed soft bus, supporting multiple HarmonyOS terminals to access the network together. This enables seamless transfer and synchronous playback of conference media streams between HarmonyOS terminals, and the server is unaware of the terminal transfer behavior, without needing to modify the existing server configuration.
[0014] Furthermore, in the network layer adaptation optimization and upgrade step, the NetManager interface is used to periodically collect the terminal's network type, bandwidth, and network switching status. The NAT traversal logic was reconstructed, with a detection cycle of 30 seconds under fixed network conditions and shortened to 10 seconds when the network fluctuates. A fast reconnection mechanism is added for switching scenarios between WiFi, cellular networks and Ethernet. The original conference session identifier is retained, the signaling transmission channel is re-established and the media stream forwarding port and IP address are updated. The signaling connection keep-alive time during network switching is no less than 5 seconds.
[0015] By adopting this technical solution, common problems such as disconnection, packet loss, and lag in the traditional H.323 protocol under complex network environments can be solved, the connection success rate of cross-gateway and cross-network segment conferences can be improved, signaling interaction latency can be reduced, and stable and reliable communication can be guaranteed.
[0016] This invention also provides an H.323 protocol adapter for the open-source HarmonyOS system, comprising: The core module of the protocol is used to modify the H.323 open-source protocol stack at the source code level, adapt it to the open-source HarmonyOS standard interface and compilation toolchain, compile it into a dynamic link library, and realize H2250 signaling processing, H245 capability negotiation and RTP / RTCP media stream transmission and reception processing. Multimedia Adaptation Module: Used to build a multimedia adaptation middleware layer, mapping the native encoding and decoding callback interfaces of the H.323 protocol stack to the AVCodec interface, and synchronizing the H.323 call session state to the AVSession framework; Distributed adaptation module: Used to extend the H323 protocol stack media distribution module, connect to the distributed soft bus interface, and distribute audio and video media streams and control signaling to other collaborative terminals under the same account based on the account device binding mechanism; Network adaptation module: used to connect to the NetManager network management interface, collect network parameters, dynamically adjust the NAT traversal detection cycle, and trigger a fast reconnection mechanism when switching networks.
[0017] By adopting this technical solution, each module can operate independently and work together to achieve the normal implementation of the H.323 protocol adaptation method of the open-source HarmonyOS system.
[0018] Furthermore, the multimedia adaptation module includes: Encoding / decoding adapter submodule: Used to reconstruct the H323 protocol stack audio and video encoding / decoding callback functions, establish the data mapping relationship between H323 media data and AVCodec interface, call the HarmonyOS hardware decoder to complete decoding and / or call the hardware encoder to complete encoding; Session Adaptation Submodule: Used to collect the creation, connection, hanging up, and pause status of H323 calls in real time and synchronize them to the HarmonyOS AVSession service. AVSession enables audio focus preemption and system-level volume control.
[0019] By adopting this technical solution, a refined division of labor can be achieved in the multimedia adaptation middleware layer, improving the efficiency of encoding / decoding and session management.
[0020] Furthermore, the distributed adaptation module is specifically used to: bind all online terminals under the same account based on the HarmonyOS distributed account interconnection mechanism; after receiving the conference transfer instruction, encrypt and encapsulate the original audio and video data and conference control signaling parsed by the core protocol module, and transmit them to the target collaborative terminal through the distributed soft bus, with the transfer latency controlled within 100ms, and the H323 server is unaware of the terminal transfer behavior during the transfer process.
[0021] By adopting this technical solution, users can seamlessly migrate meetings between different HarmonyOS devices without interrupting the meeting process, thus improving the cross-device collaborative experience.
[0022] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the H.323 protocol adaptation method of the open-source HarmonyOS system.
[0023] By adopting this technical solution, users only need to install the computer program on the HarmonyOS terminal to achieve H.323 protocol adaptation, which has good replicability and promotion value.
[0024] Compared with the prior art, the present invention has the following advantages: 1. For the first time, the complete H.323 protocol stack has been natively adapted to the open-source HarmonyOS system. Existing hardware devices can be seamlessly connected to the HarmonyOS Internet of Everything ecosystem without the need to modify existing H.323 servers, MCU devices and conferencing terminals. This eliminates the need for large-scale replacement of communication hardware, significantly reducing the cost of digital upgrades for enterprises and protecting their existing communication asset investments.
[0025] 2. Breaking the limitations of traditional H323 protocol single-terminal operation, it deeply integrates protocol media processing capabilities with HarmonyOS distributed soft bus; it supports collaborative access from multiple HarmonyOS terminals such as mobile phones, tablets, smart screens, and industrial control terminals, enabling seamless flow of conference screens, audio, and control signals, meeting the cross-terminal collaborative needs of multiple scenarios such as office work, meetings, and emergency command, and optimizing the human-computer interaction experience.
[0026] 3. Abandoning the inefficient software encoding and decoding methods of traditional protocol stacks, the HarmonyOS AVCodec hardware encoding and decoding channel is opened up, making full use of the computing power of the terminal's dedicated encoding and decoding chip. According to actual tests, the H323 conference audio and video encoding and decoding efficiency can be improved by more than 40%, and the CPU utilization rate can be reduced by 25%, effectively reducing terminal power consumption and adapting to the low-power operation requirements of mobile and portable terminals.
[0027] 4. Leveraging HarmonyOS's network status awareness capabilities, we optimize the NAT traversal algorithm and network reconnection logic to adapt to complex scenarios involving dynamic switching between multiple networks; we increase the success rate of cross-gateway and cross-network segment conference connections to over 99%, reduce signaling interaction latency by 30%, and effectively solve problems such as disconnection, packet loss, and lag in complex networks using the traditional H.323 protocol, ensuring stable and reliable government and enterprise communications.
[0028] 5. This invention adopts a layered architecture design, with the adaptation layer and the protocol core layer isolated from each other, which can quickly adapt to different versions of the open-source HarmonyOS system; at the same time, it is compatible with mainstream audio and video encoding formats such as H264 and G711, and can be expanded to add new encoding formats in the future to meet the needs of future multimedia communication upgrades, with a wide range of applications. Attached Figure Description
[0029] Figure 1 This is a layered architecture diagram of the H.323 protocol adaptation system under the open-source HarmonyOS provided in the embodiments of the present invention. Detailed Implementation
[0030] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0031] Please see the appendix Figure 1 The above is a layered architecture diagram of the H.323 protocol adaptation system under the open-source HarmonyOS provided by this invention. It adopts a top-down four-layer layered architecture with clear layer division and low coupling, which facilitates independent iterative optimization of modules. The specific layer structure is as follows: H323 Business Application Layer: The top layer of the architecture, providing users with visual business interaction capabilities, including business functions such as conference call establishment, hanging up, audio and video volume adjustment, screen zooming, data sharing, and terminal flow control, and outputting operation interfaces to users.
[0032] H323 Protocol Adaptation Core Layer: The core processing layer of the system integrates and modifies the H323 protocol stack, realizing core protocol logic such as H2250 signaling (RAS registration, Q931 call) processing, H245 terminal capability negotiation, master-slave role determination, RTP / RTCP media stream packaging, unpacking, and transmission monitoring.
[0033] The OpenHarmony system adaptation layer, also known as the intermediate interface adaptation layer, is a key layer for achieving the integration of the protocol with the HarmonyOS system. It includes a multimedia adaptation module, a distributed soft bus adaptation module, and a network adaptation module, which respectively complete the functions of hardware encoding and decoding interface, multi-terminal data flow, and network status control.
[0034] OpenHarmony system kernel layer: The underlying basic support layer, which includes the HarmonyOS system kernel, hardware drivers, and low-level interfaces, provides the basic operating environment for process scheduling, memory management, hardware calls, and network transmission for the upper-layer protocol stack and adaptation modules. The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0035] Example 1: Modular implementation of system architecture.
[0036] This embodiment provides an H.323 protocol adapter for the open-source HarmonyOS system, relying on... Figure 1 The device is built with a layered architecture and contains four core functional modules. Each module operates independently and works in concert. The specific implementation of each module is as follows.
[0037] Protocol core module; This module is based on the OpenH323 v2.18 open-source protocol stack and has been modified to remove redundant code such as Linux-specific file system interfaces and process scheduling dependencies, and adapted to the open-source HarmonyOS standard POSIX interface; the protocol stack memory allocation logic has been optimized to adapt to HarmonyOS's lightweight memory management mechanism; during the compilation stage, the hb compilation script has been modified to specify the HarmonyOS system compilation architecture, disable platform-independent compilation options, and compile the protocol stack into a .so format dynamic link library to support dynamic loading and calling by HarmonyOS applications.
[0038] The module fully implements H2250 protocol RAS registration, deregistration, and address resolution signaling, as well as Q931 call setup, call termination, and call transfer signaling processing logic; it also features H245 capability switching, master-slave determination, and logical channel creation functions; and it completes RTP media stream encapsulation, timestamp marking, jitter buffering, and RTCP transmission quality statistics, packet loss feedback, and latency monitoring functions.
[0039] Multimedia adapter module; This module serves as an intermediate adaptation layer between the protocol stack and the HarmonyOS multimedia framework, and includes an encoding / decoding adaptation submodule and a session adaptation submodule.
[0040] Encoding / decoding adaptation submodule: Reconstructs the audio and video encoding / decoding callback functions of the protocol stack, and establishes a data mapping relationship between H323 media data and the AVCodec interface; when the terminal receives media data in formats such as H264 video and G711 audio, it directly calls the HarmonyOS hardware decoder to complete the decoding and output the original audio and video frames; when it needs to send local audio and video data, it completes the encoding through the hardware encoder, encapsulates it into standard RTP data packets, and uploads them to the protocol core module, reducing the computing power consumption of software encoding and decoding.
[0041] Session Adaptation Submodule: Real-time collection of H323 call creation, connection, hanging up, and pause status, synchronizing session status to HarmonyOS AVSession service; Audio focus preemption is achieved through AVSession, automatically blocking system media playback, voice broadcasts, and other audio when an H323 conference is connected, while also supporting volume adjustment control via system physical buttons and touch panel, realizing unified system-level session management.
[0042] Distributed adaptation module; This module is based on the HarmonyOS distributed account interconnection mechanism, binding all online terminals under the same HarmonyOS account and scanning the online status of collaborative devices such as large screens, tablets, and laptops in real time. When a user joins an H323 conference on a HarmonyOS mobile terminal, they can manually trigger a conference flow command. After receiving the command, the module encrypts and encapsulates the raw audio and video data and conference control signaling parsed by the core protocol module, and transmits them to the target collaborative terminal in a low-latency and high-reliability manner through a distributed soft bus.
[0043] During the transfer process, the H323 gateway and MCU server only recognize the initial access terminal and are unaware of the terminal transfer behavior, so there is no need to modify the server configuration; the transfer latency is controlled within 100ms, and there is no screen lag or audio interruption during the transfer process, realizing seamless cross-terminal migration of the conference.
[0044] Network adaptation module; This module connects to the HarmonyOS NetManager network management service, periodically collecting network information such as terminal network type, IP address, bandwidth rate, and signal strength to build a network status monitoring list. To address the low efficiency of traditional H.323 protocol NAT traversal, the STUN detection algorithm is optimized, and the detection period is dynamically adjusted: the detection period is 30 seconds under fixed network conditions, and shortened to 10 seconds when the network fluctuates.
[0045] When the module detects a switch between WiFi and cellular networks or a change in network segment on the terminal, it immediately triggers a custom fast reconnection mechanism, retains the original conference session identifier, re-establishes the signaling transmission channel, and synchronously updates the media stream forwarding port and IP address. The signaling connection keep-alive duration during the network switch is no less than 5 seconds, reserving buffer time for the network switch to avoid direct interruption of the conference. Example 2: Complete call setup process.
[0046] Based on the adapter of this invention, a communication link is established between the HarmonyOS terminal and a traditional H323 gateway and MCU device. The complete call setup process steps are as follows: Users initiate call requests through the H323 conferencing application on the HarmonyOS terminal. The application layer encapsulates the call instructions and calls the standardized call interface of the system adaptation layer.
[0047] The core module of the protocol receives the call command, generates the H2250 protocol standard Setup call signaling, and sends it to the preset H323 gateway address via the UDP transmission protocol.
[0048] After receiving the Setup signaling, the gateway completes the terminal identity verification and sequentially returns the Alerting ringing signaling and the Connect connection signaling to the HarmonyOS terminal. The core protocol module parses the signaling and completes the call confirmation.
[0049] Once the call is connected, the H.245 capability negotiation process is automatically triggered. The multimedia adaptation module collects local capabilities such as terminal hardware encoding and decoding parameters, audio sampling rate, and video resolution, and reports them to the core protocol module.
[0050] The core module of the protocol encapsulates local capabilities into H.245 capability messages, completes capability interaction and master-slave role determination with the gateway side, and determines the optimal encoding / decoding format and media transmission port.
[0051] After the capability negotiation is completed, a bidirectional RTP media transmission logical channel is created to start transmitting audio and video media streams, while the transmission quality is monitored in real time through RTCP packets.
[0052] The distributed adaptation module detects online terminals with the same account in real time and distributes the current conference media stream and control signals to the collaborative terminals according to the user's manual selection, so as to complete the synchronous playback and collaborative control of multiple terminals. The present invention has been described in detail above with reference to the accompanying drawings and embodiments. Those skilled in the art can make various modifications to the present invention based on the above description. Therefore, certain details in the embodiments should not be construed as limiting the present invention, and the scope of protection of the present invention shall be defined by the appended claims.
Claims
1. A method for adapting the H.323 protocol to the open-source HarmonyOS system, characterized in that, Includes the following steps: Protocol stack porting and compilation: The H323 open source protocol stack is modified at the source code level, eliminating proprietary dependency code that depends on non-HarmonyOS operating systems, adapting to open source HarmonyOS standard interfaces and compilation toolchains, compiling the modified protocol stack into a dynamic link library, building the protocol core layer, and realizing H2250 signaling processing, H245 capability negotiation and RTP / RTCP media stream transmission and reception processing. Multimedia framework adaptation and connection: Construct a multimedia adaptation middleware layer to map the native encoding and decoding callback interface of the H323 protocol stack to the open-source HarmonyOS AVCodec hardware encoding and decoding interface, and synchronize the H323 call session state to the open-source HarmonyOS AVSession session management framework. Distributed soft bus adaptation and transformation: Extend the H323 protocol stack media distribution module, connect to the open source HarmonyOS distributed soft bus interface, and distribute the H323 audio and video media streams and control signaling to other collaborative terminals under the same account based on the account and device binding mechanism. Network layer adaptation optimization and upgrade: It connects to the open-source HarmonyOS NetManager network management interface, collects terminal network parameters in real time, dynamically adjusts the NAT traversal detection cycle, and triggers a fast reconnection mechanism to dynamically switch media stream transmission paths when switching networks.
2. The H.323 protocol adaptation method for the open-source HarmonyOS system according to claim 1, characterized in that, In the protocol stack porting and compilation steps, the OpenH323 open source protocol stack is selected as the basic modification object, its exclusive dependency code for adapting to Linux and Windows systems is removed, and it is compatible with the open source HarmonyOS POSIX standard interface. Adapt to the HarmonyOS hb compilation toolchain, modify the compilation configuration script, and compile the protocol stack into a dynamic link library that can be called by the HarmonyOS system.
3. The H.323 protocol adaptation method for the open-source HarmonyOS system according to claim 1, characterized in that, In the multimedia framework adaptation and connection step, the native encoding and decoding callback interface of the H323 protocol stack is mapped to the AVCodec interface, and the HarmonyOS hardware decoder is called to complete the decoding and / or the hardware encoder is called to complete the encoding. The creation, connection, hanging up, and pause status of H323 call sessions are synchronized to the AVSession framework, and audio focus preemption and system-level volume control are achieved through AVSession.
4. The H.323 protocol adaptation method for the open-source HarmonyOS system according to claim 1, characterized in that, In the distributed soft bus adaptation and transformation step, without modifying the H323 server logic, online collaborative terminals under the same account are detected in real time. The audio and video media streams and control signals received by H323 are encrypted and encapsulated, and transmitted to the collaborative terminal selected by the user through the distributed soft bus. The transmission latency is controlled within 100ms, realizing seamless transmission and synchronous playback of conference media streams among multiple HarmonyOS terminals.
5. The H.323 protocol adaptation method for the open-source HarmonyOS system according to claim 1, characterized in that, In the network layer adaptation optimization and upgrade steps, the terminal network type, bandwidth and network switching status are periodically collected through the NetManager interface. The NAT traversal logic was reconstructed, with a detection cycle of 30 seconds under fixed network conditions and shortened to 10 seconds when the network fluctuates. A fast reconnection mechanism is added for switching scenarios between WiFi, cellular networks and Ethernet. The original conference session identifier is retained, the signaling transmission channel is re-established and the media stream forwarding port and IP address are updated. The signaling connection keep-alive time during network switching is no less than 5 seconds.
6. An adaptation device for implementing the H.323 protocol adaptation method of the open-source HarmonyOS system according to any one of claims 1-5, characterized in that, include: The core module of the protocol is used to modify the H.323 open-source protocol stack at the source code level, adapt it to the open-source HarmonyOS standard interface and compilation toolchain, compile it into a dynamic link library, and realize H2250 signaling processing, H245 capability negotiation and RTP / RTCP media stream transmission and reception processing. Multimedia Adaptation Module: Used to build a multimedia adaptation middleware layer, mapping the native encoding and decoding callback interfaces of the H.323 protocol stack to the AVCodec interface, and synchronizing the H.323 call session state to the AVSession framework; Distributed adaptation module: Used to extend the H323 protocol stack media distribution module, connect to the distributed soft bus interface, and distribute audio and video media streams and control signaling to other collaborative terminals under the same account based on the account device binding mechanism; Network adaptation module: used to connect to the NetManager network management interface, collect network parameters, dynamically adjust the NAT traversal detection cycle, and trigger a fast reconnection mechanism when switching networks.
7. The H.323 protocol adaptation device for the open-source HarmonyOS system according to claim 6, characterized in that, The multimedia adaptation module includes: Encoding / decoding adapter submodule: Used to reconstruct the H323 protocol stack audio and video encoding / decoding callback functions, establish the data mapping relationship between H323 media data and AVCodec interface, call the HarmonyOS hardware decoder to complete decoding and / or call the hardware encoder to complete encoding; Session Adaptation Submodule: Used to collect the creation, connection, hanging up, and pause status of H323 calls in real time and synchronize them to the HarmonyOS AVSession service. AVSession enables audio focus preemption and system-level volume control.
8. The H.323 protocol adaptation device for the open-source HarmonyOS system according to claim 6, characterized in that, The distributed adaptation module is specifically used to: bind all online terminals under the same account based on the HarmonyOS distributed account interconnection mechanism; after receiving the conference transfer instruction, encrypt and encapsulate the original audio and video data and conference control signaling parsed by the core module of the protocol, and transmit them to the target collaborative terminal through the distributed soft bus. The transfer latency is controlled within 100ms, and the H323 server is unaware of the terminal transfer behavior during the transfer process.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the H.323 protocol adaptation method of the open-source HarmonyOS system as described in any one of claims 1 to 5.