Wireless communication method and apparatus
The communication method and apparatus facilitate the retrieval of user equipment state information in 5G LANs by generating subscription requests, addressing access limitations and improving data transmission and management efficiency.
Patent Information
- Application Number
- US19/743444
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2024-12-16
- Filing Date
- 2026-07-15
- Publication Date
- 2026-11-26
AI Technical Summary
Third-party applications in 5G LANs cannot directly access state information of user equipment, leading to difficulties in data transmission, connection management, and resource optimization due to their external domain status relative to the 5G system.
A communication method and apparatus that enables an application function to generate a subscription request message for user equipment state information, which is transmitted to a core network element, allowing the core network element to obtain and return subscription notification information, thereby facilitating accurate state information retrieval for third-party applications.
Enables flexible and accurate acquisition of user equipment state information, optimizing data transmission and connection management within 5G LANs by simplifying interactions and enhancing data processing efficiency and accuracy.
Smart Images

Figure US20260380269A1-D00000_ABST
Abstract
Description
RELATED APPLICATIONS
[0001] The present application is a continuation of International Application No. PCT / CN2025 / 138108, filed on Nov. 27, 2025, which claims priority to Chinese Patent Application No. 202411855072.4, filed on Dec. 16, 2024. The entire disclosures of the prior applications are hereby incorporated by reference.FIELD OF THE TECHNOLOGY
[0002] The present disclosure relates to the field of computer and communication technologies, including a communication method and apparatus, a computer-readable medium, and a computer device.BACKGROUND
[0003] With rapid development of a 5G network, a 5G local area network (LAN) technology gradually becomes an important component of local networks such as an industry network, an enterprise network, and a family network. A 5G LAN allows a plurality of user equipment (UE) to form a virtual local network via a 5G network, implementing low-latency, high-bandwidth, and secure communication. However, because third-party applications (such as an enterprise application and a cloud service platform) are usually located outside a 5G system and belong to a domain that is not managed by an operator, these applications cannot directly access state information of a terminal in the 5G LAN, causing difficulties in data transmitting, connection management, and resource optimization.SUMMARY
[0004] Aspects of the present disclosure include a communication method and apparatus, a computer-readable medium, and a computer device, to flexibly obtain state information of a user equipment included in a 5G LAN, thereby optimizing data transmission and connection management in a 5G LAN group.
[0005] An aspect of the present disclosure provides a communication method. In the communication method, a subscription request message is generated. The subscription request message requests state information of a user equipment in a local area network. The subscription request message is transmitted to a core network element. Subscription notification information is returned by the core network element in response to the subscription request message. The subscription notification information includes the state information of the user equipment and is received by an application function (AF).
[0006] An aspect of the present disclosure provides a communication apparatus. The communication apparatus includes processing circuitry configured to generate a subscription request message that requests state information of a user equipment in a local area network, transmit the subscription request message to a core network element, and receive subscription notification information returned by the core network element in response to the subscription request message. The subscription notification information includes the state information of the user equipment.
[0007] An aspect of the present disclosure provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores instructions which when executed by a processor cause the processor to implement a communication method. In the communication method, a subscription request message is generated. The subscription request message requests state information of a user equipment in a local area network. The subscription request message is transmitted to a core network element. Subscription notification information is returned by the core network element in response to the subscription request message. The subscription notification information includes the state information of the user equipment and is received by an AF.
[0008] An aspect of the present disclosure provides a communication method. In the communication method, a subscription request message is received. The subscription request message is transmitted by an AF and requests state information of a user equipment in a local area network. Based on the subscription request message, the state information of the user equipment in the local area network is obtained. Subscription notification information including the state information of the user equipment is generated and transmitted by a core network element to the AF.
[0009] An aspect of the present disclosure provides a communication apparatus. The communication apparatus includes processing circuitry configured to receive a subscription request message that is transmitted by an AF and requests state information of a user equipment in a local area network, obtain the state information of the user equipment in the local area network based on the subscription request message, generate subscription notification information including the state information of the user equipment, and transmit the subscription notification information to the AF.
[0010] An aspect of the present disclosure provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores instructions which when executed by a processor cause the processor to implement a communication method. In the communication method, a subscription request message is received. The subscription request message is transmitted by an AF and requests state information of a user equipment in a local area network. Based on the subscription request message, the state information of the user equipment in the local area network is obtained. Subscription notification information including the state information of the user equipment is generated and transmitted by a core network element to the AF.
[0011] An aspect of the present disclosure provides a communication method, performed in an application function (AF). The communication method includes: generating a subscription request message, the subscription request message being configured for requesting state information of a user equipment included in a local area network; transmitting the subscription request message to a core network element; and receiving subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information including the state information of the user equipment.
[0012] An aspect of the present disclosure provides a communication method, performed in a core network element. The communication method includes: receiving a subscription request message transmitted by an application function, the subscription request message being configured for requesting state information of a user equipment included in a local area network; obtaining, based on the subscription request message, the state information of the user equipment included in the local area network; generating subscription notification information including the state information of the user equipment; and transmitting the subscription notification information to the application function.
[0013] An aspect of the present disclosure provides a communication apparatus, including: a generation unit, configured to generate a subscription request message, the subscription request message being configured for requesting state information of a user equipment included in a local area network; a transmitting unit, configured to transmit the subscription request message to a core network element; and a receiving unit, configured to receive subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information including the state information of the user equipment.
[0014] An aspect of the present disclosure provides a communication apparatus, including: a receiving unit, configured to receive a subscription request message transmitted by an application function, the subscription request message being configured for requesting state information of a user equipment included in a local area network; an obtaining unit, configured to: obtain, based on the subscription request message, the state information of the user equipment included in the local area network; and generate subscription notification information including the state information of the user equipment; and a transmitting unit, configured to transmit the subscription notification information to the application function.
[0015] An aspect of the present disclosure provides a computer-readable medium (for example, a non-transitory computer-readable storage medium), having a computer program stored therein, the computer program, when executed by a processor, implementing the communication methods according to any of the foregoing aspects.
[0016] An aspect of the present disclosure provides a computer device, including processing circuitry (for example, one or more processors); and a storage apparatus, configured to store one or more computer programs, the one or more computer programs, when executed by the one or more processors, causing the computer device to implement the communication methods according to any of the foregoing aspects.
[0017] An aspect of the present disclosure provides a computer program product, the computer program product including a computer program, the computer program being stored in a computer-readable storage medium (for example, a non-transitory computer-readable storage medium). Processing circuitry (for example, a processor) of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the communication methods according to any of the foregoing various aspects.BRIEF DESCRIPTION OF THE DRAWINGS
[0018] FIG. 1 is a framework diagram of forming a 5G LAN group in a 5G system.
[0019] FIG. 2 is a flowchart of a communication method according to an aspect of the present disclosure.
[0020] FIG. 3 is a flowchart of a communication method according to an aspect of the present disclosure.
[0021] FIG. 4 is a schematic diagram of exposing information about a 5G LAN according to an aspect of the present disclosure.
[0022] FIG. 5 is a flowchart of a method for exposing information about a 5G LAN according to an aspect of the present disclosure.
[0023] FIG. 6 is a flowchart of a method for exposing information about a 5G LAN according to an aspect of the present disclosure.
[0024] FIG. 7 is a block diagram of a communication apparatus according to an aspect of the present disclosure.
[0025] FIG. 8 is a block diagram of a communication apparatus according to an aspect of the present disclosure.
[0026] FIG. 9 is a schematic structural diagram of a computer system adapted to implement a computer device according to an aspect of the present disclosure.DETAILED DESCRIPTION
[0027] The following describes technical solutions in embodiments of the present disclosure with reference to the accompanying drawings. The described embodiments are merely some rather than all of embodiments of this disclosure. All other embodiments obtained by persons of ordinary skill in the art based on embodiments of this disclosure shall fall within this disclosure.
[0028] Descriptions of terms in this disclosure are provided as examples only and are not intended to limit the scope of the disclosure.
[0029] In the present disclosure, terms such as “first” and “second” are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence. Data used in this way may be interchanged in a proper circumstance, so that embodiments of this disclosure described herein can be implemented in a sequence different from those shown in the drawings or described herein. In addition, terms “include”, “have”, and any variants thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to the steps or units specified expressly, but may include other steps or units not specified expressly or may include steps or units inherent to the process, method, product or device.
[0030] In the present disclosure, the term “at least one” means one or more, and “a plurality of” means two or more. The use of “at least one of” or “one of” in the disclosure is intended to include any one or a combination of the recited elements. For example, references to at least one of A, B, or C; at least one of A, B, and C; at least one of A, B, and / or C; and at least one of A to C are intended to include only A, only B, only C or any combination thereof. References to one of A or B and one of A and B are intended to include A or B or (A and B). The use of “one of” does not preclude any combination of the recited elements when applicable, such as when the elements are not mutually exclusive.
[0031] In addition, the features, structures or characteristics described in the present disclosure may be combined in one or more aspects in any appropriate manner. The following description has many specific details, so that aspects of the present disclosure can be understood. However, technical solutions of the present disclosure may be implemented without using all features in the aspects, one or more particular details may be omitted, or other methods, elements, apparatuses, or operations may be used.
[0032] In the aspects of the present disclosure, the term “module” or “unit” refers to a computer program with a preset function or a part of the computer program and works, together with other related parts, to implement a preset target, and may be completely or partially implemented by using software, hardware (for example, a processing circuit or a memory) or a combination thereof. Similarly, one processor (or a plurality of processors or memories) may be configured to implement one or more modules or units. In addition, each module or unit may be a part of an overall module or unit including a function of the module or unit.
[0033] Block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, the functional entities may be implemented in a software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor apparatuses and / or microcontroller apparatuses.
[0034] Flowcharts shown in the accompanying drawings are merely examples, do not need to include all content and operations / steps, and do not need to be performed in described orders either. For example, some operations / steps may be further divided, while some operations / steps may be combined or partially combined. Therefore, an actual execution order may change according to an actual case. “Plurality of” mentioned in the specification means two or more. “And / or” describes an association relationship for describing associated objects and represents that three relationships may exist. For example, A and / or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. The character “ / ” generally indicates an “or” relationship between the associated objects.
[0035] A fifth-generation (5G) mobile communication system, as a new-generation wireless communication technology, aims to provide a higher data transmission rate, lower latency, a greater connection density, and wider coverage. A 5G network not only supports a conventional mobile broadband service, but also provides a solid technical foundation for emerging applications such as the Internet of Things (loT), the Vehicle to Everything (V2X), industrial automation, and smart cities. A 5G core (5GC) uses a service-based architecture (SBA) to modularize network functions, so that the network is more flexible and extensible, and supports a plurality of application scenarios.
[0036] With rapid development of the 5G network, a 5G LAN technology gradually becomes an important component of local networks such as an industry network, an enterprise network, and a family network. A 5G LAN allows a plurality of user equipment to form a virtual local network via a 5G network, implementing low-latency, high-bandwidth, and secure communication. For example, in an example shown in FIG. 1, a 5G core (5GC) includes a user plane function (UPF), a control plane network element, a unified data management (UDM), and the like. The control plane network element may include, for example, an access and mobility management function (AMF), a session management function (SMF), a policy control function (PCF), and the like. The UPF is connected to a data network (DN), and the data network is configured to provide a data access function for a UE.
[0037] In FIG. 1, the UDM stores subscription data of UEs. Based on the subscription data, the UEs may be selected and grouped into corresponding virtual network groups (VN Group). In this way, different 5G LAN groups are formed, for example, a 5G LAN group 1 and a 5G LAN group n shown in FIG. 1.
[0038] However, because third-party applications (such as an enterprise application and a cloud service platform) are for example located outside a 5G system and belong to a domain that is not managed by an operator, these applications cannot directly access state information of a terminal in the 5G LAN, causing difficulties in data transmitting, connection management, and resource optimization.
[0039] Based on the foregoing problem, a new communication solution is provided in aspects of the present disclosure. Information about a 5G LAN may be exposed. For example, an application function may generate a subscription request message configured for requesting to obtain state information of a user equipment included in a local area network (such as the 5G LAN), and then transmit the subscription request message to a core network element. After receiving the subscription request message, the core network element may obtain the state information of the user equipment included in the local area network, and return the obtained information to the application function. It can be learned that, in the technical solution in aspects of the present disclosure, the state information of the user equipment included in the 5G LAN can be flexibly obtained, a problem that the state information of the user equipment cannot be obtained in a related technology may be addressed, a third-party application can learn of a state of the user equipment more accurately, and a service requirement in a 5G LAN application scenario may be satisfied.
[0040] Implementation details of the technical solution in aspects of the present disclosure are described in further detail in the following.
[0041] FIG. 2 is a flowchart of a communication method according to an aspect of the present disclosure. The communication method may be performed by an application function (AF), or may be performed by another network element capable of implementing a similar function. Referring to FIG. 2, the communication method includes at least S210 to S230. Example descriptions are as follows:
[0042] S210: Generate a subscription request message, the subscription request message being configured for requesting state information of a user equipment included in a local area network. The user equipment in the local area network is connected to a core network via an access network.
[0043] In an aspect, for a 5G system, the local area network may be a 5G LAN. A user equipment in the 5G LAN may be connected to an access network element (for example, a base station) through a Uu link, and may further be connected to the core network via the access network.
[0044] In an aspect, the subscription request message may include at least one of the following state information that needs to be subscribed to: a radio resource control (RRC) state of the user equipment, a connection management state of the user equipment, a motion state of the user equipment, a radio link state of the user equipment, and an energy consumption state of the user equipment.
[0045] In an aspect, the connection management (CM) state of the user equipment is configured to reflect a connection state between the user equipment and the core network. For example, the CM state may include CM-IDLE (an idle state) and CM-CONNECTED (a connected state).
[0046] In the CM-IDLE state, there is no effective non-access stratum (NAS) signaling connection between the UE and a 5GC, and the user equipment is disconnected from the 5GC and has no data transmission capability. In this state, the UE may monitor a paging message and perform cell selection / reselection, and the UE may move between different cells through cell selection / reselection, but does not trigger a core network-level location update, unless the paging message is received or a service request is initiated.
[0047] In the CM-CONNECTED state, there is an effective NAS signaling connection between the UE and the 5GC, allowing the UE to transmit and receive a NAS signaling message, and the 5GC retains detailed context information about the UE, including an IP address, protocol data unit (PDU) session information, and the like. In this state, the UE may perform data transmission, and the 5GC knows an exact location (for example, a serving gNodeB) of the UE. When the UE needs to establish, modify, or release a PDU session, or when a network needs to transmit a specific notification or command to the UE, the UE enters the CM-CONNECTED state.
[0048] In an aspect, the CM state may alternatively be CM_deregistered. This state identifier indicates that the user equipment currently has released a registration relationship from the core network, in other words, the user equipment no longer remains in a connected state with the core network. If the UE is in the CM_deregistered state, the following several cases may occur: The user equipment is powered off, where when the user equipment is powered off, the user equipment is automatically disconnected from a network, and enters the CM_deregistered state. The user equipment enters a flight mode, where the flight mode is a special setting, which may disable all wireless communication functions of the user equipment, and when the user equipment enters the flight mode, the user equipment is also disconnected from the network, and a state is displayed as the CM_deregistered state. The user equipment is removed from the network, where in some cases, the network may actively remove the user equipment from the network. For example, because the user equipment has not performed a communication activity for a long time or violates a network policy, the user equipment also enters the CM_deregistered state. The user equipment fails in re-registration, where when the user equipment attempts to establish a connection to the network again, if the user equipment fails in registration due to some reasons (such as a network fault or an authentication failure), the user equipment also remains in the CM_deregistered state.
[0049] In an aspect, the motion state of the user equipment refers to a moving state of the user equipment, for example, high-speed moving, medium-speed moving, or low-speed moving.
[0050] In an aspect, the radio link state of the user equipment represents radio link quality. For example, the radio link quality may include a plurality of cases such as high, medium, and low. For example, the radio link state of the user equipment may be determined by using a specific parameter indicator, such as reference signal received power (RSRP), reference signal received quality (RSRQ), a signal to interference plus noise ratio (SINR), a block error rate (BLER), or a channel quality indicator (CRC).
[0051] The RSRP represents average power of a reference signal received by the UE, and reflects strength of the signal. A smaller value indicates a weaker signal and poorer radio link quality. The RSRQ represents a ratio of average power of a received reference signal to total received power in a bandwidth, and reflects signal quality. A smaller value indicates poorer signal quality and poorer radio link quality. The SINR represents a ratio of power of a received wanted signal to interference plus noise power, and reflects signal quality. A larger value indicates better signal quality and better radio link quality. The BLER represents a proportion of errors occurring in transmitted data blocks, and reflects link reliability. A smaller value indicates higher link reliability. The CQI is channel quality information fed back by the UE to the base station, and is configured for helping the base station select an appropriate modulation and coding scheme (MSC). A larger value indicates better channel quality and better radio link quality.
[0052] In an aspect, the energy consumption state of the user equipment represents electricity consumption of the user equipment. In an aspect, the energy consumption state of the user equipment may include a high-energy-consumption state, a medium-energy-consumption state, a low-energy-consumption state, an extremely-low-energy-consumption state, and the like. In the high-energy-consumption state, a battery of the user equipment drains at a fast speed, and power may be exhausted in a short time. In the medium-energy-consumption state, a battery of the user equipment drains at a medium speed, and the user equipment can be maintained for use for a long time. In the low-energy-consumption state, the UE may be in an inactive state or an idle state, a battery drains at an extremely low speed, and power can be maintained for a long time. In the extremely-low-energy-consumption state, the UE may be in a deep sleep state or a power-off state, battery consumption is almost zero, and power can be maintained for a long time.
[0053] In an aspect, the subscription request message may include first indication information, and the first indication information indicates to subscribe to state information of all or a part of user equipment in the local area network. In an aspect, if the first indication information indicates to subscribe to the state information of all the user equipment in the local area network, the subscription request message may not include identification information of each user equipment in the local area network (for example, an internal identifier of the user equipment in the local area network), but only includes identification information of the local area network; or may include both identification information of the local area network and identification information of each user equipment in the local area network.
[0054] In an aspect, if the first indication information indicates to subscribe to the state information of the part of user equipment in the local area network, the subscription request message may include a local area network internal identifier of each of the part of user equipment. In an aspect, the local area network internal identifier is an identifier used inside the local area network. In this case, after receiving the subscription request message, a core network element may map the internal identifier to a core network identifier based on a mapping relationship, and then obtain the state information of the user equipment based on the core network identifier. In this way, the internal identifier can continue to be used inside the local area network, and the core network element can obtain the state information of the user equipment based on the core network identifier of the user equipment. In an aspect, if the subscription request message includes the core network identifier of the user equipment, the core network element does not need to perform identifier mapping processing.
[0055] In an aspect, the internal identifier of the user equipment may be a media access control (MAC) address of the user equipment, a network address of the user equipment inside the local area network (for example, an IP address of the user equipment inside the local area network), a mobile equipment identifier (MEID) of the user equipment, or the like. The core network identifier of the user equipment may be, for example, a global unique temporary identifier (GUID) or a subscription permanent identifier (SUPI).
[0056] In an aspect, the subscription request message may further include second indication information, and the second indication information indicates whether the subscription request is subscription of the application function or subscription of the user equipment. In the technical solution in this aspect, the core network element can learn of an intention (for example, whether the information is used by the application function or used by the user equipment) of subscribing to the state information of the user equipment, and further can provide state information of a related device in a targeted manner. For example, the subscription of the AF may require wider state information (for example, state information of a plurality of UEs), while the subscription of the user equipment may only require attention to state information of a single UE or few UEs. Therefore, the core network element may provide needed data in a targeted manner based on the second indication information, to avoid unnecessary data transmission, thereby saving a network bandwidth and computing resources. In addition, such flexibility also enables a system to better adapt to application requirements of different types.
[0057] In an aspect, for the subscription of the user equipment, after obtaining the subscribed information, the AF further needs to transmit the subscribed information to the user equipment, for example, may expose the subscribed information to the user equipment through an application layer interface. In other words, for the subscription of the user equipment, the user equipment needs to perform subscription via the AF. For example, the user equipment needs to notify the AF of information that needs to be subscribed to. Then, the AF initiates a subscription request message. After obtaining the subscribed information, the AF may expose the subscribed information to the user equipment through the application layer interface.
[0058] Still referring to FIG. 2, S220: Transmit the subscription request message to the core network element. The subscription request message is configured to enable the core network element to obtain the state information of the user equipment included in the local area network.
[0059] In an aspect, the AF transmits the subscription request message to the core network element, which may be for example transmitting the subscription request message to a policy control function (PCF), or transmitting the subscription request message to a network exposure function (NEF).
[0060] In an aspect, after receiving the subscription request message, the core network element may obtain the state information of the user equipment from a corresponding network element based on a type of the state information to be obtained by using the subscription request message.
[0061] For example, if the state information to be obtained by using the subscription request message includes at least one of the RRC state of the user equipment, the connection management state of the user equipment, the motion state of the user equipment, and the radio link state of the user equipment, the state information may be obtained from an access and mobility management network element. If the state information to be obtained by using the subscription request message includes the energy consumption state of the user equipment, the state information may be obtained from an operations administration and maintenance (OAM).
[0062] In an aspect, after receiving the subscription request message, the core network element may alternatively transmit a data analytics request to a network data analytics function (NWDAF) based on the subscription request message, to request the network data analytics function to return a corresponding data analytics result based on the data analytics request, and then the state information of the user equipment may be obtained based on the data analytics result. In the technical solution in this aspect, the state information that is of the user equipment and that is to be subscribed to may be obtained by using an analytics capability of the NWDAF.
[0063] S230: Receive subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information including the state information of the user equipment.
[0064] In an aspect, a new communication solution is provided in this aspect of the present disclosure. Information about the 5G LAN may be exposed. For example, the application function may generate the subscription request message configured for requesting to obtain the state information of the user equipment included in the local area network (such as the 5G LAN), and then transmit the subscription request message to the core network element. After receiving the subscription request message, the core network element may obtain the state information of the user equipment included in the local area network, and return the obtained information to the application function. It can be learned that, in the technical solution in aspects of the present disclosure, the state information of the user equipment included in the 5G LAN can be flexibly obtained, a problem that the state information of the user equipment cannot be obtained in a related technology may be addressed, a third-party application can learn of a state of the user equipment more accurately, and a service requirement in a 5G LAN application scenario may be satisfied.
[0065] In addition, the subscription request is uniformly processed by the core network element, thereby avoiding complexity of direct interaction between the AF and a plurality of underlying network elements, and simplifying a communication procedure. In addition, more valuable state information can be extracted from original data by using the analytics capability of the NWDAF, thereby improving data processing efficiency and accuracy. Such centralized management ensures reliability and timeliness of obtaining the state information, and satisfies service requirements for low latency and high reliability in a 5G LAN scenario.
[0066] In an aspect, the subscription notification information returned by the core network element in response to the subscription request message may include the state information that is requested by the application function and that is of the user equipment, so that the application function can learn of the state of the user equipment more accurately, to optimize data transmission and connection management, thereby facilitating improving data transmission efficiency.
[0067] In an aspect, after receiving the subscription notification information returned by the core network element in response to the subscription request message, the application function may provide the received state information of the user equipment for a device requesting the state information of the user equipment. In an aspect, the device requesting the state information may be a user equipment, an application server device, or the like.
[0068] The foregoing describes the technical solution in aspects of the present disclosure from a perspective of the application function. The following describes the technical solution in aspects of the present disclosure again from a perspective of the core network element with reference to FIG. 3.
[0069] FIG. 3 is a flowchart of a communication method according to an aspect of the present disclosure. The communication method may be performed by a core network element, for example, may be performed by a PCF, or may be performed by a NEF, or may be performed by another network element capable of implementing a similar function. Referring to FIG. 3, the communication method includes at least S310 to S330. Example descriptions are as follows:
[0070] S310: Receive a subscription request message transmitted by an application function, the subscription request message being configured for requesting state information of a user equipment comprised in a local area network; The user equipment in the local area network is connected to a core network via an access network.
[0071] In an aspect, the user equipment in the local area network may be connected to an access network element (for example, a base station) through a Uu link, and may further be connected to the core network via the access network. For a 5G system, the local area network may be a 5G LAN.
[0072] In an aspect, the subscription request message may include at least one of the following state information that needs to be subscribed to: an RRC state of the user equipment, a connection management state of the user equipment, a motion state of the user equipment, a radio link state of the user equipment, an energy consumption state of the user equipment, and the like.
[0073] S320: Obtain, based on the subscription request message, the state information of the user equipment included in the local area network.
[0074] S330: Generate subscription notification information including the state information of the user equipment.
[0075] In an aspect, after receiving the subscription request message, the core network element may obtain the state information of the user equipment from a corresponding network element based on a type of the state information to be obtained by using the subscription request message. In other words, based on the type of the state information requested by using the subscription request message, the state information of the user equipment is obtained from the network element corresponding to the type.
[0076] For example, if the state information to be obtained by using the subscription request message includes at least one of the RRC state of the user equipment, the connection management state of the user equipment, the motion state of the user equipment, and the radio link state of the user equipment, the corresponding state information may be obtained from an AMF. If the state information to be obtained by using the subscription request message includes the energy consumption state of the user equipment, the corresponding energy consumption state may be obtained from an OAM.
[0077] In an aspect, after receiving the subscription request message, the core network element may alternatively transmit a data analytics request to an NWDAF based on the subscription request message. The data analytics request is configured for enabling the network data analytics function to return a corresponding data analytics result based on the data analytics request, and then the state information of the user equipment may be obtained based on the data analytics result. In the technical solution in this aspect, the state information that is of the user equipment and that is to be subscribed to may be obtained by using an analytics capability of the NWDAF.
[0078] In an aspect, the subscription request message may include indication information indicating to subscribe to state information of all or a part of user equipment in the local area network. In an aspect, if the indication information indicates to subscribe to the state information of all the user equipment in the local area network, the subscription request message may not include identification information of each user equipment in the local area network (for example, an internal identifier of the user equipment in the local area network), but only includes identification information of the local area network; or may include both identification information of the local area network and identification information of each user equipment in the local area network.
[0079] In an aspect, if the indication information indicates subscribing to the state information of the part of user equipment in the local area network, the subscription request message may include a local area network internal identifier of the part of user equipment. In this case, after receiving the subscription request message, the core network element may determine a corresponding core network identifier based on the local area network internal identifier of the part of user equipment and a mapping relationship configured for mapping the local area network internal identifier to a core network identifier, and then obtain the state information of the user equipment based on the core network identifier. In this way, the internal identifier can continue to be used inside the local area network, and the core network element can obtain the state information of the user equipment based on the core network identifier of the user equipment. In an aspect, if the subscription request message includes the core network identifier of the user equipment, the core network element does not need to perform identifier mapping processing.
[0080] S340: Transmit the subscription notification information to the application function.
[0081] In an aspect, the subscription notification information transmitted by the core network element to the application function may include the state information that is requested by the application function and that is of the user equipment, so that the application function can learn of a state of the user equipment more accurately, to optimize data transmission and connection management.
[0082] In an aspect, after receiving the subscription notification information returned by the core network element in response to the subscription request message, the application function may expose the obtained state information of the user equipment to a specified device through an application layer interface, so that the specified device can also obtain the state information of the user equipment in the local area network. In an aspect, the specified device may be a specified user equipment, an application server device, or the like.
[0083] The foregoing separately describes the technical solution in aspects of the present disclosure from perspectives of the application function and the core network element. The following describes in further detail implementation details of the technical solution in aspects of the present disclosure by using an example in which a 5G LAN group is established in a 5G system.
[0084] The technical solution in aspects of the present disclosure is to implement a more flexible 5G LAN communication mechanism by enhancing functions of a gateway and a corresponding core network element, to support exposure of information about a 5G LAN. For example, as shown in FIG. 4, a terminal A and a terminal B may form one 5G LAN. 5G LAN terminals (for example, the terminal A and the terminal B) may access a 5G base station through a Uu link, and then access a 5G core network.
[0085] The technical solution in aspects of the present disclosure is to expose a state of the 5G LAN terminal to a third-party application such as an AF via a 5GC network element such as a PCF or a NEF. In addition, an application (App) on the terminal may also subscribe to state information of another terminal from the AF through an application layer, to satisfy functional requirements of the App.
[0086] In an example, as shown in FIG. 5, a method for exposing information about a 5G LAN according to an aspect of the present disclosure includes the following operations.
[0087] S501: Establish a PDU session, and complete configuration of a 5G LAN group.
[0088] In an aspect, a process of establishing the PDU session is that after a user equipment registers with a core network element, the PDU session is established by transmitting a PDU session establishment request message, and then the 5G LAN group is constructed based on subscription information of the user equipment.
[0089] S502: An AF subscribes to state information of a 5G LAN terminal from a PCF via a NEF or directly.
[0090] In an aspect, when subscribing to the state information of the 5G LAN terminal, the AF may list, in a subscription request message, UE states that need to be subscribed to, a UE state parameter that needs to be subscribed to, and a type of the subscription for exposure of information about a 5G LAN.
[0091] In an aspect, the type of the subscription for exposure of the information about the 5G LAN may include subscription of the AF or subscription of an App on the user equipment.
[0092] In an aspect, the UE state parameter may include, but is not limited to, the following aspects: an RRC state of the UE, where for example, the UE is in an RRC connected state, an inactive state, or an idle state; a CM state of the UE; and other state information that may change, for example, a mobility state (such as high, medium, or low), a radio link state (such as high, medium, or low connection quality), or an energy consumption state of the 5G LAN UE.
[0093] In an aspect, information that can be directly obtained by a 5GC network element or obtained via a gNB may be used as exposed information, and is exposed to a third-party AF.
[0094] In an aspect, different information granularities may be used for the subscription for exposure of the information about the 5G LAN. For example, states of all UEs in a group are subscribed to based on groups, or a state of a specific terminal in a group is subscribed to. In an aspect, if subscription is performed based on groups, the AF is interested in the states of all the UEs in the group, and a large amount of terminal state update information may be received. If subscription is performed for a specific terminal, the AF needs to provide a local area network internal identifier of the UE, and then the local area network internal identifier may be mapped to a 5GS internal identifier (that is, a core network identifier) at a NEF or a PCF.
[0095] S503: The PCF or the NEF subscribes to the state information of the 5G LAN terminal from a corresponding network element.
[0096] In an aspect, the NEF or the PCF may determine, based on a subscribed state parameter of a UE, a network element from which subscription is performed for information exposure. For example, if the RRC state, the CM state, or the like of the UE is subscribed to, subscription may be performed from an AMF. If the mobility state (such as high, medium, or low) or the radio link state (such as high, medium, or low connection quality) of the UE is subscribed to, subscription may be performed from an AMF and requires support of a gNB. If the energy consumption state of the 5G LAN UE is subscribed to, the energy consumption state may be obtained from a network element having energy consumption of the UE, for example, an OAM or another network element.
[0097] S504: The corresponding network element detects a state change of the 5G LAN terminal and notifies the PCF or the NEF of the state change.
[0098] In an aspect, if subscription is performed based on groups, changes in state information of UEs in the group may be aggregated into a message and reported to the NEF / PCF. If subscription is performed for a specific terminal, changes in state information of the particular UE in the group may be aggregated into a message and reported to the NEF / PCF.
[0099] S505: The NEF or the PCF notifies the AF / an AS of the state information of the 5G LAN terminal.
[0100] In an aspect, if subscription is performed based on groups, changes in state information of UEs in the group may be aggregated into a message and returned to the AF. If subscription is performed for a specific terminal, changes in state information of the UE in the group may be aggregated into a message and returned to the AF.
[0101] In an aspect of the present disclosure, because obtaining the state information of the 5G LAN UE from a plurality of different network elements may increase interaction between the plurality of network elements, and a dependent parameter may have been collected by a NWDAF for another analytics purpose, in another example of the present disclosure, parameters of different UEs may be collected via the NWDAF. A specific processing process is shown in FIG. 6, including the following operations.
[0102] S601: Establish a PDU session, and complete configuration of a 5G LAN group.
[0103] In an aspect, a process of establishing the PDU session is that after a user equipment registers with a core network element, the PDU session is established by transmitting a PDU session establishment request message, and then the 5G LAN group is constructed based on subscription information of the user equipment.
[0104] S602: An AF subscribes to state information of a 5G LAN terminal from a PCF via a NEF or directly.
[0105] In an aspect, when subscribing to the state information of the 5G LAN terminal, the AF may list, in a subscription request message, UE states that need to be subscribed to, a UE state parameter that needs to be subscribed to, and a type of the subscription for exposure of information about a 5G LAN.
[0106] In an aspect, the type of the subscription for exposure of the information about the 5G LAN may include subscription of the AF or subscription of an App on the user equipment.
[0107] In an aspect, the UE state parameter may include, but is not limited to, the following aspects: an RRC state of the UE, where for example, the UE is in an RRC connected state, an inactive state, or an idle state; a CM state of the UE; and other state information that may change, for example, a mobility state (such as high, medium, or low), a radio link state (such as high, medium, or low connection quality), or a power consumption state of the 5G LAN UE.
[0108] In an aspect, information that can be directly obtained by a 5GC network element or obtained via a gNB may be used as exposed information that is exposed to a third-party AF.
[0109] In an aspect, different information granularities may be used for the subscription for exposure of the information about the 5G LAN. For example, states of all UEs in a group are subscribed based on groups, or a state of a specific terminal in a group is subscribed. In an aspect, if subscription is performed based on groups, the AF is interested in the states of all the UEs in the group, and a large amount of terminal state update information may be received. If subscription is performed for a specific terminal, the AF needs to provide a local area network internal identifier of the UE, and then the local area network internal identifier may be mapped to a 5GS internal identifier (that is, a core network identifier) at a NEF or a PCF.
[0110] S603: The PCF or the NEF subscribes to the state information of the 5G LAN terminal from an NWDAF.
[0111] In an aspect, the NEF or the PCF may initiate analytics to the NWDAF. The analytics is for a 5G LAN group or a specific UE in the group. After receiving the analytics, the NWDAF may collect and obtain related state information.
[0112] In an aspect, if the RRC state, the CM state, or the like of the UE is subscribed to, the NWDAF may perform subscription from an AMF. If the mobility state (such as high, medium, or low) or the radio link state (such as high, medium, or low connection quality) of the UE is subscribed to, the NWDAF may perform subscription from an AMF and requires support of a gNB. If the energy consumption state of the 5G LAN UE is subscribed to, the NWDAF may obtain the energy consumption state from a network element having energy consumption of the UE, for example, an OAM or another network element.
[0113] S604: The NWDAF notifies the PCF or the NEF of the obtained state information of the 5G LAN UE.
[0114] In an aspect, if subscription is performed based on groups, changes in state information of UEs in the group may be aggregated into a message and reported to the NEF / PCF. If subscription is performed for a specific terminal, changes in state information of the UE in the group may be aggregated into a message and reported to the NEF / PCF.
[0115] S605: The NEF or the PCF notifies the AF / an AS of the state information of the 5G LAN terminal.
[0116] In an aspect, if subscription is performed based on groups, changes in state information of UEs in the group may be aggregated into a message and returned to the AF. If subscription is performed for a specific terminal, changes in state information of the UE in the group may be aggregated into a message and returned to the AF.
[0117] The technical solution in aspects of the present disclosure also supports exposing information about a 5G LAN to a 5G LAN UE. For example, as shown in FIG. 4, this function needs to be implemented through an application layer interface between a 5G LAN UE and an AF. This information exposure mechanism may allow one 5G LAN UE to obtain a state of another 5G LAN UE, thereby facilitating supporting high-efficiency 5G LAN data transmission.
[0118] In an aspect, the present disclosure provides a solution of exposing information about a 5G LAN, so that state information of a terminal in a 5G LAN group can be provided for a third-party AF in a 5G LAN information exposure manner. In this manner, an operator may provide, for a third-party application based on a 5GS, information about a virtual LAN that crosses a wide area range, a problem that state information of a user equipment cannot be obtained in a related technology may be addressed, and the third-party application can learn of a state of the user equipment more accurately, thereby optimizing data transmission and connection management, improving use experience of a 5G LAN user, and satisfying a service requirement in a 5G LAN application scenario.
[0119] The technical solution in aspects of the present disclosure is not only applicable to a 5G system, but also applicable to a future evolved mobile communication system.
[0120] One or more modules, submodules, and / or units of the apparatus can be implemented by processing circuitry, software, or a combination thereof, for example. The term module (and other similar terms such as unit, submodule, etc.) in this disclosure may refer to a software module, a hardware module, or a combination thereof. A software module (for example, computer program) may be developed using a computer programming language and stored in memory or non-transitory computer-readable medium. The software module stored in the memory or medium is executable by a processor to thereby cause the processor to perform the operations of the module. A hardware module may be implemented using processing circuitry, including at least one processor and / or memory. Each hardware module can be implemented using one or more processors (or processors and memory). Likewise, a processor (or processors and memory) can be used to implement one or more hardware modules. Moreover, each module can be part of an overall module that includes the functionalities of the module. Modules can be combined, integrated, separated, and / or duplicated to support various applications. Also, a function being performed at a particular module can be performed at one or more other modules and / or by one or more other devices instead of or in addition to the function performed at the module. Further, modules can be implemented across multiple devices and / or other components local or remote to one another. Additionally, modules can be moved from one device and added to another device, and / or can be included in both devices.
[0121] The following describes examples of apparatus aspects of the present disclosure, and the apparatus aspects may be used for performing the communication method in the foregoing aspect of the present disclosure. For details not disclosed in the apparatus aspects of the present disclosure, reference can be made to the foregoing communication method aspects of the present disclosure as examples.
[0122] FIG. 7 is a block diagram of a communication apparatus according to an aspect of the present disclosure. The communication apparatus may be applied to an application function, or may be applied to another network element capable of implementing a similar function.
[0123] Referring to FIG. 7, a communication apparatus 700 according to an aspect of the present disclosure includes a generation unit 702, a transmitting unit 704, and a receiving unit 706.
[0124] The generation unit 702 is configured to generate a subscription request message, the subscription request message being configured for requesting state information of a user equipment included in a local area network; the transmitting unit 704 is configured to transmit the subscription request message to a core network element; and the receiving unit 706 is configured to receive subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information including the state information of the user equipment.
[0125] In an aspect, the subscription request message includes at least one of the following state information that needs to be subscribed to: a radio resource control (RRC) state of the user equipment, a mobility management state of the user equipment, a motion state of the user equipment, a radio link state of the user equipment, and an energy consumption state of the user equipment.
[0126] In an aspect, the subscription request message includes first indication information, and the first indication information indicates subscribing to state information of all or a part of user equipment in the local area network.
[0127] In an aspect, if the first indication information indicates subscribing to the state information of the part of user equipment in the local area network, the subscription request message further includes a local area network internal identifier of the part of user equipment, where the local area network internal identifier is configured to enable the core network element to determine a corresponding core network identifier based on a mapping relationship configured to map the local area network internal identifier to a core network identifier, and obtain the state information of the part of user equipment based on the core network identifier.
[0128] In an aspect, the subscription request message further includes second indication information, and the second indication information indicates whether the subscription request is subscription of the application function or subscription of the user equipment.
[0129] In an aspect, the transmitting unit 704 is further configured to provide the received state information of the user equipment for a device requesting the state information of the user equipment, for example, provide, through an application layer interface, the received state information of the user equipment for the device requesting the state information of the terminal device.
[0130] FIG. 8 is a block diagram of a communication apparatus according to an aspect of the present disclosure. The communication apparatus may be applied to a core network element such as a PCF or an NEF, or may be applied to another network element capable of implementing a similar function.
[0131] Referring to FIG. 8, a communication apparatus 800 according to an aspect of the present disclosure includes a receiving unit 802, an obtaining unit 804, and a transmitting unit 806.
[0132] The receiving unit 802 is configured to receive a subscription request message transmitted by an application function, the subscription request message being configured to request state information of a user equipment included in a local area network. The user equipment in the local area network is connected to a core network via an access network. The obtaining unit 804 is configured to: obtain, based on the subscription request message, the state information of the user equipment included in the local area network; and generate subscription notification information. The transmitting unit 806 is configured to transmit the subscription notification information to the application function.
[0133] In an aspect, the obtaining unit 804 is configured to obtain, based on a type of the state information to be obtained by using the subscription request message, the state information of the user equipment from a network element corresponding to the type.
[0134] In an aspect, the obtaining unit 804 is configured to: obtain corresponding state information from an access and mobility management network element if the state information requested by using the subscription request message includes at least one of an RRC state of the user equipment, a mobility management state of the user equipment, a motion state of the user equipment, and a radio link state of the user equipment; and obtain an energy consumption state from an operations management and maintenance (OAM) if the state information to be obtained by using the subscription request message includes the energy consumption state of the user equipment.
[0135] In an aspect, the obtaining unit 804 is configured to: transmit a data analytics request to a network data analytics function based on the subscription request message, where the data analytics request is configured to enable the network data analytics function to return a corresponding data analytics result based on the data analytics request; and obtain the state information of the user equipment based on the data analytics result.
[0136] In an aspect, if the subscription request message indicates subscribing to state information of a part of user equipment in the local area network, the obtaining unit 804 is configured to: obtain a local area network internal identifier of the part of user equipment from the subscription request message; determine a core network identifier based on the local area network internal identifier of the part of user equipment and a mapping relationship configured for mapping the local area network internal identifier to a core network identifier; and obtain state information of the part of user equipment based on the determined core network identifier.
[0137] FIG. 9 is a schematic structural diagram of a computer system adapted to implement a computer device according to an aspect of the present disclosure. The computer device may be an application function or a core network element in the foregoing aspects.
[0138] A computer system 900 of the computer device shown in FIG. 9 is merely an example, and does not constitute any limitation on functions and use ranges of the aspects of the present disclosure.
[0139] As shown in FIG. 9, the computer system 900 may include processing circuitry, for example a central processing unit (CPU) 901, which may perform various suitable actions and processing based on a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903, for example, perform the method described in the foregoing aspects. The RAM 903 further stores various programs and data required for system operations. The CPU 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0140] The following components may be connected to the I / O interface 905: an input part 906 including a keyboard, a mouse, or the like, an output part 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, or the like, a storage part 908 including a hard disk, or the like, and a communication part 909 including a network interface card such as a local area network (LAN) card or a modem. The communication part 909 performs communication processing via a network such as the Internet. A driver 910 is also connected to the I / O interface 905 as required. A removable medium 911, such as a magnetic disk, an optical disc, a magneto-optical disk, or a semiconductor memory, is installed on the driver 910 as required, so that a computer program read from the removable medium 911 is installed into the storage part 908 as required.
[0141] According to an aspect of the present disclosure, the processes described above by referring to the flowcharts may be implemented as computer software programs. For example, this aspect of the present disclosure includes a computer program product, the computer program product includes a computer program carried on a computer-readable medium (for example, a non-transitory computer-readable storage medium), and the computer program is used for performing the methods shown in the flowcharts. In such an aspect, the computer program may be downloaded and installed from a network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the various functions defined in the system of the present disclosure are executed.
[0142] The computer-readable medium shown in the aspects of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but is not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semi-conductive system, apparatus, or component, or any combination thereof. Examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In the present disclosure, the computer-readable storage medium may be any tangible medium (for example, a non-transitory computer-readable storage medium) containing or storing a computer program, and the computer program may be used by or used in combination with an instruction execution system, an apparatus, or a device. In the present disclosure, the computer-readable signal medium may include a data signal transmitted in a baseband or as a part of a carrier, and stores a computer-readable computer program. A data signal propagated in such a way may assume a plurality of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any appropriate combination thereof. The computer-readable signal medium may be alternatively any computer-readable medium other than a computer-readable storage medium. The computer-readable medium may send, propagate, or transmit a program that is used by or used in conjunction with an instruction execution system, an apparatus, or a device. The computer program included in the computer-readable medium may be transmitted by using any suitable medium, including, but not limited to, a wireless medium, a wired medium, or the like, or any appropriate combination thereof.
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate possible system architectures, functions and operations that may be implemented by a system, a method, and a computer program product according to various aspects of the present disclosure. Each box in a flowchart or a block diagram may represent a module, a program segment, or a part of code. The module, the program segment, or the part of code includes one or more executable instructions used for implementing specified logic functions. In some implementations used as substitutes, functions annotated in boxes may alternatively occur in a sequence different from that annotated in an accompanying drawing. For example, two boxes shown in succession may be performed in parallel, and sometimes the two boxes may be performed in a reverse sequence. This is determined by a related function. Each box in a block diagram or a flowchart and a combination of boxes in the block diagram or the flowchart may be implemented by using a dedicated hardware-based system configured to perform a specified function or operation, or may be implemented by using a combination of dedicated hardware and a computer program.
[0144] A related unit described in the aspects of the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner, and the unit described can also be set in a processor. Names of the units do not constitute a limitation on the units in a specific case.
[0145] According to an aspect, the present disclosure further provides a computer-readable medium (for example, a non-transitory computer-readable storage medium). The computer-readable medium may be included in the computer device described in the foregoing aspects, or may exist alone and is not disposed of in the computer device. The computer-readable medium carries one or more computer programs. The one or more computer programs, when executed by the computer device, cause the computer device to implement the method described in the foregoing aspects.
[0146] Although several modules or units of a device configured to perform actions are discussed in the foregoing detailed description, such division is not mandatory. According to the implementations of the present disclosure, features and functions of two or more modules or units described above may be implemented in one module or unit. On the contrary, features and functions of one module or unit described above may be further divided to be embodied by a plurality of modules or units.
[0147] According to the foregoing descriptions of the implementations, a person skilled in the art may understand that the implementations described herein may be implemented by using software, or may be implemented by combining software and hardware. Therefore, the technical solution for the implementation of the present disclosure may be implemented in the form of a software product. The software product may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a removable hard disk, or the like) or on a network, including several instructions to cause a computer device to perform the method according to the implementations of the present disclosure.
[0148] For example, the computer device may be an application function, and then the application function may perform the communication methods shown in FIG. 2. For another example, the computer device may be a core network element, and then the core network element may perform the communication methods shown in FIG. 3.
[0149] After considering the disclosure and practicing the implementations of the present disclosure, a person skilled in the art may conceive of other implementations of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include common general knowledge or common technical means in the art, which are not disclosed in the present disclosure.
[0150] The present disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope of the present disclosure.
Claims
1. A communication method, comprising:generating a subscription request message that requests state information of a user equipment in a local area network;transmitting the subscription request message to a core network element; andreceiving, by an application function, subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information comprising the state information of the user equipment.
2. The communication method according to claim 1, wherein the subscription request message requests at least one of:a radio resource control (RRC) state of the user equipment, a connection management state of the user equipment, a motion state of the user equipment, a radio link state of the user equipment, and an energy consumption state of the user equipment.
3. The communication method according to claim 1, wherein the subscription request message comprises first indication information indicating a subscription to state information of at least a subset of user equipment in the local area network.
4. The communication method according to claim 3, wherein when the first indication information indicates the subscription to the state information of the subset of the user equipment in the local area network, the subscription request message further comprises a local area network internal identifier of each of the subset of the user equipment, whereineach local area network internal identifier enables the core network element to determine a corresponding core network identifier based on a mapping relationship mapping each local area network internal identifier to the corresponding core network identifier, and to obtain the state information of one of the user equipment based on the corresponding core network identifier.
5. The communication method according to claim 1, wherein the subscription request message comprises second indication information indicating whether the subscription request message includes a subscription of the application function or a subscription of the user equipment.
6. The communication method according to claim 1, further comprising:providing the received state information of the user equipment to a device requesting the state information of the user equipment.
7. A communication method, comprising:receiving a subscription request message transmitted by an application function, the subscription request message requesting state information of a user equipment in a local area network;obtaining, based on the subscription request message, the state information of the user equipment in the local area network;generating subscription notification information comprising the state information of the user equipment; andtransmitting, by a core network element, the subscription notification information to the application function.
8. The communication method according to claim 7, wherein the obtaining comprises:obtaining, based on a type of the state information requested by the subscription request message, the state information of the user equipment from a network element corresponding to the type.
9. The communication method according to claim 8, wherein the obtaining comprises:obtaining corresponding state information from an access and mobility management function when the subscription request message requests at least one of: a radio resource control (RRC) state of the user equipment, a connection management state of the user equipment, a motion state of the user equipment, and a radio link state of the user equipment; andobtaining an energy consumption state from an operations management and maintenance (OAM) when the subscription request message requests the energy consumption state of the user equipment.
10. The communication method according to claim 7, wherein the obtaining comprises:transmitting a data analytics request to a network data analytics function based on the subscription request message, wherein the data analytics request causes the network data analytics function to return a corresponding data analytics result based on the data analytics request; andobtaining the state information of the user equipment based on the data analytics result.
11. The communication method according to claim 7, wherein when the subscription request message indicates a subscription to state information of a subset of user equipment in the local area network, the obtaining comprises:obtaining a local area network internal identifier of each of the subset of the user equipment from the subscription request message;determining a core network identifier of each of the subset of the user equipment based on the local area network internal identifier of the respective user equipment and a mapping relationship that maps each local area network internal identifier to the respective core network identifier; andobtaining the state information of each of the subset of the user equipment based on the determined core network identifier.
12. A communication apparatus, comprising processing circuitry configured to:generate a subscription request message that requests state information of a user equipment in a local area network;transmit the subscription request message to a core network element; andreceive subscription notification information returned by the core network element in response to the subscription request message, the subscription notification information comprising the state information of the user equipment.
13. The communication apparatus according to claim 12, wherein the subscription request message requests at least one of:a radio resource control (RRC) state of the user equipment, a connection management state of the user equipment, a motion state of the user equipment, a radio link state of the user equipment, and an energy consumption state of the user equipment.
14. The communication apparatus according to claim 12, wherein the subscription request message comprises first indication information indicating a subscription to state information of at least a subset of user equipment in the local area network.
15. The communication apparatus according to claim 14, wherein when the first indication information indicates the subscription to the state information of the subset of the user equipment in the local area network, the subscription request message further comprises a local area network internal identifier of each of the subset of the user equipment, whereineach local area network internal identifier enables the core network element to determine a corresponding core network identifier based on a mapping relationship mapping each local area network internal identifier to the corresponding core network identifier, and to obtain the state information of one of the user equipment based on the corresponding core network identifier.
16. The communication apparatus according to claim 12, wherein the subscription request message comprises second indication information indicating whether the subscription request message includes a subscription of the application function or a subscription of the user equipment.
17. The communication apparatus according to claim 12, wherein the processing circuitry is further configured to:provide the received state information of the user equipment to a device requesting the state information of the user equipment.
