ONU gateway voice communication method, device and equipment based on PON network, and medium

By establishing a point-to-point configuration table and direct link in the ONU gateway, voice calls without a central server are realized, solving the problems of high cost and failure risk in existing technologies, and achieving low latency and high reliability voice calls.

CN121509849APending Publication Date: 2026-02-10SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511507079.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing ONU gateway voice calls rely on a central server, resulting in high deployment and maintenance costs. Network congestion or server failures can easily lead to call delays and interruptions, and there is also a risk of single point of failure.

Method used

By pre-establishing a point-to-point configuration table in the ONU gateway, a signaling interaction link and a voice data transmission link can be directly established with the target ONU gateway to achieve point-to-point voice calls and avoid relaying through a central server.

Benefits of technology

It reduces call latency and operating costs, avoids global call interruptions caused by central server failures, is compatible with existing PON network architectures, and is suitable for home broadband and enterprise private networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509849A_ABST
    Figure CN121509849A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer networks, in particular to an ONU (Optical Network Unit) gateway voice communication method and device based on a PON (Passive Optical Network), computer equipment and a medium, which can be applied to fiber to room (FTTR), enterprise-level FTTR-B and broadband fusion terminal products. The method comprises the following steps: receiving a call request transmitted by a connected voice terminal, and determining a target network address corresponding to a target phone number carried by the call request according to a locally stored point-to-point configuration table; establishing a point-to-point signaling interaction link with an opposite-end ONU gateway corresponding to the target network address; performing media parameter negotiation with an opposite-end ONU gateway based on the signaling interaction link, and establishing a point-to-point first voice data transmission link with the opposite-end ONU gateway; and transmitting the voice data between the voice terminal and the opposite-end voice terminal connected with the opposite-end ONU gateway based on the first voice data transmission link, so that decentralized voice communication can be realized, and the voice communication cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer network technology, and in particular to an ONU gateway voice call method, ONU gateway voice call device, computer equipment, and computer-readable storage medium based on a PON network. Background Technology

[0002] Passive Optical Network (PON) is a telecommunications network that transmits data over optical fiber lines. It is a key technology supporting network access technologies such as Fiber to the Room (FTTR) and Fiber to the Room-Business (FTTR-B). FTTR / FTTR-B extends optical fiber to each room, installing fiber optic terminal equipment in each room to convert optical signals into electrical signals. Optical Network Unit (ONU) gateways, as key user-side devices in fiber optic access networks, are widely used in homes, enterprises, and other scenarios, undertaking core functions such as data transmission and voice calls. Currently, the voice call function of ONU gateways relies on traditional VoIP architecture and requires cooperation with central servers deployed by operators (such as softswitch servers and IMS core network servers). Summary of the Invention

[0003] This invention provides a method, device, computer equipment, and computer-readable storage medium for voice calls via an ONU gateway based on a PON network, which enables decentralized voice calls and reduces the implementation cost of voice calls.

[0004] In a first aspect, the present invention provides a voice call method for an ONU gateway based on a PON network, comprising: Receive call requests transmitted by connected voice terminals and determine the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table. Establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; Based on the signaling interaction link, media parameters are negotiated with the peer ONU gateway, and a point-to-point first voice data transmission link is established with the peer ONU gateway. Based on the first voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway.

[0005] Secondly, the ONU gateway voice communication device based on a PON network provided by the present invention includes: The number resolution module is used to receive call requests transmitted by connected voice terminals and determine the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table. The link maintenance module is used to establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; The voice direct connection module is used to negotiate media parameters with the peer ONU gateway based on the signaling interaction link and to establish a point-to-point first voice data transmission link with the peer ONU gateway. The voice transmission module is used to transmit voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the first voice data transmission link.

[0006] Optionally, in one embodiment, the number parsing module is further configured to identify whether the call request also carries a preset identifier for indicating a point-to-point voice call; if the call request carries a preset identifier, the target network address corresponding to the target phone number carried in the call request is determined according to the locally stored point-to-point configuration table.

[0007] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a centralized call module, which is used to send the target telephone number to the central server if the call request does not carry a preset identifier, and establish a centralized second voice data transmission link between the central server and the peer ONU gateway. The voice transmission module is also used to transmit voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway via the second voice data transmission link.

