Voice call method, optical line terminal, medium and product

By directly forwarding voice call requests through the built-in target mapping relationship of the optical line terminal, the problem of needing an external IP-PBX server in the PON network is solved, realizing efficient voice calls and a simplified network structure, and reducing operating costs.

WO2026157948A1PCT designated stage Publication Date: 2026-07-30ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
ZTE CORP
Filing Date
2026-01-05
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

In a PON network architecture, providing high-priority voice network capabilities requires voice switching through an external IP-PBX server, resulting in high costs and complex network maintenance.

Method used

The optical line terminal has a built-in target mapping relationship, which directly determines whether the call target of the voice call request belongs to the internal network, and forwards the call request internally to avoid the intervention of the external IP-PBX server.

Benefits of technology

It improved voice call efficiency, simplified network layout, and saved network operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026070493_30072026_PF_FP_ABST
    Figure CN2026070493_30072026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a voice call method, an optical line terminal, a medium and a product. The method comprises: receiving a voice call request that is sent to a second optical network unit by a first optical network unit accessing an optical line terminal (310); on the basis of the voice call request, determining whether the number of the second optical network unit is matched in a target mapping relationship, wherein the target mapping relationship comprises a correspondence between the number of a target optical network unit and a communication address, the target optical network unit is an optical network unit that is registered with the optical line terminal and to which the optical line terminal assigns a target communication address, and the target communication address is interconnected with a network segment where a service management communication address of the optical line terminal belongs (320); and in response to the number of the second optical network unit being matched in the target mapping relationship, forwarding the voice call request to the second optical network unit (330).
Need to check novelty before this filing date? Find Prior Art

Description

Voice calling methods, optical line terminals, media and products

[0001] Cross-references to related applications

[0002] This application is based on and claims priority to Chinese Patent Application No. 202510121128.1, filed on January 24, 2025, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of optical communication technology, and in particular to a voice call method, an optical line terminal, a medium, and a product. Background Technology

[0004] In related technologies, enterprise networks, such as those in industrial parks or hotels, need to provide users with network capabilities including broadband data networks, voice communication networks, and cable TV networks. However, when using a PON network architecture to provide high-priority voice network capabilities, voice switching requires a dedicated IP-PBX (Internet Protocol Private Branch Exchange) server outside the optical network. This results in high voice costs and complex network maintenance. How to reduce the network complexity of implementing voice switching is a problem that urgently needs to be discussed and solved. Summary of the Invention

[0005] This application provides a voice call method, an optical line terminal, a medium, and a product.

[0006] In a first aspect, embodiments of this application provide a voice call method applied to an optical line terminal (OLT). The method includes: receiving a voice call request sent by a first optical network unit (ONU) accessing the OLT to a second ONU; determining, based on the voice call request, whether a number of the second ONU is matched in a target mapping relationship, wherein the target mapping relationship includes a correspondence between a number of a target ONU and a communication address, the target ONU being an ONU registered on the OLT and assigned a target communication address by the OLT, the target communication address being interconnected with the network segment where the service management communication address of the OLT is located; and forwarding the voice call request to the second ONU in response to a match of the number of the second ONU in the target mapping relationship.

[0007] Secondly, embodiments of this application provide an optical line terminal (OLT), including a service forwarding chip and a built-in voice service processing module. The service forwarding chip is configured to receive a voice call request sent by a first optical network unit (ONU) accessing the OLT to a second ONU. The built-in voice service processing module is configured to determine whether the number of the second ONU is matched in a target mapping relationship based on the voice call request. The target mapping relationship includes a correspondence between the number of a target ONU and its communication address. The target ONU is an ONU registered on the OLT and assigned a target communication address by the OLT. The target communication address is interconnected with the network segment where the service management communication address of the OLT is located. The service forwarding chip is further configured to forward the voice call request to the second ONU in response to the matching of the number of the second ONU in the target mapping relationship.

[0008] Thirdly, embodiments of this application provide an optical line terminal, comprising: at least one processor; at least one memory for storing at least one program; and when at least one of the programs is executed by at least one of the processors, implementing the voice call method as described in the first aspect.

[0009] Fourthly, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions for performing the voice call method as described in the first aspect.

[0010] Fifthly, embodiments of this application provide a computer program product, including a computer program or computer instructions, characterized in that the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, causing the computer device to perform the voice call method as described in the first aspect.

