Communication method and apparatus
An access network device obtains first information, where the access network device supports a 3 rd generation partnership project 3GPP access technology; the access network device establishes a user plane connection to a first terminal device based on the first information; and the access network device obtains user plane data of the first terminal device via the user plane connection, and sends the user plane data to a first fixed network gateway device.
1 . A method, comprising:
obtaining, by an access network device, first information indicating that a first terminal device is of a target type or is allowed to obtain a service by using a first fixed network gateway device, wherein the access network device supports a 3 rd generation partnership project (3GPP) access technology;
establishing, by the access network device, a user plane connection to the first terminal device based on the first information via the 3GPP access technology; and
obtaining, by the access network device, user plane data of the first terminal device via the user plane connection, and sending the user plane data to the first fixed network gateway device, wherein the first fixed network gateway device is connected to a fixed network that provides broadband services through broadband transmission protocols.
2 . The method according to claim 1 , wherein target type comprises one or more of a residential gateway, a home terminal, and customer-premises equipment.
3 . The method according to claim 2 , wherein the first information is from the first terminal device, and the first information indicates that a type of the first terminal device is the target type.
4 . The method according to claim 1 , wherein the first information is pre-configured in the access network device or the first information is from the first fixed network gateway device; and
wherein the first information comprises subscription data information corresponding to the first terminal device, and the subscription data information is used to determine that the first terminal device is allowed to obtain the service by using the first fixed network gateway device.
5 . The method according to claim 1 , further comprising:
sending, by the access network device, second information to the first fixed network gateway device, wherein the second information requests to manage a connection between the first terminal device and the first fixed network gateway device.
6 . The method according to claim 5 , further comprising:
receiving, by the access network device, third information from the first fixed network gateway device, wherein the third information comprises at least one of the following:
identification information of the first terminal device;
authentication information of the first terminal device, wherein the authentication information indicates that the first terminal device passes authentication of a fixed network corresponding to the first fixed network gateway device;
subscription data information of the first terminal device, wherein the subscription data information comprises one or more pieces of fixed network service information, quality of service (QoS) information, or priority information; or
security context information of the first terminal device, wherein the security context information is used to establish a security connection between the access network device and the first terminal device; and
performing, by the access network device, a user plane connection management procedure based on the third information, wherein the user plane connection management procedure comprises at least one of the following operations: establishing a user plane resource, modifying a user plane resource, or releasing a user plane resource.
7 . The method according to claim 1 , further comprising:
establishing, by the access network device, a connection with at least one fixed network gateway device, wherein the at least one fixed network gateway device comprises the first fixed network gateway device.
8 . The method according to claim 1 , further comprising:
obtaining, by the access network device, fourth information from the first terminal device, wherein the fourth information is used to determine security context information of the first terminal device; and
establishing, by the access network device based on the fourth information, a security connection between the access network device and the first terminal device by using the security context information of the first terminal device.
9 . The method according to claim 8 , wherein the fourth information comprises a first sequence number corresponding to the security context information of the first terminal device; and
wherein establishing, by the access network device based on the fourth information, the security connection between the access network device and the first terminal device by using the security context information of the first terminal device comprises:
obtaining, by the access network device, security context information of at least one terminal device and an identifier set, wherein the identifier set comprises a first sequence number set indicating the security context information of the at least one terminal device, and the first sequence number set comprises the first sequence number;
obtaining, by the access network device based on the first sequence number, the security context information of the first terminal device from the security context information of the at least one terminal device; and
establishing, by the access network device, the security connection between the access network device and the first terminal device by using the security context information of the first terminal device.
10 . The method according to claim 8 , wherein the fourth information further comprises identification information of a fixed network corresponding to the first fixed network gateway device.
11 . The method according to claim 10 , further comprising:
sending, by the access network device, at least one piece of the following information:
capability information of the access network device, wherein the capability information indicates that the access network device supports fixed network transmission;
identification information of the fixed network supported by the access network device; and
network priority information, wherein the network priority information indicates a priority of a mobile operator to which the access network device belongs.
12 . The method according to claim 8 , further comprising:
obtaining, by the access network device, information from the first terminal device which indicates that a type of the first terminal device is the target type or identification information of a fixed network that the first terminal device requests to access, wherein the target type comprises one or more of a residential gateway, a home terminal, and customer-premises equipment; and
determining, by the access network device based on the type of the first terminal device or the identification information of the fixed network that the first terminal device requests to access, that the access network device supports fixed network transmission of the first terminal device.
13 . A communication apparatus, used in an access network device supporting a 3 rd generation partnership project (3GPP) access technology, the communication apparatus comprising:
a communication interface, configured to obtain first information indicating that a first terminal device is of a target type or is allowed to obtain a service by using a first fixed network gateway device;
at least one processor; and
a non-transitory computer readable storage medium storing a program that is executable by the at least one processor, the program including instructions to:
establish a user plane connection to the first terminal device based on the first information via the 3GPP access technology; and
obtain, using the communication interface, user plane data of the first terminal device via the user plane connection, and send the user plane data to the first fixed network gateway device, wherein the first fixed network gateway device is connected to a fixed network that provides broadband services through broadband transmission protocols.
14 . The communication apparatus according to claim 13 , wherein the target type comprises one or more of a residential gateway, a home terminal, and customer-premises equipment; and
wherein:
the first information is from the first terminal device, and the first information indicates that a type of the first terminal device is the target type, or
the first information is pre-configured in the access network device or the first information is from the first fixed network gateway device, and the first information comprises subscription data information corresponding to the first terminal device, and the subscription data information is used to determine that the first terminal device is allowed to obtain the service by using the first fixed network gateway device.
15 . The communication apparatus according to claim 13 , wherein the communication interface is further configured to:
send second information to the first fixed network gateway device, wherein the second information requests to manage a connection between the first terminal device and the first fixed network gateway device.
16 . The communication apparatus according to claim 15 , wherein the communication interface is further configured to receive third information from the first fixed network gateway device, wherein the third information comprises at least one of the following:
identification information of the first terminal device;
authentication information of the first terminal device, wherein the authentication information indicates that the first terminal device passes authentication of a fixed network corresponding to the first fixed network gateway device;
subscription data information of the first terminal device, wherein the subscription data information comprises one or more pieces of fixed network service information, quality of service (QoS) information, or priority information; and
security context information of the first terminal device, wherein the security context information is used to establish a security connection between the access network device and the first terminal device; and
wherein the program further includes instructions to perform a user plane connection management procedure based on the third information, wherein the user plane connection management procedure comprises at least one of the following operations: establishing a user plane resource, modifying a user plane resource, or releasing a user plane resource.
17 . The communication apparatus according to claim 13 , wherein the communication interface is further configured to obtain fourth information from the first terminal device, wherein the fourth information is used to determine security context information of the first terminal device; and
wherein the program further includes instructions to establish, based on the fourth information, a security connection between the access network device and the first terminal device by using the security context information of the first terminal device.
18 . The communication apparatus according to claim 17 , wherein the fourth information comprises a first sequence number corresponding to the security context information of the first terminal device, and the program further includes instructions to:
obtain, by using the communication interface, security context information of at least one terminal device and an identifier set, wherein the identifier set comprises a first sequence number indicating the security context information of the at least one terminal device, and a first sequence number set comprises the first sequence number;
obtain, based on the first sequence number, the security context information of the first terminal device from the security context information of the at least one terminal device; and
establish the security connection between the access network device and the first terminal device by using the security context information of the first terminal device.
19 . A non-transitory computer readable medium, wherein the non-transitory computer readable medium comprises instructions, and when the instructions are run on a computer, the computer is enabled to perform:
obtaining first information indicating that a first terminal device is of a target type or is allowed to obtain a service by using a first fixed network gateway device;
establishing a user plane connection to the first terminal device based on the first information via a 3 rd generation partnership project (3GPP) access technology; and
obtaining user plane data of the first terminal device via the user plane connection, and sending the user plane data to the first fixed network gateway device, wherein the first fixed network gateway device is connected to a fixed network that provides broadband services through broadband transmission protocols.
20 . A communication system, comprising:
an access network device; and
a first fixed network gateway device;
wherein the access network device is configured to perform:
obtaining first information indicating that a first terminal device is of a target type or is allowed to obtain a service by using the first fixed network gateway device;
establishing a user plane connection to the first terminal device based on the first information via a 3 rd generation partnership project (3GPP) access technology; and
obtaining user plane data of the first terminal device via the user plane connection, and sending the user plane data to the first fixed network gateway device, wherein the first fixed network gateway device is connected to a fixed network that provides broadband services through broadband transmission protocols.