[0008] Optionally, in one embodiment, the complexity of the speech coding algorithm used to transmit speech data based on the first speech data transmission link is less than the complexity of the speech coding algorithm used to transmit speech data based on the second speech data transmission link.

[0009] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a first table configuration module, which is used to receive the input telephone number and the network address corresponding to the telephone number, and to establish a point-to-point configuration table based on the telephone number and its corresponding network address.

[0010] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a second table configuration module, used to send an address identification request to other ONU gateways; receive an address response returned by other ONU gateways in response to the address identification request, the address response carrying the network address and telephone number corresponding to the other ONU gateway; and establish a point-to-point configuration table based on the address response.

[0011] Optionally, in one embodiment, the link maintenance module is used to establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address using the SIP protocol or the H.323 protocol.

[0012] Thirdly, the computer device provided by the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the ONU gateway voice call method based on a PON network provided by the present invention.

[0013] Fourthly, the computer-readable storage medium provided by the present invention stores a computer program, which, when executed by a processor, implements the ONU gateway voice call method based on a PON network provided by the present invention.

[0014] This invention provides a voice call solution for an ONU gateway based on a PON network. It receives call requests transmitted from connected voice terminals and determines the target network address corresponding to the target phone number carried in the call request based on a locally stored point-to-point configuration table. A point-to-point signaling interaction link is established with the peer ONU gateway corresponding to the target network address. Based on the signaling interaction link, media parameters are negotiated with the peer ONU gateway to establish a first point-to-point voice data transmission link. Based on the first voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway. This eliminates the reliance on a central server for voice calls, enabling point-to-point voice communication. Voice data does not need to be forwarded through the upper-layer core network, significantly reducing call latency and operating costs, and avoiding global call interruptions caused by central server failures. Because it adopts a direct point-to-point transmission mechanism, voice data can be exchanged point-to-point at the access layer, making it compatible with existing PON network architectures, flexible in deployment, and widely applicable to scenarios such as home broadband and enterprise private networks. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a diagram illustrating a centralized voice call network architecture. Figure 2 This is a flowchart illustrating the ONU gateway voice call method based on a PON network provided in an embodiment of the present invention. Figure 3This is a network architecture example diagram of the point-to-point voice call implemented by the present invention; Figure 4 This is a schematic diagram of the structure of the ONU gateway voice call device based on a PON network provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0017] To make the technical problems solved, the technical solutions, and the beneficial effects of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0018] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0019] It should also be understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0020] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0021] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0022] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0023] Please refer to Figure 1 In related technologies, voice call solutions based on ONU gateways are centered on a "central server-dependent" model, including the following processes: 1. Registration Phase: After the ONU gateway is powered on, it needs to establish a connection with the operator's central server through a preset server address (such as IP address and port number) and send a registration request (including ONU device identifier, bound phone number, authentication information, etc.). The central server authenticates the ONU identity. After successful authentication, the registration is completed, and a signaling link is established between the ONU gateway and the central server.

[0024] 2. Call Initiation Phase: When a user initiates a voice call through a voice terminal (such as a landline phone connected to the ONU gateway), the ONU gateway encapsulates the dialing information (target phone number) into a signaling message and sends it to the central server; the central server queries its stored user attribution information (such as the ONU registration address corresponding to the target phone number) and sends a call request signaling message to the peer ONU gateway.

[0025] 3. Call setup and data transmission phase: The peer ONU gateway receives the call request and sends back the response signal, which is then forwarded to the initiating ONU gateway by the central server; the two ONU gateways negotiate media stream transmission parameters (such as encoding format and transmission port) through the central server, and subsequent voice data needs to be forwarded by the central server.

[0026] As shown above, implementing ONU gateway voice calls requires the deployment of a high-performance central server. This not only incurs high deployment costs for operators but also necessitates long-term maintenance by a professional operations and maintenance team, increasing operational costs and management complexity. Furthermore, all signaling and media streams must pass through the central server, making it susceptible to call delays, interruptions, or quality degradation during network congestion or server failures, failing to meet the demands for high-reliability communication. In addition, the centralized architecture carries a single point of failure risk; if the central server goes down, the entire network's voice services will be paralyzed, severely impacting user experience and service availability.

