Communication methods and devices

By providing the mapping between IP address usage identifiers and service types through network management elements, the complexity of device adaptive IP address configuration in wireless networks is solved, enabling automatic determination of the applicable service type for IP addresses and reducing configuration and maintenance costs.

CN115955671BActive Publication Date: 2025-10-31HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111175630.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2025-10-31
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

In wireless networks, because each device has different IP addresses and VLAN configuration parameters, transmission configuration needs to be planned manually, which is not adaptive, wastes manpower, and requires replanning when adjusting transmission, increasing complexity.

Method used

By providing the mapping between IP address usage identifiers and service types through network management elements, the host can automatically generate applicable IP addresses and uniformly configure them through network management elements, reducing the need for differentiated configurations between devices.

Benefits of technology

It enables automatic determination of the applicable service type for an IP address under various service types and IP address conditions, reducing the complexity of network management and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115955671B_ABST
    Figure CN115955671B_ABST
Patent Text Reader

Abstract

This application provides a communication method and apparatus. The method includes a first network element obtaining a first correspondence from a network management network element. The first correspondence is a correspondence between the purpose identifier of an Internet Protocol (IP) address and the applicable service type of the IP address. The first network element obtains first information from the network management network element, including the purpose identifier corresponding to the first IP address. The first network element determines the applicable service type of the first IP address based on the first correspondence and the purpose identifier. According to the scheme of this application, when there are multiple applicable service types for an IP address, and multiple service types use multiple IP addresses, the first network element can determine the applicable service type of the first IP address based on the first correspondence obtained from the network management network element and the purpose identifier of the first IP address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and more specifically, to a communication method and apparatus. Background Technology

[0002] In current wireless networks, each device (such as a base station) transmits different management plane local network protocol (IP) addresses, signaling plane local IP addresses, user plane local IP addresses, and Internet Key Exchange (IKE) local IP addresses. Furthermore, due to differences in the transmission bearer network, each device's virtual local area network (VLAN), interface IPs, and routes also differ. Therefore, it is necessary to plan transmission-related configuration parameters for each device, which is time-consuming. Additionally, if adjustments are made to the transmission bearer network, each device must also be re-planned and adjusted, making adaptive and wasting manpower.

[0003] Internet Protocol version 6 (IPv6) supports the automatic generation of IP addresses using stateless address autoconfiguration (SLAAC) technology. When a host comes online, it sends a router solicit (RS) message to the router, requesting address configuration. Upon receiving the RS message, the router sends a router advertisement (RA) message to the host, carrying information such as the prefix used for automatic address configuration. Upon receiving the RA message, the host obtains the address prefix information and address-related parameters, and automatically generates an IPv6 address according to the methods defined by SLAAC.

[0004] However, when a host supports multiple service types, and these service types use multiple IP addresses, the host cannot determine the appropriate service type for the IP address automatically generated using SLAAC technology. For example, ... Figure 2 As shown, when the host generates IP address #1, it cannot determine which service type IP address #1 is applicable to. Therefore, determining the applicable service type for an automatically generated IP address is a problem that urgently needs to be solved. Summary of the Invention

[0005] This application provides a communication method and apparatus that enables a host to determine the type of service to which an automatically generated IP address is applicable.

[0006] Firstly, a communication method is provided, including:

[0007] The first network element obtains a first correspondence from the network management network element. This first correspondence is the mapping between the purpose identifier of an Internet Protocol (IP) address and the applicable service type of the IP address. The first network element obtains first information from the network management network element, which includes the purpose identifier of the first IP address. Based on the first correspondence and the purpose identifier of the first IP address, the first network element determines the applicable service type of the first IP address.

[0008] The applicable service types for the IP address include any of the following:

[0009] Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

[0010] According to the solution of this application, when there are multiple service types for which an IP address is applicable, and multiple service types use different IP addresses, the first network element can determine the service type for which the first IP address is applicable based on the first correspondence obtained from the network management network element and the purpose identifier of the first IP address.

[0011] The network management element can serve multiple first network elements simultaneously, configuring the same first correspondence relationship to each first network element. Therefore, the network management element does not need to perform differentiated configurations for each first network element, reducing the complexity of network management element configuration. If the first correspondence relationship is subsequently updated, the network management element only needs to reconfigure the updated first correspondence relationship to each first network element. Therefore, the scheme proposed in this application can reduce maintenance complexity.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, before the first network element obtains the first information from the network management network element, the method further includes:

[0013] The first network element generates the identifier and first IP address of the first VLAN based on the router's RA (Range Access Message) notification. The first network element then sends the first IP address and the first VLAN identifier to the network management network element.

[0014] It should be understood that the first IP address includes the prefix information of the first IP address.

[0015] According to the solution in this application, the operator does not need to plan the transmission configuration of the first network element. After the first network element generates the first IP address, the first network element can determine the service type applicable to the first IP address.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the first information also includes the first IP address and the identifier of the first VLAN.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, before the first network element obtains the first information from the network management network element, the method further includes:

[0018] The first network element sends a first request message to the network management network element. The first request message is used to request a first IP address. The first request message includes the purpose identifier of the first IP address, and the first IP address is an inner IP address.

[0019] The first piece of information also includes the first IP address.

[0020] According to the scheme in this application, in an IPsec scenario, the network management element can allocate an inner IP address to the first network element.

[0021] Secondly, a communication method is provided, including:

[0022] The network management element obtains a first correspondence and a second correspondence, wherein the first correspondence is the correspondence between the purpose identifier of the IP address and the applicable service type of the IP address, and the second correspondence is used to determine the purpose identifier of the IP address. The network management element obtains the identifier of the first VLAN and the first IP address from the first network element. The network management element determines the purpose identifier of the first IP address based on the second correspondence. The network management element sends first information to the first network element, the first information including the purpose identifier of the first IP address. The network management element sends the first correspondence to the first network element.

[0023] According to the scheme of this application, the network management element can send the purpose identifier and the first correspondence of the first IP address to the first network element, so that the first network element can determine the service type applicable to the first IP address based on the purpose identifier and the first correspondence of the first IP address.

[0024] According to the scheme of this application, the network management element can serve multiple first network elements simultaneously, and the network management element configures the same first correspondence relationship to each first network element. Therefore, the network management element does not need to perform differentiated configurations for each first network element, reducing the configuration complexity of the network management element. If the first correspondence relationship is updated subsequently, the network management element only needs to reconfigure the updated first correspondence relationship to each first network element. Therefore, adopting the scheme of this application can reduce maintenance complexity.

[0025] Furthermore, the network management element can obtain the second correspondence. When the second correspondence needs to be updated, it only needs to be updated on the network management element, without needing to update multiple first network elements. Therefore, the scheme proposed in this application can reduce maintenance complexity.

[0026] In conjunction with the second aspect, in some implementations of the second aspect, the second correspondence includes any one of the following:

[0027] The correspondence between IP address network segments and IP address purpose identifiers, the correspondence between VLAN identifiers and IP address purpose identifiers, and the correspondence between the combination of IP address network segments and VLAN identifiers and IP address purpose identifiers.

[0028] The VLAN identifier can be either the identifier of a blacklisted VLAN or the identifier of a whitelisted VLAN.

[0029] In conjunction with the second aspect, in some implementations of the second aspect, the first information also includes the identifier of the first VLAN and the first IP address.

[0030] Thirdly, a communication method is provided, including:

[0031] The network management element sends a first mapping relationship to the first network element. This first mapping relationship is the correspondence between the purpose identifier of an IP address and the applicable service type of the IP address. The network management element receives a first request message from the first network element. This first request message requests a first IP address and includes the purpose identifier of the first IP address. The first IP address is an inner-layer IP address. The network management element determines the first IP address from a target IP address pool, where the target IP address pool corresponds to the purpose identifier of the first IP address. The network management element sends first information to the first network element. This first information includes the first IP address and the purpose identifier of the first IP address.

[0032] According to the scheme of this application, in the IPsec scenario, the network management network element can configure a first correspondence relationship to the first network element, and further, the network management network element allocates an inner IP address and a purpose identifier of the inner IP address to the first network element, so that the first network element can determine the service type applicable to the inner IP address based on the purpose identifier of the inner IP address and the first correspondence relationship.

[0033] Fourthly, a communication method is provided, including:

[0034] The first network element obtains the third mapping relationship from the network management network element. This third mapping relationship corresponds to the network segment of the IP address and the applicable service type of the IP address. The first network element generates a first IP address based on the RA message. The first network element then determines the applicable service type of the first IP address based on the third mapping relationship and the network segment of the first IP address.

[0035] According to the scheme of this application, the first network element can determine the service type applicable to the automatically generated first IP address based on the third correspondence.

[0036] The network management element can serve multiple first network elements simultaneously, configuring the same third correspondence relationship to each first network element. Therefore, the network management element does not need to perform differentiated configurations for each first network element, reducing the complexity of network management element configuration. If the third correspondence relationship is subsequently updated, the network management element only needs to reconfigure the updated third correspondence relationship to each first network element. Therefore, the scheme proposed in this application can reduce maintenance complexity.

[0037] In conjunction with the fourth aspect, in some implementations of the fourth aspect, the applicable service types for the IP address include any of the following:

[0038] Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

[0039] Fifthly, a communication method is provided, including:

[0040] The network management element obtains the third mapping relationship, which is the mapping between the network segment of the IP address and the service type applicable to the IP address. The network management element sends the third mapping relationship to the first network element.

[0041] In conjunction with the fifth aspect, in some implementations of the fifth aspect, the applicable service types for IP addresses include any of the following:

[0042] Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

[0043] Sixthly, a communication method is provided, including:

[0044] The network management element obtains a third mapping relationship, which is the mapping between the network segment of the IP address and the applicable service type of the IP address. The network management element obtains the identifier of the first VLAN and the first IP address from the first network element. Based on the third mapping relationship and the network segment of the first IP address, the network management element determines the applicable service type of the first IP address. The network management element sends second information to the first network element, which includes the applicable service type of the first IP address.

[0045] According to the scheme of this application, the network management element obtains the third mapping relationship, determines the service type applicable to the first IP address based on the third mapping relationship, and then notifies the first network element of the applicable service type for the first IP address. If the third mapping relationship needs to be updated subsequently, it only needs to be updated on the network management element. Therefore, adopting the scheme of this application can reduce the complexity of maintenance.

[0046] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the second information also includes the identifier of the first VLAN and the first IP address.

[0047] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the applicable service types for the IP address include any of the following:

[0048] Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

[0049] A seventh aspect provides a communication device comprising a unit for performing the method in any possible implementation of the first or fourth aspect.

[0050] Eighthly, a communication device is provided, the communication device including a unit for performing the method in any one of the possible implementations of the second, third, fifth, and sixth aspects.

[0051] A ninth aspect provides a communication device, including a communication interface and a processor, and optionally a memory, wherein the processor is configured to execute a computer program or instructions stored in the memory, causing the communication device to perform a method in any of the possible implementations of the first to sixth aspects.

[0052] The memory may be located in the processor or may be implemented in a separate chip from the processor; this application does not specifically limit this.

[0053] A tenth aspect provides a computer-readable storage medium including a computer program that, when run on a computer, causes the computer to perform the method in any of the possible implementations of the first to sixth aspects.

[0054] Eleventh aspect, a chip is provided, on which a processing circuit is provided, the processing circuit being used to execute the method in any of the possible implementations of the first to sixth aspects.

[0055] In the twelfth aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instructions) that, when executed, causes a computer to perform a method in any of the possible implementations of the first to sixth aspects. Attached Figure Description

[0056] Figure 1 The architecture of a communication system to which embodiments of this application are applicable is shown.

[0057] Figure 2 This illustrates one possible scenario to which embodiments of this application apply.

[0058] Figure 3 An example of a schematic interactive diagram of the method proposed in this application is shown.

[0059] Figure 4 An example of the first correspondence is shown.

[0060] Figure 5 Another example of the first correspondence is shown.

[0061] Figure 6 The packet structure in an IPsec scenario is shown.

[0062] Figure 7 An example is shown where the service type applicable to a first IP address is determined based on a first correspondence.

[0063] Figure 8 Another example is shown where the service type applicable to the first IP address is determined based on the first correspondence.

[0064] Figure 9 Another illustrative interactive diagram of the method proposed in this application is shown.

[0065] Figure 10 Another example of the first correspondence is shown.

[0066] Figure 11 Another example is shown where the service type applicable to the first IP address is determined based on the first correspondence.

[0067] Figure 12 Another illustrative interactive diagram of the method proposed in this application is shown.

[0068] Figure 13 An example of a third correspondence is shown.

[0069] Figure 14 An example is shown where the service type applicable to the first IP address is determined based on a third correspondence.

[0070] Figure 15 Another illustrative interactive diagram of the method proposed in this application is shown.

[0071] Figure 16 An example of the second information is shown.

[0072] Figure 17 A schematic block diagram of a communication device provided in this application is shown.

[0073] Figure 18 A schematic block diagram of the communication device provided in this application is shown. Detailed Implementation

[0074] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0075] Figure 1 A schematic diagram of the system architecture applicable to the embodiments of this application is shown.

[0076] The following is combined Figure 1 This application introduces the network elements included in it.

[0077] 1. Access network equipment

[0078] The access network device can be an access point (AP) in WLAN, a base transceiver station (BTS) in GSM or CDMA, a base station (nodeB, NB) in WCDMA, a gNB in ​​a new radio (NR) system, an evolved Node B (eNB or eNodeB) in LTE, or a radio access network (RAN) device in 5G networks. The embodiments in this application are not limited to this.

[0079] 2. Management plane network element

[0080] The management plane element can be a network management element (also known as a network manager).

[0081] 3. Control plane network elements

[0082] The control plane network element can be a mobility management network element. A mobility management network element is a network element used to manage the mobility of terminal devices. For example, in a 4G network, it can be a mobility management entity (MME), and in a 5G network, it can be an access and mobility management function (AMF). In future communication systems, the access and mobility management function network element can still be an AMF network element, or it can have other names; this application does not limit this.

[0083] 4. User plane network elements

[0084] In 5G communication systems, this user plane network element can be a user plane function (UPF) network element. In future communication systems, the user plane network element can still be a UPF network element, or it can have other names; this application does not limit this.

[0085] In 4G communication systems, this user plane network element can also be a serving gateway (SGW).

[0086] It should be understood that the first network element in this application can be an access network device, a host, etc.

[0087] Figure 3 This application illustrates one possible solution; it should be understood that... Figure 3 The method shown is applicable to Figure 1 In the system architecture shown.

[0088] S301, the network management element obtains the first and second correspondence relationships.

[0089] In one possible implementation, the user can configure the first and second correspondences to the network management element. Alternatively, the network management element can obtain the first and second correspondences through other means, such as generating them locally. This application does not limit this approach.

[0090] The first correspondence is the mapping between the purpose identifier of an Internet Protocol (IP) address and the type of service to which the IP address is applicable. This first correspondence may also be called a general transmission configuration template, or have other names, which are not limited in this application.

[0091] The second correspondence is used to determine the purpose identifier of the IP address. This second correspondence may also be called the transmission parameter purpose strategy, or have other names, which are not limited in this application.

[0092] The first correspondence is described below. Optionally, the first correspondence may include any of the following situations.

[0093] Situation A:

[0094] IP addresses are associated with their purpose through interface IDs, and service types are associated with IP addresses through IP address IDs. In other words, the purpose identifier and the applicable service type for an IP address are indirectly linked.

[0095] It should be understood that upper-layer applications determine their IP addresses by referencing the IP address's ID.

[0096] An example, such as Figure 4 As shown, the IP address is associated with purpose identifier #1 through the interface with ID=1, and service type #A is associated with the IP address through the IP address with ID=1; the IP address is associated with purpose identifier #2 through the interface with ID=2, and service type #B and service type #C are associated with the IP address through the IP address with ID=2. Figure 4 In the code: :VLAN=0 indicates that the VLAN is automatically generated, and :IP=::0 indicates that the IP address is automatically generated.

[0097] The meanings of :VLAN=0 and :IP=::0 will not be elaborated further below.

[0098] This application repeatedly mentions the types of services for which IP addresses are applicable, and the types of services for which IP addresses are applicable include, but are not limited to, any of the following:

[0099] Management plane (MP) services, control plane (CP) services, user plane (UP) services, IKE services, and IP clock (IPCLK) services.

[0100] The types of services for which IP addresses are applicable will not be discussed further below.

[0101] Situation B:

[0102] The purpose identifier of an IP address is associated with the type of business to which the IP address is applicable through an interface ID.

[0103] An example, such as Figure 5 As shown, Purpose Identifier #1 is associated with Business Type #A through Interface ID; Purpose Identifier #2 is associated with Business Type #B through Interface ID; and Purpose Identifier #3 is associated with Business Type #C through Interface ID.

[0104] The second correspondence is described below. Optionally, the second correspondence may include any of the following situations.

[0105] Scenario 1:

[0106] The second mapping relationship includes the mapping between the network segment of the IP address and the purpose identifier of the IP address.

[0107] For example, the second correspondence is shown in Table 1.

[0108] Table 1

[0109] IP address network segment IP address purpose identifier Network segment #A Purpose Identifier #1 Network segment #B Purpose Identifier #2

[0110] It should be understood that Table 1 is for illustrative purposes only. In some cases, the relationship between the network segment of an IP address and the purpose identifier of the IP address may not be one-to-one. For example, multiple network segments may correspond to one purpose identifier. This is not a limitation.

[0111] Operators can group IP addresses applicable to the same service type under the same network segment. Therefore, in some scenarios, the network segment of an IP address can be used to determine the applicable service type.

[0112] Scenario 2:

[0113] The second mapping relationship includes the mapping relationship between VLAN identifiers and the purpose identifiers of IP addresses.

[0114] For example, the second correspondence is shown in Table 2.

[0115] Table 2

[0116]

[0117]

[0118] It should be understood that Table 2 is for illustrative purposes only. In some cases, the relationship between VLAN identifiers and IP address purpose identifiers may not be one-to-one. For example, multiple VLAN identifiers may correspond to one purpose identifier. This is not a limitation.

[0119] Scenario 3:

[0120] The second correspondence includes the correspondence between the IP address network segment and VLAN identifier and the IP address purpose identifier.

[0121] For example, the second correspondence is shown in Table 3.

[0122] Table 3

[0123] IP address network segment VLAN ID IP address purpose identifier Network segment #A VLAN#A Purpose Identifier #1 Network segment #B VLAN#B Purpose Identifier #2

[0124] It should be understood that Table 3 is for illustrative purposes only. In some cases, multiple network segments and multiple VLAN identifiers can correspond to a single purpose identifier. There are no restrictions.

[0125] It should be understood that, in addition to the three situations mentioned above, the second correspondence can also be the correspondence between a special field in the VLAN identifier and the purpose identifier of the IP address, or the correspondence between a special field in the IP address and the purpose identifier of the IP address, etc. This application does not limit this.

[0126] In cases 2 and 3 above, the VLAN identifier can be either the identifier of a blacklisted VLAN or the identifier of a whitelisted VLAN.

[0127] For example, when the VLAN identifier in case 2 is the identifier of the blacklisted VLAN, VLAN#A and purpose identifier #1 in Table 2 indicate that the purpose identifier corresponding to other VLANs besides VLAN#A is purpose identifier #1.

[0128] For example, when the VLAN identifier in case 2 is the identifier of the whitelisted VLAN, in the following text, if the VLAN identifier generated by the first network element is VLAN#A, then the first network element can determine the purpose identifier corresponding to VLAN#A as purpose identifier #1 based on the information included in Table 2.

[0129] According to the scheme of this application, the network management element can obtain the second correspondence. When the second correspondence needs to be updated, it only needs to be updated on the network management element, without needing to update multiple first network elements. Therefore, adopting the scheme of this application can reduce the complexity of maintenance.

[0130] Furthermore, users can configure the second mapping relationship to network management elements using JSON, XML, scripts, or other methods without restriction. When the second mapping relationship needs to be updated, no software upgrade is required.

[0131] S302, the first network element generates the identifier of the first VLAN and the first IP address based on the router advertisement (RA) message.

[0132] Optionally, in a non-IPsec security scenario, the first network element can automatically generate an IP address based on the RA message using stateless address autoconfiguration (SLAAC) technology and initiate duplicate address detection (DAD). The first IP address can be the IP address determined by the first network element based on DAD detection. Automatically generating an IP address using SLAAC technology includes automatically generating an IP address using the EUI64 or 7217 protocol.

[0133] Alternatively, in an IPsec scenario, the first network element can also automatically generate an IP address using SLAAC technology based on the RA packet and initiate DAD detection. The first IP address can be the IP address determined by the first network element based on DAD detection. Furthermore, this first IP address is the IKE local address. In other words, the first IP address is the outer IP address.

[0134] Figure 6 The packet structure in an IPsec scenario is shown below. Figure 6 This section explains IP addresses in the context of IPsec.

[0135] Depend on Figure 6As can be seen, an IP address includes an outer IP address and an inner IP address. The outer IP address can be generated by the first network element based on the RA message. The inner IP address, however, is not generated by the first network element based on the RA message; this will be described in detail below and will not be elaborated upon here.

[0136] S303, the first network element sends the identifier and first IP address of the first VLAN to the network management network element. Correspondingly, the network management network element receives the identifier and first IP address of the first VLAN.

[0137] It should be understood that the first IP address includes the prefix information of the first IP address.

[0138] S304, The network management element determines the purpose identifier of the first IP address based on the second correspondence.

[0139] Optionally, the network management element may determine the purpose identifier of the first IP address based on the second correspondence, which may include any of the following cases.

[0140] Scenario 1:

[0141] Corresponding to Case 1 in S301, the network management element can determine the purpose identifier of the first IP address based on the network segment of the first IP address and the second correspondence.

[0142] Scenario 2:

[0143] Corresponding to Case 2 in S301, the network management element can determine the purpose identifier of the first IP address based on the identifier of the first VLAN and the second correspondence.

[0144] Scenario 3:

[0145] Corresponding to case 3 in S301, the network management element can determine the purpose identifier of the first IP address based on the identifier of the first VLAN, the network segment of the first IP address, and the second correspondence.

[0146] S305, the network management element sends first information to the first network element, the first information including the purpose identifier of the first IP address, the identifier of the first VLAN, and the first IP address. Correspondingly, the first network element receives the first information.

[0147] It should be understood that the first IP address includes the prefix information of the first IP address.

[0148] Optionally, as one possibility, steps S303-S305 above can be performed during the process of establishing a maintenance channel between the first network element and the network management network element. It should be understood that the maintenance channel is the management plane MP channel.

[0149] In this scenario, in S303, the first network element can send the identifier of the first VLAN and the first IP address to the network management network element via a Dynamic Host Configuration Protocol (DHCP) request message; in S305, the network management network element can send the first information to the first network element via a Dynamic Host Configuration Protocol (DHCP) ACK message.

[0150] Alternatively, as another option, steps S303-S305 can be performed after the maintenance channel between the first network element and the network management network element is established. That is, the data is sent through the MP channel after the MP channel is established.

[0151] It should be understood that when the first network element establishes a maintenance channel with the network management network element, the first network element can send its IP address to the network management network element; or, the network management network element can send its IP address to the first network element.

[0152] The establishment of a maintenance channel between the first network element and the network management network element will not be elaborated further below.

[0153] S306, the network management element can send the first correspondence to the first network element. Accordingly, the first network element obtains the first correspondence from the network management element.

[0154] In one scenario, after the maintenance channel between the network management element and the first network element is established, the first network element can send the first correspondence relationship to the first network element.

[0155] It should be understood that network management elements can configure the interface (VLAN sub-interface) where the purpose identifier in the first correspondence is located to the Ethernet port (ETHPORT).

[0156] According to the scheme of this application, the network management element can serve multiple first network elements simultaneously, and the network management element configures the same first correspondence relationship to each first network element. Therefore, the network management element does not need to perform differentiated configurations for each first network element, reducing the configuration complexity of the network management element. If the first correspondence relationship is updated subsequently, the network management element only needs to reconfigure the updated first correspondence relationship to each first network element. Therefore, adopting the scheme of this application can reduce maintenance complexity.

[0157] S307, the first network element determines the service type applicable to the first IP address based on the first correspondence and the purpose identifier of the first IP address.

[0158] The following explains the service type applicable to determining the first IP address for the first network element.

[0159] Method 1:

[0160] This corresponds to case A in S301.

[0161] An example, such as Figure 7 As shown, the purpose identifier of the first IP address is purpose identifier #1, the identifier of the first VLAN is VLAN 100, and the first IP address is ::2408:8161:2100:0000::1 / 64. Since the purpose identifier #1 in the first correspondence corresponds to the service type #A, the first network element can determine that the first IP address is applicable to service type #A, and at the same time determine that VLAN 100 corresponds to the interface with ID=1.

[0162] Method 2:

[0163] This corresponds to case B in S301.

[0164] An example, such as Figure 8 As shown, the purpose identifier of the first IP address is purpose identifier #1, the identifier of the first VLAN is VLAN 100, and the first IP address is ::2408:8161:2100:0000::1 / 64. Since the purpose identifier #1 in the first correspondence corresponds to the service type #A, the first network element can determine that the first IP address is applicable to service type #A, and at the same time determine that VLAN 100 corresponds to the interface with ID=1.

[0165] According to the solution of this application, when there are multiple service types for which an IP address is applicable, and multiple service types use different IP addresses, the first network element can determine the service type for which the first IP address is applicable based on the first correspondence obtained from the network management network element and the purpose identifier of the first IP address.

[0166] In addition, operators do not need to plan the transmission configuration of the first network element. Once the first network element generates the first IP address, the first network element can determine the type of service applicable to the first IP address.

[0167] Figure 9 This application illustrates one possible solution; it should be understood that... Figure 9 The method shown is applicable to Figure 1 In the system architecture shown in (b) above.

[0168] S901, the network management element obtains the first mapping relationship. The first mapping relationship is the correspondence between the purpose identifier of the IP address and the service type to which the IP address is applicable.

[0169] In one possible implementation, the user can configure the first correspondence with the network management element.

[0170] An example, such as Figure 10As shown, the purpose identifier is associated with the IP address through the interface ID, and the IP address is associated with the service type through the IP address ID.

[0171] S902, the network management element sends the first correspondence to the first network element. Accordingly, the first network element obtains the first correspondence.

[0172] In one scenario, the network management element can establish a maintenance channel with the first network element. After the maintenance channel is established, the network management element sends the first correspondence to the first network element.

[0173] It should be understood that at this time, the network management element will configure the interface containing the purpose identifier in the first correspondence to the loopback interface.

[0174] S903, the first network element sends a first request message to the network management network element. Correspondingly, the network management network element receives the first request message.

[0175] The first request message is used to request a first IP address. The first request message includes an identifier indicating the purpose of the first IP address. The first IP address is an inner IP address.

[0176] An example, such as Figure 10 As shown, the first correspondence includes purpose identifier #1 and purpose identifier #2. The first network element sends a first request message to the network management network element based on the purpose identifiers included in the first correspondence. The first request message may include purpose identifier #1 and purpose identifier #2. That is, the first request message is used to request the inner IP address corresponding to purpose identifier #1 and the inner IP address corresponding to purpose identifier #2.

[0177] In one scenario, after the first network element has established a maintenance channel with the network management network element and obtained the first correspondence, it can send a first request message to the network management network element.

[0178] S904, the network management element determines the first IP address from the target IP address pool. The target IP address pool corresponds to the purpose identifier of the first IP address.

[0179] It should be understood that at least one target IP address pool and a corresponding purpose identifier for each target IP address pool are pre-configured in the network management network element.

[0180] As an example, users can configure the target IP address pool and the purpose identifier corresponding to the target IP address pool to the network management.

[0181] The network management element can determine the first IP address from the target IP address pool based on the first request message.

[0182] In one example, the first request message includes purpose identifier #1 and purpose identifier #2. The network management element determines IP address #1 (an example of the first IP address) from the target address pool corresponding to purpose identifier #1, and determines IP address #2 (another example of the first IP address) from the target address pool corresponding to purpose identifier #2.

[0183] S905, the network management element sends first information to the first network element, the first information including a first IP address and a purpose identifier of the first IP address. Correspondingly, the first network element receives the first information.

[0184] It should be understood that, such as Figure 5 As shown, in an IPsec scenario, this first IP address is an inner IP address. That is, in an IPsec scenario, the first network element obtains its outer IP address and inner IP address differently. Specifically, the inner IP address is assigned to the first network element by the network management network element.

[0185] In one scenario, the network management element can send the first information to the first network element after the maintenance channel between the network management element and the first network element has been established.

[0186] S906, the first network element determines the service type applicable to the first IP address based on the first correspondence and the purpose identifier of the first IP address.

[0187] An example, such as Figure 11 As shown, the purpose identifier of the first IP address is purpose identifier #1, and the first IP address is ::2408:8161:2100:0000::1 / 64. Since the purpose identifier #1 in the first correspondence corresponds to the service type #A, the first network element can determine that the first IP address is applicable to service type #A.

[0188] According to the solution in this application, in an IPsec scenario, the network management network element can allocate an inner IP address and a purpose identifier of the inner IP address to the first network element, so that the first network element can determine the service type applicable to the inner IP address based on the purpose identifier of the inner IP address and the first correspondence.

[0189] Figure 12 This application illustrates one possible solution; it should be understood that... Figure 12 The method shown is applicable to Figure 1 In the system architecture shown in (a) above.

[0190] S1201, the network management element obtains the third mapping relationship. This third mapping relationship is the mapping relationship between the network segment of the IP address and the service type applicable to the IP address.

[0191] One possible scenario is that the user configures a third-party mapping relationship with the network management element.

[0192] An example, such as Figure 13 As shown, network segment #A corresponds to service type #A through IP address ID; network segment #B corresponds to service type #B and service type #C through IP address ID.

[0193] S1202, the network management element sends the third correspondence to the first network element. Correspondingly, the first network element obtains the third correspondence from the network management element.

[0194] In one scenario, after the maintenance channel between the network management element and the first network element is established, the third corresponding relationship can be sent to the first network element.

[0195] It should be understood that network management elements can configure the interface (VLAN sub-interface) corresponding to the network segment in the third correspondence to the ETHPORT of the first element.

[0196] According to the scheme of this application, the network management element can serve multiple first network elements simultaneously, and the network management element configures the same third correspondence relationship to each first network element. Therefore, the network management element does not need to perform differentiated configurations for each first network element, reducing the configuration complexity of the network management element. If the third correspondence relationship is updated subsequently, the network management element only needs to reconfigure the updated third correspondence relationship to each first network element. Therefore, adopting the scheme of this application can reduce maintenance complexity.

[0197] S1203, the first network element generates the first IP address based on the RA message.

[0198] It should be understood that the first network element can also generate the identifier of the first VLAN based on the received RA message.

[0199] The process is the same as S302; please refer to the description of S302 for details.

[0200] S1204, the first network element determines the applicable service type of the first IP address based on the network segment of the first IP address and the third correspondence.

[0201] An example, such as Figure 14 As shown, the network segment of the first IP address is network segment #A, and the identifier of the first VLAN is VLAN100. Since network segment #A corresponds to service type #A in the third correspondence, the first network element determines that the first IP address is applicable to service type #A.

[0202] In another possible implementation, the first network element can determine the service type applicable to the first IP address based on the third correspondence and the prefix of the first IP address included in the RA message.

[0203] Figure 15 This application illustrates one possible solution; it should be understood that... Figure 15 The method shown is applicable to Figure 1 In the system architecture shown in (a) above.

[0204] S1501, the network management element obtains the third mapping relationship, which is the mapping relationship between the network segment of the IP address and the service type applicable to the IP address.

[0205] This process is the same as S1201, and you can refer to the description of S1201 for details.

[0206] S1502, the first network element generates the identifier of the first VLAN and the first IP address based on the RA message.

[0207] The process is the same as S302; please refer to the description of S302 for details.

[0208] S1503, the first network element sends the identifier and first IP address of the first VLAN to the network management network element. Correspondingly, the network management network element obtains the identifier and first IP address of the first VLAN from the first network element.

[0209] It should be understood that the first IP address includes the prefix information of the first IP address.

[0210] S1504, the network management element determines the applicable service type of the first IP address based on the third correspondence and the network segment of the first IP address.

[0211] S1505, the network management element sends second information to the first network element, the second information including the service type applicable to the first IP address. Accordingly, the first network element receives the second information.

[0212] Optionally, the second information may also include the identifier of the first VLAN and the first IP address. It should be understood that the first IP address includes the prefix information of the first IP address.

[0213] An example, such as Figure 16 As shown, the second information includes the identifier of the first VLAN as VLAN100, the first IP address as ::2408:8161:2100:0000::1 / 64, and the service type applicable to the first IP address as service type #A.

[0214] It should be understood that the network management element can configure the second information to the ETH interface of the first element.

[0215] In one scenario, step S1503 can be performed during the establishment of a maintenance channel between the first network element and the network management network element. For example, in S1503, the first network element can send the identifier of the first VLAN and the first IP address to the network management network element via a DHCP request message. Step S1505 can be performed after the maintenance channel between the first network element and the network management network element has been established.

[0216] According to the scheme of this application, the network management element obtains the third correspondence and determines the service type applicable to the first IP address reported by the first network element based on the third correspondence, and then notifies the first network element of the service type applicable to the first IP address. If the third correspondence needs to be updated subsequently, it only needs to be updated on the network management element. Therefore, adopting the scheme of this application can reduce the complexity of maintenance.

[0217] According to the aforementioned method, Figure 17 A communication device (such as a first network element or a network management network element) provided in the embodiments of this application includes a transceiver unit 1701 and a processing unit 1702.

[0218] The transceiver unit 1701 can be used to implement corresponding communication functions. The transceiver unit 1701 can also be referred to as a communication interface or communication unit. The processing unit 1702 can be used to perform processing operations.

[0219] Optionally, the device further includes a storage unit that can be used to store instructions and / or data. The processing unit 1702 can read the instructions and / or data in the storage unit to enable the device to perform the actions of the device (such as the first network element or the network management network element) in the foregoing method embodiments.

[0220] In the first design, the device can be the first network element in the aforementioned embodiments, or a component of the first network element (such as a chip). The device can implement the steps or processes corresponding to the first network element executed in the above method embodiments, wherein the transceiver unit 1701 can be used to perform the transceiver-related operations of the first network element in the above method embodiments, and the processing unit 1702 can be used to perform the processing-related operations of the first network element in the above method embodiments.

[0221] In one scenario, transceiver unit 1701 is configured to obtain a first correspondence from a network management element, the first correspondence being the correspondence between the purpose identifier of an Internet Protocol IP address and the applicable service type of the IP address; transceiver unit 1701 is further configured to obtain first information from a network management element, the first information including the purpose identifier corresponding to the first IP address; and processing unit 1702 is configured to determine the applicable service type of the first IP address based on the first correspondence and the purpose identifier corresponding to the first IP address.

[0222] Optionally, the processing unit 1702 is further configured to generate a first IP address based on the router advertisement RA information received from the interface corresponding to the first virtual local area network VLAN; the transceiver unit 1701 is further configured to send the first IP address and the identifier of the first VLAN to the network management element.

[0223] In another scenario, transceiver unit 1701 is used to obtain a third correspondence from network management elements, the third correspondence being the correspondence between the network segment of the IP address and the service type applicable to the IP address; processing unit 1702 is used to generate a first IP address based on the RA information received from the interface corresponding to the first VLAN; processing unit 1702 is also used to determine the service type applicable to the first IP address based on the third correspondence and the network segment of the first IP address.

[0224] In the second design, the device can be a network management element in the foregoing embodiments, or a component of the network management element (such as a chip). This device can implement the steps or processes corresponding to those executed by the network management element in the above method embodiments. Specifically, the transceiver unit 1701 can be used to perform transceiver-related operations of the network management element in the above method embodiments, and the processing unit 1702 can be used to perform processing-related operations of the network management element in the above method embodiments.

[0225] In one scenario, transceiver unit 1701 is configured to obtain a second correspondence, which is used to determine the purpose identifier of the IP address; transceiver unit 1701 is also configured to obtain the identifier of the first VLAN and the first IP address from the first network element; processing unit 1702 is configured to determine the purpose identifier of the first IP address based on the second correspondence; transceiver unit 1701 is also configured to send first information to the first network element, which includes the purpose identifier of the first IP address.

[0226] Optionally, the transceiver unit 1701 is further configured to obtain a first correspondence, which is a correspondence between the purpose identifier of the IP address and the service type applicable to the IP address; the transceiver unit 1701 is further configured to send the first correspondence to the first network element.

[0227] In another scenario, the transceiver unit 1701 is configured to obtain a first IP address from a target IP address pool, wherein the IP addresses included in the target IP address pool are applicable to the same service type; the processing unit 1702 is configured to determine the purpose identifier of the first IP address based on the service type applicable to the target IP address pool; the transceiver unit 1701 is also configured to send first information to a first network element, wherein the first information includes the first IP address and the purpose identifier of the first IP address.

[0228] In another scenario, transceiver unit 1701 is used to obtain a third correspondence, which is the correspondence between the network segment of the IP address and the service type applicable to the IP address; transceiver unit 1701 is also used to send the third correspondence to the first network element.

[0229] In another scenario, transceiver unit 1701 is used to obtain a third correspondence, which is the correspondence between the network segment of the IP address and the service type applicable to the IP address; transceiver unit 1701 is also used to obtain the identifier of the first VLAN and the first IP address from the first network element; processing unit 1702 is used to determine the service type applicable to the first IP address based on the third correspondence and the network segment of the first IP address; transceiver unit 1701 is also used to send second information to the first network element, the second information including the service type applicable to the first IP address.

[0230] It should be understood that the specific process of each unit performing the above-mentioned corresponding steps has been described in detail in the above-mentioned method embodiments, and will not be repeated here for the sake of brevity.

[0231] It should also be understood that the apparatus described here is embodied in the form of a functional unit. The term "unit" here can refer to an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the apparatus may specifically be a first network element in the above embodiments, used to execute the various processes and / or steps corresponding to the first network element in the above method embodiments; or, the apparatus may specifically be a network management network element in the above embodiments, used to execute the various processes and / or steps corresponding to the network management network element in the above method embodiments. To avoid repetition, further details are omitted here.

[0232] The aforementioned communication device has the function of implementing the corresponding steps performed by the device (such as the first network element or the network management network element) in the above method. The function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above function; for example, the transceiver unit can be replaced by a transceiver (e.g., the transmitting unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver), and other units, such as processing units, can be replaced by processors, each executing the transceiver operations and related processing operations in its respective method embodiment.

[0233] In addition, the transceiver unit 1701 described above can also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit), and the processing unit can be a processing circuit.

[0234] It should be pointed out that, Figure 17 The device mentioned can be the device in the aforementioned method embodiments (such as the first network element or network management network element), or it can be a chip or a chip system, such as a system on chip (SoC). The transceiver unit can be an input / output circuit or a communication interface; the processing unit is a processor, microprocessor, or integrated circuit integrated on the chip. No limitations are imposed here.

[0235] This application also provides a communication device, such as... Figure 18 As shown, the system includes a processor 1801 and a communication interface 1802. The processor 1801 is used to execute computer programs or instructions stored in the memory 1803, or to read data stored in the memory 1803, to perform the methods in the above-described method embodiments. Optionally, there may be one or more processors 1801. The communication interface 1802 is used for receiving and / or transmitting signals. For example, the processor 1801 is used to control the communication interface 1802 to receive and / or transmit signals.

[0236] Optionally, such as Figure 18 As shown, the communication device also includes a memory 1803 for storing computer programs or instructions and / or data. The memory 1803 may be integrated with the processor 1801 or may be separately configured. Optionally, there may be one or more memories 1803.

[0237] Optionally, the processor 1801, communication interface 1802, and memory 1803 are interconnected via bus 1804; bus 1804 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 1804 can be divided into address bus, data bus, and control bus, etc. For ease of representation, Figure 18 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0238] As an alternative, the communication device is used to implement the operations performed by the first network element or the network management network element in the various method embodiments described above.

[0239] For example, processor 1801 is used to execute computer programs or instructions stored in memory 1803 to implement the relevant operations of the first network element in the various method embodiments described above. For example, Figure 3 The method executed by the first network element in the illustrated embodiment.

[0240] For example, processor 1801 is used to execute computer programs or instructions stored in memory 1803 to implement the relevant operations of network management elements in the various method embodiments described above. For example, Figure 3 The method executed by the network management element in the illustrated embodiment.

[0241] It should be understood that the processor mentioned in the embodiments of this application (such as processor 1801) may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP. The processor may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0242] It should also be understood that the memory mentioned in the embodiments of this application (such as memory 1803) can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache.

[0243] The technical solutions of this application embodiment can be applied to various communication systems, such as: Global System for Mobile Communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, future 5th generation (5G) systems, or new radio (NR), etc.

[0244] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0245] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0246] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0247] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0248] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0249] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0250] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, include: The first network element obtains the first correspondence from the network management network element. The first correspondence is the correspondence between the purpose identifier of the Internet Protocol IP address and the service type applicable to the IP address. The first network element generates the identifier of the first VLAN and the first IP address based on the router's announcement RA message; The first network element sends the first IP address and the identifier of the first VLAN to the network management network element; The first network element obtains first information from the network management network element, the first information including the purpose identifier of the first IP address; The first network element determines the service type applicable to the first IP address based on the first correspondence and the purpose identifier of the first IP address.

2. The method according to claim 1, characterized in that, The first information also includes the first IP address and the identifier of the first VLAN.

3. The method according to claim 1 or 2, characterized in that, The IP address is applicable to any of the following service types: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

4. A communication method, characterized in that, include: The first network element obtains the first correspondence from the network management network element. The first correspondence is the correspondence between the purpose identifier of the Internet Protocol IP address and the service type to which the IP address is applicable. The first network element sends a first request message to the network management network element. The first request message is used to request a first IP address and includes a purpose identifier of the first IP address. The first network element obtains first information from the network management network element. The first information includes the purpose identifier of the first IP address and the first IP address itself, wherein the first IP address is an inner IP address. The first network element determines the service type applicable to the first IP address based on the first correspondence and the purpose identifier of the first IP address.

5. The method according to claim 4, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

6. A communication method, characterized in that, include: Network management elements obtain the first and second correspondence relationships; The first correspondence is the correspondence between the purpose identifier of the IP address and the service type applicable to the IP address, and the second correspondence is used to determine the purpose identifier of the IP address. The network management element obtains the identifier of the first VLAN and the first IP address from the first network element; The network management element determines the purpose identifier of the first IP address based on the second correspondence. The network management element sends first information to the first network element, the first information including the purpose identifier of the first IP address; The network management element sends the first correspondence to the first network element.

7. The method according to claim 6, characterized in that, The second correspondence includes any one of the following: The correspondence between IP address network segments and IP address purpose identifiers, the correspondence between VLAN identifiers and IP address purpose identifiers, and the correspondence between the combination of IP address network segments and VLAN identifiers and IP address purpose identifiers; The VLAN identifier is either the identifier of a blacklisted VLAN or the identifier of a whitelisted VLAN.

8. The method according to claim 6 or 7, characterized in that, The first information also includes the identifier of the first VLAN and the first IP address.

9. A communication method, characterized in that, include: The network management element sends a first correspondence relationship to the first network element. The first correspondence relationship is the correspondence between the purpose identifier of the IP address and the service type to which the IP address is applicable. The network management element receives a first request message from the first element. The first request message is used to request a first IP address. The first request message includes a purpose identifier of the first IP address, and the first IP address is an inner IP address. The network management element determines the first IP address from the target IP address pool, and the target IP address pool corresponds to the purpose identifier of the first IP address; The network management element sends first information to the first element, the first information including the first IP address and the purpose identifier of the first IP address.

10. A communication method, characterized in that, include: The first network element obtains the third correspondence from the network management network element. The third correspondence is the correspondence between the network segment of the IP address and the service type applicable to the IP address. The first network element generates a first IP address based on the RA message; The first network element determines the service type applicable to the first IP address based on the third correspondence and the network segment of the first IP address.

11. The method according to claim 10, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

12. A communication method, characterized in that, include: The network management element obtains a third correspondence, which is the correspondence between the network segment of the IP address and the service type applicable to the IP address; The network management element sends the third correspondence to the first network element.

13. The method according to claim 12, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

14. A communication method, characterized in that, include: The network management element obtains a third correspondence, which is the correspondence between the network segment of the IP address and the service type applicable to the IP address; The network management element obtains the identifier of the first VLAN and the first IP address from the first network element; The network management element determines the applicable service type for the first IP address based on the third correspondence and the network segment of the first IP address. The network management element sends second information to the first element, the second information including the service type applicable to the first IP address.

15. The method according to claim 14, characterized in that, The second information also includes the identifier of the first VLAN and the first IP address.

16. The method according to claim 14 or 15, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

17. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to obtain a first correspondence from the network management element. The first correspondence is the correspondence between the purpose identifier of the Internet Protocol IP address and the service type applicable to the IP address. The processing unit is further configured to generate the identifier of the first VLAN and the first IP address based on the router announcement RA message; The transceiver unit is also used to send the first IP address and the identifier of the first VLAN to the network management element; The transceiver unit is further configured to obtain first information from the network management element, the first information including the purpose identifier of the first IP address; The processing unit is configured to determine the applicable service type of the first IP address based on the first correspondence and the purpose identifier of the first IP address.

18. The apparatus according to claim 17, characterized in that, The first information also includes the first IP address and the identifier of the first VLAN.

19. The apparatus according to claim 17 or 18, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

20. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to obtain a first correspondence from the network management element. The first correspondence is the correspondence between the purpose identifier of the Internet Protocol IP address and the service type applicable to the IP address. The transceiver unit is further configured to send a first request message to the network management element, the first request message being used to request a first IP address, the first request message including a purpose identifier of the first IP address; The transceiver unit is further configured to obtain first information from the network management element, the first information including the purpose identifier of the first IP address, the first information also including the first IP address, the first IP address being an inner IP address; The processing unit is configured to determine the applicable service type of the first IP address based on the first correspondence and the purpose identifier of the first IP address.

21. The apparatus according to claim 20, characterized in that, The IP address is applicable to any of the following types of services: Management plane (MP) services, signaling plane (CP) services, user plane (UP) services, Internet key exchange (IKE) services, and IP clock services.

22. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to obtain the first correspondence and the second correspondence. The first correspondence is the correspondence between the purpose identifier of the IP address and the service type applicable to the IP address, and the second correspondence is used to determine the purpose identifier of the IP address. The transceiver unit is also used to obtain the identifier of the first VLAN and the first IP address from the first network element; The processing unit is used to determine the purpose identifier of the first IP address based on the second correspondence relationship; The transceiver unit is further configured to send first information to the first network element, the first information including the purpose identifier of the first IP address; The transceiver unit is also used to send the first correspondence relationship to the first network element.

23. The apparatus according to claim 22, characterized in that, The second correspondence includes any one of the following: The correspondence between IP address network segments and IP address purpose identifiers, the correspondence between VLAN identifiers and IP address purpose identifiers, and the correspondence between the combination of IP address network segments and VLAN identifiers and IP address purpose identifiers; The VLAN identifier is either the identifier of a blacklisted VLAN or the identifier of a whitelisted VLAN.

24. The apparatus according to claim 22 or 23, characterized in that, The first information also includes the identifier of the first VLAN and the first IP address.

25. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to send a first correspondence relationship to the first network element, wherein the first correspondence relationship is the correspondence between the purpose identifier of the IP address and the service type applicable to the IP address; The transceiver unit is further configured to receive a first request message from the first network element, the first request message being used to request a first IP address, the first request message including a purpose identifier of the first IP address, and the first IP address being an inner IP address; The processing unit is configured to determine the first IP address from a target IP address pool, wherein the target IP address pool corresponds to the purpose identifier of the first IP address; The transceiver unit is further configured to send first information to the first network element, the first information including the first IP address and the purpose identifier of the first IP address.

26. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to obtain a third correspondence from the network management element, wherein the third correspondence is the correspondence between the network segment of the IP address and the service type applicable to the IP address; The processing unit is used to generate a first IP address based on the RA message; The processing unit is further configured to determine the applicable service type for the first IP address based on the third correspondence and the network segment of the first IP address.

27. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to obtain a third correspondence, which is the correspondence between the network segment of the IP address and the service type applicable to the IP address; The transceiver unit is also used to send the third correspondence to the first network element.

28. A communication device, characterized in that, include: A communication interface and a processor, the processor being configured to execute a computer program or instructions that cause the communication device to perform the method as described in any one of claims 1-16.

29. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-16.

30. A computer program product, characterized in that, It includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-16.

Citation Information

Patent Citations

  • Base station configuration method and device, equipment and medium

    CN112584393A