[0011] In this application, when an optical line terminal (OLT) receives a voice call request from a first optical network unit (ONU) connected to the OLT to a second ONU, it does not directly forward the voice call request to an IP-PBX server outside the OLT. Instead, it calls the target mapping relationship stored locally on the OLT to determine whether the number of the second ONU can be matched from the target mapping relationship. That is, it determines whether the call target of the voice call request (i.e., the second ONU) belongs to the internal network of the OLT. If a match can be found, meaning that the current voice call request is an internal call within the OLT network, the OLT directly forwards the voice call request to the second ONU.

[0012] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description

[0013] Figure 1 is a schematic diagram of a communication network in which the voice call method provided in an embodiment of this application is applied;

[0014] Figure 2 is a network diagram of a hotel scenario where the voice call method provided in this application is applied;

[0015] Figure 3 is a flowchart of a voice call method provided in an embodiment of this application;

[0016] Figure 4 is a schematic diagram of the module structure of an optical line terminal provided in an embodiment of this application;

[0017] Figure 5 is a schematic diagram of a voice call based on an optical line terminal and an optical network unit provided in an example of this application;

[0018] Figure 6 is a schematic diagram of the structure of an optical line terminal provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0020] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0021] In the description of the embodiments of this application, unless otherwise expressly limited, terms such as setting, installing, and connecting should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in the embodiments of this application in combination with the specific content of the technical solution.

[0022] In this application, the terms "furthermore," "exemplarily," or "optionally" are used as examples, illustrations, or descriptions and should not be construed as being more preferred or advantageous than other embodiments or designs. The use of terms such as "furthermore," "exemplarily," or "optionally" is intended to present the relevant concepts in a specific manner.

[0023] The technical solutions of this application can be applied to various communication systems, such as: Wideband Code Division Multiple Access (WCDMA) mobile communication system, Evolved Universal Terrestrial Radio Access Network (EUTRAN) system, Next Generation Radio Access Network (NGRAN) system, Long Term Evolution (LTE) system, Worldwide Interoperability For Microwave Access (WiMAX) communication system, 5th Generation (5G) system, such as New Radio Access Technology (NR), and future communication systems, such as 6G system, etc.

[0024] In related technologies, with the continuous evolution of optical transmission technology, Passive Optical Networks (PONs) have gradually become an important component of access technologies. A passive optical network is a point-to-multipoint fiber optic transmission and access technology. It uses broadcast downlink and time-division multiple access uplink, and can flexibly form tree, star, and bus topologies. Therefore, it has advantages such as saving optical cable resources, sharing bandwidth resources, saving on data center investment, fast network deployment, and low overall network construction costs.

[0025] In related technologies, enterprise networks, such as those in industrial parks or hotels, require providing users with network capabilities including broadband data networks, voice communication networks, and cable TV networks. The complexity of purchasing equipment among users' IT infrastructure can lead to difficulties in use and maintenance, creating an urgent need for a network device that offers more services at a higher cost. Therefore, a PON architecture is typically used for deployment. However, based on the PON network architecture, providing high-priority voice network capabilities requires a dedicated IP-PBX (Internet Protocol Private Branch Exchange) server outside the optical network for voice switching, resulting in high voice costs and complex network maintenance. How to reduce network complexity is a problem that urgently needs to be discussed and solved.

[0026] Based on this, embodiments of this application provide a voice call method, an optical line terminal (OLT), a medium, and a product. In these embodiments, when the OLT receives a voice call request sent from a first optical network unit (ONU) to a second ONU, it does not directly forward the request to an IP-PBX server outside the OLT. Instead, it calls a target mapping relationship stored locally on the OLT to determine if the number of the second ONU can be matched from the target mapping relationship. That is, it determines whether the call target (i.e., the second ONU) belongs to the internal network of the OLT. If a match is found, meaning the voice call request is within the OLT network, the OLT directly forwards the request to the second ONU. Through this scheme, voice call requests within the OLT network can be directly forwarded and established by the OLT according to the target mapping relationship, without going through an external IP-PBX server, thus improving voice call efficiency, simplifying network layout, and saving network operating costs.

[0027] The application scenarios of this application are mainly government and enterprise networks, such as smart cities, smart hardware islands, smart transportation, smart industry, and smart hotels.

[0028] The embodiments of this application will now be described with reference to the accompanying drawings.

[0029] Figure 1 is a schematic diagram of a communication network applied to a voice call method according to an embodiment of this application. As shown in Figure 1, the communication network includes, but is not limited to, an optical line terminal 110, multiple optical network units 120, and multiple telephones 130.

[0030] The optical line terminal (OLT) 110 is one of the core devices of the optical fiber access network. Located in the central equipment room or base station of the network, it is the starting point of the optical fiber communication system. The main functions of the OLT 110 include sending data signals to the optical network units (ONUs) 120 and receiving uplink data signals from these user terminal devices. Simultaneously, the OLT 110 is also responsible for the management, control, and maintenance of the entire optical fiber access network. In this application, the OLT 110 has voice service processing capabilities, enabling voice calls between the ONUs 120 connected to it based on the voice call method of this application. The OLT 110 establishes communication connections with multiple ONUs 120 to transmit data.

[0031] Optical Network Unit 120 refers to the fiber optic termination device in an optical fiber access network, which provides multiple service interfaces to users. The network side of the optical network unit 120 has an optical interface, while the user side has an electrical interface, providing both optical-to-electrical and electrical-to-optical conversion functions. Each optical network unit 120 is connected to a telephone 130. Voice data generated by the telephone 130 is transmitted to the network through the optical network unit 120.

[0032] Figure 2 is a network diagram illustrating the application of the voice call method provided in this application in a hotel scenario. As shown in Figure 2, in this example, it is assumed that there are rooms 1 to 4, each room corresponding to an Optical Network Unit (ONU). Each ONU can provide Internet access and voice services. ONU 1 and ONU 2 are connected to the PON port 1 of the Optical Line Terminal (OLT) via optical splitter 1, and ONU 3 and ONU 4 are connected to the PON port 2 of the OLT via optical splitter 2. The OLT is connected to the core switch via an uplink port, and the core switch is connected to the operator's network server.

[0033] In this example, the IP-PBX voice service within the OLT is implemented in software through the OLT's Central Processing Unit (CPU). In other examples, the IP-PBX voice service can also be a functional module deployed within the OLT. An IP-PBX (Internet Protocol Private Branch Exchange) is a private branch exchange based on the Internet Protocol (IP) that enables multimedia communication such as voice, data, and video within an enterprise.

[0034] In Figure 2, the uplink port of the OLT refers to the interface used to connect the OLT to the upper-level network. In some embodiments, the uplink port is configured to connect to the core network (such as a core switch) to achieve data forwarding and switching. The PON port refers to the interface used to connect to the PON system. In some embodiments, the PON port is configured to connect to the user end to achieve bidirectional data transmission. It should be noted that only two PON ports and one uplink port are shown in Figure 2 for example only; in practice, there are usually multiple ports.

[0035] In this hotel scenario, the ONU, acting as a PON access device, is typically placed in the user's room. It is responsible for converting the user's signal into an optical signal and transmitting it to the OLT device via fiber optic cable. The ONU provides users with faster internet speeds and a more stable network connection, and offers services such as internet access, voice communication, and video surveillance.

[0036] In this example, ONU1 through ONU4 are all connected to the OLT. However, the OLT only assigns private network addresses to ONU1 through ONU3, and these private network addresses are interconnected with the network segment where the OLT's IP-PBX voice service communication address is located. Therefore, the OLT can construct a target mapping relationship based on the private network addresses of ONU1 through ONU3 and the phone numbers corresponding to ONU1 through ONU3.

[0037] When a voice user in room 1 wants to talk to a voice user in room 3, the OLT will receive a voice call request sent from ONU1 to ONU3.

[0038] The OLT determines whether an ONU3 number can be matched in the target mapping relationship based on the voice call request. Since an ONU3 number can be matched in the target mapping relationship, the OLT directly forwards the voice call request to ONU3, so that a voice call can be established between ONU1 and ONU3.

[0039] When a voice user in room 1 wants to talk to a voice user in room 4, the OLT will receive a voice call request sent from ONU1 to ONU4.

[0040] The OLT determines whether an ONU4 number can be matched in the target mapping relationship based on the voice call request. Since the target mapping relationship does not contain ONU4's communication address and number, the OLT determines that ONU1 and ONU4 cannot directly establish a voice call through internal forwarding. At this time, the OLT converts ONU1's private network address to a public network address and forwards the voice call request from the uplink port to the core switch. The core switch then sends it to an external voice server to enable voice communication between ONU1 and ONU4 through the external voice server.

[0041] In the example above, when the OLT receives a voice call request from a source ONU to a destination ONU, it does not directly forward the request to an external IP-PBX server. Instead, it uses the target mapping relationship stored locally on the OLT to determine if the destination ONU's number can be matched. In other words, it determines whether the target of the voice call request belongs to the OLT's internal network. If a match is found, meaning the voice call request is within the OLT network, the OLT directly forwards the request to the destination ONU. Through this approach, voice call requests within the OLT network can be directly forwarded and established by the OLT based on the target mapping relationship, without going through an external IP-PBX server. This improves voice call efficiency, simplifies network layout, and saves network operating costs.

[0042] In the example above, if the OLT cannot match the target ONU's number in the target mapping relationship, it will convert the source ONU's private network address to a public network address to forward the source ONU's voice call request to the upper-level network and use the voice server outside the OLT to complete the voice communication, so as to ensure that ONUs that do not belong to the OLT or have not been assigned a private network address by the OLT can also conduct voice communication normally.

[0043] Figure 3 is a flowchart of a voice call method provided in an embodiment of this application. This voice call method can be applied to, but is not limited to, optical line terminals, such as the optical line terminal 110 shown in Figure 1, or the optical line terminal shown in Figure 2. In this embodiment, the voice call method includes, but is not limited to, the following:

[0044] Step 310: Receive a voice call request sent from the first optical network unit to the second optical network unit of the access optical line terminal;

[0045] Step 320: Determine whether the number of the second optical network unit is matched in the target mapping relationship according to the voice call request. The target mapping relationship includes the correspondence between the number of the target optical network unit and the communication address. The target optical network unit is an optical network unit registered on the optical line terminal and assigned a target communication address by the optical line terminal. The target communication address is interconnected with the network segment where the service management communication address of the optical line terminal is located.

[0046] Step 330: In response to the matching of the number of the second optical network unit in the target mapping relationship, forward the voice call request to the second optical network unit.

[0047] In step 310, the first optical network unit refers to the optical network unit that initiates the voice call request. The first optical network unit is connected to the optical line terminal (OLT), belongs to the ONU within the OLT's network, and has been assigned a target communication address by the OLT.

[0048] The second optical network unit refers to the target optical network unit corresponding to the called party that receives the voice call request.

[0049] A voice call request is a message sent by the caller to the called party to request the establishment of voice communication.

[0050] In step 320, the target mapping relationship is used to characterize the mapping relationship between the target communication address of each ONU connected to the OLT and assigned a target communication address by the OLT and the telephone number of its corresponding voice user. The target communication address refers to the private network address assigned by the OLT. The service management communication address refers to the communication address corresponding to the part of the OLT responsible for handling voice call services. Through the service management communication address, the part of the OLT responsible for handling voice call services can communicate with the ONUs registered on the OLT and assigned target communication addresses by the optical line terminal, so that the part of the OLT responsible for handling voice call services can receive voice call requests sent by the ONUs and perform matching based on the target mapping relationship.

[0051] In step 330, the number of the second optical network unit matched in the target mapping relationship refers to the number of the second optical network unit carried in the voice call request within the target mapping relationship. When the number of the second optical network unit can be matched in the target mapping relationship, the communication address of the second optical network unit corresponding to the number of the second optical network unit can be determined according to the target mapping relationship. Therefore, the OLT forwards the voice call request to the second optical network unit based on the communication address of the second optical network unit.

[0052] In the embodiments of steps 310 to 330 above, when the optical line terminal (OLT) receives a voice call request sent from the first optical network unit (ONU) to the second ONU, it does not directly forward the voice call request to the IP-PBX server outside the OLT. Instead, it calls the target mapping relationship stored locally on the OLT to determine whether the number of the second ONU can be matched from the target mapping relationship. That is, it determines whether the call object of the voice call request (i.e., the second ONU) belongs to the internal network of the OLT. If a match can be found, that is, the current voice call request is an internal call within the OLT network, the OLT directly forwards the voice call request to the second ONU. Through the above scheme, in large networks involving a large number of voice users, such as those in enterprises and hotels, voice call requests within the OLT network can be directly forwarded and call established by the OLT according to the target mapping relationship, without going through an external IP-PBX server, which improves voice call efficiency, simplifies network layout, and saves network operating costs.

[0053] The above is a general description of steps 310 to 330. The implementation process of steps 310 to 330 will be described in detail below.

[0054] In one embodiment, prior to step 310, the voice call method further includes: assigning a corresponding target communication address to each optical network unit accessing the optical line terminal; wherein the optical network unit includes a first optical network unit.

[0055] In this embodiment, the optical network unit accessing the optical line terminal refers to an optical network unit that is registered on the optical line terminal and is online. After the ONU registers with the OLT, the OLT will assign a private network address, i.e., a target communication address, to the ONU, enabling the ONU accessing the OLT to communicate with various service functions in the OLT and realize the forwarding of various types of data within the OLT network.

[0056] In one embodiment, after assigning corresponding target communication addresses to each optical network unit accessing the optical line terminal, the method further includes:

[0057] Based on the target communication address of each optical network unit in the access optical line terminal and the number of the voice terminal connected to each optical network unit, a mapping relationship between the target communication address of each optical network unit and the corresponding voice terminal number is established to obtain the target mapping relationship.

[0058] In this embodiment, each ONU is connected to a voice terminal; for example, the voice terminal can be a landline phone, and the voice terminal number is the landline phone number. Through the target mapping relationship, when an ONU within a certain target mapping relationship is known, the target communication address of the ONU can be determined based on the voice terminal number corresponding to that ONU, or the number of the voice terminal connected to that ONU can be determined based on the target communication address of the ONU.

[0059] For example, the target mapping relationship can be stored locally on the OLT in the form of a data table. In one example, the OLT has a built-in voice service processing module. This module obtains the target communication addresses of each target ONU connected to the OLT and the phone numbers of the voice terminals connected to them, and generates a target mapping relationship in the form of a data table based on this. The built-in voice service processing module updates and maintains this table periodically. In another example, other modules in the OLT may generate the target mapping relationship and send it to the built-in voice service processing module.

[0060] In one embodiment, after step 320, the voice call method further includes:

[0061] In response to the failure to match the number of the second optical network unit in the target mapping relationship, the target communication address of the first optical network unit in the voice call request is converted into a public network address to obtain the converted voice call request;

[0062] The converted voice call request is forwarded to the voice server connected to the optical line terminal, so that voice communication between the first optical network unit and the second optical network unit can be realized through the voice server.

[0063] In the embodiment, if the number of the second optical network unit is not matched in the target mapping relationship, it means that the second optical network unit has not been assigned a private network address by the OLT and cannot be directly transmitted internally by the OLT; or it means that the second optical network unit is not connected to the OLT and is an optical network unit outside the network area of ​​this OLT, so it cannot be directly transmitted internally by the OLT.

[0064] A public IP address is a globally unique IP address on the Internet. This address is a logical address assigned to every computer on the network, and it has two main functions: first, it allows devices on the network to communicate with each other; and second, it allows access to the Internet.

[0065] A voice server is an IP-PBX server located outside the OLT network. It is responsible for functions such as voice communication switching, control, management, and routing, and provides various value-added services and applications. It supports VoIP (Voice over Internet Protocol) technology, enabling voice communication to take place over IP networks, thus achieving the integration of voice and data communication.

[0066] Since the voice server is located outside the OLT network, it is necessary to convert the private network address of the first optical network unit that initiated the request to a public network address so that the voice call request can be forwarded to the voice server through the upper-level network.

[0067] In the above embodiment, if the OLT cannot match the number of the second optical network unit in the target mapping relationship, the private network address of the first optical network unit is converted to a public network address to forward the voice call request of the first optical network unit to the upper-level network, and the voice communication is completed using a voice server outside the OLT. This ensures that ONUs within the OLT can also conduct normal voice communication with ONUs not within the OLT or ONUs that have not been assigned a private network address by the OLT.

[0068] In one embodiment, after step 330, the voice call method further includes:

[0069] In response to the optical line terminal receiving the response message sent by the second optical network unit and forwarding the response message to the first optical network unit, the voice data packets between the first optical network unit and the second optical network unit are directly forwarded.

[0070] In this embodiment, after receiving a voice call request forwarded by the OLT, if the voice terminal of the second optical network unit receives the request, the voice terminal will generate a voice call response and send it to the OLT through the second optical network unit. The OLT then forwards the voice call response to the first optical network unit. The first optical network unit sends the voice call response to its connected voice terminals, thereby successfully establishing voice communication between the voice users of the first optical network unit and the voice users of the second optical network unit, enabling them to transmit voice data to each other.

[0071] When the OLT assigns private network addresses to each target ONU, the service forwarding chip within the OLT learns the Layer 2 MAC addresses of each target ONU. Therefore, after establishing voice communication between the first optical network unit and the second optical network unit, both belonging to the OLT network and both having private network addresses assigned by the OLT, the OLT's service forwarding chip can directly forward voice data packets based on their Layer 2 MAC addresses. The Layer 2 MAC address is the Media Access Control Address.

[0072] Figure 4 is a schematic diagram of the module structure of an optical line terminal provided in an embodiment of this application. In this embodiment, the optical line terminal 400 includes, but is not limited to, a service forwarding chip 410 and a built-in voice service processing module 420;

[0073] Among them, the service forwarding chip 410 is configured to receive voice call requests sent from the first optical network unit of the access optical line terminal 400 to the second optical network unit;

[0074] The built-in voice service processing module 420 is configured to determine whether the number of the second optical network unit is matched in the target mapping relationship based on the voice call request. The target mapping relationship includes the correspondence between the number of the target optical network unit and its communication address. The target optical network unit is an optical network unit registered on the optical line terminal 400 and whose target communication address is assigned by the optical line terminal 400. The target communication address is interconnected with the network segment where the service management communication address of the optical line terminal 400 is located.

[0075] The service forwarding chip 410 is also configured to forward voice call requests to the second optical network unit in response to a number matched in the target mapping relationship.

[0076] In one embodiment, the optical line terminal 400 further includes an address translation module (not shown in the figure);

[0077] The address translation module is configured to convert the target communication address of the first optical network unit in the voice call request into a public network address in response to the number of the second optical network unit not being matched in the target mapping relationship, thereby obtaining the translated voice call request;

[0078] The service forwarding chip 410 is also configured to forward the converted voice call request to the voice server connected to the optical line terminal 400, so as to realize voice communication between the first optical network unit and the second optical network unit through the voice server.

[0079] In one embodiment, the optical line terminal 400 further includes an address allocation module (not shown in the figure).

[0080] The address allocation module is configured to allocate corresponding target communication addresses to each optical network unit of the access optical line terminal 400; wherein, the optical network unit includes the first optical network unit.

[0081] In one embodiment, the built-in voice service module is further configured to establish a mapping relationship between the target communication address of each optical network unit and the corresponding connected voice terminal number based on the target communication address of each optical network unit of the access optical line terminal 400 and the number of the voice terminal connected to each optical network unit, thereby obtaining a target mapping relationship.

[0082] In another embodiment, the target mapping relationship can also be managed by other modules in the optical line terminal 400. For example, an address management module can be deployed in the optical line terminal 400. This address management module obtains the target communication addresses of each optical network unit accessing the optical line terminal 400, as well as the numbers of the voice terminals connected to each optical network unit, and constructs the target mapping relationship. The address management module also updates the target mapping relationship according to a preset period, or updates the target mapping relationship whenever a new optical network unit accesses the optical line terminal 400 and is assigned a target communication address.

[0083] In one embodiment, the service forwarding chip 410 is further configured to respond to the optical line terminal 400 receiving a response message sent by the second optical network unit and forwarding the response message to the first optical network unit, and directly forward the voice data packets between the first optical network unit and the second optical network unit.

[0084] It should be noted that each module of the optical line terminal 400 in this application embodiment can also be configured to execute the specific implementation details of the voice call method provided in the above embodiments. That is, the optical line terminal 400 in this application embodiment can also be configured to execute any or a combination of the above embodiments, and can achieve the corresponding beneficial effects, which will not be elaborated here.

[0085] The following example provides a comprehensive and detailed description of the voice call method of this application. It is understood that the following embodiments are merely illustrative examples to better illustrate the voice call method of this application and are not intended to limit its specific application.

[0086] Figure 5 is a schematic diagram of a voice call between an optical line terminal and an optical network unit provided in an example of this application.

[0087] As shown in Figure 5, the service forwarding chip is a chip in the Optical Line Terminal (OLT) device, responsible for message forwarding. It includes a PON port and an uplink port. The CPU is the control unit of the OLT device, where the voice service processing module that controls voice interaction is implemented. The service forwarding chip and the CPU are physically connected. Assume that the two parties in the voice call are a voice user in Optical Network Unit 1 (ONU1) and a voice user in Optical Network Unit 2 (ONU2). ONU1 is connected to PON port 1 of the service forwarding chip, and ONU2 is connected to PON port 2 of the service forwarding chip.

[0088] Based on Figure 5, the voice call process in this example is as follows:

[0089] Step 1: After ONU1 and ONU2 go online and register in the OLT, the OLT assigns private network addresses IP1 and IP2 to ONU1 and ONU2.

[0090] Step 2: The phone numbers connected to ONU1 and ONU2 will be registered in the voice service processing module, and the private network addresses corresponding to the ONUs will also be stored in the voice service processing module. The voice service processing module will generate a target mapping relationship in the form of a data table based on the one-to-one correspondence between the private network addresses and phone numbers of each ONU.

[0091] Step 3: When the OLT control unit assigns a private network address to the ONU, the service forwarding chip will learn the Layer 2 MAC addresses of all ONUs.

[0092] Step 4: The OLT configures the voice service processing module with a voice VLAN and a private network address. The private network address of the voice service processing module and the private network address assigned to the ONU are interconnected. The voice VLAN is assigned to the service forwarding chip and configured to forward voice control messages (SIP) and data packets (RTP). The voice VLAN is a virtual local area network (VLAN) specifically built for the user's voice data stream. It ensures clear and smooth voice communication by separating voice traffic from other data streams (such as data and video) and providing priority processing.

[0093] Step 5: When a phone connected to ONU1 calls phone number 2 via phone number 1, the voice control message is sent to the voice service processing module located in the CPU via the service forwarding chip. The voice service processing module searches the locally stored data table (target mapping relationship). If phone number 2 is found in the data table, it can be determined that phone number 2 is a local number. The voice service processing module determines the communication address corresponding to phone number 2 based on the data table (in this example, it is assumed that the communication address is the private network address of ONU2), and forwards the voice call request directly to the phone connected to ONU2 based on the communication address. If the phone connected to ONU2 answers, the phone connected to ONU1 will send an acknowledgment message after receiving the answer message. At this point, the voice communication between the phone connected to ONU1 and the phone connected to ONU2 is completed.

[0094] Step 6: When a phone connected to ONU1 calls a user outside this OLT using phone number 1, the voice service processing module detects that the called user is not in this area, i.e., the called user's phone number cannot be matched in the data table. Then, through Network Address Translation (NAT) technology, the private network address of ONU1 is converted into a public network address. The voice call request of ONU1 is forwarded to the upper-level network through the uplink port. The voice server outside this OLT network completes the forwarding of the voice call request and uses the voice server to complete the voice communication establishment between ONU1 and the called user.

[0095] Step 7: During call setup in Step 5, the service forwarding chip can learn the MAC and VLAN information of the two voice terminals making the voice call. After the call is established, the service forwarding chip directly forwards the voice data packets RTP.

[0096] In the example above, when the OLT receives a voice call request from a source ONU to a destination ONU, it does not directly forward the voice call request to an IP-PBX server outside the OLT. Instead, it calls the target mapping relationship stored locally on the OLT to determine whether the destination ONU's number can be matched from the target mapping relationship. In other words, it determines whether the call recipient of the voice call request belongs to the OLT's internal network.

[0097] If a match is found, meaning the voice call request is within the OLT network, the OLT will directly forward the voice call request to the destination ONU. Through this solution, voice call requests within the OLT network can be directly forwarded and established by the OLT based on the target mapping relationship, without needing to go through an external IP-PBX server. This improves voice call efficiency, simplifies network layout, and saves network operating costs.

[0098] Figure 6 is a schematic diagram of the structure of an optical line terminal provided in an embodiment of this application. As shown in Figure 6, the optical line terminal 2000 includes a memory and a processor. The number of memories and processors can be one or more. Figure 6 shows an example of one memory 2101 and one processor 2201. The memory 2101 and processor 2201 in the network device can be connected by a bus or other means. Figure 6 shows an example of connection via a bus.

[0099] The memory 2101, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the methods provided in any embodiment of this application. The processor 2201 implements the voice call method provided in any of the above embodiments by running the software programs, instructions, and modules stored in the memory 2101.

[0100] Memory 2101 may primarily include a program storage area and a data storage area, wherein the program storage area may store the operating system and application programs required for at least one function. Furthermore, memory 2101 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, memory 2101 includes memory remotely located relative to processor 2201, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0101] One embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions for performing the voice call method as provided in any embodiment of this application.

[0102] An embodiment of this application also provides a computer program product, including a computer program or computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium and executes the computer program or computer instructions, causing the computer device to perform the voice call method provided in any embodiment of this application.

[0103] The system architecture and application scenarios described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. Those skilled in the art will understand that as system architectures evolve and new application scenarios emerge, the technical solutions provided in this application are also applicable to similar technical problems.

[0104] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0105] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0106] The terms “component,” “module,” “system,” etc., used in this specification are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process or execution thread, and components may be located on a single computer or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems via signals).

[0107] The above description, with reference to the accompanying drawings, illustrates some embodiments of this application, but does not limit the scope of this application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of this application shall be within the scope of this application.

Claims

1. A voice call method applied to an optical line terminal, the method comprising: Receive a voice call request sent from the first optical network unit to the second optical network unit via the optical line terminal; Based on the voice call request, it is determined whether the number of the second optical network unit is matched in the target mapping relationship. The target mapping relationship includes the correspondence between the number of the target optical network unit and its communication address. The target optical network unit is an optical network unit registered on the optical line terminal and assigned a target communication address by the optical line terminal. The target communication address is interconnected with the network segment where the service management communication address of the optical line terminal is located. In response to a match in the target mapping relationship for the number of the second optical network unit, the voice call request is forwarded to the second optical network unit.

2. The voice call method according to claim 1, wherein, After determining whether the number of the second optical network unit is matched in the target mapping relationship based on the voice call request, the method further includes: In response to the fact that the number of the second optical network unit is not matched in the target mapping relationship, the target communication address of the first optical network unit in the voice call request is converted into a public network address to obtain the converted voice call request; The converted voice call request is forwarded to a voice server connected to the optical line terminal, so that voice communication between the first optical network unit and the second optical network unit can be realized through the voice server.

3. The voice call method according to claim 1, wherein, Before receiving the voice call request sent by the first optical network unit accessing the optical line terminal to the second optical network unit, the method further includes: Assign the corresponding target communication address to each optical network unit accessing the optical line terminal; The optical network unit includes the first optical network unit.

4. The voice call method according to claim 3, wherein, After allocating the corresponding target communication address to each optical network unit accessing the optical line terminal, the method further includes: Based on the target communication address of each optical network unit accessing the optical line terminal and the number of the voice terminal connected to each optical network unit, a mapping relationship is established between the target communication address of each optical network unit and the number of the corresponding connected voice terminal, thus obtaining the target mapping relationship.

5. The voice call method according to claim 1, wherein, After forwarding the voice call request to the second optical network unit, the method further includes: In response to the optical line terminal receiving a response message sent by the second optical network unit and forwarding the response message to the first optical network unit, the voice data packets between the first optical network unit and the second optical network unit are directly forwarded.

6. An optical line terminal, comprising a service forwarding chip and a built-in voice service processing module; The service forwarding chip is configured to receive voice call requests sent from the first optical network unit to the second optical network unit when the optical line terminal is accessed. The built-in voice service processing module is configured to determine whether the number of the second optical network unit is matched in the target mapping relationship based on the voice call request, wherein, The target mapping relationship includes the correspondence between the number and communication address of the target optical network unit. The target optical network unit is an optical network unit registered on the optical line terminal and whose target communication address is assigned by the optical line terminal. The target communication address is interconnected with the network segment where the service management communication address of the optical line terminal is located. The service forwarding chip is also configured to forward the voice call request to the second optical network unit in response to a number matched in the target mapping relationship.

7. The optical line terminal according to claim 6 further includes an address translation module; The address translation module is configured to convert the target communication address of the first optical network unit in the voice call request into a public network address in response to the fact that the number of the second optical network unit is not matched in the target mapping relationship, so as to obtain the converted voice call request. The service forwarding chip is also configured to forward the converted voice call request to a voice server connected to the optical line terminal, so as to realize voice communication between the first optical network unit and the second optical network unit through the voice server.

8. The optical line terminal according to claim 6, wherein, The service forwarding chip is also configured to respond to the optical line terminal receiving a response message sent by the second optical network unit and forwarding the response message to the first optical network unit, directly forwarding voice data packets between the first optical network unit and the second optical network unit.

9. An optical line terminal, comprising: At least one processor; At least one memory for storing at least one program; The method as described in any one of claims 1 to 5 is implemented when at least one of the programs is executed by at least one of the processors.

10. A computer-readable storage medium storing computer-executable instructions for performing the method as claimed in any one of claims 1 to 5.

11. A computer program product comprising a computer program or computer instructions stored in a computer-readable storage medium, wherein a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions to cause the computer device to perform the method as described in any one of claims 1 to 5.