[0027] To address the aforementioned problems, this invention provides a voice call method, an ONU gateway voice call device, a computer device, and a computer-readable storage medium based on a PON network. The PON network-based ONU gateway voice call method can be executed by the PON network-based ONU gateway voice call device or by a computer device integrating the PON network-based ONU gateway voice call device. The method involves receiving a call request transmitted by a connected voice terminal and determining the target network address corresponding to the target phone number carried in the call request based on a locally stored point-to-point configuration table; establishing a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; negotiating media parameters with the peer ONU gateway based on the signaling interaction link to establish a point-to-point first voice data transmission link with the peer ONU gateway; and transmitting voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the first voice data transmission link.

[0028] Please refer to Figure 1 This is a flowchart illustrating a voice call method for an ONU gateway based on a PON network, as disclosed in an embodiment of the present invention. Figure 1 As shown, the process of this ONU gateway voice call method based on a PON network can be as follows: In S110, a call request transmitted by a connected voice terminal is received, and the target network address corresponding to the target telephone number carried in the call request is determined according to the locally stored point-to-point configuration table.

[0029] The following description uses the application of this invention to an ONU gateway in a PON network as an example.

[0030] An ONU gateway is a device that enables fiber optic user access. It is primarily used to connect fiber optic cables to homes or businesses, forming a fiber optic broadband access network and providing high-speed internet access. ONU gateways typically work in conjunction with Optical Line Terminals (OLTs). The former receives optical signals and converts them into electrical signals for user terminal equipment, while the latter transmits the data to the fiber optic backbone. ONU gateways support different fiber optic access protocols, such as EPON or GPON.

[0031] A voice terminal is a user terminal device that connects to an ONU gateway and is used to provide voice call services to users. For example, a voice terminal can be a landline telephone, also known as a fixed telephone or landline phone. It is a telephone that is fixed in a certain location and does not move. The most common form is a physical button-type landline phone.

[0032] It should be noted that a point-to-point configuration table is pre-established in this embodiment of the invention. This table stores the mapping relationship between the network addresses (such as IP addresses or MAC addresses, which can uniquely identify ONU gateways) of different ONU gateways within a local area network (e.g., an internal enterprise LAN, a home LAN, a campus LAN, etc.) and the telephone numbers configured on their connected voice terminals. Through the mapping relationship stored in this point-to-point configuration table, the ONU gateway can accurately identify the peer ONU gateway to which the called telephone number belongs. The method of generating this point-to-point configuration table is not limited here; it can be generated and maintained through manual configuration, automatic learning, or distribution from an upper-level network management system.

[0033] In this embodiment of the invention, the voice terminal receives the target phone number input by the user through a configured number input component, and transmits the received target phone number as a call request to its connected ONU gateway. The ONU gateway requests the establishment of a communication link with the peer ONU gateway required to provide voice call services, enabling the voice terminal to conduct point-to-point voice calls with the peer voice terminal corresponding to the target phone number. The presentation form of the number input component is not specifically limited here; for example, the voice terminal can provide a physical button-type number input component, a rotary dial-type number input component, a touchscreen-type number input component, and so on.

[0034] On the other hand, when a call request is received from a connected voice terminal, the ONU gateway matches and searches the local point-to-point configuration table based on the target phone number carried in the call request to determine the network address corresponding to the target phone number, which is recorded as the target network address. This target network address is the network address of the peer ONU gateway that carries the target phone number.

[0035] In S120, a point-to-point signaling interaction link is established with the peer ONU gateway corresponding to the target network address.

[0036] As described above, after determining the network address corresponding to the target phone number carried in the call request, the ONU gateway initiates a signaling connection request to the peer ONU gateway corresponding to that target network address to establish a point-to-point signaling interaction link between the two ends. This signaling interaction link is used to negotiate call parameters, synchronize call status, and transmit control commands, ensuring reliable establishment and stable transmission of voice calls. It should be noted that the embodiments of the present invention do not limit the method of establishing the signaling interaction link; a suitable signaling protocol can be selected for link establishment based on the actual network environment and communication protocol.

[0037] In S130, media parameters are negotiated with the peer ONU gateway based on the signaling interaction link, and a point-to-point first voice data transmission link is established with the peer ONU gateway.

[0038] Media parameters are the foundation for synchronizing key information such as voice data encoding / decoding, packetization method, and transmission rate. The ONU gateway exchanges its supported media capabilities with the peer ONU gateway through the signaling interaction link, including audio encoding format, sampling rate, silence compression strategy, and RTP / RTCP transmission configuration, and then negotiates the optimal combination of media parameters shared by both parties.

[0039] After the negotiation is completed, the peer ONU gateway sends a ringing signal to the peer voice terminal it is connected to, notifying the peer voice terminal that it is about to receive an incoming call, and at the same time returns a ringing response to the ONU gateway through the established signaling interaction link.

[0040] After receiving a ringing response, the ONU gateway forwards the response to its connected voice terminal, triggering the terminal to ring and notify the user that the call has been delivered to the other end. At this point, the caller hears a ringback tone, the other end's voice terminal begins ringing, and the call link is established.

[0041] When the called party answers the phone, the peer ONU gateway will detect the off-hook event and send a connection confirmation message to the ONU gateway through the signaling interaction link.

[0042] After receiving a connection confirmation message from the peer ONU gateway via the signaling interaction link, the ONU gateway immediately triggers the connected voice terminal to stop playing the ringback tone, and establishes a point-to-point voice data transmission link with the peer ONU gateway based on the negotiated media parameters, which is referred to as the first voice data transmission link.

[0043] In S140, based on the first voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway.

[0044] As shown above, after establishing the first voice data transmission link between the ONU gateway and the peer ONU gateway, the ONU gateway can transmit real-time voice data between the voice terminal and the peer voice terminal based on the first voice data transmission link, thereby realizing full-duplex real-time voice calls.

[0045] For example, after receiving the raw voice data from the voice terminal, the ONU gateway encodes and encapsulates the data according to the encoding format and packaging rules in the negotiated media parameters, generating a voice data packet conforming to the RTP protocol format. This data packet is then sent to the peer ONU gateway via the first voice data transmission link. The peer ONU gateway decapsulates and restores the original voice data before sending it to the peer voice terminal for playback. Conversely, after receiving the voice data packet sent by the peer ONU gateway, the ONU gateway decodes and restores the data according to the same media parameters and transmits it to the local voice terminal for playback, thereby achieving bidirectional real-time voice communication.

[0046] In addition, to ensure call quality, the ONU gateway continuously monitors the network status during voice data transmission, including packet loss rate, jitter and latency, and feeds back QoS indicators through the RTCP protocol. When necessary, it dynamically adjusts the encoding rate or switches redundant encoding strategies to maintain communication stability.

[0047] When a voice call ends, the ONU gateway detects that the connected voice terminal has hung up and immediately sends a release signal to the peer ONU gateway to notify that the call has ended. Upon receiving the release signal, the peer ONU gateway stops voice data transmission and releases the first voice data transmission link, while simultaneously sending a hang-up notification to the peer voice terminal. Alternatively, upon receiving the release signal from the peer ONU gateway, the ONU gateway determines that the peer voice terminal has hung up, stops voice data transmission, releases the first voice data transmission link, and simultaneously sends a hang-up notification to the local voice terminal. After completing the link release, both ONU gateways synchronously clear relevant session state information to ensure resource reclamation and channel availability.

[0048] Optionally, in one embodiment, before determining the target network address corresponding to the target phone number carried in the call request based on a locally stored point-to-point configuration table, the method further includes: Identify whether the call request also carries a preset identifier to indicate a point-to-point voice call; If the call request carries a preset identifier, the target network address corresponding to the target phone number carried in the call request is determined according to the locally stored point-to-point configuration table.

[0049] In this embodiment of the invention, to further enhance the flexibility of voice calls, a preset identification mechanism is introduced to determine whether to activate the point-to-point direct voice call mode.

[0050] The preset identifier can be pre-specified based on user input or generated by the system's default configuration. For example, the preset identifier can be configured as a specific dialing prefix or a specific dialing suffix. For instance, the dialing prefix "*8" can be set as the preset identifier, and when the user adds this prefix before the target phone number, it triggers the ONU gateway to enable point-to-point direct voice call mode. Or, for example, the dialing suffix "#9" can be set as the preset identifier, and when the user enters this suffix after the target phone number, it triggers the ONU gateway to enable point-to-point direct voice call mode.

