[go: up one dir, main page]

CN119276833A - Service processing method, ONT and user equipment - Google Patents

Service processing method, ONT and user equipment Download PDF

Info

Publication number
CN119276833A
CN119276833A CN202310835709.2A CN202310835709A CN119276833A CN 119276833 A CN119276833 A CN 119276833A CN 202310835709 A CN202310835709 A CN 202310835709A CN 119276833 A CN119276833 A CN 119276833A
Authority
CN
China
Prior art keywords
address
ont
user equipment
domain name
destination device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310835709.2A
Other languages
Chinese (zh)
Inventor
严成安
汪伊明
陈颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202310835709.2A priority Critical patent/CN119276833A/en
Priority to PCT/CN2024/071247 priority patent/WO2025010979A1/en
Publication of CN119276833A publication Critical patent/CN119276833A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请第一方面提供了一种业务处理方法,应用于通信领域。业务处理方法包括以下步骤:ONT从用户设备接收DNS查询消息。DNS查询消息包含目的设备的第一域名。用户设备和目的设备在同一个局域网内。ONT向用户设备发送第一DNS响应消息。第一DNS响应消息中包含目的设备的第一私网IP地址。第一私网IP地址是根据第一域名,在本地保存的域名与私网IP地址的对应关系中查询获得的。第一私网IP地址用于用户设备向目的设备发送第一业务消息。在本申请中,通过ONT实现对业务消息的分流,可以降低通信的成本。

The first aspect of the present application provides a service processing method, which is applied to the field of communications. The service processing method comprises the following steps: an ONT receives a DNS query message from a user device. The DNS query message includes a first domain name of a destination device. The user device and the destination device are in the same local area network. The ONT sends a first DNS response message to the user device. The first DNS response message includes a first private network IP address of the destination device. The first private network IP address is obtained by querying the correspondence between the domain name and the private network IP address stored locally according to the first domain name. The first private network IP address is used by the user device to send a first service message to the destination device. In the present application, the diversion of service messages by the ONT can reduce the cost of communication.

Description

