Obtaining method of routing policy, terminal and server
An acquisition method and server technology, applied in the field of terminal and server, and routing strategy acquisition method, can solve the problem of not being able to acquire routing information, but only acquiring IP addresses, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0041] Step 1, when the terminal accesses the network for the first time and requests network configuration, the DHCP server will send the routing policy together with the IP configuration to the terminal. in, image 3 is a schematic diagram of an extended DHCPv4 protocol format according to an embodiment of the present invention, the following image 3 Description of each field value in:
[0042] Code: Code value is to describe a specified DHCP option value;
[0043] Length (Len): The Len value is the length after describing the field;
[0044] Destination address (Destination): Destination is a field describing the destination IP address, occupying 4 bytes;
[0045] Subnet mask (Mask): Mask describes the subnet mask of the destination IP address, occupying 1 byte;
[0046] Type of Service (TOS for short): Following RFC 1349, this field describes the requirements of the specified IP flow, such as bandwidth, delay, etc.;
Embodiment 1
[0054] According to an embodiment of the present invention, a terminal is provided, Figure 4 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 4 As shown, the terminal includes: a sending module 42, a receiving module 44, and an acquiring module 46, and the structure will be described in detail below.
[0055] The sending module 42 is used to send the Dynamic Host Configuration Protocol DHCP request; the receiving module 44 is connected to the sending module 42 and is used to receive the DHCP response message from the DHCP server, wherein the DHCP response message carries the routing policy of the terminal; the acquisition module 46 Connected to the receiving module 44, used to obtain the routing policy from the DHCP response message.
[0056] Figure 5 is a specific structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 5 As shown, the acquiring module 46 in...
Embodiment 2
[0060] According to an embodiment of the present invention, a server is provided, Image 6 is a structural block diagram of a server according to an embodiment of the present invention, such as Image 6 As shown, the server includes: a second receiving module 62, an adding module 64, a sending module 66, and a generating module 68, and the structure will be described in detail below.
[0061] The second receiving module 62 is used to receive the DHCP request message of the incoming terminal; the generating module 68 is connected to the second receiving module 62, and is used to generate a DHCP response message according to the DHCP request message; the adding module 64 is connected to the generating module 68, It is used to add a predetermined code code and one or more routing strategies in the option field of the DHCP response message; the sending module 66 is connected to the adding module 64 and is used for sending the DHCP response message.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