[0051] Accordingly, after receiving a call request, the ONU gateway first parses the dialing sequence to identify whether the dialing sequence contains a preset identifier in addition to the target phone number. If a preset identifier is identified, the point-to-point direct voice call mode is activated, and the process proceeds to the step of determining the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table. Then, a point-to-point signaling interaction link and a point-to-point first voice data transmission link are established with the peer ONU gateway corresponding to the target network address. Point-to-point voice calls are then conducted based on the signaling interaction link and the first voice data transmission link. For details, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0052] Optionally, in one embodiment, after identifying whether the call request also carries a preset identifier for indicating a point-to-point voice call, the method further includes: If the call request does not carry a preset identifier, the target phone number is sent to the central server, and a centralized second voice data transmission link is established between the optical network unit and the peer ONU gateway based on the central server. Based on the second voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway.

[0053] In this embodiment of the invention, if the ONU gateway does not identify the preset identifier from the dialing sequence, that is, the dialing sequence only contains the target phone number, it is determined that the user has not instructed to enable the point-to-point direct voice call mode. At this time, a centralized communication architecture is used to make a voice call, and the target phone number is further sent to the central server. The central server queries the network address of the corresponding peer ONU gateway based on the target phone number, and establishes a second voice data transmission link between the ONU gateway and the peer ONU gateway via the central server.

[0054] After the establishment of the second voice data transmission link is completed, the ONU gateway can transmit voice data between the connected voice terminal and the peer voice terminal based on the second voice data transmission link to realize the call function.

[0055] It should be noted that in the above centralized call mode, all voice data and control signaling are relayed through the central server.

[0056] The above-mentioned preset identification mechanism gives users the freedom to choose between point-to-point direct connection or centralized call mode as needed, thereby improving the flexibility and security of communication.

[0057] Optionally, in one embodiment, the complexity of the speech coding algorithm used to transmit speech data based on the first speech data transmission link is less than the complexity of the speech coding algorithm used to transmit speech data based on the second speech data transmission link.

[0058] In this embodiment of the invention, in order to ensure efficient and low-latency calls in the point-to-point direct call mode, a less complex voice coding algorithm is preferred to reduce the encoding and decoding time and bandwidth consumption while ensuring call quality, thereby improving real-time performance; while in the centralized mode, since it needs to be relayed through a server, a more complex coding algorithm with stronger anti-interference ability and higher compression efficiency is selected to adapt to network fluctuations and ensure the stability of multi-node transmission.

[0059] For example, in point-to-point direct voice call mode, the ONU gateway can use low-complexity encoding algorithms such as G.711 for voice encoding to reduce voice data processing latency and bandwidth consumption, and improve call real-time performance; while in centralized voice call mode, the central server can use high-complexity encoding algorithms such as G.729 to efficiently compress and suppress noise in voice data, thereby enhancing the robustness and clarity of voice transmission.

[0060] Optionally, in one embodiment, before receiving the call request transmitted by the connected voice terminal, the method further includes: Receive the input phone number and the network address corresponding to the phone number, and create a point-to-point configuration table based on the phone number and its corresponding network address.

[0061] This invention provides a configuration method for an optional location-to-point configuration table.

[0062] The ONU gateway can provide a local management interface. Users can log in to the local management interface through a web page or command line to manually enter the phone number and the network address corresponding to the phone number, which is the network address of the ONU gateway corresponding to the phone number.

[0063] Correspondingly, the ONU gateway can receive the phone number and its corresponding network address entered by the user through the local management interface and store them in the point-to-point configuration table so that when a subsequent call request arrives, the target network address can be quickly looked up in the table to locate the peer ONU gateway.

[0064] Optionally, in one embodiment, before receiving the call request transmitted by the connected voice terminal, the method further includes: Send address identification requests to other ONU gateways; Receive address responses from other ONU gateways in response to address identification requests. The address responses carry the network address and telephone number corresponding to the other ONU gateway. Establish a point-to-point configuration table based on the address response.

[0065] In this embodiment of the invention, the ONU gateway can initiate an address identification request to other ONU gateways in the local area network via broadcast or multicast. After receiving the address identification request, the other ONU gateways return an address response containing their own bound phone number and network address.

[0066] After receiving an address response from another ONU gateway, the ONU gateway parses the phone number and network address information and stores it in a point-to-point configuration table. This allows for quick lookup of the table to obtain the target network address when a subsequent call request arrives, thus locating the peer ONU gateway.

[0067] The above automatic discovery mechanism reduces the burden of manual configuration and improves the flexibility and scalability of network deployment. By periodically sending address identification requests, the ONU gateway can also dynamically update the point-to-point configuration table, promptly reflecting changes in the status of devices in the network and ensuring the accuracy and real-time nature of call routing.

[0068] Optionally, in one embodiment, establishing a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address includes: A point-to-point signaling interaction link is established with the peer ONU gateway corresponding to the target network address using the SIP or H.323 protocol.

[0069] In this embodiment of the invention, the ONU gateway can establish a point-to-point signaling interaction link with the peer ONU gateway using either the SIP protocol or the H.323 protocol to realize call establishment, maintenance, and release. The aforementioned two protocols can be flexibly selected according to actual network requirements to ensure the reliability and interoperability of signaling interaction.

[0070] SIP (Session Initialization Protocol) is a lightweight text-based signaling protocol with good scalability and flexibility. It natively supports point-to-point communication, making it easy to implement device-to-device calls in small networks.

[0071] The H.323 protocol provides a more stringent signaling control mechanism than the SIP protocol, making it suitable for scenarios with high requirements for stability and compatibility. The H.323 protocol comprises multiple sub-protocols working together. In point-to-point scenarios, it primarily relies on the H.225 and H.245 protocols. The H.225 protocol initiates calls, resolves addresses, and establishes and releases connections, similar to the INVITE / 200 OK signaling flow in SIP. The H.245 protocol handles media parameter negotiation, similar to the SDP switching process in SIP.

[0072] It should be noted that the local area network involved in the embodiments of the present invention can be a physical local area network or a logical local area network built based on VLAN or VPN.

[0073] As can be seen from the above, the ONU gateway voice call scheme based on a PON network provided by this invention receives call requests transmitted by connected voice terminals and determines the target network address corresponding to the target phone number carried in the call request according to a locally stored point-to-point configuration table; establishes a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; negotiates media parameters with the peer ONU gateway based on the signaling interaction link, and establishes a point-to-point first voice data transmission link with the peer ONU gateway; and transmits voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the first voice data transmission link. In this way, voice calls no longer rely on a central server, realizing point-to-point voice calls, such as... Figure 3 As shown, voice data does not need to be forwarded through the upper-layer core network, significantly reducing call latency and operating costs, and avoiding global call interruptions caused by central server failures. Due to the point-to-point direct transmission mechanism, voice data can complete point-to-point interaction at the access layer, ensuring compatibility with existing PON network architectures, flexible deployment, and wide applicability in scenarios such as home broadband and enterprise private networks.

[0074] To facilitate better implementation of the above-described ONU gateway voice call method based on a PON network, this embodiment of the invention also provides a corresponding ONU gateway voice call device based on a PON network. The meanings of the terms used are the same as in the above-described ONU gateway voice call method based on a PON network; for specific implementation details, please refer to the descriptions in the above method embodiments.

[0075] Please refer to Figure 4 The ONU gateway voice communication device based on a PON network may include a number parsing module 210, a link maintenance module 220, a voice direct connection module 230, and a voice transmission module 240. Detailed descriptions of each functional module are as follows: The number resolution module 210 is used to receive the call request transmitted by the connected voice terminal and determine the target network address corresponding to the target telephone number carried in the call request according to the locally stored point-to-point configuration table. Link maintenance module 220 is used to establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; The voice direct connection module 230 is used to negotiate media parameters with the peer ONU gateway based on the signaling interaction link and to establish a point-to-point first voice data transmission link with the peer ONU gateway. The voice transmission module 240 is used to transmit voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the first voice data transmission link.

[0076] Optionally, in one embodiment, the number parsing module 210 is further configured to identify whether the call request also carries a preset identifier for indicating a point-to-point voice call; if the call request carries a preset identifier, the target network address corresponding to the target phone number carried in the call request is determined according to the locally stored point-to-point configuration table.

[0077] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a centralized call module, which is used to send the target telephone number to the central server if the call request does not carry a preset identifier, and establish a centralized second voice data transmission link between the central server and the peer ONU gateway. The voice transmission module 240 is also used to transmit voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the second voice data transmission link.

[0078] Optionally, in one embodiment, the complexity of the speech coding algorithm used to transmit speech data based on the first speech data transmission link is less than the complexity of the speech coding algorithm used to transmit speech data based on the second speech data transmission link.