Service processing method, ONT and user equipment
Technical Field
The present application relates to the field of communications, and in particular, to a service processing method, an ONT, and a user equipment.
Background
In the field of communications, optical network terminals (optical network terminal, ONTs) connect to the public network through conventional internet access channels. The user equipment accesses the public network through the ONT. In order to improve the experience of the user on the cloud service, a two-layer logic channel can be newly added on the ONT. One end of the logic channel is connected with the ONT, and the other end is connected with the virtual customer premise equipment (virtual customer premises equipment, vCPE). Service messages of the user equipment for accessing the cloud service network and the public network are forwarded to the vCPE through the ONT. The vCPE shunts to the cloud service network or public network according to the internet protocol (internet protocol, IP) address of the service message.
In practical applications, introducing vces increases the cost of communications.
Disclosure of Invention
The application provides a service processing method, an ONT and user equipment, and the ONT is used for realizing the distribution of service messages, so that the communication cost can be reduced.
The first aspect of the application provides a service processing method. The traffic handling method comprises the step that the ONT receives a Domain Name Service (DNS) query message from the user equipment. The DNS query message contains the first domain name of the destination device. The user equipment and the destination equipment are in the same local area network. The ONT sends a first DNS response message to the user equipment. The first DNS response message includes the first private network internet protocol (internet protocol, IP) address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address by the ONT according to the first domain name. The first private network IP address is used for the user equipment to send a first service message to the destination device.
In an alternative manner of the first aspect, the service processing method further includes the step of, if the correspondence between the domain name and the private IP address does not include the IP address corresponding to the first domain name, sending, by the ONT, a second DNS response message to the user equipment. The second DNS response message includes the first public network IP address of the destination device. The first public network IP address is obtained by the ONT from a DNS server according to the first domain name. The first public network IP address is used for the user equipment to send the second service message to the destination equipment. In the application, when the user equipment cannot send the service message to the destination equipment through the first private network IP address, the user equipment can send the service message to the destination equipment through the first public network IP address. Therefore, the present application can improve the reliability of communication.
In an alternative form of the first aspect, the traffic handling method further comprises the step of the ONT receiving a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) request from the destination device before the ONT receives the DNS query message from the user device. The DHCP request includes a first domain name. The ONT sends a DHCP response to the destination device. The DHCP response includes the first private network IP address assigned by the ONT for the destination device.
In an alternative form of the first aspect, the method of traffic handling further comprises the step of the ONT receiving the first message from the destination device before the ONT receives the DNS query message from the user device. The first message includes a first domain name and a first private network IP address.
In an alternative form of the first aspect, the traffic handling method further comprises the step of the ONT sending a probe request to the destination device before the ONT receives the DNS query message from the destination device. If the detection response is not received within the specified time, the ONT deletes the corresponding relation between the first domain name and the first private network IP address or marks the state of the corresponding relation between the first domain name and the first private network IP address as invalid. In the application, through the detection request, whether the first private network IP address is reachable can be determined. When the first private network IP address is not reachable, the user device may transmit a service message through the first public network IP address. Therefore, the present application can improve the reliability of communication.
In an alternative manner of the first aspect, a value of a Time To Life (TTL) field in the first DNS response message is 0. In practical applications, to reduce the number of DNS queries, the user device may save the obtained IP address for use the next time the same domain name is accessed. However, in the present application, when the first private IP address is not reachable, if the user equipment uses the first private IP address stored last time to transmit the first service message, the destination equipment may not receive the first service message. Therefore, by setting the effective duration of the first DNS response message, the reliability of communication can be improved.
The second aspect of the present application provides a service processing method. The service processing method includes the step that the user equipment transmits a DNS query message to the ONT. The DNS query message contains the first domain name of the destination device. The user equipment and the destination equipment are in the same local area network. The user equipment receives a first DNS response message from the ONT. The first DNS response message includes the first private IP address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address by the ONT according to the first domain name. The first private network IP address is used for the user equipment to send a first service message to the destination device.
In an alternative form of the second aspect, the service processing method further comprises the step of the user equipment receiving a second DNS response message from the ONT. The second DNS response message includes the first public network IP address of the destination device. The first public network IP address is obtained by the ONT from a DNS server according to the first domain name. The first public network IP address is used for the user equipment to send the second service message to the destination equipment.
In an alternative form of the second aspect, the TTL field in the first DNS response message has a value of 0.
In an alternative form of the second aspect, the service processing method further comprises the step of the user equipment generating the first service message via the first application. When the IP address corresponding to the first domain name obtained by the user equipment is a private network address, the user equipment determines that the user equipment is in a first functional state. When the IP address corresponding to the first domain name obtained by the user equipment is a public network address, the user equipment determines that the user equipment is in a second functional state. In the application, the state of the user equipment is determined through the IP address, and different services are provided according to the state of the user equipment, so that the user experience can be improved.
In an alternative form of the second aspect, in the first functional state, the user device exhibits a state in which the first application is in the high speed channel. In the second functional state, the user equipment exhibits a state in which the first application is not in the high-speed channel. By displaying the state of using the high-speed channel, the user experience can be improved.
A third aspect of the application provides an ONT. The ONT includes a transceiver and a network interface. The transceiver is configured to receive a DNS query message from a user equipment. The DNS query message contains the first domain name of the destination device. The user equipment and the destination equipment are in the same local area network. The transceiver is also configured to send a first DNS response message to the user equipment. The first DNS response message includes the first private IP address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address according to the first domain name. The transceiver is also configured to receive a first service message from the user equipment. The destination IP address of the first service message is a first private IP address. The network interface is configured to send a first service message to the destination device.
In an optional manner of the third aspect, if the correspondence between the domain name and the private IP address does not include an IP address corresponding to the first domain name, the transceiver is further configured to send a second DNS response message to the user equipment. The second DNS response message includes the first public network IP address of the destination device. The first public network IP address is obtained from a query in the DNS server based on the first domain name. The transceiver is also configured to receive a second service message from the user equipment. The destination IP address of the second service message is the first public network IP address. The network interface is further configured to send a second service message to the destination device.
In an alternative form of the third aspect, the network interface is further configured to receive a DHCP request from the destination device. The DHCP request includes a first domain name. The network interface is also configured to send a DHCP response to the destination device. The DHCP response includes the first private network IP address assigned by the ONT for the destination device.
In an alternative form of the third aspect, the network interface is further adapted to receive the first message from the destination device. The first message includes a correspondence of a first domain name and a first private network IP address.
In an alternative form of the third aspect, the ONT further comprises a processor. The network interface is also used to send probe requests to the destination device. If the detection response is not received within the specified time, the processor is configured to delete the corresponding relationship between the first domain name and the first private network IP address or mark the state of the corresponding relationship between the first domain name and the first private network IP address as invalid.
A fourth aspect of the present application provides a user equipment. The user equipment includes a receiver and a transmitter. The sender is configured to send a DNS query message to the ONT. The DNS query message contains the first domain name of the destination device. The user equipment and the destination equipment are in the same local area network. The receiver is configured to receive a first DNS response message from the ONT. The first DNS response message includes the first private IP address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address by the ONT according to the first domain name. The first private network IP address is used for the user equipment to send a first service message to the destination device.
In an alternative form of the fourth aspect, the receiver is configured to receive a second DNS response message from the ONT. The second DNS response message includes the first public network IP address of the destination device. The first public network IP address is obtained by the ONT from a DNS server according to the first domain name. The first public network IP address is used for the user equipment to send the second service message to the destination equipment.
In an alternative form of the fourth aspect, the user equipment has a first application installed therein. The user equipment also includes a processor. The first application is for generating a first traffic message. And when the IP address corresponding to the first domain name obtained by the user equipment is a private network address, the processor is used for determining that the user equipment is in a first functional state. And when the IP address corresponding to the first domain name obtained by the user equipment is a public network address, the processor is used for determining that the user equipment is in a second functional state.
In an alternative form of the fourth aspect, the user device further comprises a display screen. In the first functional state, the display screen is used for displaying the state that the first application is in the high-speed channel. In the second functional state, the display screen is used for displaying the state that the first application is not in the high-speed channel.
A fifth aspect of the present application provides a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method according to the first aspect or any implementation of the first aspect, or cause the computer to perform the method according to the second aspect or any implementation of the second aspect.
A sixth aspect of the application provides a computer program product, characterized in that the computer program product, when executed on a computer, causes the computer to perform the method according to the first aspect or any implementation of the first aspect, or causes the computer to perform the method according to the second aspect or any implementation of the second aspect.
Drawings
Fig. 1 is a schematic diagram of a first configuration of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first service processing method according to an embodiment of the present application;
Fig. 3 is a second flowchart of a service processing method according to an embodiment of the present application;
Fig. 4 is a third flow chart of a service processing method according to an embodiment of the present application;
fig. 5 is a second schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 6 is a schematic diagram of a first configuration of an ONT according to an embodiment of the present application;
fig. 7 is a second schematic structural view of an ONT according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present application.
Detailed Description
The application provides a service processing method, an optical network terminal (optical network terminal, ONT) and user equipment, and the ONT is used for realizing the distribution of service messages, so that the communication cost can be reduced. It is to be understood that the use of "first," "second," or "object" or the like herein is for descriptive purposes only and is not to be construed as indicating or implying any particular importance or order. In addition, for simplicity and clarity, reference numbers and/or letters are repeated throughout the several figures of the application. Repetition does not indicate a tightly defined relationship between the various embodiments and/or configurations. In the communication field, in order to improve the experience of the user on the cloud service, a two-layer logic channel can be newly added on the ONT. One end of the logic channel is connected with the ONT, and the other end is connected with the virtual customer premise equipment (virtual customer premises equipment, vCPE). The vCPE is configured to offload traffic messages for the user equipment based on the destination internet protocol (internet protocol, IP) address of the traffic message. But introducing vces increases the cost of the communication.
To this end, the application provides a service processing method. The service processing method is applied to ONTs, user equipment or destination equipment in the communication system. Fig. 1 is a schematic diagram of a first configuration of a communication system according to an embodiment of the present application. As shown in fig. 1, the communication system includes a user equipment 101, an ONT 102 and a destination device 103 within the same local area network. The user equipment 101 is a notebook computer, a desktop computer, a mobile phone, or the like. The destination device 103 is another ONT or server, etc. The ONT 102 and the destination device 103 are connected by a first channel. The first path is a two-layer path or a three-layer path, such as a virtual private network (virtual private network, VPN) tunnel. The ONT 102 includes a corresponding public network IP address and is connected to the public network through a second channel. The second channel is a three-layer channel. The destination device 103 also includes a corresponding public network IP address through which service messages from the public network can be received.
It should be understood that in the present application, the first channel and the second channel are logically different channels. Thus, the first channel and the second channel may share the same network interface in the ONT. For example, the first channel and the second channel share the same network interface of a network card in the ONT or the same network interface of an optical module in the ONT. The network interface is also referred to as a portal. The first channel and the second channel may also use different network interfaces in the ONT. For example, the network interfaces include a first network interface and a second network interface. The ONT comprises a first network card and a second network card. The first channel uses a first network interface of the first network card. The second channel uses a second network interface of the second network card.
It should be understood that the present application does not limit whether the user equipment 101 and the destination equipment 103 in the same local area network are in the same territory. When the user equipment 101 and the destination equipment 103 are in the same region, for example, the user equipment 101 and the destination equipment 103 are physically located in the same home, the user equipment 101 and the destination equipment 103 may form a local area network through a network cable or a wireless WIFI or the like. When the user equipment 101 and the destination equipment 103 are not in the same region, the user equipment 101 and the destination equipment 103 may form a local area network by a dedicated line or tunnel establishment. For convenience of management, virtual local area network (virtual local area network, VLAN) Identities (IDs) of the user equipment 101 and the destination equipment 103 connected to the ONT may be different or the same.
Fig. 2 is a schematic flow chart of a service processing method according to an embodiment of the present application. As shown in fig. 2, the service processing method includes the following steps. In step 201, the user equipment sends a Domain Name Service (DNS) query message to the ONT, including a first domain name.
Before the user equipment accesses the first domain name, the user equipment needs to acquire an internet protocol (internet protocol, IP) address corresponding to the first domain name. If the user equipment does not acquire the IP address corresponding to the first domain name or the IP address corresponding to the first domain name acquired by the user equipment is outdated, the user equipment sends a DNS query message to the ONT. DNS query messages are also referred to as DNS requests or DNS request messages. The DNS query message contains the first domain name of the destination device. The DNS query message is used to query the IP address corresponding to the first domain name.
In step 202, the ONT sends a first DNS response message to the user equipment, including a first private IP address corresponding to the first domain name.
The ONT locally stores the corresponding relation between the domain name and the private network IP address. The private network IP address is also referred to as a local area network IP address. After receiving the DNS query message from the user equipment, the ONT queries the corresponding relationship, and determines whether the corresponding relationship includes the first private network IP address corresponding to the first domain name. If the corresponding relation includes a first private network IP address corresponding to the first domain name, and the state of the corresponding relation between the first domain name and the first private network IP address is valid, the ONT sends a first DNS response message to the user equipment, and the user equipment does not query the DNS server for the public network IP address corresponding to the first domain name. The DNS response message is also referred to as a DNS response message or DNS response message. The first DNS response message includes a first private IP address corresponding to the first domain name. If the corresponding relation does not include the first private network IP address corresponding to the first domain name or the state of the corresponding relation between the first domain name and the first private network IP address is invalid, the ONT forwards the DNS query message to the DNS server. The DNS server replies to the second DNS response message according to the DNS query message. The second DNS response message includes the first public network IP address of the destination device. The ONT sends a second DNS response message to the user equipment.
In step 203, the user equipment sends a first service message to the ONT.
After receiving the first DNS response message or the second DNS response message, the user device learns a Media Access Control (MAC) address corresponding to the first private network IP address or the first public network IP address. For example, the user equipment sends a broadcast address resolution protocol (address resolution protocol, ARP) message. The ARP message includes a first private IP address. After receiving the ARP message, the ONT broadcasts the ARP message in the local area network. The destination device in the lan can also receive the ARP message. The destination device replies ARP response according to the ARP message. The ARP response includes the MAC address corresponding to the first private IP address, i.e., the MAC address of the destination device. The user equipment sends the first service message or the second service message to the ONT. The destination IP address of the first service message is a first private IP address. The destination MAC address of the first service message is the MAC address of the destination device. When the ONT acts as a gateway for the user equipment, the user equipment may acquire the MAC address of the ONT device. If the IP address obtained by the ue is the first public network IP address, the ue will fill the MAC address of the ONT into the destination MAC address of the message. Thus, the destination IP address of the second service message is the first public network IP address. The destination MAC address of the first service message is the MAC address of the ONT.
In step 204, the ONT sends a first service message to the destination device.
After receiving the service message from the user equipment, the ONT determines a destination MAC address or a destination IP address of the service message. When the destination MAC address of the service message is the MAC address of the destination device and the destination IP address is the first private network IP address, the ONT forwards the service message to the network interface corresponding to the first channel according to the destination MAC address or the destination IP address of the service message. For example, a first VPN tunnel is established between the ONT and the destination device. The ONT adds a first virtual extensible local area network (virtual extensible local area network, vxLAN) header at the outer layer of the first service message. The ONT transmits the first service message carrying the first VxLAN header through the first VPN tunnel. As another example, the first channel and the second channel use different network interfaces in the ONT. The ONT establishes a dedicated line with the destination device through the second network interface. The ONT transmits the first service message directly through the dedicated line. At this point, the ONT may not need any modification to the first service message, such as modification of the source IP address. When the destination MAC address of the service message is the MAC address of the ONT and the destination IP address is the first public network IP address, the ONT forwards the service message to the network interface corresponding to the second channel according to the destination MAC address or the destination IP address of the service message. For example, the ONT modifies the source IP address of the second service message to the public network IP address of the ONT, and transmits the modified source IP address second service message to the public network through the second channel. As another example, the ONT establishes a second VPN tunnel with the receiving device of the second traffic message. The ONT adds a second VxLAN header to the outer layer of the second service message. The ONT transmits the second service message carrying the second VxLAN header through the second VPN tunnel.
In the embodiment of the application, for the service message (for example, the second service message) of accessing the public network, that is, the service message of which the destination IP address is the public network IP address, the ONT sends the service message to the public network through the second channel. For a service message accessing the destination device through the first private network IP address, the ONT sends the service message to the destination device through the first channel. Therefore, the embodiment of the application realizes the distribution of the service messages through the ONT. By offloading the traffic messages by the ONT, no vce may be introduced, thereby reducing the cost of communication.
As can be seen from the description of fig. 1, the user equipment, the ONT and the destination device are located in the same local area network. Thus, the user device, the ONT and the destination device comprise different private network IP addresses. In order to avoid the conflict of the private network IP addresses, the private network IP address distribution equipment is contained in the local area network. The distribution device is an ONT or other device. When the distribution equipment is an ONT or other equipment, the ONT acquires the corresponding relation between the first domain name and the first private network IP address in different modes. This will be described separately below.
In a first mode, the distribution device is an ONT. In this way, the ONT receives the second message from the destination device. The second message contains a first domain name, and the ONT allocates a first private network IP address to the target device according to the second message and locally stores the corresponding relation between the first domain name and the first private network IP address. The second message is described below as an example of a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) request. Fig. 3 is a second flowchart of a service processing method according to an embodiment of the present application. As shown in fig. 3, the service processing method includes the following steps.
In step 301, the destination device sends a DHCP request to the ONT, containing a first domain name.
After the destination device accesses the local area network where the ONT is located, the destination device sends a DHCP request to the ONT. The DHCP request contains the first domain name. For example, the DHCP request includes a plurality of options (options) fields. The plurality of options fields includes a hostname field. The host name field is also referred to as an option 12host name field. The host name field carries the first domain name. In practical applications, the DHCP request may also include device authentication information. For example, the plurality of options fields further include a vendor CLASS IDENTIFIER field. The vendor CLASS IDENTIFIER field is also referred to as an option 60vendor class identifier field. The vendor CLASS IDENTIFIER field carries device authentication information. The device authentication information includes the device type or identity information of the destination device, and the like.
In step 302, the ONT sends a DHCP response to the destination device containing a first private IP address assigned by the ONT for the destination device.
The ONT verifies the device authentication information. If the verification is passed, the ONT sends a DHCP response to the destination device. The DHCP response contains the first private network IP address assigned by the ONT for the destination device. If the authentication is not passed, the ONT discards the DHCP request or replies with a rejection message. If the ONT has allocated the first private network IP address for the destination device and the correspondence between other domain names and the first private network IP address is recorded locally, the ONT and the destination device can determine the destination of the DHCP request by convention. For example, if the DHCP request carries the first identifier, the ONT does not allocate the private IP address to the destination device again, but updates the foregoing correspondence. The updated correspondence includes a correspondence of the first domain name and the first private network IP address. If the DHCP request does not carry the first identification, the ONT allocates a private network IP address for the target equipment again and updates the corresponding relation. The updated correspondence includes a correspondence of the first domain name and the first private network IP address. It should be appreciated that the two first private network IP addresses assigned by the ONT for the destination device may be different.
The descriptions of steps 303-305 are similar to those of steps 201-204 of fig. 2. Thus, for the description of steps 303-305, reference can be made to the description of steps 201-204. For example, with respect to the description of step 303, reference can be made to the description of step 201. As another example, with respect to the description of step 305, reference can be made to the descriptions of step 203 and step 204.
In a second mode, the dispensing device is another device. The other devices are devices in the local area network other than the home ONT, such as other DHCP servers. In this manner, after the other device assigns the first private network IP address to the destination device, the destination device sends a first message to the ONT. The first message includes a first domain name and a first private network IP address. The embodiment of the application does not limit the format of the first message. After receiving the first message, the ONT locally stores the corresponding relation between the first domain name and the first private network IP address. When the domain name of the destination device changes, the destination device resends the first message to the ONT. The retransmitted first message includes the updated domain name and the first private network IP address. The ONT updates the corresponding relation according to the retransmitted first message.
In other embodiments, the ONT can also generate the correspondence of domain name and private IP through configuration from WEB graphical user interface (GRAPHICAL USER INTERFACE, GUI), network management device, or command line interface (command LINE INTERFACE, CLI). For example, the network management device configures the corresponding relationship between the private network IP address and the domain name to the ONT through the TR-069 protocol message. Similarly, the ONT can update the correspondence between the domain name and the private IP through the new configuration.
In the embodiment of the application, in order to improve user experience, the ONT can transmit the first service message to the destination device through the first channel. However, if the first channel fails, the ONT still transmits the first service message through the first channel, which may result in unreachable first service message, thereby reducing the reliability of communication. To this end, in other embodiments, the ONT is able to detect whether the first channel is working properly. Fig. 4 is a third flowchart of a service processing method according to an embodiment of the present application. As shown in fig. 4, the service processing method includes the following steps.
In step 401, the ONT sends a probe request to a destination device.
The ONT locally stores the corresponding relation between the domain name and the private network IP address. The correspondence includes one or more sub-correspondences. Each sub-correspondence includes a correspondence of a private network IP address and a domain name. The ONT needs to maintain the reachability of the private IP address in each sub-correspondence through the probe request. The embodiment of the application is described by taking the first private network IP address as an example only. The ONT periodically sends a probe request, e.g., a PING request, to the destination device over the first channel.
In step 402, the destination device sends a probe response to the ONT.
In step 403, the ONT deletes the correspondence between the first domain name and the first private IP address without receiving the probe response.
After the destination device receives the probe request, it replies to the probe response. However, if the network interface connected to the second channel in the destination device fails, or the second channel fails, the destination device cannot normally receive the probe request and does not reply to the probe response. If the detection response is not received within the specified time, the ONT deletes the corresponding relation between the first domain name and the first private network IP address in the corresponding relation or marks the state of the corresponding relation between the first domain name and the first private network IP address as invalid. If the detection response is received within the prescribed time, the state of the corresponding relation between the first domain name and the first private network IP address is kept valid.
The descriptions of steps 404-407 are similar to those of steps 201-204 of FIG. 2. Thus, for the description of steps 404-407, reference can be made to the description of steps 201-204. For example, with respect to the description of step 404, reference can be made to the description of step 201. As another example, reference can be made to the description of step 202 with respect to the descriptions of step 405 and step 406. As another example, with respect to the description of step 407, reference can be made to the descriptions of step 203 and step 204.
In the communication system of fig. 1, a user equipment 101 is able to access a destination device 103 through an ONT 102. In practical applications, the user equipment 101 can also access the destination device 103 without passing through the ONT 102. For example, the user equipment 101 is a mobile phone, and the user equipment 101 accesses the destination device 103 through the base station. Fig. 5 is a second schematic structural diagram of a communication system according to an embodiment of the present application. As shown in fig. 5, after the user equipment 101 is disconnected from the ONT 102, the user equipment 101 can access the destination device 103 through the public network.
In an embodiment of the present application, when the user device 101 accesses the destination device 103 through other means, the user device 101 accesses the destination device 103 through the first public network IP address of the destination device 103. As can be seen from the description of fig. 2, when the user equipment 101 accesses the destination equipment 103 through the ONT 102, the user equipment 101 accesses the destination equipment 103 through the first private network IP address or the first public network IP address of the destination equipment 103. To enhance the user experience, the user equipment 101 is able to provide different services to the user depending on the IP address used. For example, the user equipment 101 generates a first service message through a first application. When the IP address corresponding to the first domain name obtained by the user equipment 101 is a private network address, that is, the user equipment 101 accesses the destination equipment 103 through the first private network IP address of the destination equipment 103, the user equipment determines that the user equipment is in the first functional state. When the IP address corresponding to the first domain name obtained by the user equipment is a public network address, that is, the user equipment 101 accesses the destination equipment 103 through the first public network IP address of the destination equipment 103, the user equipment determines that the user equipment is in the second functional state.
In different functional states, the user equipment 101 is able to provide different services for the user. Different services refer to different interfaces and/or functions. For example, in the first functional state, the user device 101 allows transmission of a file larger than the target threshold size to the destination device. In the second functional state, the user equipment 101 is not allowed to transmit files larger than the target threshold size to the destination device. As another example, in the first functional state, the user equipment 101 does not limit the traffic or the upper rate limit of the first application. In the second functional state, the user equipment 101 limits the upper traffic or rate limit of the first application. For another example, in the first functional state, the user equipment 101 shows that the first application is in a state of a high speed channel, and in the second functional state, the user equipment 101 shows that the first application is not in a state of a high speed channel. The embodiment of the present application does not limit how the user equipment 101 shows whether the first application is in the state of the high-speed channel. For example, the first application is a video application, and in the first functional state, the first application provides N selectable video resolution options. In the second functional state, the first application provides M selectable video resolution options. N and M are integers greater than 0. N is greater than M. For example, the N selectable video resolution options include 720P and 1080P. The M selectable video resolution options include 720P. Wherein 720P refers to video with a resolution of 1280×720. 1080P means a video with a resolution of 1280×720. Or in the first functional state, the user equipment 101 presents the word "in high speed channel" by means of the first application. In the second functional state, the user equipment 101 does not show the word "in high speed channel" through the first application.
In practical applications, in order to reduce the number of DNS queries, the user equipment can save the obtained IP address for use when accessing the same domain name next time. However, in the embodiment of the present application, if the first channel fails, the user equipment still accesses the destination device through the first private network IP address, which may result in the first service message being unreachable. If the first channel is not in a failure state, the user equipment still accesses the destination device through the first public network IP address, so that the user experience is reduced. To this end, in other embodiments, the value of the Time To Life (TTL) field in the first DNS response message is 0. The DNS protocol message includes a Resource Record (RR) field. The RR field includes a domain name field, a query type field, a query class field, a TTL field, a resource data length field, and a resource data field. The value in the TTL field characterizes the lifecycle of the resource record. When the value of the TTL field is 0, the user equipment will only use the first public network IP address or the first private network IP address obtained this time in the session access. When the user equipment still needs to access the first domain name next time, the user equipment can acquire the IP address corresponding to the first domain name again through the DNS query message.
The foregoing describes a service processing method provided in the present application, and the following describes an ONT and a user equipment provided in the present application. Fig. 6 is a schematic diagram of a first configuration of an ONT according to an embodiment of the present application. As shown in fig. 6, the ONT 102 includes a transceiver 601 and a network interface 602. The transceiver 601 may be an optical transceiver module. The ONT 102 communicates with user equipment via a transceiver 601 and connects to destination equipment via a network interface 602. The user equipment and the destination equipment are in the same local area network. In an embodiment of the present application, transceiver 601 is configured to receive DNS query messages from user equipment. The DNS query message contains the first domain name of the destination device. Transceiver 601 is also configured to send a first DNS response message to the user equipment. The first DNS response message includes the first private IP address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address according to the first domain name. The transceiver 601 is further adapted to receive a first service message from a user equipment. The destination IP address of the first service message is a first private IP address. The network interface 602 is used to send a first service message to a destination device.
Fig. 7 is a second schematic structural diagram of an ONT according to an embodiment of the present application. As shown in fig. 7, the ONT 102 includes a transceiver 601, a processor 701, a memory 702, a traffic splitting circuit 703, and a network interface 602. The processor 701 may be a central processor (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP. The processor 701 may further include a hardware chip or other general purpose processor. The hardware chip may be an Application SPECIFIC INTEGRATED Circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The memory 702 may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an erasable programmable ROM (erasable PROM, EPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM).
The ONT 102 communicates with user equipment via a transceiver 601 and connects destination equipment to the public network via a network interface 602. For example, the ONT 102 connects to the destination device through portal 1 in the network interface 602. The ONT 102 is connected to the public network through a portal 2 in the network interface. As another example, the ONT 102 connects the destination device and the public network through the portal 1 in the network interface 602. The user equipment and the destination equipment are in the same local area network. In an embodiment of the present application, transceiver 601 is configured to receive DNS query messages from user equipment. The DNS query message contains the first domain name of the destination device. The memory 702 stores a correspondence between domain names and private IP addresses. The processor 701 is configured to receive a DNS query message from the transceiver 601, and determine whether the correspondence includes a first private IP address corresponding to the first domain name. If the correspondence includes a first private IP address corresponding to the first domain name, and the state of the correspondence between the first domain name and the first private IP address is valid, the processor 701 is further configured to generate a first DNS response message. The first DNS response message includes a first private IP address corresponding to the first domain name. Processor 701 is also configured to transmit a first DNS response message to transceiver 601. If the corresponding relationship does not include the first private network IP address corresponding to the first domain name, or the state of the corresponding relationship between the first domain name and the first private network IP address is invalid, the processor 701 is further configured to forward the DNS query message to the DNS server through the network interface 602. The network interface 602 is configured to receive a second DNS response message from the DNS server. The second DNS response message includes the first public network IP address of the destination device. Transceiver 601 is also configured to send a first DNS response message or a second DNS response message to the user equipment.
The transceiver 601 is further adapted to receive a first service message or a second service message from a user equipment. The destination IP address of the first service message is the first private IP address of the destination device. The destination IP address of the second service message is the first public network IP address of the destination device. The transceiver 601 is further configured to transmit the first service message or the second service message to the service splitting circuit 703. The service splitting circuit 703 selects a corresponding transmission channel according to the destination IP address or the destination MAC address of the service message. For example, the first channel uses portal 1 in the network interface 602. The second channel uses portal 2 in the network interface 602. The service splitting circuit 703 transmits the first service message to the network port 1 or the second service message to the network port 2. It should be appreciated that upon selection of a transmission channel, traffic splitting circuit 703 or other circuit may process the traffic message, such as adding a VxLAN header. The network ports in the network interface 602 may be interfaces on different network cards or optical modules. For example, the network port 1 is a first network interface of a first network card, and the network port 2 is a second network interface of a second network card. The network interface 602 is used to output traffic messages.
It should be appreciated that there are similarities to the description of the ONT 102 in fig. 6 or 7, and the description of the foregoing business processing method. Accordingly, for the description of the ONT 102, reference can be made to the description of any of FIGS. 1-5. For example, the network interface 602 is also used to receive DHCP requests from destination devices. The DHCP request includes a first domain name. The network interface 602 is also used to send DHCP responses to the destination device. The DHCP response includes the first private network IP address assigned by the ONT for the destination device. As another example, the network interface 602 is also used to send probe requests to a destination device. If the probe response is not received within the specified time, the processor 701 is configured to delete the corresponding relationship between the first domain name and the first private IP address or mark the state of the corresponding relationship between the first domain name and the first private IP address as invalid.
Fig. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present application. As shown in fig. 8, the user equipment 101 includes a receiver 801 and a transmitter 802. The receiver 801 may be an optical receiver or a wireless receiver. Transmitter 802 may be an optical transmitter or a wireless transmitter. The transmitter 802 is configured to transmit a DNS query message to the ONT. The DNS query message contains the first domain name of the destination device. The user equipment and the destination equipment are in the same local area network. The receiver 801 is configured to receive a first DNS response message from the ONT. The first DNS response message includes the first private IP address of the destination device. The first private network IP address is obtained by inquiring the corresponding relation between the locally stored domain name and the private network IP address by the ONT according to the first domain name. The first private network IP address is used for the user equipment 101 to send a first service message to the destination device.
It should be appreciated that there are similarities to the description of the service processing method described above with respect to the user equipment 101 in fig. 8. Accordingly, for the description of the user equipment 101, reference can be made to the description of any of fig. 1 to 5. For example, the receiver 801 is configured to receive a second DNS response message from the ONT. The second DNS response message includes the first public network IP address of the destination device. The first public network IP address is obtained by the ONT from a DNS server according to the first domain name. The first public network IP address is used for the user equipment to send the second service message to the destination equipment. As another example, the user equipment 101 also includes a processor. The first application is for generating a first traffic message. When the IP address corresponding to the first domain name obtained by the user equipment 101 is a private network address, the processor is configured to determine that the user equipment is in the first functional state. When the IP address corresponding to the first domain name obtained by the user equipment 101 is a public network address, the processor is configured to determine that the user equipment is in the second functional state. In different functional states, the user equipment 101 is able to provide different services for the user. As another example, the user device 101 also includes a display screen. In the first functional state, the display screen is used for displaying the state that the first application is in the high-speed channel. In the second functional state, the display screen is used for displaying the state that the first application is not in the high-speed channel.
The foregoing is merely illustrative embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present application, and the application should be covered.

Claims (20)

1.一种业务处理方法,其特征在于,包括:1. A business processing method, comprising: 光网络终端ONT从用户设备接收域名服务DNS查询消息,所述DNS查询消息包含目的设备的第一域名;所述用户设备和所述目的设备在同一个局域网内;An optical network terminal ONT receives a domain name service DNS query message from a user device, wherein the DNS query message includes a first domain name of a destination device; the user device and the destination device are in the same local area network; 所述ONT向所述用户设备发送第一DNS响应消息;其中,所述第一DNS响应消息中包含所述目的设备的第一私网网际协议IP地址;所述第一私网IP地址是根据所述第一域名,在本地保存的域名与私网IP地址的对应关系中查询获得的;所述第一私网IP地址用于所述用户设备向所述目的设备发送第一业务消息。The ONT sends a first DNS response message to the user equipment; wherein the first DNS response message includes a first private Internet Protocol IP address of the destination device; the first private IP address is obtained by querying the correspondence between the domain name and the private IP address stored locally according to the first domain name; the first private IP address is used by the user equipment to send a first service message to the destination device. 2.根据权利要求1所述的业务处理方法,其特征在于,所述方法还包括:2. The service processing method according to claim 1, characterized in that the method further comprises: 若所述域名与私网IP地址的对应关系不包括与所述第一域名对应的IP地址,则所述ONT向所述用户设备发送第二DNS响应消息;其中,所述第二DNS响应消息中包含所述目的设备的第一公网IP地址;所述第一公网IP地址是根据所述第一域名从DNS服务器中查询获得的;所述第一公网IP地址用于所述用户设备向所述目的设备发送第二业务消息。If the correspondence between the domain name and the private IP address does not include the IP address corresponding to the first domain name, the ONT sends a second DNS response message to the user equipment; wherein the second DNS response message includes the first public IP address of the destination device; the first public IP address is obtained by querying the DNS server according to the first domain name; the first public IP address is used by the user equipment to send a second service message to the destination device. 3.根据权利要求1或2所述的业务处理方法,其特征在于,在所述ONT从用户设备接收DNS查询消息之前,所述方法还包括:3. The service processing method according to claim 1 or 2, characterized in that before the ONT receives the DNS query message from the user equipment, the method further comprises: 所述ONT从所述目的设备接收动态主机配置协议DHCP请求,所述DHCP请求包括所述第一域名;The ONT receives a Dynamic Host Configuration Protocol DHCP request from the destination device, where the DHCP request includes the first domain name; 所述ONT向所述目的设备发送DHCP响应,所述DHCP响应包括所述ONT为所述目的设备分配的所述第一私网IP地址。The ONT sends a DHCP response to the destination device, where the DHCP response includes the first private network IP address allocated by the ONT to the destination device. 4.根据权利要求1或2所述的业务处理方法,其特征在于,在所述ONT从用户设备接收DNS查询消息之前,所述方法还包括:4. The service processing method according to claim 1 or 2, characterized in that before the ONT receives the DNS query message from the user equipment, the method further comprises: 所述ONT从所述目的设备接收第一消息,所述第一消息包括所述第一域名和所述第一私网IP地址。The ONT receives a first message from the destination device, where the first message includes the first domain name and the first private IP address. 5.根据权利要求1至4中任意一项所述的业务处理方法,其特征在于,在所述ONT从目的设备接收DNS查询消息之前,所述方法还包括:5. The service processing method according to any one of claims 1 to 4, characterized in that before the ONT receives the DNS query message from the destination device, the method further comprises: 所述ONT向所述目的设备发送探测请求;The ONT sends a detection request to the destination device; 若未在规定时间内收到探测响应,则所述ONT删除所述第一域名和所述第一私网IP地址的对应关系或将所述第一域名和所述第一私网IP地址的对应关系的状态标记为无效。If the detection response is not received within the specified time, the ONT deletes the correspondence between the first domain name and the first private IP address or marks the state of the correspondence between the first domain name and the first private IP address as invalid. 6.根据权利要求1至5中任意一项所述的业务处理方法,其特征在于,所述第一DNS响应消息中生命周期TTL字段的值为0。6. The business processing method according to any one of claims 1 to 5, characterized in that the value of the life cycle TTL field in the first DNS response message is 0. 7.一种业务处理方法,其特征在于,包括:7. A business processing method, characterized by comprising: 用户设备向光网络终端ONT发送域名服务DNS查询消息,所述DNS查询消息包含目的设备的第一域名;所述用户设备和所述目的设备在同一个局域网内;The user equipment sends a domain name service DNS query message to the optical network terminal ONT, wherein the DNS query message includes a first domain name of a destination device; the user equipment and the destination device are in the same local area network; 所述用户设备从所述ONT接收第一DNS响应消息,所述第一DNS响应消息中包含所述目的设备的第一私网网际协议IP地址;所述第一私网IP地址是所述ONT根据所述第一域名,在本地保存的域名与私网IP地址的对应关系中查询获得的;所述第一私网IP地址用于所述用户设备向所述目的设备发送第一业务消息。The user equipment receives a first DNS response message from the ONT, where the first DNS response message includes a first private Internet Protocol IP address of the destination device; the first private IP address is obtained by the ONT through querying a correspondence between a locally stored domain name and a private IP address according to the first domain name; the first private IP address is used by the user equipment to send a first service message to the destination device. 8.根据权利要求7所述的业务处理方法,其特征在于,所述方法还包括:8. The service processing method according to claim 7, characterized in that the method further comprises: 所述用户设备从所述ONT接收第二DNS响应消息,所述第二DNS响应消息中包含所述目的设备的第一公网IP地址;所述第一公网IP地址是所述ONT根据所述第一域名从DNS服务器中查询获得的;所述第一公网IP地址用于所述用户设备向所述目的设备发送第二业务消息。The user equipment receives a second DNS response message from the ONT, where the second DNS response message includes a first public IP address of the destination device; the first public IP address is obtained by the ONT from a DNS server according to the first domain name; the first public IP address is used by the user equipment to send a second service message to the destination device. 9.根据权利要求7或8所述的业务处理方法,其特征在于,所述第一DNS响应消息中生命周期TTL字段的值为0。9. The business processing method according to claim 7 or 8 is characterized in that the value of the life cycle TTL field in the first DNS response message is 0. 10.根据权利要求7至9中任意一项所述的业务处理方法,其特征在于,所述方法还包括:10. The service processing method according to any one of claims 7 to 9, characterized in that the method further comprises: 所述用户设备通过第一应用生成所述第一业务消息;The user equipment generates the first service message through the first application; 当所述用户设备得到的所述第一域名对应的IP地址为私网地址时,所述用户设备确定处于第一功能状态;When the IP address corresponding to the first domain name obtained by the user equipment is a private network address, the user equipment is determined to be in a first functional state; 当所述用户设备得到的所述第一域名对应的IP地址为公网地址时,所述用户设备确定处于第二功能状态。When the IP address corresponding to the first domain name obtained by the user equipment is a public network address, the user equipment is determined to be in the second functional state. 11.根据权利要求10所述的业务处理方法,其特征在于,11. The service processing method according to claim 10, characterized in that: 在所述第一功能状态下,所述用户设备展示所述第一应用处于高速通道的状态,在所述第二功能状态下,所述用户设备展示所述第一应用不处于高速通道的状态。In the first functional state, the user equipment displays that the first application is in a high-speed channel state, and in the second functional state, the user equipment displays that the first application is not in a high-speed channel state. 12.一种光网络终端ONT,其特征在于,包括收发器和网络接口:12. An optical network terminal ONT, characterized in that it comprises a transceiver and a network interface: 所述收发器用于从用户设备接收域名服务DNS查询消息,所述DNS查询消息包含目的设备的第一域名;所述用户设备和所述目的设备在同一个局域网内;The transceiver is used to receive a domain name service DNS query message from a user device, wherein the DNS query message includes a first domain name of a destination device; the user device and the destination device are in the same local area network; 所述收发器还用于向所述用户设备发送第一DNS响应消息;其中,所述第一DNS响应消息中包含所述目的设备的第一私网网际协议IP地址;所述第一私网IP地址是根据所述第一域名,在本地保存的域名与私网IP地址的对应关系中查询获得的;The transceiver is also used to send a first DNS response message to the user equipment; wherein the first DNS response message includes a first private Internet Protocol IP address of the destination device; the first private IP address is obtained by querying the correspondence between the domain name and the private IP address stored locally according to the first domain name; 所述收发器还用于从所述用户设备接收第一业务消息,所述第一业务消息的目的IP地址为所述第一私网IP地址;The transceiver is further configured to receive a first service message from the user equipment, wherein the destination IP address of the first service message is the first private network IP address; 所述网络接口用于向所述目的设备发送所述第一业务消息。The network interface is used to send the first service message to the destination device. 13.根据权利要求12所述的ONT,其特征在于,13. The ONT according to claim 12, characterized in that: 若所述域名与私网IP地址的对应关系不包括与所述第一域名对应的IP地址,则所述收发器还用于向所述用户设备发送第二DNS响应消息;其中,所述第二DNS响应消息中包含所述目的设备的第一公网IP地址;所述第一公网IP地址是根据所述第一域名从DNS服务器中查询获得的;If the correspondence between the domain name and the private IP address does not include the IP address corresponding to the first domain name, the transceiver is further used to send a second DNS response message to the user equipment; wherein the second DNS response message includes the first public IP address of the destination device; the first public IP address is obtained by querying the DNS server according to the first domain name; 所述收发器还用于从所述用户设备接收第二业务消息,所述第二业务消息的目的IP地址为所述第一公网IP地址;The transceiver is further configured to receive a second service message from the user equipment, wherein the destination IP address of the second service message is the first public network IP address; 所述网络接口还用于向所述目的设备发送所述第二业务消息。The network interface is further used to send the second service message to the destination device. 14.根据权利要求12或13所述的ONT,其特征在于,14. The ONT according to claim 12 or 13, characterized in that: 所述网络接口还用于从所述目的设备接收动态主机配置协议DHCP请求,所述DHCP请求包括所述第一域名;The network interface is further used to receive a Dynamic Host Configuration Protocol DHCP request from the destination device, wherein the DHCP request includes the first domain name; 所述网络接口还用于向所述目的设备发送DHCP响应,所述DHCP响应包括所述ONT为所述目的设备分配的所述第一私网IP地址。The network interface is further used to send a DHCP response to the destination device, where the DHCP response includes the first private network IP address allocated by the ONT to the destination device. 15.根据权利要求12或13所述的ONT,其特征在于,15. The ONT according to claim 12 or 13, characterized in that: 所述网络接口还用于从所述目的设备接收第一消息,所述第一消息包括所述第一域名和所述第一私网IP地址。The network interface is further used to receive a first message from the destination device, where the first message includes the first domain name and the first private IP address. 16.根据权利要求12至15中任意一项所述的ONT,其特征在于,所述ONT还包括处理器;16. The ONT according to any one of claims 12 to 15, characterized in that the ONT further comprises a processor; 所述网络接口还用于向所述目的设备发送探测请求;The network interface is also used to send a detection request to the destination device; 若未在规定时间内收到探测响应,则所述处理器用于删除所述第一域名和所述第一私网IP地址的对应关系或将所述第一域名和所述第一私网IP地址的对应关系的状态标记为无效。If the detection response is not received within the specified time, the processor is used to delete the correspondence between the first domain name and the first private IP address or mark the state of the correspondence between the first domain name and the first private IP address as invalid. 17.一种用户设备,其特征在于,包括接收器和发送器,其中:17. A user equipment, comprising a receiver and a transmitter, wherein: 所述发送器用于向光网络终端ONT发送域名服务DNS查询消息,所述DNS查询消息包含目的设备的第一域名;所述用户设备和所述目的设备在同一个局域网内;The transmitter is used to send a domain name service DNS query message to the optical network terminal ONT, wherein the DNS query message includes a first domain name of a destination device; the user device and the destination device are in the same local area network; 所述接收器用于从所述ONT接收第一DNS响应消息,所述第一DNS响应消息中包含所述目的设备的第一私网网际协议IP地址;所述第一私网IP地址是所述ONT根据所述第一域名,在本地保存的域名与私网IP地址的对应关系中查询获得的;所述第一私网IP地址用于所述用户设备向所述目的设备发送第一业务消息。The receiver is used to receive a first DNS response message from the ONT, where the first DNS response message includes a first private Internet Protocol IP address of the destination device; the first private IP address is obtained by the ONT through querying a correspondence between a locally stored domain name and a private IP address according to the first domain name; the first private IP address is used by the user equipment to send a first service message to the destination device. 18.根据权利要求17所述的用户设备,其特征在于,18. The user equipment according to claim 17, characterized in that 所述接收器还用于从所述ONT接收第二DNS响应消息,所述第二DNS响应消息中包含所述目的设备的第一公网IP地址;所述第一公网IP地址是所述ONT根据所述第一域名从DNS服务器中查询获得的;所述第一公网IP地址用于所述用户设备向所述目的设备发送第二业务消息。The receiver is further used to receive a second DNS response message from the ONT, where the second DNS response message includes a first public IP address of the destination device; the first public IP address is obtained by the ONT from a DNS server according to the first domain name; the first public IP address is used by the user equipment to send a second service message to the destination device. 19.根据权利要求17或18所述的用户设备,其特征在于,所述用户设备中安装有第一应用,所述用户设备还包括处理器;19. The user equipment according to claim 17 or 18, characterized in that a first application is installed in the user equipment, and the user equipment further comprises a processor; 所述第一应用用于生成所述第一业务消息;The first application is used to generate the first service message; 当所述用户设备得到的所述第一域名对应的IP地址为私网地址时,所述处理器用于确定处于第一功能状态;When the IP address corresponding to the first domain name obtained by the user equipment is a private network address, the processor is used to determine that it is in a first functional state; 当所述用户设备得到的所述第一域名对应的IP地址为公网地址时,所述处理器用于确定处于第二功能状态。When the IP address corresponding to the first domain name obtained by the user equipment is a public network address, the processor is used to determine that it is in the second functional state. 20.根据权利要求19所述的用户设备,其特征在于,所述用户设备还包括显示屏;20. The user equipment according to claim 19, characterized in that the user equipment further comprises a display screen; 在所述第一功能状态下,所述显示屏用于展示所述第一应用处于高速通道的状态,在所述第二功能状态下,所述显示屏用于展示所述第一应用不处于高速通道的状态。In the first functional state, the display screen is used to display that the first application is in a high-speed channel state, and in the second functional state, the display screen is used to display that the first application is not in a high-speed channel state.
CN202310835709.2A 2023-07-07 2023-07-07 Service processing method, ONT and user equipment Pending CN119276833A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310835709.2A CN119276833A (en) 2023-07-07 2023-07-07 Service processing method, ONT and user equipment
PCT/CN2024/071247 WO2025010979A1 (en) 2023-07-07 2024-01-09 Service processing method, ont and user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310835709.2A CN119276833A (en) 2023-07-07 2023-07-07 Service processing method, ONT and user equipment

Publications (1)

Publication Number Publication Date
CN119276833A true CN119276833A (en) 2025-01-07

Family

ID=94115595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310835709.2A Pending CN119276833A (en) 2023-07-07 2023-07-07 Service processing method, ONT and user equipment

Country Status (2)

Country Link
CN (1) CN119276833A (en)
WO (1) WO2025010979A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160813A1 (en) * 2010-06-21 2011-12-29 Deutsche Telekom Ag Method and system for efficient use of a telecommunication network and the connection between the telecommunications network and a customer premises equipment
CN112887103B (en) * 2019-11-29 2022-08-26 华为技术有限公司 Communication method and device
CN115225605A (en) * 2021-03-29 2022-10-21 华为技术有限公司 Domain name access method and related equipment

Also Published As

Publication number Publication date
WO2025010979A1 (en) 2025-01-16

Similar Documents

Publication Publication Date Title
US6717944B1 (en) System, device, and method for allocating virtual circuits in a communication network
RU2382506C2 (en) Method and device for efficient vpn server interface, address allocation and signal transmission with local addressing domain
US6189102B1 (en) Method for authentication of network devices in a data-over cable system
US8559448B2 (en) Method and apparatus for communication of data packets between local networks
US9350815B2 (en) System and method for supporting multicast domain name system device and service classification
US20110246663A1 (en) Broadband network access
CN102171986B (en) A method and a gateway for providing multiple internet access
US11444915B2 (en) Service obtaining and providing methods, user equipment, and management server
RU2013106254A (en) METHOD OF TERMINAL ACCESS AUTHENTICATION AND EQUIPMENT LOCATED IN THE SUBSCRIBER'S TERRITORY
CN107094110B (en) DHCP message forwarding method and device
CN110493366B (en) Method and device for adding access point into network management
KR100636168B1 (en) Method and apparatus for obtaining IP address in DHCCP environment
CN110365557B (en) Network interconnection method and device
US20100195613A1 (en) Method, system and apparatus for heterogeneous addressing mapping
US11936614B2 (en) Method and apparatus for sending reply packet, computing device, and storage medium
CN108023971B (en) DHCP message forwarding method and device
CN114125995B (en) Data transmission method and device
EP2477372A1 (en) Method, device and terminal for obtaining terminal identifier
MXPA06011142A (en) Method and apparatus for obtaining server information in a wireless network.
US9749201B2 (en) Method and system for monitoring locator/identifier separation network
CN106330492B (en) A kind of method, apparatus and system configuring user equipment forwarding table
CN109842692B (en) VxLAN switch, system and method for obtaining host information in physical network
CN119276833A (en) Service processing method, ONT and user equipment
CN102811263A (en) Communication method and system based on IPv6 for mobile terminal and mobile terminal
CN107689881B (en) Message processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination