CN115955671A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN115955671A
CN115955671A CN202111175630.9A CN202111175630A CN115955671A CN 115955671 A CN115955671 A CN 115955671A CN 202111175630 A CN202111175630 A CN 202111175630A CN 115955671 A CN115955671 A CN 115955671A
Authority
CN
China
Prior art keywords
address
network element
corresponding relation
identifier
network
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
CN202111175630.9A
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 CN202111175630.9A priority Critical patent/CN115955671A/en
Priority to PCT/CN2022/120765 priority patent/WO2023056845A1/en
Publication of CN115955671A publication Critical patent/CN115955671A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

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

Abstract

The method comprises the step that a first network element acquires a first corresponding relation from a network management network element, wherein the first corresponding relation is the corresponding relation between an application identifier of an Internet Protocol (IP) address and a service type applicable to the IP address. The first network element acquires first information from the network management network element, wherein the first information comprises a purpose identifier corresponding to the first IP address. And the first network element determines the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier corresponding to the first IP address. According to the scheme of the application, under the condition that the service types applicable to the IP addresses are various and a plurality of service types use a plurality of IP addresses, the first network element can determine the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address, which are obtained from the network management network element.

Description

Communication method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and apparatus.
Background
In the current wireless network, because the management local area network (IP) address, the signaling local IP address, the user local IP address, the Internet Key Exchange (IKE) local IP address, and the like transmitted by each device (e.g., a base station) are different, and in addition, because of the difference of the transport bearer network, the Virtual Local Area Network (VLAN), the interface IP, and the route of each device are also different, it is necessary to plan the configuration parameters related to transmission for each device, and it takes a long time. In addition, if the transmission adjustment is performed on the transmission carrying network, each device must be planned and adjusted again, which cannot be adaptive and wastes manpower.
Internet protocol version 6 (ipv 6) supports automatic generation of an IP address using a stateless address automation (SLAAC) technique. After the host computer is on line, the host computer sends a router Request (RS) message to the router to request address configuration; after receiving the RS message, the router sends a Router Advertisement (RA) message to the host, where the RA message carries information such as a prefix for performing address automatic configuration; after the host receives the RA message, the host acquires address prefix information and address-related parameter information, and automatically generates an IPv6 address according to the method specified by the SLAAC.
However, when one host supports a plurality of traffic types and the plurality of traffic types use a plurality of IP addresses, the host cannot determine the traffic type to which the IP address automatically generated using the SLAAC technique is applicable. For example, as shown in fig. 2, when the host generates an IP address #1, the host cannot determine to which traffic type the IP address #1 is applicable. Therefore, how to determine the service type suitable for the automatically generated IP address is an urgent problem to be solved.
Disclosure of Invention
The application provides a communication method and a communication device, so that a host can determine the service type suitable for an automatically generated IP address.
In a first aspect, a communication method is provided, including:
the first network element manages a first corresponding relation of the network element from the network, wherein the first corresponding relation is a corresponding relation between the use identifier of the IP address of the Internet protocol and the service type applicable to the IP address. The first network element acquires first information from the network management network element, wherein the first information comprises the purpose identification of the first IP address. And the first network element determines the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address.
The service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
According to the scheme of the application, under the condition that the service types suitable for the IP addresses are various and different IP addresses are used by various service types, the first network element can determine the service type suitable for the first IP address according to the first corresponding relation and the purpose identification of the first IP address, which are acquired from the network management network element.
The network management element may serve a plurality of first network elements simultaneously, and the network management element configures the same first corresponding relationship to each first network element. Therefore, the network management network element does not need to perform differential configuration on each first network element, and the complexity of the configuration of the network management network element is reduced. Subsequently, if the first corresponding relationship is updated, the network management network element only needs to re-configure the updated first corresponding relationship to each first network element. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
With reference to the first aspect, in some implementations of the first aspect, before the first network element obtains the first information from the network management element, the method further includes:
and the first network element generates an identifier of the first VLAN and a first IP address according to the router advertisement RA message. The first network element sends the first IP address and the identifier of the first VLAN to the network management network element.
It should be understood that the first IP address includes prefix information for the first IP address.
According to the scheme of the application, an operator does not need to plan the transmission configuration of the first network element, and 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.
With reference to the first aspect, in certain implementations of the first aspect, the first information further includes a first IP address and an identification of the first VLAN.
With reference to the first aspect, in some implementations of the first aspect, before the first network element obtains the first information from the network management element, the method further includes:
the first network element sends a first request message to a network management network element, wherein the first request message is used for requesting a first IP address, the first request message comprises a purpose identifier of the first IP address, and the first IP address is an inner layer IP address.
The first information also includes a first IP address.
According to the scheme of the application, in an IPsec scene, an inner layer IP address can be allocated to a first network element by a network management network element.
In a second aspect, a communication method is provided, including:
the network management network element obtains a first corresponding relation and a second corresponding relation, wherein the first corresponding relation is a corresponding relation between the use identifier of the IP address and the service type applicable to the IP address, and the second corresponding relation is used for determining the use identifier of the IP address. The network management network element obtains the identifier of the first VLAN and the first IP address from the first network element. And the network management network element determines the use identifier of the first IP address according to the second corresponding relation. And the network management network element sends first information to the first network element, wherein the first information comprises the purpose identification of the first IP address. The network management network element sends the first corresponding relationship to the first network element.
According to the scheme of the application, the network management network element may send the purpose identifier of the first IP address and the first corresponding relationship to the first network element, so that the first network element determines the service type applicable to the first IP address according to the purpose identifier of the first IP address and the first corresponding relationship.
According to the scheme of the application, the network management network element can serve a plurality of first network elements simultaneously, and the network management network element configures the same first corresponding relation to each first network element. Therefore, the network management network element does not need to perform differential configuration on each first network element, and the complexity of the network management network element configuration is reduced. Subsequently, if the first corresponding relationship is updated, the network management network element only needs to re-configure the updated first corresponding relationship to each first network element. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
In addition, the network management network element may obtain the second corresponding relationship, and when the second corresponding relationship needs to be updated, only the network management network element needs to be updated, and the plurality of first network elements do not need to be updated. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
With reference to the second aspect, in some implementations of the second aspect, the second correspondence includes any one of:
the corresponding relation between the network segment of the IP address and the purpose identifier of the IP address, the corresponding relation between the identifier of the VLAN and the purpose identifier of the IP address, and the corresponding relation between the combination of the network segment of the IP address and the VLAN identifier and the purpose identifier of the IP address.
The VLAN identification is blacklist VLAN identification or whitelist VLAN identification.
With reference to the second aspect, in certain implementations of the second aspect, the first information further includes an identification of the first VLAN and a first IP address.
In a third aspect, a communication method is provided, including:
and the network management network element sends a first corresponding relation to the first network element, wherein the first corresponding relation is the corresponding relation between the use identifier of the IP address and the service type applicable to the IP address. The network management network element receives a first request message from the first network element, wherein the first request message is used for requesting a first IP address, the first request message comprises a purpose identifier of the first IP address, and the first IP address is an inner layer IP address. The network management network element determines a first IP address from a target IP address pool, and the target IP address pool corresponds to the purpose identifier of the first IP address. The network management network element sends first information to the first network element, wherein the first information comprises a first IP address and a purpose identifier of the first IP address.
According to the scheme of the application, in an IPsec scene, a network management network element may configure a first corresponding relationship to a first network element, and further, the network management network element allocates an inner layer IP address and a use identifier of the inner layer IP address to the first network element, so that the first network element determines a service type applicable to the inner layer IP address according to the use identifier of the inner layer IP address and the first corresponding relationship.
In a fourth aspect, a communication method is provided, including:
the first network element obtains a third corresponding relation from the network management network element, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address. And the first network element generates a first IP address according to the RA message. And the first network element determines the service type applicable to the first IP address according to the third corresponding relation and the network segment of the first IP address.
According to the scheme of the present application, the first network element may determine, according to the third correspondence, a service type to which the automatically generated first IP address is applicable.
The network management element may serve a plurality of first network elements at the same time, and the network management element configures the same third correspondence to each first network element. Therefore, the network management network element does not need to perform differential configuration on each first network element, and the complexity of the network management network element configuration is reduced. And if the third corresponding relation is updated subsequently, the network management network element only needs to re-configure the updated third corresponding relation to each first network element. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
With reference to the fourth aspect, in some implementations of the fourth aspect, the service type to which the IP address applies includes any one of the following:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
In a fifth aspect, a communication method is provided, including:
the network management network element obtains a third corresponding relationship, where the third corresponding relationship is a corresponding relationship between a network segment of the IP address and a service type applicable to the IP address. And the network management network element sends the third corresponding relation to the first network element.
With reference to the fifth aspect, in some implementations of the fifth aspect, the service type to which the IP address applies includes any one of:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
In a sixth aspect, a communication method is provided, including:
and the network management network element acquires a third corresponding relation, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address. The network management network element obtains the identifier of the first VLAN and the first IP address from the first network element. And the network management network element determines the service type applicable to the first IP address according to the third corresponding relation and the network segment of the first IP address. And the network management network element sends second information to the first network element, wherein the second information comprises the service type applicable to the first IP address.
According to the scheme of the application, the network management network element obtains the third corresponding relation, determines the service type applicable to the first IP address according to the third corresponding relation, and further informs the first network element of the service type applicable to the first IP address. And if the third corresponding relation needs to be updated subsequently, only the network management network element needs to be updated. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
With reference to the sixth aspect, in some implementations of the sixth aspect, the second information further includes an identification of the first VLAN and the first IP address.
With reference to the sixth aspect, in some implementations of the sixth aspect, the service type to which the IP address applies includes any one of:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
In a seventh aspect, a communication device is provided that includes means for performing the method of any one of the possible implementations of the first aspect or the fourth aspect.
In an eighth aspect, a communication device is provided, which includes means for performing the method in any one of the possible implementation manners of the second aspect, the third aspect, the fifth aspect and the sixth aspect.
A ninth aspect provides a communication device comprising a communication interface and a processor, optionally further comprising a memory, for executing a computer program or instructions stored by the memory, so that the communication device performs the method in any one of the possible implementations of the first to sixth aspects.
The memory may be located in the processor, or may be implemented by a chip independent from the processor, which is not specifically limited in this application.
A tenth aspect provides a computer-readable storage medium comprising a computer program which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the first to sixth aspects.
In an eleventh aspect, a chip is provided, where the chip is provided with a processing circuit, and the processing circuit is configured to perform the method in any one of the possible implementations of the first aspect to the sixth aspect.
In a twelfth aspect, there is provided a computer program product comprising: a computer program (which may also be referred to as code, or instructions), which when executed, causes a computer to perform the method of any one of the possible implementations of the first to sixth aspects.
Drawings
Fig. 1 shows an architecture of a communication system to which an embodiment of the present application is applicable.
Fig. 2 shows one possible scenario in which embodiments of the present application are applicable.
Fig. 3 shows an exemplary schematic interaction diagram of the method proposed in the present application.
Fig. 4 shows an example of the first correspondence relationship.
Fig. 5 shows another example of the first correspondence relationship.
Fig. 6 shows a packet structure in an IPsec scenario.
Fig. 7 shows an example of determining a traffic type to which the first IP address applies from the first correspondence.
Fig. 8 shows another example of determining a traffic type to which the first IP address applies based on the first correspondence.
Fig. 9 shows another exemplary schematic interaction diagram of the method proposed by the present application.
Fig. 10 shows another example of the first correspondence relationship.
Fig. 11 shows another example of determining a traffic type to which the first IP address is applicable from the first correspondence.
Fig. 12 shows another exemplary schematic interaction diagram of the method proposed by the present application.
Fig. 13 shows one example of the third correspondence relationship.
Fig. 14 shows an example of determining a traffic type to which the first IP address is applicable from the third correspondence.
Fig. 15 shows another exemplary schematic interaction diagram of the method proposed by the present application.
Fig. 16 shows an example of the second information.
Fig. 17 shows a schematic block diagram of a communication device provided by the present application.
Fig. 18 shows a schematic block diagram of a communication device as provided herein.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows a schematic diagram of a system architecture to which an embodiment of the present application is applicable.
The network elements involved in the present application are described below with reference to fig. 1.
1. Access network device
The access network device may be an Access Point (AP) in a WLAN, a base station (BTS) in GSM or CDMA, a base station (nodeB, NB) in WCDMA, or a gNB in a New Radio (NR) system, an evolved node B (eNB or eNodeB) in LTE, or a radio access network device (RAN) in a 5G network, which is not limited in the embodiment of the present disclosure.
2. Management plane network element
The management plane network element may be a network management network element (also referred to as a network manager).
3. Control plane network element
The control plane network element may be a mobility management network element. A mobility management network element is a network element for managing mobility of a terminal device, and for example, in a 4G network, may be a Mobility Management Entity (MME), and in a 5G network, may be an access and mobility management function (AMF). In a future communication system, the access and mobility management function network element may still be an AMF network element, or may also have another name, which is not limited in this application.
4. User plane network element
In the 5G communication system, the user plane network element may be a User Plane Function (UPF) network element. In a future communication system, the user plane network element may still be a UPF network element, or may also have another name, which is not limited in this application.
In a 4G communication system, the user plane network element may also be a Serving Gateway (SGW).
It should be understood that the first network element in the present application may be an access network device, a host, and the like.
Fig. 3 illustrates a scheme provided by the present application, and it should be understood that the method illustrated in fig. 3 is applicable to the system architecture illustrated in fig. 1.
S301, the network management element obtains the first corresponding relationship and the second corresponding relationship.
In one possible implementation, the first correspondence and the second correspondence may be configured by a user to a network management element. Alternatively, the network management network element may obtain the first corresponding relationship and the second corresponding relationship in other manners, for example, the network management network element locally generates the first corresponding relationship and the second corresponding relationship. This is not a limitation of the present application.
The first correspondence is a correspondence between a usage identifier of an Internet Protocol (IP) address and a service type to which the IP address is applicable. The first correspondence may also be referred to as a transmission generic configuration template, or by other names, and the application is not limited thereto.
The second mapping relationship is used to determine a usage identifier of the IP address, and the second mapping relationship may also be referred to as a transmission parameter usage policy or by other names, which is not limited in this application.
The first correspondence relationship is explained below, and alternatively, the first correspondence relationship may include any of the following cases.
Case a:
the IP address is associated with the purpose identification of the IP address through the interface ID, and the service type is associated with the IP address through the IP address ID. I.e. the usage identification is indirectly associated with the type of traffic to which the IP address applies.
It should be understood that the upper layer application determines the IP address of the upper layer application by referring to the ID of the IP address.
As an example, as shown in fig. 4, an IP address is associated with a usage identifier #1 through an interface with ID =1, and a traffic type # a is associated with the IP address through an IP address with ID = 1; the IP address is associated with the use identifier #2 through an interface of ID =2, and the traffic type # B and the traffic type # C are associated with the IP address through an IP address of ID = 2. In fig. 4, VLAN =0 indicates VLAN automatic generation, and IP =::0 indicates IP address automatic generation.
The meaning of VLAN =0 and IP =::0 is not described in detail below.
The present application makes reference to the type of traffic to which the IP address applies many times, including but not limited to any of the following:
management Plane (MP) traffic, control Plane (CP) traffic, user Plane (UP) traffic, IKE traffic, IP clock (IPCLK) traffic.
The service type to which the IP address is applicable will not be described in detail below.
Case B:
the purpose identification of the IP address is associated with the service type applicable to the IP address through an interface ID.
As an example, as shown in fig. 5, the usage identifier #1 is associated with the traffic type # a by an interface ID; the use identifier #2 is associated with the service type # B through an interface ID; the usage identifier #3 is associated with the traffic type # C by an interface ID.
The second correspondence relationship is explained below, and optionally, the second correspondence relationship may include any of the following cases.
Case 1:
the second corresponding relation comprises the corresponding relation between the network segment of the IP address and the use identifier of the IP address.
For example, the second correspondence relationship is shown in table 1.
TABLE 1
Network segment of IP address Use identification of IP address
Network segment # A Application identifier #1
Network segment # B Application identifier #2
It should be understood that table 1 is merely exemplary, and in some cases, there may not be a one-to-one correspondence between a network segment of an IP address and a purpose identifier of the IP address, for example, there may be one purpose identifier for a plurality of network segments. Without limitation.
An operator can plan IP addresses suitable for the same traffic type under one network segment. Thus, in some scenarios, the type of traffic to which an IP address applies may be determined by the segment of the IP address.
Case 2:
the second corresponding relation comprises the corresponding relation between the VLAN identification and the purpose identification of the IP address.
For example, the second correspondence relationship is shown in table 2.
TABLE 2
Figure BDA0003295421590000061
Figure BDA0003295421590000071
It should be understood that table 2 is merely an illustration, and in some cases, the VLAN id and the usage id of the IP address may not be in a one-to-one correspondence, for example, one usage id may correspond to a plurality of VLAN ids. Without limitation.
Case 3:
the second corresponding relation comprises the corresponding relation between the combination of the network segment of the IP address and the VLAN identification and the purpose identification of the IP address.
For example, the second correspondence relationship is shown in table 3.
TABLE 3
Network segment of IP address VLAN identification Use identification of IP address
Network segment # A VLAN#A Application identifier #1
Network segment # B VLAN#B Application identifier #2
It should be understood that table 3 is merely exemplary, and in some cases, one use identifier may correspond to multiple VLAN identifiers for multiple network segments. Without limitation.
It should be understood that, in addition to the above 3 cases, the second corresponding relationship may also be a corresponding relationship between a special field in a VLAN identifier and a purpose identifier of an IP address, or a corresponding relationship between a special field in an IP address and a purpose identifier of an IP address, and the like, which is not limited in this application.
The VLAN identifier in the above cases 2 and 3 may be an identifier of a blacklisted VLAN or an identifier of a whitelist VLAN.
For example, when the VLAN id in case 2 is an id of a blacklisted VLAN, VLAN # a and use id #1 in table 2 indicate that use ids corresponding to VLANs other than VLAN # a are use ids #1.
For another example, when the VLAN identifier in case 2 is an identifier of a white list VLAN, hereinafter, if the VLAN identifier generated by the first network element is VLAN # a, the first network element may determine that the use identifier corresponding to VLAN # a is use identifier #1 according to the information included in table 2.
According to the scheme of the application, the network management network element can obtain the second corresponding relation, when the second corresponding relation needs to be updated, only the network management network element needs to be updated, and the plurality of first network elements do not need to be updated. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
In addition, when configuring the second corresponding relationship to the network management network element, the user may adopt a json, or xml, or a script, without limitation. When the second corresponding relation needs to be updated, the software does not need to be upgraded.
S302, the first network element generates an identifier of the first VLAN and a first IP address according to a Router Advertisement (RA) packet.
Optionally, as a case, in a non-IP security (IPsec) scenario, the first network element may automatically generate an IP address according to the RA packet by using a stateless address automation (SLAAC) technology, and start a Duplicate Address Detection (DAD). The first IP address may be an IP address determined by the first network element based on the DAD detection. Wherein, automatically generating the IP address by adopting the SLAAC technology comprises automatically generating the IP address by adopting an EUI64 or 7217 protocol.
Optionally, as another situation, in an IPsec scenario, the first network element may also automatically generate an IP address by using an SLAAC technique according to the RA packet, and start DAD detection. The first IP address may be an IP address determined by the first network element based on the DAD detection. And, the first IP address is an IKE home address. In other words, the first IP address is an outer IP address.
Fig. 6 shows a packet structure in an IPsec scenario. The IP address in the IPsec scenario is described below with reference to fig. 6.
As can be seen from fig. 6, the IP address includes an outer IP address and an inner IP address. For the outer IP address, the first network element may generate the outer IP address according to the RA packet. For the inner IP address, it is not generated by the first network element according to the RA message, and the corresponding description will be given below, which is not specifically described here for the moment.
S303, the first network element sends the identifier of the first VLAN and the first IP address to the network management network element. Accordingly, the network management network element receives the identification of the first VLAN and the first IP address.
It should be understood that the first IP address includes prefix information for the first IP address.
And S304, the network management network element determines the use identifier of the first IP address according to the second corresponding relation.
Optionally, the determining, by the network management network element, the usage identifier of the first IP address according to the second corresponding relationship may include any of the following cases.
Case 1:
corresponding to the case 1 in S301, the network management network element may determine the use identifier of the first IP address according to the network segment of the first IP address and the second correspondence.
Case 2:
corresponding to the case 2 in S301, the network management network element may determine the usage identifier of the first IP address according to the identifier of the first VLAN and the second correspondence.
Case 3:
corresponding to the case 3 in S301, the network management element may determine the application identifier of the first IP address according to the identifier of the first VLAN, in combination with the network segment of the first IP address, and the second correspondence.
S305, the network management network element sends first information to the first network element, where the first information includes a usage identifier of the first IP address, an identifier of the first VLAN, and the first IP address. Accordingly, the first network element receives the first information.
It should be understood that the first IP address includes prefix information for the first IP address.
Optionally, as a case, the steps S303 to S305 may be performed in a process of establishing a maintenance channel between the first network element and the network management element. It should be understood that the maintenance channel is a management plane MP channel.
In this case, in S303, the first network element may send, to the network management element, an identifier of the first VLAN and the first IP address through a Dynamic Host Configuration Protocol (DHCP) request message; in S305, the network management element may send the first information to the first network element through a dynamic host configuration protocol acknowledgement (DHCP ACK) message.
Alternatively, as another case, the steps S303 to S305 may be performed after the establishment of the maintenance channel between the first network element and the network management network element is completed. Namely, after the MP channel is established, the data is transmitted through the MP channel.
It should be understood that, when the first network element establishes the maintenance channel with the network management network element, the first network element may send the IP address of the first network element to the network management network element; alternatively, the network management network element may send the IP address of the network management network element to the first network element.
The following description is omitted with respect to establishing the maintenance channel between the first network element and the network management network element.
S306, the network management network element may send the first corresponding relationship to the first network element. Accordingly, the first network element obtains the first correspondence from the network management network element.
As a case, the network management network element may send the first corresponding relationship to the first network element after the maintenance channel between the network management network element and the first network element is established.
It should be understood that the network management network element may configure the interface (VLAN sub-interface) in which the purpose identifier in the first correspondence is located to an ethernet port (ETHPORT).
According to the scheme of the application, the network management network element can serve a plurality of first network elements simultaneously, and the network management network element configures the same first corresponding relation to each first network element. Therefore, the network management network element does not need to perform differential configuration on each first network element, and the complexity of the configuration of the network management network element is reduced. Subsequently, if the first corresponding relationship is updated, the network management network element only needs to re-configure the updated first corresponding relationship to each first network element. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
And S307, the first network element determines the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address.
The following describes the service type for which the first network element determines that the first IP address is applicable.
Mode 1:
corresponding to case a in S301.
For example, as shown in fig. 7, the purpose identifier of the first IP address is purpose identifier #1, the identifier of the first VLAN is VLAN100, and the first IP address is: 2408 8161:: 2100.
Mode 2:
corresponding to case B in S301.
For example, as shown in fig. 8, the purpose identifier of the first IP address is purpose identifier #1, the identifier of the first VLAN is VLAN100, and the first IP address is: 2408 8161:: 2100 0000::1/64, and since the purpose identifier #1 corresponds to the traffic type # a in the first mapping relationship, the first network element may determine that the first IP address is applicable to the traffic type # a, and at the same time, determine that VLAN100 corresponds to the interface with ID = 1.
According to the scheme of the application, under the condition that the service types applicable to the IP addresses are various and different IP addresses are used by various service types, the first network element can determine the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address, which are obtained from the network management network element.
In addition, the operator does not need to plan the transmission configuration of the first network element, and after the first network element generates the first IP address, the first network element may determine the service type to which the first IP address is applicable.
Fig. 9 shows a scheme provided by the present application, and it should be understood that the method shown in fig. 9 is applicable to the system architecture shown in (b) of fig. 1.
S901, the network management element obtains the first corresponding relationship. The first corresponding relation is the corresponding relation between the purpose identification of the IP address and the service type applicable to the IP address.
In one possible implementation, the first correspondence may be configured by a user to a network management element.
As an example, as shown in fig. 10, the usage identifier is associated with an IP address by an interface ID, and the IP address is associated with a traffic type by an IP address ID.
S902, the network management element sends the first corresponding relationship to the first network element. Accordingly, the first network element obtains the first corresponding relationship.
In one case, the network management element may establish a maintenance channel with the first network element. After the maintenance channel is established, the network management network element sends the first corresponding relation to the first network element.
It should be understood that, at this time, the network management network element configures the interface where the purpose identifier in the first corresponding relationship is located to a LOOPBACK (LOOPBACK) port.
S903, the first network element sends a first request message to the network management network element. Accordingly, the network management network element receives the first request message.
The first request message is for requesting a first IP address. The first request message includes a destination identification for the first IP address. The first IP address is an inner IP address.
As an example, as shown in fig. 10, the first corresponding relationship includes a purpose identifier #1 and a purpose identifier #2. And the first network element sends a first request message to the network management network element according to the purpose identifier included in the first corresponding relation. The first request message may include a purpose identifier #1 and a purpose identifier #2. That is, the first request message is for requesting an inner IP address corresponding to the purpose identification #1, and an inner IP address corresponding to the purpose identification #2.
As one case, the first network element may send the first request message to the network management element after the first network element completes establishment of the maintenance channel with the network management element and acquires the first corresponding relationship.
S904, the network management element determines the first IP address from the target IP address pool. The destination IP address pool corresponds to a use identifier of the first IP address.
It should be understood that at least one pool of target IP addresses, and a corresponding usage identification for each pool of target IP addresses, are preconfigured in the network management element.
As an example, a destination IP address pool and a corresponding usage identifier of the destination IP address pool may be configured to network management by a user.
The network management element may determine the first IP address from the pool of target IP addresses according to the first request message.
In an example, the first request message includes a use identifier #1 and a use identifier #2, and the network management network element determines an IP address #1 (an example of a first IP address) from a destination address pool corresponding to the use identifier #1 and determines an IP address #2 (another example of the first IP address) from a destination address pool corresponding to the use identifier #2.
S905, the network management network element sends first information to the first network element, where the first information includes the first IP address and a use identifier of the first IP address. Accordingly, the first network element receives the first information.
It should be understood that in the IPsec scenario, as shown in fig. 5, the first IP address is an inner layer IP address. That is, in the IPsec scenario, the manner in which the first network element obtains the outer IP address and the inner IP address is different. In particular, for the inner IP address, it is assigned to the first network element by the network management network element.
As a case, the network management network element may send the first information to the first network element after the maintenance channel establishment with the first network element is completed.
S906, the first network element determines the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address.
For example, as shown in fig. 11, the purpose identifier of the first IP address is purpose identifier #1, the first IP address is 2100:: 2408: 8161.
According to the scheme of the application, in an IPsec scene, a network management network element may allocate an inner layer IP address and a purpose identifier of the inner layer IP address to a first network element, so that the first network element determines a service type applicable to the inner layer IP address according to the purpose identifier of the inner layer IP address and the first corresponding relationship.
Fig. 12 shows a scheme provided in the present application, and it should be understood that the method shown in fig. 12 is applicable to the system architecture shown in (a) in fig. 1.
S1201, the network management network element obtains the third corresponding relationship. The third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address.
One possible scenario may be that the third correspondence is configured by the user to the network management element.
As an example, as shown in fig. 13, a segment # a corresponds to a traffic type # a by an IP address ID; segment # B corresponds to traffic type # B and traffic type # C by IP address ID.
S1202, the network management network element sends the third corresponding relationship to the first network element. Accordingly, the first network element obtains the third corresponding relationship from the network management network element.
As a case, the network management element may send the third mapping relationship to the first network element after the maintenance channel between the network management element and the first network element is established.
It should be understood that the network management network element may configure the interface (VLAN subinterface) corresponding to the network segment in the third correspondence to the ETHPORT of the first network element.
According to the scheme of the application, the network management network element can serve a plurality of first network elements at the same time, and the network management network element configures the same third corresponding relation to each first network element. Therefore, the network management network element does not need to perform differential configuration on each first network element, and the complexity of the network management network element configuration is reduced. And subsequently, if the third corresponding relation is updated, the network management network element only needs to re-configure the updated third corresponding relation to each first network element. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
S1203, the first network element generates a first IP address according to the RA packet.
It should be understood that the first network element may also generate the identifier of the first VLAN according to the received RA packet.
The process is the same as S302, and reference may be specifically made to the description of S302.
S1204, the first network element determines the service type applicable to the first IP address according to the network segment of the first IP address and the third corresponding relation.
For example, as shown in fig. 14, the network segment of the first IP address is network segment # a, the identifier of the first VLAN is VLAN100, and since the network segment # a corresponds to the traffic type # a in the third correspondence, the first network element determines that the first IP address is applicable to the traffic type # a.
In another possible implementation manner, the first network element may determine, according to the third correspondence and a prefix of the first IP address included in the RA packet, a service type applicable to the first IP address.
Fig. 15 shows a scheme provided by the present application, and it should be understood that the method shown in fig. 15 is applicable to the system architecture shown in (a) in fig. 1.
S1501, the network management network element acquires a third corresponding relation, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address.
The process is the same as S1201, and reference may be specifically made to the description of S1201.
S1502, the first network element generates an identifier of the first VLAN and a first IP address according to the RA packet.
The process is the same as S302, and reference may be specifically made to the description of S302.
S1503, the first network element sends the identifier of the first VLAN and the first IP address to the network management network element. Accordingly, the network management network element obtains the identifier of the first VLAN and the first IP address from the first network element.
It should be understood that the first IP address includes prefix information for the first IP address.
S1504, the network management network element determines the service type applicable to the first IP address according to the third corresponding relation and the network segment of the first IP address.
S1505, the network management element sends second information to the first network element, the second information including a service type to which the first IP address is applicable. Accordingly, the first network element receives the second information.
Optionally, the second information may further include an identification of the first VLAN and the first IP address. It should be understood that the first IP address includes prefix information for the first IP address.
For example, as shown in fig. 16, the second information includes an identifier of the first VLAN, which is VLAN100, the first IP address is: 2408.
It is to be understood that the network management network element may configure the second information to the ETH interface of the first network element.
As a case, the step S1503 may be performed in a process of establishing a maintenance channel between the first network element and the network management element. For example, in S1503, the first network element may send the identifier of the first VLAN and the first IP address to the network management element through a DHCP request message. The step S1505 may be performed after the establishment of the maintenance channel between the first network element and the network management network element is completed.
According to the scheme of the application, the network management network element obtains the third corresponding relation, determines the service type applicable to the first IP address reported by the first network element according to the third corresponding relation, and further informs the first network element of the service type applicable to the first IP address. And if the third corresponding relation needs to be updated subsequently, only the network management network element needs to be updated. Therefore, the maintenance complexity can be reduced by adopting the scheme of the application.
According to the foregoing method, fig. 17 illustrates a communication device (e.g., a first network element, such as a network management network element) according to an embodiment of the present application, where the communication device includes a transceiver 1701 and a processing unit 1702.
The transceiver unit 1701 may be used to implement corresponding communication functions, among other things. The transceiver unit 1701 may also be referred to as a communication interface or communication unit. The processing unit 1702 may be configured to perform processing operations.
Optionally, the apparatus further includes a storage unit, which may be configured to store instructions and/or data, and the processing unit 1702 may read the instructions and/or data in the storage unit, so as to enable the apparatus to implement the actions of the apparatus (such as the first network element, and also such as the network management network element) in the foregoing method embodiments.
In a first design, the apparatus may be the first network element in the foregoing embodiment, or may be a component (e.g., a chip) of the first network element. The apparatus may implement the steps or the flow corresponding to the steps or the flow performed by the first network element in the above method embodiment, where the transceiver unit 1701 may be configured to perform the operations related to transceiving of the first network element in the above method embodiment, and the processing unit 1702 may be configured to perform the operations related to processing of the first network element in the above method embodiment.
In one case, the transceiver 1701 is configured to obtain a first corresponding relationship from a network management element, where the first corresponding relationship is a corresponding relationship between a usage identifier of an internet protocol IP address and a service type to which the IP address is applicable; the transceiver 1701 is further configured to obtain first information from the network management network element, where the first information includes a use identifier corresponding to the first IP address; a processing unit 1702, configured to determine, according to the first corresponding relationship and the application identifier corresponding to the first IP address, a service type applicable to the first IP address.
Optionally, the processing unit 1702 is further configured to generate a first IP address according to router advertisement RA information received from an interface corresponding to the first virtual local area network VLAN; the transceiver 1701 is further configured to send the first IP address and the identifier of the first VLAN to the network management network element.
In another case, the transceiver 1701 is configured to obtain a third corresponding relationship from the network management element, where the third corresponding relationship is a corresponding relationship between a network segment of an IP address and a service type applicable to the IP address; a processing unit 1702, configured to generate a first IP address according to RA information received from an interface corresponding to a first VLAN, and generate the first IP address; the processing unit 1702 is further configured to determine, according to the third correspondence and the network segment of the first IP address, a service type applicable to the first IP address.
In a second design, the apparatus may be the network management network element in the foregoing embodiment, or may be a component (e.g., a chip) of the network management network element. The apparatus may implement the steps or the flow executed by the network management element corresponding to the above method embodiment, where the transceiver 1701 may be configured to execute the operations related to the transceiving of the network management element in the above method embodiment, and the processing 1702 may be configured to execute the operations related to the processing of the network management element in the above method embodiment.
In one case, the transceiver 1701 is configured to obtain a second corresponding relationship, where the second corresponding relationship is used to determine a use identifier of the IP address; the transceiver 1701 is further configured to obtain an identifier of the first VLAN and a first IP address from the first network element; a processing unit 1702, configured to determine, according to the second correspondence, a usage identifier of the first IP address; the transceiver 1701 is further configured to send first information to the first network element, where the first information includes a usage identifier of the first IP address.
Optionally, the transceiver 1701 is further configured to obtain a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between a usage identifier of the IP address and a service type applicable to the IP address; the transceiver 1701 is further configured to send the first corresponding relationship to the first network element.
In another case, the transceiver 1701 is configured to obtain a first IP address from a target IP address pool, where the IP addresses included in the target IP address pool are applicable to the same service type; a processing unit 1702, configured to determine, according to a service type applicable to the target IP address pool, a use identifier of the first IP address; the transceiver 1701 is further configured to send first information to the first network element, where the first information includes the first IP address and a usage identifier of the first IP address.
In another case, the transceiver 1701 is configured to obtain a third corresponding relationship, where the third corresponding relationship is a corresponding relationship between a network segment of an IP address and a service type applicable to the IP address; the transceiver 1701 is further configured to send the third mapping relationship to the first network element.
In another case, the transceiver 1701 is configured to obtain a third mapping relationship, where the third mapping relationship is a mapping relationship between a network segment of an IP address and a service type applicable to the IP address; the transceiver 1701 is further configured to obtain an identifier of the first VLAN and a first IP address from the first network element; a processing unit 1702, configured to determine, according to the third correspondence and the network segment of the first IP address, a service type applicable to the first IP address; the transceiver 1701 is further configured to send second information to the first network element, where the second information includes a service type to which the first IP address is applicable.
It should be understood that the specific processes of the units for executing the corresponding steps have been described in detail in the above embodiments of the methods, and therefore, for brevity, are not described again here.
It should also be understood that the means herein are embodied in the form of functional units. The term "unit" herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an optional example, as will be understood by those skilled in the art, the apparatus may be specifically a first network element in the foregoing embodiments, and may be configured to perform each procedure and/or step corresponding to the first network element in each method embodiment, or the apparatus may be specifically a network management network element in the foregoing embodiments, and may be configured to perform each procedure and/or step corresponding to the network management network element in each method embodiment, which is not described herein again to avoid repetition.
The 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 method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions; for example, the transceiver unit may be replaced by a transceiver (for example, the transmitting unit in the transceiver unit may be replaced by a transmitter, and the receiving unit in the transceiver unit may be replaced by a receiver), and other units, such as a processing unit, may be replaced by a processor, so as to perform the transceiving operation and the related processing operation in the respective method embodiments, respectively.
The transmitting/receiving unit 1701 may be a transmitting/receiving circuit (for example, may include a receiving circuit and a transmitting circuit), and the processing unit may be a processing circuit.
It should be noted that the apparatus in fig. 17 may be an apparatus (such as the first network element, or the network management network element) in the foregoing method embodiment, and may also be a chip or a chip system, for example: system on chip (SoC). The transceiver unit can be an input/output circuit and a communication interface; the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip. And are not limited herein.
An embodiment of the present application further provides a communication device, as shown in fig. 18, including: a processor 1801 and a communications interface 1802. The processor 1801 is configured 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 embodiments of the methods. Optionally, the processor 1801 is one or more. Communication interface 1802 is used for the reception and/or transmission of signals. For example, processor 1801 may be configured to control communication interface 1802 to receive and/or transmit signals.
Optionally, as shown in fig. 18, the communication device further comprises a memory 1803, the memory 1803 being used for storing computer programs or instructions and/or data. The memory 1803 may be integrated with the processor 1801 or may be separate. Optionally, there are one or more of the memories 1803.
Optionally, the processor 1801, communication interface 1802, and memory 1803 are interconnected via a bus 1804; the bus 1804 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 1804 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 18, but this does not mean only one bus or one type of bus.
As another scheme, the communication device is configured to implement the operations performed by the first network element or the network management network element in the foregoing method embodiments.
For example, the processor 1801 is configured to execute a computer program or instructions stored in the memory 1803 to implement the relevant operations of the first network element in the above embodiments of the methods. For example, the method performed by the first network element in the embodiment shown in fig. 3.
As another example, the processor 1801 is configured to execute a computer program or instructions stored in the memory 1803 to implement the relevant operations of the network management element in the foregoing method embodiments. For example, the method performed by the network management element in the embodiment shown in fig. 3.
It should be understood that the processor (e.g., the processor 1801) mentioned in the embodiments of the present application may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of the CPU and the NP. The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
It will also be appreciated that the memory referred to in the embodiments herein, as memory 1803, may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
The technical scheme of the embodiment of the application can be applied to various communication systems, for example: a global system for mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) system, a General Packet Radio Service (GPRS), a long term evolution (long term evolution, LTE) system, a LTE Frequency Division Duplex (FDD) system, a LTE Time Division Duplex (TDD) system, a universal mobile telecommunication system (universal mobile telecommunication system, UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication system, a future fifth generation (5, g) system, or a new radio Network (NR), etc.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific 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 of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (30)

1. A method of communication, comprising:
a first network element acquires a first corresponding relation from a network management network element, wherein the first corresponding relation is the corresponding relation between the use identifier of an Internet Protocol (IP) address and the service type applicable to the IP address;
the first network element acquires first information from the network management network element, wherein the first information comprises a purpose identifier of a first IP address;
and the first network element determines the service type applicable to the first IP address according to the first corresponding relation and the purpose identifier of the first IP address.
2. The method of claim 1,
before the first network element acquires the first information from the network management network element, the method further includes:
the first network element generates an identifier of a first VLAN and the first IP address according to a router advertisement RA message;
and the first network element sends the first IP address and the identifier of the first VLAN to the network management network element.
3. The method of claim 2,
the first information further includes the first IP address and an identification of the first VLAN.
4. The method of claim 1,
before the first network element acquires the first information from the network management network element, the method further includes:
the first network element sends a first request message to the network management network element, wherein the first request message is used for requesting the first IP address, the first request message comprises a purpose identifier of the first IP address, and the first IP address is an inner layer IP address;
the first information further includes the first IP address.
5. The method according to any one of claims 1 to 4,
the service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
6. A method of communication, comprising:
the network management network element acquires the first corresponding relation and the second corresponding relation;
the first corresponding relation is a corresponding relation between the use identifier of the IP address and the service type applicable to the IP address, and the second corresponding relation is used for determining the use identifier of the IP address;
the network management network element acquires the identifier of the first VLAN and the first IP address from the first network element;
the network management network element determines the purpose identifier of the first IP address according to the second corresponding relation;
the network management network element sends first information to the first network element, wherein the first information comprises a purpose identifier of the first IP address;
and the network management network element sends the first corresponding relation to the first network element.
7. The method of claim 6,
the second correspondence includes any one of:
the corresponding relation between the network segment of the IP address and the use identifier of the IP address, the corresponding relation between the identifier of the VLAN and the use identifier of the IP address, the corresponding relation between the combination of the network segment of the IP address and the VLAN identifier and the use identifier of the IP address;
and the VLAN identification is blacklist VLAN identification or whitelist VLAN identification.
8. The method of claim 6 or 7, wherein the first information further comprises an identification of the first VLAN and the first IP address.
9. A method of communication, comprising:
a network management network element sends a first corresponding relation to a first network element, wherein the first corresponding relation is the corresponding relation between the use identifier of an IP address and the service type applicable to the IP address;
the network management network element receives a first request message from the first network element, wherein the first request message is used for requesting a first IP address, the first request message comprises a purpose identifier of the first IP address, and the first IP address is an inner layer IP address;
the network management network element determines the first IP address from a target IP address pool, wherein the target IP address pool corresponds to the use identifier of the first IP address;
and the network management network element sends first information to a first network element, wherein the first information comprises the first IP address and the purpose identifier of the first IP address.
10. A method of communication, comprising:
the first network element acquires a third corresponding relation from the network management network element, wherein the third corresponding relation is the corresponding relation 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 according to the RA message;
and the first network element determines the service type applicable to the first IP address according to the third corresponding relation and the network segment of the first IP address.
11. The method of claim 10,
the service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
12. A method of communication, comprising:
the network management network element acquires a third corresponding relation, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address;
and the network management network element sends the third corresponding relation to the first network element.
13. The method of claim 12,
the service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
14. A method of communication, comprising:
the network management network element acquires a third corresponding relation, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address;
the network management network element acquires the identifier of the first VLAN and the first IP address from the first network element;
the network management network element determines the service type applicable to the first IP address according to the third corresponding relation and the network segment of the first IP address;
and the network management network element sends second information to the first network element, wherein the second information comprises the service type applicable to the first IP address.
15. The method of claim 14 wherein the second information further comprises an identification of the first VLAN and the first IP address.
16. The method according to claim 14 or 15,
the service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
17. A communications apparatus, comprising:
the device comprises a transceiving unit and a processing unit connected with the transceiving unit;
the receiving and sending unit is used for acquiring a first corresponding relation from a network management network element, wherein the first corresponding relation is the corresponding relation between the purpose identifier of the IP address of the Internet protocol and the service type applicable to the IP address;
the receiving and sending unit is further configured to obtain first information from the network management network element, where the first information includes a use identifier of a first IP address;
and the processing unit is configured to determine a service type applicable to the first IP address according to the first corresponding relationship and the use identifier of the first IP address.
18. The apparatus of claim 17,
the processing unit is further configured to generate an identifier of a first VLAN and the first IP address according to a router advertisement RA packet;
the transceiver unit is further configured to send the first IP address and the identifier of the first VLAN to the network management network element.
19. The apparatus of claim 18 wherein the first information further comprises the first IP address and an identification of the first VLAN.
20. The apparatus of claim 17,
the transceiver unit is further configured to send a first request message to the network management network element, where the first request message is used to request the first IP address, and the first request message includes a use identifier of the first IP address;
the first information also comprises the first IP address, and the first IP address is an inner layer IP address.
21. The apparatus of any one of claims 17-20,
the service type suitable for the IP address comprises any one of the following types:
management plane MP service, signaling plane CP service, user plane UP service, internet key exchange IKE service and IP clock service.
22. A communications apparatus, comprising:
the device comprises a transceiving unit and a processing unit connected with the transceiving unit;
the transceiver unit is used for acquiring a first corresponding relation and a second corresponding relation;
the first corresponding relation is a corresponding relation between the use identifier of the IP address and the service type applicable to the IP address, and the second corresponding relation is used for determining the use identifier of the IP address;
the receiving and sending unit is further configured to obtain an identifier of a first VLAN and a first IP address from a first network element;
the processing unit is configured to determine, according to the second correspondence, a use identifier of the first IP address;
the transceiver unit is further configured to send first information to the first network element, where the first information includes a usage identifier of the first IP address;
the transceiver unit is further configured to send the first corresponding relationship to the first network element.
23. The apparatus of claim 22,
the second correspondence includes any one of:
the corresponding relation between the network segment of the IP address and the use identifier of the IP address, the corresponding relation between the identifier of the VLAN and the use identifier of the IP address, the corresponding relation between the combination of the network segment of the IP address and the VLAN identifier and the use identifier of the IP address;
the VLAN identification is blacklist VLAN identification or white list VLAN identification.
24. The apparatus of claim 22 or 23, wherein the first information further comprises an identification of the first VLAN and the first IP address.
25. A communications apparatus, comprising:
the device comprises a transceiving unit and a processing unit connected with the transceiving unit;
the receiving and sending unit is configured to send a first corresponding relationship to a first network element, where the first corresponding relationship is a corresponding relationship between a usage identifier of an IP address and a service type applicable to the IP address;
the transceiver unit is further configured to receive a first request message from the first network element, where the first request message is used to request a first IP address, the first request message includes a use identifier of the first IP address, and the first IP address is an inner layer IP address;
the processing unit is configured to determine the first IP address from a target IP address pool, where the target IP address pool corresponds to a use identifier of the first IP address;
the transceiver unit is further configured to send first information to a first network element, where the first information includes the first IP address and a use identifier of the first IP address.
26. A communications apparatus, comprising:
the device comprises a transceiving unit and a processing unit connected with the transceiving unit;
the receiving and sending unit is used for acquiring a third corresponding relation from the network management network element, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address;
the processing unit is used for generating a first IP address according to the RA message;
the processing unit is further configured to determine a service type applicable to the first IP address according to the third correspondence and the network segment of the first IP address.
27. A communications apparatus, comprising:
the device comprises a transceiving unit and a processing unit connected with the transceiving unit;
the receiving and sending unit is used for acquiring a third corresponding relation, wherein the third corresponding relation is the corresponding relation between the network segment of the IP address and the service type applicable to the IP address;
the transceiver unit is further configured to send the third mapping relationship to the first network element.
28. A communication device, comprising: a communication interface and a processor for executing a computer program or instructions causing the communication device to perform the method of any of claims 1-16.
29. A computer-readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-16.
30. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-16.
CN202111175630.9A 2021-10-09 2021-10-09 Communication method and device Pending CN115955671A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111175630.9A CN115955671A (en) 2021-10-09 2021-10-09 Communication method and device
PCT/CN2022/120765 WO2023056845A1 (en) 2021-10-09 2022-09-23 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111175630.9A CN115955671A (en) 2021-10-09 2021-10-09 Communication method and device

Publications (1)

Publication Number Publication Date
CN115955671A true CN115955671A (en) 2023-04-11

Family

ID=85803901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111175630.9A Pending CN115955671A (en) 2021-10-09 2021-10-09 Communication method and device

Country Status (2)

Country Link
CN (1) CN115955671A (en)
WO (1) WO2023056845A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753635A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method and system of collocating IPV6 (internet protocol version 6) addresses
EP3107268B1 (en) * 2015-06-15 2018-12-19 Deutsche Telekom AG Method for configuring a network node of a telecommunications network, telecommunications network, network node, program and computer program product
CN111866987B (en) * 2019-04-29 2022-11-08 华为技术有限公司 Communication method and device
CN112584393B (en) * 2019-09-27 2022-07-22 上海华为技术有限公司 Base station configuration method, device, equipment and medium
CN112799825A (en) * 2019-11-13 2021-05-14 ***通信有限公司研究院 Task processing method and network equipment
CN110913031A (en) * 2019-11-15 2020-03-24 西安居正知识产权运营管理有限公司 IPv6 network address configuration method

Also Published As

Publication number Publication date
WO2023056845A1 (en) 2023-04-13

Similar Documents

Publication Publication Date Title
JP6355705B2 (en) System and method for accessing a network
CN114128396A (en) Relay selection in cellular sliced networks
US9585084B2 (en) Dynamic control of network selection
US10772022B2 (en) Method and apparatus for inter-system handover in wireless communication
EP3761708B1 (en) Communication method and device
US20220159607A1 (en) System and method of dual-sim ues operation in 5g networks
US9386454B2 (en) Mechanism usable for validating a communication device for allowing usage of television radio bands/channels
KR102371135B1 (en) Methods and devices for determining SSC mode
US10075821B2 (en) Subscriber group based cell broadcast
EP3391689A1 (en) Method, apparatus and computer program product for accessing a local area scoped network having non-access-stratum procedures
CN112423319B (en) Method and apparatus for header compression configuration for side-link radio bearers
US20240137762A1 (en) Base station providing virtual wireless router
CN113595911B (en) Data forwarding method and device, electronic equipment and storage medium
CN111065132B (en) Wireless communication method and device
US20220264435A1 (en) Access control method and communications apparatus
US20220272533A1 (en) Identity authentication method and communications apparatus
CN115462051B (en) Reuse of IP addresses
CN115334490A (en) Network fragmentation Access control (NSAC) discovery and roaming enhancements
CN115955671A (en) Communication method and device
TWI826987B (en) Radio network node, user equipment and methods performed therein
CN110710275B (en) Terminal strategy configuration method, terminal and network equipment
EP2873260A2 (en) Subscriber group based cell broadcast

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