[0079] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a first table configuration module, which is used to receive the input telephone number and the network address corresponding to the telephone number, and to establish a point-to-point configuration table based on the telephone number and its corresponding network address.

[0080] Optionally, in one embodiment, the ONU gateway voice call device provided by the present invention further includes a second table configuration module, used to send an address identification request to other ONU gateways; receive an address response returned by other ONU gateways in response to the address identification request, the address response carrying the network address and telephone number corresponding to the other ONU gateway; and establish a point-to-point configuration table based on the address response.

[0081] Optionally, in one embodiment, the link maintenance module 220 is used to establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address using the SIP protocol or the H.323 protocol.

[0082] Specific limitations regarding the ONU gateway voice communication device based on a PON network can be found in the limitations of the ONU gateway voice communication method based on a PON network mentioned above, and will not be repeated here. Each module in the aforementioned ONU gateway voice communication device based on a PON network can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0083] In one embodiment, a computer device is provided, which may be an ONU gateway, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The network interface connects to external wireless clients, providing wireless network access services to the connected wireless clients. When the computer program is executed by the processor, it implements the ONU gateway voice call method based on a PON network provided by this invention.

[0084] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the ONU gateway voice call method based on the PON network described in the above embodiment.

[0085] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the ONU gateway voice call method based on a PON network as described above.

[0086] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0087] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0088] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A voice call method for an ONU gateway based on a PON network, characterized in that, include: Receive a call request transmitted by a connected voice terminal, and determine the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table. Establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; Based on the signaling interaction link, media parameters are negotiated with the peer ONU gateway, and a point-to-point first voice data transmission link is established with the peer ONU gateway. Based on the first voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway.

2. The ONU gateway voice call method according to claim 1, characterized in that, Before determining the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table, the method further includes: Identify whether the call request also carries a preset identifier for indicating a point-to-point voice call; If the call request carries the preset identifier, then the target network address corresponding to the target phone number carried in the call request is determined according to the locally stored point-to-point configuration table.

3. The ONU gateway voice call method according to claim 2, characterized in that, After identifying whether the call request also carries a preset identifier indicating a point-to-point voice call, the method further includes: If the call request does not carry the preset identifier, the target phone number is sent to the central server, and a centralized second voice data transmission link is established between the central server and the peer ONU gateway. Based on the second voice data transmission link, voice data is transmitted between the voice terminal and the peer voice terminal connected to the peer ONU gateway.

4. The ONU gateway voice call method according to claim 3, characterized in that, The complexity of the speech coding algorithm used to transmit speech data based on the first speech data transmission link is less than the complexity of the speech coding algorithm used to transmit speech data based on the second speech data transmission link.

5. The ONU gateway voice call method according to claim 1, characterized in that, Before receiving the call request transmitted by the connected voice terminal, the method further includes: Receive the input phone number and the network address corresponding to the phone number, and establish the point-to-point configuration table based on the phone number and the corresponding network address.

6. The ONU gateway voice call method according to claim 1, characterized in that, Before receiving the call request transmitted by the connected voice terminal, the method further includes: Send address identification requests to other ONU gateways; Receive the address response returned by the other ONU gateway in response to the address identification request, the address response carrying the network address and telephone number corresponding to the other ONU gateway; The point-to-point configuration table is established based on the address response.

7. The ONU gateway voice call method according to claim 1, characterized in that, The establishment of a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address includes: A point-to-point signaling interaction link is established with the peer ONU gateway corresponding to the target network address using the SIP or H.323 protocol.

8. A voice communication device for an ONU gateway based on a PON network, characterized in that, include: The number resolution module is used to receive call requests transmitted by connected voice terminals and determine the target network address corresponding to the target phone number carried in the call request based on the locally stored point-to-point configuration table. The link maintenance module is used to establish a point-to-point signaling interaction link with the peer ONU gateway corresponding to the target network address; The voice direct connection module is used to negotiate media parameters with the peer ONU gateway based on the signaling interaction link and establish a point-to-point first voice data transmission link with the peer ONU gateway. The voice transmission module is used to transmit voice data between the voice terminal and the peer voice terminal connected to the peer ONU gateway based on the first voice data transmission link.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the ONU gateway voice call method based on a PON network as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the ONU gateway voice call method based on the PON network as described in any one of claims 1 to 7.