Communication method and communication device
By introducing the concepts of prohibited areas, restricted areas and allowed service areas in wireless communications, terminal equipment and network equipment exchange information in these areas, solving the restriction of terminal equipment registration and service requests, and realizing the optimization of communication security and resource management .
Patent Information
- Application Number
- CN202310880985.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-01-17
AI Technical Summary
The prior art is difficult to effectively limit network registration and service requests of terminal devices, resulting in security and resource management challenges.
By introducing the concepts of prohibiting areas, restricting areas and allowing service areas in the communication method, the shape and scope information of these areas are exchanged between the terminal device and the network device so that the terminal device can re-decide the registration or service request based on the information in the rejection message, Implement restrictions on terminal devices and secure communication or load balancing.
It realizes precise restrictions on terminal devices, improves communication security and resource management efficiency, avoids attackers from tampering with regional information in rejection messages, ensures that terminal devices re-initiate requests at the right time, and optimizes network resource usage.
Smart Images

Figure CN119325130A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a communication method and a communication device. Background Art
[0002] With the rapid development of the Internet, more and more terminal devices need to access the network and use the network to perform business. In order to ensure the security of terminal devices or networks and save network resources, it is necessary to impose corresponding restrictions on terminal devices, such as restricting the registration or business requests of certain terminal devices.
[0003] How to limit terminal devices remains to be resolved. Summary of the invention
[0004] The embodiments of the present application provide a communication method and a communication device to implement restrictions on terminal equipment.
[0005] In the first aspect, an embodiment of the present application provides a communication method, which can be executed by a terminal device or a module (such as a chip) applied to a terminal device. The method includes: sending a first request message, the first request message is used to request registration to a network or to initiate a service; receiving a rejection message, the rejection message includes at least one of information about a prohibited area, information about a restricted area, or information about an allowed service area; wherein the information about the prohibited area indicates the shape of the prohibited area and the range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information about the restricted area indicates the shape of the restricted area and the range of the restricted area, and the restricted area is an area where registration is allowed but initiation of a service is not allowed; the information about the allowed service area indicates the shape of the allowed service area and the range of the allowed service area, and the allowed service area is an area where registration is allowed and initiation of a service is allowed.
[0006] In the above scheme, when the terminal device initiates a registration request or a service request, if the network device rejects the request of the terminal device, at least one of the prohibited area information, restricted area information or allowed service area information can be carried in the rejection message, so as to facilitate the terminal device to make a subsequent decision to re-initiate the registration request or service request at an appropriate time, thereby realizing restrictions on the terminal device and helping to achieve secure communication or load balancing.
[0007] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0008] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0009] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0010] The above scheme can realize accurate indication of the prohibited area by indicating the accuracy of the center point and the accuracy of the radius.
[0011] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0012] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0013] The above solution can realize accurate indication of the prohibited area by indicating the accuracy of two vertices of at least one diagonal line.
[0014] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information is used to indicate whether the terminal device supports a location service notification mechanism.
[0015] In a possible implementation method, the rejection message is integrity protected.
[0016] The above scheme helps to prevent the prohibited area information, restricted area information or allowed service area information in the rejection message from being tampered by an attacker by performing integrity protection on the rejection message.
[0017] In a possible implementation method, the terminal device is located in the prohibited area or the restricted area; the method further includes: receiving a paging message; and responding to the paging message.
[0018] In the above scheme, when the terminal device is located in a prohibited area or a restricted area, if the terminal device receives a paging message, it can respond to the message, which helps to provide better services for the terminal device.
[0019] In a possible implementation method, the rejection message is not integrity protected; the method further includes: discarding the information of the prohibited area, the information of the restricted area, or the information of the allowed service area.
[0020] In the above scheme, when the rejection message is not integrity protected, the information of the prohibited area, the information of the restricted area or the information of the allowed service area in the rejection message may be tampered with by an attacker. Therefore, the information of the prohibited area, the information of the restricted area or the information of the allowed service area can be discarded, which helps to avoid receiving erroneous information of the prohibited area, the information of the restricted area or the information of the allowed service area.
[0021] In a possible implementation method, the rejection message includes information about the allowed service area, and includes information about the prohibited area and / or information about the restricted area; the method also includes: the terminal device is located in the allowed service area, and in the prohibited area and / or the restricted area, and sends a second request message, wherein the second request message is used to request registration to the network or to initiate a service.
[0022] The above scheme sets the priority of the allowed service area to the highest, which helps to provide better services for the terminal equipment.
[0023] In a possible implementation method, the rejection message includes information about the prohibited area and information about the restricted area, and the first request message is used to request registration to the network; the method also includes: the terminal device is located in the prohibited area and the restricted area, and sends a second request message, and the second request message is used to request registration to the network.
[0024] The above scheme sets the priority of the restricted area to be higher than that of the prohibited area, which helps to provide better services for the terminal device.
[0025] In a second aspect, an embodiment of the present application provides a communication method, which can be executed by a network device or a module (such as a chip) applied to a network device. The method includes: receiving a first request message, the first request message is used to request registration to a network or to initiate a service; sending a rejection message, the rejection message includes at least one of information about a prohibited area, information about a restricted area, or information about an allowed service area; wherein the information about the prohibited area indicates the shape of the prohibited area and the range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information about the restricted area indicates the shape of the restricted area and the range of the restricted area, and the restricted area is an area where registration is allowed but initiation of a service is not allowed; the information about the allowed service area indicates the shape of the allowed service area and the range of the allowed service area, and the allowed service area is an area where registration is allowed and initiation of a service is allowed.
[0026] In the above scheme, when the terminal device initiates a registration request or a service request, if the network device rejects the request of the terminal device, at least one of the prohibited area information, restricted area information or allowed service area information can be carried in the rejection message, so as to facilitate the terminal device to make a subsequent decision to re-initiate the registration request or service request at an appropriate time, thereby realizing restrictions on the terminal device and helping to achieve secure communication or load balancing.
[0027] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0028] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0029] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0030] The above scheme can realize accurate indication of the prohibited area by indicating the accuracy of the center point and the accuracy of the radius.
[0031] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0032] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0033] The above solution can realize accurate indication of the prohibited area by indicating the accuracy of two vertices of at least one diagonal line.
[0034] In a possible implementation method, the sending of the rejection message includes: the terminal device does not support the location service notification mechanism or the network device does not support the location service capability, and the rejection message is sent.
[0035] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device does not support the location service notification mechanism.
[0036] In a possible implementation method, the rejection message is integrity protected.
[0037] The above scheme helps to prevent the prohibited area information, restricted area information or allowed service area information in the rejection message from being tampered by an attacker by performing integrity protection on the rejection message.
[0038] In a third aspect, an embodiment of the present application provides a communication method, which can be performed by a network device or a module (such as a chip) applied to a network device. The method includes: receiving a first request message, the first request message is used to request registration to a network or initiate a service; if the terminal device does not support the location service notification mechanism or the network device does not support the location service capability, a rejection message is sent.
[0039] In the above scheme, when the terminal device initiates a registration request or a service request, if the terminal device does not support the location service notification mechanism or the network device does not support the location service capability, it indicates that the network device cannot obtain the precise location of the terminal device, and thus cannot accurately determine whether the terminal device is located in a prohibited area, a restricted area, or a service-allowed area based on the precise location of the terminal device. Therefore, the network device can reject the request of the terminal device and restrict the terminal device, which helps to achieve secure communication or load balancing.
[0040] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device does not support the location service notification mechanism.
[0041] In a possible implementation method, the rejection message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; wherein the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
[0042] The above scheme rejects the message to carry at least one of the information of the prohibited area, the information of the restricted area or the information of the allowed service area, so that the terminal device can make a subsequent decision to re-initiate the registration request or service request at an appropriate time, thereby implementing restrictions on the terminal device and helping to achieve secure communication or load balancing.
[0043] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0044] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0045] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0046] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0047] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0048] In a fourth aspect, an embodiment of the present application provides a communication method, which can be executed by a network device or a module (such as a chip) applied to a network device. The method includes: receiving a first request message, the first request message is used to request registration to a network or initiate a service; the terminal device supports a location service notification mechanism and the network device supports location service capabilities, and sends an acceptance message.
[0049] In the above scheme, when a terminal device initiates a registration request or a service request, if the terminal device supports the location service notification mechanism and the network device supports the location service capability, it indicates that the network device can obtain the precise location of the terminal device, and then can accurately determine whether the terminal device is located in a prohibited area, a restricted area or a service-allowed area based on the precise location of the terminal device. Therefore, the network device can first accept the request of the terminal device, and then further determine whether to allow the registration request or service request of the terminal device based on the precise location of the terminal device obtained, thereby restricting the terminal device and helping to achieve secure communication or load balancing.
[0050] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device supports a location service notification mechanism.
[0051] In a possible implementation method, after sending the acceptance message, it also includes: obtaining the first location of the terminal device; the first request message is used to request registration to the network, the first location is located in a prohibited area, and a deregistration message is sent; or, the first request message is used to request to initiate a service, the first location is located in a prohibited area or a restricted area, and a service rejection message is sent; wherein the prohibited area is an area where access to the network is prohibited, and the restricted area is an area where registration is allowed but service initiation is not allowed.
[0052] In a possible implementation method, the acceptance message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; wherein the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
[0053] The above scheme carries at least one of the information of prohibited areas, restricted areas or allowed service areas in the receiving message, so that after the terminal device is subsequently de-registered or the service is rejected, it can decide to re-initiate the registration request or service request at an appropriate time, thereby realizing restrictions on the terminal device and helping to achieve secure communication or load balancing.
[0054] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0055] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0056] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0057] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0058] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0059] In a fifth aspect, an embodiment of the present application provides a communication device, which may be a terminal device or a module (such as a chip) for a terminal device. The device has the function of implementing any implementation method of the first aspect above. The function may be implemented by hardware or by executing corresponding software implementation by hardware. The hardware or software includes one or more modules corresponding to the above functions.
[0060] In a sixth aspect, an embodiment of the present application provides a communication device, which may be a network device or a module (such as a chip) for a network device. The device has the function of implementing any implementation method of the second to fourth aspects above. The function may be implemented by hardware or by executing corresponding software implementation by hardware. The hardware or software includes one or more modules corresponding to the above functions.
[0061] In a seventh aspect, an embodiment of the present application provides a communication device, comprising a unit or means for executing each step of any implementation method in the first to fourth aspects above.
[0062] In an eighth aspect, an embodiment of the present application provides a communication device, including a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute any implementation method in the first to fourth aspects above. The processor includes one or more.
[0063] In a ninth aspect, an embodiment of the present application provides a communication device, including a processor, the processor being used to call a program to execute any implementation method in the first to fourth aspects above. The processor may be one or more.
[0064] Optionally, the communication device may further include a memory, which is coupled to the processor and may be located inside or outside the device.
[0065] In the tenth aspect, an embodiment of the present application provides a communication device, comprising a processor; when the device is running, the processor executes computer instructions to enable the device to execute any implementation method in the above-mentioned first to fourth aspects.
[0066] Optionally, the communication device may further include a memory for storing the computer instructions.
[0067] In the eleventh aspect, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a communication device, any implementation method in the above-mentioned first to fourth aspects is executed.
[0068] In the twelfth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a communication device, any implementation method in the above-mentioned first to fourth aspects is executed.
[0069] In the thirteenth aspect, an embodiment of the present application also provides a chip system, including: a processor, used to execute any implementation method in the above-mentioned first to fourth aspects.
[0070] In a thirteenth aspect, an embodiment of the present application further provides a communication system, comprising a terminal device for executing any implementation method of the above-mentioned first aspect, and a network device for executing any implementation method of the above-mentioned second aspect.
[0071] In a fourteenth aspect, an embodiment of the present application further provides a communication system, comprising a terminal device, a network device for executing any implementation method of the third aspect above. The terminal device is used to send a first request message to the network device, wherein the first request message is used to request registration to a network or to initiate a service.
[0072] In a fifteenth aspect, an embodiment of the present application further provides a communication system, comprising a terminal device, a network device for executing any implementation method of the fourth aspect above. The terminal device is used to send a first request message to the network device, wherein the first request message is used to request registration to a network or to initiate a service. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] FIG1( a ) is a schematic diagram of the architecture of a communication system used in an embodiment of the present application;
[0074] FIG1( b ) shows a schematic diagram of a network device;
[0075] Figure 2 A flow chart of a communication method provided in an embodiment of the present application;
[0076] Figure 3 A flow chart of a communication method provided in an embodiment of the present application;
[0077] Figure 4 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0078] Figure 5 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] FIG1(a) is a schematic diagram of the architecture of a communication system used in an embodiment of the present application. The communication system 1000 shown in FIG1(a) includes a wireless access network 100 and a core network 200. Optionally, the communication system 1000 also includes the Internet 300. Among them, the wireless access network 100 may include at least one network device (such as 110a and 110b in FIG1(a)), and may also include at least one terminal device (such as 120a-120j in FIG1(a)). The terminal device is connected to the network device by wireless means, and the network device is connected to the core network by wireless or wired means. The core network device and the network device may be independent and different physical devices, or the functions of the core network device and the logical functions of the network device may be integrated on the same physical device, or the functions of some core network devices and some network devices may be integrated on one physical device. Terminal devices and terminal devices and network devices and network devices may be connected to each other by wire or wireless means. FIG. 1( a ) is only a schematic diagram, and the communication system may also include other network devices, such as wireless relay devices and wireless backhaul devices, which are not shown in FIG. 1( a ).
[0080] Network equipment is an access device that terminal equipment uses to access the communication system through wired or wireless means. Network equipment can be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation NodeB (gNB) in the fifth generation (5G) mobile communication system, a next generation base station in the sixth generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a wireless fidelity (WiFi) system, etc.; it can also be a module or unit that completes part of the functions of a base station, for example, a centralized unit (CU), a distributed unit (DU), or a radio unit (RU). Here, the CU completes the functions of the radio resource control protocol and the packet data convergence layer protocol (PDCP) of the base station, and can also complete the function of the service data adaptation protocol (SDAP); the DU completes the functions of the radio link control layer and the medium access control (MAC) layer of the base station, and can also complete the functions of part of the physical layer or all of the physical layer. For the specific description of the above-mentioned various protocol layers, please refer to the relevant technical specifications of the 3rd generation partnership project (3GPP). CU and DU can be set separately, or they can also be included in the same network element, such as the baseband unit (BBU). RU can be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU) or a remote radio head (RRH). In different systems, CU, DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be referred to as O-CU (open CU), DU may also be referred to as O-DU, and RU may also be referred to as O-RU. Any unit in the CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.The network device may be a macro base station (such as 110a in FIG. 1(a)), a micro base station or an indoor station (such as 110b in FIG. 1(a)), a relay node or a donor node, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network device. For ease of description, the network device is referred to as a wireless access network device, and the base station is taken as an example of a wireless access network device.
[0081] The terminal device is a device with wireless transceiver function, which can send signals to network devices or receive signals from network devices. The terminal device includes but is not limited to terminal devices, terminals, user equipment (UE), mobile stations, mobile terminals, etc. The terminal device can be widely used in various scenarios, for example, device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal device can specifically be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, an airplane, a ship, a robot, a mechanical arm, a smart home device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
[0082] The network equipment and terminal equipment can be fixed or movable. The network equipment and terminal equipment can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on the water surface; they can also be deployed on airplanes, balloons, and artificial satellites. The embodiments of the present application do not limit the application scenarios of the network equipment and terminal equipment.
[0083] The roles of network devices and terminal devices can be relative. For example, the helicopter or drone 120i in FIG. 1(a) can be configured as a mobile network device. For the terminal devices 120j that access the wireless access network 100 through 120i, the terminal device 120i is a network device; but for the network device 110a, 120i is a terminal device, that is, 110a and 120i communicate through the wireless air interface protocol. Of course, 110a and 120i can also communicate through the interface protocol between network devices. In this case, relative to 110a, 120i is also a network device. Therefore, network devices and terminal devices can be collectively referred to as communication devices. 110a and 110b in FIG. 1(a) can be referred to as communication devices with network device functions, and 120a-120j in FIG. 1(a) can be referred to as communication devices with terminal device functions.
[0084] Network devices and terminal devices, network devices and network devices, and terminal devices and terminal devices can communicate through authorized spectrum, unauthorized spectrum, or both; can communicate through spectrum below 6 gigahertz (GHz), spectrum above 6 GHz, or spectrum below 6 GHz and spectrum above 6 GHz. The embodiments of the present application do not limit the spectrum resources used for wireless communication.
[0085] In the embodiments of the present application, the functions of the network device may also be performed by a module (such as a chip) in the network device, or by a control subsystem including the network device function. The control subsystem including the network device function here may be a control center in the above-mentioned application scenarios such as smart grid, industrial control, smart transportation, and smart city. The functions of the terminal device may also be performed by a module (such as a chip or a modem) in the terminal device, or by a device including the terminal device function.
[0086] In this application, the network device sends a downlink signal or downlink information to the terminal device, and the downlink information is carried on the downlink channel; the terminal device sends an uplink signal or uplink information to the network device, and the uplink information is carried on the uplink channel. In order to communicate with the network device, the terminal device needs to establish a wireless connection with the cell controlled by the network device. The cell that has established a wireless connection with the terminal device is called the service cell of the terminal device.
[0087] FIG1(b) shows a schematic diagram of a network device. As shown in FIG1(b), the network device includes one or more CUs, one or more DUs, and one or more radio units (RUs). For clarity, FIG1(b) shows only one CU, DU, and RU. The CU is used to connect to the core network and one or more DUs. Optionally, the CU may have some functions of the core network. The CU may include a CU-control plane (CP) and a CU-user plane (UP).
[0088] CU and DU can be configured according to the protocol layer functions of the wireless network they implement: for example, CU is configured to implement the functions of the packet data convergence protocol (PDCP) layer and the protocol layers above (such as the radio resource control (RRC) layer and / or the service data adaptation protocol (SDAP) layer, etc.); DU is configured to implement the functions of the protocol layers below the PDCP layer (such as the radio link control (RLC) layer, the medium access control (MAC) layer, and / or the physical (PHY) layer, etc.). For another example, CU is configured to implement the functions of the protocol layers above the PDCP layer (such as the RRC layer and / or the SDAP layer), and DU is configured to implement the functions of the PDCP layer and the protocol layers below (such as the RLC layer, the MAC layer, and / or the PHY layer, etc.).
[0089] The above configuration of CU and DU is only an example, and the functions of CU and DU can also be configured as needed. For example, CU or DU can be configured to have functions of more protocol layers, or CU or DU can be configured to have partial processing functions of protocol layers. For example, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. For another example, the functions of CU or DU can be divided according to service type or other system requirements, such as by delay, and the functions whose processing time needs to meet the smaller delay requirement are set in the DU, and the functions that do not need to meet the delay requirement are set in the CU.
[0090] DU and RU can cooperate to jointly implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of DU and RU can be configured in a variety of ways according to the design. For example, DU is configured to implement baseband functions, and RU is configured to implement mid-RF functions. For another example, DU is configured to implement high-level functions in the PHY layer, and RU is configured to implement low-level functions in the PHY layer or to implement the low-level functions and RF functions. The high-level functions in the physical layer may include a part of the functions of the physical layer, which is closer to the MAC layer, and the low-level functions in the physical layer may include another part of the functions of the physical layer, which is closer to the mid-RF side.
[0091] Figure 2 A flow chart of a communication method provided in an embodiment of the present application. The method can be executed by a terminal device or a module for a terminal device, and a network device or a module for a network device. The following takes the execution of the method by a terminal device and a network device as an example.
[0092] The method comprises the following steps:
[0093] Step 201: The terminal device sends a first request message to the network device. Correspondingly, the network device receives the first request message.
[0094] The first request message is also called a registration request message or a registration message, and is used to request registration with a network.
[0095] Optionally, the first request message also carries capability information, and the capability information is used to indicate that the terminal device supports a location services notification mechanism or indicates that the terminal device does not support a location services notification mechanism. If the first request message does not carry the capability information, it indicates that the terminal device does not support the location services notification mechanism. If the terminal device supports the location services notification mechanism and the network device supports the location services function, the network device can obtain the precise location of the terminal device from the terminal device after the terminal device is registered with the network. If the terminal device does not support the location services notification mechanism or the network device does not support the location services function, the network device cannot obtain the precise location of the terminal device from the terminal device.
[0096] Step 202: The network device sends a rejection message or an acceptance message to the terminal device. Correspondingly, the terminal device receives the rejection message or the acceptance message.
[0097] The rejection message is also called a registration rejection message, and is used to indicate that the terminal device is rejected from registering to the network.
[0098] The acceptance message is also called a registration acceptance message, and is used to indicate that the terminal device is accepted to register with the network.
[0099] In one implementation method, the rejection message or the acceptance message includes at least one of the following information: information about a prohibited area, information about a restricted area, or information about an allowed service area.
[0100] The information of the forbidden area indicates the shape of the forbidden area and the range of the forbidden area. The forbidden area is an area where access to the network is prohibited. That is, if the terminal device is in the forbidden area, the network device rejects the registration request or service request of the terminal device. Optionally, the information of the forbidden area includes the shape information of the forbidden area and the range information of the forbidden area. In the embodiment of the present application, the forbidden area may also have other names, such as a forbidden area, a forbidden registration area, etc.
[0101] The information of the restricted area indicates the shape of the restricted area and the range of the restricted area. The restricted area is an area where registration is allowed but service initiation is not allowed. That is, if the terminal device is in the restricted area, the network device allows the registration request of the terminal device but does not allow the service request of the terminal device. Optionally, the information of the restricted area includes the shape information of the restricted area and the range information of the restricted area. In the embodiment of the present application, the restricted area may also have other names, such as non-allowed service area, restricted area, service prohibited area, etc.
[0102] The information of the allowed service area indicates the shape of the allowed service area and the range of the allowed service area. The allowed service area is an area where registration is allowed and service initiation is allowed. That is, if the terminal device is in the allowed service area, the network device allows both the registration request of the terminal device and the service request of the terminal device. Optionally, the information of the allowed service area includes the shape information of the allowed service area and the range information of the allowed service area.
[0103] The shapes of the prohibited area, the restricted area, and the allowed service area can be circular, square, or other shapes. For ease of explanation, the prohibited area is used as an example for explanation below. For the implementation of the restricted area and the allowed service area, the implementation method of the prohibited area can be referred to.
[0104] It can be understood that if there are exceptional conditions, terminal devices in prohibited areas, restricted areas or allowed service areas may not be subject to the above restrictions. For example, when the terminal device is located in the overlapping area of the prohibited area and the allowed area, it is stipulated that the terminal device is allowed to register and / or the terminal device is allowed to initiate a service, or, when the terminal device is located in other overlapping areas, it is stipulated that the terminal device is allowed to register and / or the terminal device is allowed to initiate a service, or it may also be stipulated that the terminal device is not allowed to register and / or the terminal device is not allowed to initiate a service. Alternatively, there may be other exceptional conditions, which are not limited in this application. If the terminal device is not located in the prohibited area, restricted area, or allowed service area, that is, it is located at a location outside the prohibited area, restricted area, and allowed service area, then the terminal device may be allowed to initiate registration and initiate a service request, or the terminal device may be allowed to initiate registration but not allowed to initiate a service request, or the terminal device may not be allowed to initiate registration and service requests.
[0105] In one implementation method, the information of the prohibited area indicates the shape of the prohibited area, specifically including: the information of the prohibited area indicates that the shape of the prohibited area is a circle. The information of the prohibited area indicates the scope of the prohibited area, specifically including: the information of the prohibited area indicates the radius of the prohibited area. In this case, the terminal device uses the position of the terminal device (which may be the current position of the terminal device, or the position of the terminal device reported to the network device the most recent time) as the center of the circle, and combines the radius indicated by the information of the prohibited area to determine a circular area, and the circular area is the prohibited area. Alternatively, the information of the prohibited area indicates the scope of the prohibited area, specifically including: the information of the prohibited area indicates the radius of the prohibited area and the center point position of the circle. In this case, the terminal device uses the center point position indicated by the information of the prohibited area as the center of the circle, and combines the radius indicated by the information of the prohibited area to determine a circular area, and the circular area is the prohibited area. Optionally, the information of the prohibited area also indicates the accuracy of the center point and the accuracy of the radius, and can also indicate the height of the center point. Among them, the position information of the center point may include longitude information and latitude information, and optionally also includes height information.
[0106] In another implementation method, the information of the prohibited area indicates the shape of the prohibited area, specifically including: the information of the prohibited area indicates that the shape of the prohibited area is a square (such as a square or a rectangle). The information of the prohibited area indicates the scope of the prohibited area, specifically including: the information of the prohibited area indicates the two vertices of at least one diagonal line of the prohibited area. In this case, the terminal device determines a square area according to the positions of the two vertices of the at least one diagonal line, and the square area is the prohibited area. Optionally, the information of the prohibited area also indicates the accuracy of the two vertices of the at least one diagonal line, and can also indicate the height of the two vertices of the at least one diagonal line. Among them, the information of the two vertices of the diagonal line can include longitude information and latitude information, and the optional information of the two vertices of the diagonal line also includes height information.
[0107] In one implementation method, the rejection message or acceptance message may be integrity protected, thereby helping to prevent the prohibited area information, restricted area information, or allowed service area information in the rejection message or acceptance message from being tampered with by an attacker.
[0108] In one implementation method, if the above-mentioned rejection message or acceptance message is not integrity protected, the terminal device can discard the prohibited area information, restricted area information or allowed service area information in the rejection message or acceptance message.
[0109] If the terminal device receives a rejection message in step 202, the terminal device may subsequently re-initiate a registration request at an appropriate time, such as sending a second request message to request registration with the network. The following describes possible operations of the terminal device after receiving a rejection message in different scenarios.
[0110] Scenario 1: After the terminal device moves, it is located in the allowed service area or the restricted area, and the terminal device sends a second request message.
[0111] In scenario 2, the terminal device moves and is located in a prohibited area, and the terminal device does not send a second request message.
[0112] Scenario 3: After the terminal device moves, it is located in the allowed service area, the restricted area and / or the prohibited area, and the terminal device sends a second request message.
[0113] In this scenario, when the terminal device is located in the overlapping area of the allowed service area and the restricted area, or in the overlapping area of the allowed service area and the prohibited area, or in the overlapping area of the allowed service area, the restricted area and the prohibited area, the priority of the allowed service area is set to the highest, so the terminal device is allowed to initiate registration again.
[0114] Scenario 4: After the terminal device moves, it is located in the restricted area and the prohibited area, and the terminal device sends a second request message.
[0115] In this scenario, when the terminal device is located in the overlapping area of the prohibited area and the restricted area, the priority of the restricted area is set higher than that of the prohibited area, so the terminal device is allowed to initiate registration again.
[0116] For the above scenarios 3 and 4, the priority of the allowed service area is set to be the highest, the priority of the restricted area is set to be the second, and the priority of the prohibited area is set to be the lowest. This application does not limit the order of setting the priorities. In other implementation methods, the priority order among the three can also be set in other ways.
[0117] In one implementation method, after the terminal device successfully registers with the network, when the terminal device is located in a prohibited area or a restricted area and is in an idle state, if the terminal device receives a paging message from a network device, the terminal device can respond to the paging message and enter a connected state.
[0118] The specific implementation of the above step 202 is introduced below according to different situations.
[0119] In case 1, the network device determines that the terminal device is located in a prohibited area based on the location of the terminal device, and the above step 202 is specifically: the network device sends a rejection message to the terminal device.
[0120] The location of the terminal device here refers to the coarse-grained location or the less precise location of the terminal device. For example, the location of the terminal device may be carried in the above-mentioned first request message or other messages.
[0121] In scenario 2, the network device determines, based on the location of the terminal device, that the terminal device is located in a restricted area of the allowed service area, and the above step 202 is specifically as follows: the network device sends an acceptance message to the terminal device.
[0122] The meaning of the location of the terminal device here is the same as that in the above situation 1.
[0123] Scenario 3: The network device cannot determine whether the terminal device is located in the permitted service area, prohibited area or restricted area based on the location of the terminal device. This is further divided into the following scenarios 3.1 and 3.2:
[0124] The meaning of the location of the terminal device here is the same as that in the above situation 1.
[0125] Scenario 3.1: if the terminal device does not support the location service notification mechanism or the network device does not support the location service function, the above step 202 is specifically: the network device sends a rejection message to the terminal device.
[0126] If the terminal device does not support the location service notification mechanism or the network device does not support the location service function, it means that the network device cannot obtain the precise location of the terminal device, and therefore cannot accurately determine whether the terminal device is located in the allowed service area, prohibited area or restricted area. For safety reasons, the network device rejects the registration request of the terminal device.
[0127] Scenario 3.2: if the terminal device supports the location service notification mechanism and the network device supports the location service function, the above step 202 is specifically: the network device sends an acceptance message to the terminal device.
[0128] If the terminal device supports the location service notification mechanism and the network device supports the location service function, it means that the network device can obtain the precise location of the terminal device after the terminal device completes the registration, and then can accurately determine whether the terminal device is located in the allowed service area, the prohibited area or the restricted area. Therefore, the network device can allow the registration request of the terminal device. In addition, after sending the acceptance message, the network device can perform the following operations: the network device obtains the first location of the terminal device (that is, the precise location of the terminal device). If the first location of the terminal device is located in the prohibited area, the network device sends a deregistration message, and the deregistration message can carry a reason value, which indicates that the terminal device is located in the prohibited area; if the first location of the terminal device is located in the restricted area, it indicates that the terminal device cannot initiate a service request at this time, so the network device can release the link between the terminal device and the network device to save resources; if the first location of the terminal device is located in the allowed service area, the network device can perform no operation.
[0129] Figure 3 A flow chart of a communication method provided in an embodiment of the present application. The method can be executed by a terminal device or a module for a terminal device, and a network device or a module for a network device. The following takes the execution of the method by a terminal device and a network device as an example.
[0130] The method comprises the following steps:
[0131] Step 300: The terminal device successfully registers with the network.
[0132] This step can refer to the above Figure 2 The successful registration scenario execution in the embodiment will not be repeated here.
[0133] Step 301: The terminal device sends a first request message to the network device. Correspondingly, the network device receives the first request message.
[0134] The first request message is also called a service request message, and is used to request to initiate a service.
[0135] Step 302: The network device sends a rejection message or an acceptance message to the terminal device. Correspondingly, the terminal device receives the rejection message or the acceptance message.
[0136] The rejection message is also called a service rejection message, and is used to indicate the rejection of a service initiated by a terminal device.
[0137] The acceptance message is also called a service acceptance message, and is used to indicate the acceptance of the service initiated by the terminal device.
[0138] In one implementation method, the rejection message or the acceptance message includes at least one of the following information: information about the prohibited area, information about the restricted area, or information about the allowed service area. For the specific meaning and implementation of the information about the prohibited area, information about the restricted area, and information about the allowed service area, please refer to Figure 2 The description of the embodiments will not be repeated here.
[0139] In one implementation method, the rejection message or acceptance message may be integrity protected, thereby helping to prevent the prohibited area information, restricted area information, or allowed service area information in the rejection message or acceptance message from being tampered with by an attacker.
[0140] In one implementation method, if the above-mentioned rejection message or acceptance message is not integrity protected, the terminal device can discard the prohibited area information, restricted area information or allowed service area information in the rejection message or acceptance message.
[0141] If the terminal device receives a rejection message in step 302, the terminal device may subsequently re-initiate a service request at an appropriate time, such as sending a second request message to request the initiation of a service. The following describes possible operations of the terminal device after receiving a rejection message in different scenarios.
[0142] Scenario 1: After the terminal device moves, it is located in the allowed service area, and the terminal device sends a second request message.
[0143] In scenario 2, the terminal device moves and is located in a prohibited area and / or a restricted area, and the terminal device does not send a second request message.
[0144] Scenario 3: After the terminal device moves, it is located in the allowed service area, the restricted area and / or the prohibited area, and the terminal device sends a second request message.
[0145] For scenario 3, when the terminal device is located in the overlapping area of the allowed service area and the restricted area, or in the overlapping area of the allowed service area and the prohibited area, or in the overlapping area of the allowed service area, the restricted area and the prohibited area, the priority of the allowed service area is set to the highest, so the terminal device is allowed to initiate a service request again.
[0146] For scenario 3, setting the allowed service area as the highest priority is used as an example for explanation. This application does not limit the order of setting the priorities. In other implementation methods, the priority order among the three can also be set in other ways.
[0147] In one implementation method, after the terminal device successfully registers with the network, when the terminal device is located in a prohibited area or a restricted area and is in an idle state, if the terminal device receives a paging message from a network device, the terminal device can respond to the paging message and enter a connected state.
[0148] The specific implementation of the above step 302 is introduced below according to different situations.
[0149] In scenario 1, the network device determines that the terminal device is located in a prohibited area or a restricted area based on the location of the terminal device, and the above step 302 is specifically: the network device sends a rejection message to the terminal device.
[0150] The location of the terminal device here refers to the coarse-grained location or the less precise location of the terminal device. For example, the location of the terminal device may be carried in the above-mentioned first request message or other messages.
[0151] In scenario 2, the network device determines that the terminal device is located in the service-allowed area based on the location of the terminal device, and the above step 302 is specifically: the network device sends an acceptance message to the terminal device.
[0152] The meaning of the location of the terminal device here is the same as that in the above situation 1.
[0153] Scenario 3: The network device cannot determine whether the terminal device is located in the permitted service area, prohibited area or restricted area based on the location of the terminal device. This is further divided into the following scenarios 3.1 and 3.2:
[0154] The meaning of the location of the terminal device here is the same as that in the above situation 1.
[0155] Scenario 3.1: if the terminal device does not support the location service notification mechanism or the network device does not support the location service function, the above step 302 is specifically: the network device sends a rejection message to the terminal device.
[0156] If the terminal device does not support the location service notification mechanism or the network device does not support the location service function, it means that the network device cannot obtain the precise location of the terminal device, and therefore cannot accurately determine whether the terminal device is located in the allowed service area, prohibited area or restricted area. For safety reasons, the network device rejects the service request of the terminal device.
[0157] Scenario 3.2: If the terminal device supports the location service notification mechanism and the network device supports the location service function, the above step 302 is specifically: the network device sends an acceptance message to the terminal device.
[0158] If the terminal device supports the location service notification mechanism and the network device supports the location service function, it means that the network device can obtain the precise location of the terminal device, and then can accurately determine whether the terminal device is located in the allowed service area, prohibited area or restricted area. Therefore, the network device can allow the service request of the terminal device. In addition, after sending the acceptance message, the network device can perform the following operations: the network device obtains the first location of the terminal device (that is, the precise location of the terminal device). If the first location of the terminal device is located in the prohibited area, the network device can send a deregistration message; if the first location of the terminal device is located in the restricted area, indicating that the terminal device cannot initiate a service request at this time, the network device can send a service rejection message or release the link between the terminal device and the network device to save resources; if the first location of the terminal device is located in the allowed service area, the network device may not perform any operation.
[0159] It is understandable that, in order to implement the functions in the above embodiments, the terminal device or network device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0160] Figure 4 and Figure 5 A schematic diagram of the structure of possible communication devices provided for embodiments of the present application. These communication devices can be used to implement the functions of the terminal device or network device in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In the embodiments of the present application, the communication device can be a terminal device or a network device, and can also be a module (such as a chip) applied to a terminal device or a network device.
[0161] Figure 4 The communication device 400 shown includes a processing unit 410 and a transceiver unit 420. The communication device 400 is used to implement the functions of the terminal device or the network device in the above method embodiment.
[0162] When the communication device 400 is used to implement the function of the terminal device in the above method embodiment, the processing unit 410 is used to control the transceiver unit 420 to send a first request message, wherein the first request message is used to request registration to the network or to initiate a service; receive a rejection message, wherein the rejection message includes at least one of information about a prohibited area, information about a restricted area, or information about an allowed service area; wherein the information about the prohibited area indicates a shape of the prohibited area and a range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information about the restricted area indicates a shape of the restricted area and a range of the restricted area, and the restricted area is an area where registration is allowed but initiation of services is not allowed; the information about the allowed service area indicates a shape of the allowed service area and a range of the allowed service area, and the allowed service area is an area where registration is allowed and initiation of services is allowed.
[0163] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0164] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0165] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0166] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0167] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0168] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information is used to indicate whether the terminal device supports a location service notification mechanism.
[0169] In a possible implementation method, the rejection message is integrity protected.
[0170] In a possible implementation method, the terminal device is located in the prohibited area or the restricted area; the processing unit 410 is further used to control the transceiver unit 420 to receive a paging message; and respond to the paging message.
[0171] In a possible implementation method, the rejection message is not integrity protected; the processing unit 410 is further configured to discard the information of the prohibited area, the information of the restricted area, or the information of the allowed service area.
[0172] In a possible implementation method, the rejection message includes information about the allowed service area, and includes information about the prohibited area and / or information about the restricted area; the terminal device is located in the allowed service area, and is located in the prohibited area and / or the restricted area, and the processing unit 410 is also used to control the transceiver unit 420 to send a second request message, and the second request message is used to request registration to the network or to initiate a service.
[0173] In a possible implementation method, the rejection message includes information about the prohibited area and information about the restricted area, and the first request message is used to request registration to the network; the terminal device is located in the prohibited area and the restricted area, and the processing unit 410 is also used to control the transceiver unit 420 to send a second request message, and the second request message is used to request registration to the network.
[0174] When the communication device 400 is used to implement the function of the network device in the above method embodiment, the processing unit 410 is used to control the transceiver unit 420 to receive a first request message, wherein the first request message is used to request registration to the network or to initiate a service; send a rejection message, wherein the rejection message includes at least one of information about a prohibited area, information about a restricted area, or information about an allowed service area; wherein the information about the prohibited area indicates a shape of the prohibited area and a range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information about the restricted area indicates a shape of the restricted area and a range of the restricted area, and the restricted area is an area where registration is allowed but initiation of services is not allowed; the information about the allowed service area indicates a shape of the allowed service area and a range of the allowed service area, and the allowed service area is an area where registration and initiation of services are allowed.
[0175] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0176] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0177] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0178] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0179] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0180] In a possible implementation method, the processing unit 410 is also used to control the transceiver unit 420 to send a rejection message, specifically including: the terminal device does not support the location service notification mechanism or the network device does not support the location service capability, and the transceiver unit 420 is controlled to send the rejection message.
[0181] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device does not support the location service notification mechanism.
[0182] In a possible implementation method, the rejection message is integrity protected.
[0183] When the communication device 400 is used to implement the function of the network device in the above method embodiment, the processing unit 410 is also used to control the transceiver unit 420 to receive a first request message, wherein the first request message is used to request registration to the network or initiate a service; if the terminal device does not support the location service notification mechanism or the network device does not support the location service capability, a rejection message is sent.
[0184] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device does not support the location service notification mechanism.
[0185] In a possible implementation method, the rejection message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; wherein the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
[0186] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0187] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0188] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0189] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0190] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0191] When the communication device 400 is used to implement the function of the network device in the above method embodiment, the processing unit 410 is also used to control the transceiver unit 420 to receive a first request message, wherein the first request message is used to request registration to the network or initiate a service; the terminal device supports the location service notification mechanism and the network device supports the location service capability, and sends an acceptance message.
[0192] In a possible implementation method, the first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device supports a location service notification mechanism.
[0193] In one possible implementation method, the processing unit 410 is also used to obtain the first location of the terminal device after the control transceiver unit 420 sends an acceptance message; the first request message is used to request registration to the network, the first location is located in a prohibited area, and the control transceiver unit 420 sends a deregistration message; or, the first request message is used to request to initiate a service, the first location is located in a prohibited area or a restricted area, and the control transceiver unit 420 sends a service rejection message; wherein the prohibited area is an area where access to the network is prohibited, and the restricted area is an area where registration is allowed but service initiation is not allowed.
[0194] In a possible implementation method, the acceptance message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; wherein the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
[0195] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle.
[0196] In a possible implementation method, the shape of the prohibited area is a circle; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
[0197] In a possible implementation method, the information of the forbidden area further indicates the accuracy of the center point and the accuracy of the radius.
[0198] In a possible implementation method, the shape of the prohibited area is a square; the information of the prohibited area indicates the range of the prohibited area, including: the information of the prohibited area indicates two vertices of at least one diagonal line of the square.
[0199] In a possible implementation method, the information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
[0200] For a more detailed description of the processing unit 410 and the transceiver unit 420, reference may be made to the relevant description in the above method embodiment, which will not be repeated here.
[0201] Figure 5 The communication device 500 shown includes a processor 510 and an interface circuit 520. The processor 510 and the interface circuit 520 are coupled to each other. It is understood that the interface circuit 520 can be a transceiver or an input-output interface. Optionally, the communication device 500 may also include a memory 530 for storing instructions executed by the processor 510 or storing input data required by the processor 510 to execute instructions or storing data generated after the processor 510 executes instructions.
[0202] When the communication device 500 is used to implement the above method embodiment, the processor 510 is used to implement the function of the above processing unit 410, and the interface circuit 520 is used to implement the function of the above transceiver unit 420.
[0203] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0204] The method steps in the embodiments of the present application can be implemented by hardware, or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, register, hard disk, mobile hard disk, compact disc read-only memory (compact disc read-only memory, CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a network device. Of course, the processor and the storage medium can also be present in an access network device or a terminal as discrete components.
[0205] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. A computer program (English: Computer Program) refers to a set of instructions that indicate each step of an electronic computer or other device with message processing capability, usually written in a certain programming language, and runs on a certain target architecture. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0206] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.
[0207] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of this application, the character " / " generally indicates that the previous and next associated objects are in an "or" relationship; in the formula of this application, the character " / " indicates that the previous and next associated objects are in a "division" relationship.
[0208] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.
Claims
1. A communication method, characterized in that: include: Sending a first request message, where the first request message is used to request registration to a network or to initiate a service; receiving a rejection message, wherein the rejection message includes at least one of information of a prohibited area, information of a restricted area, or information of an allowed service area; The information of the prohibited area indicates the shape of the prohibited area and the range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; The information of the restricted area indicates the shape of the restricted area and the range of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the range of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
2. The method according to claim 1, characterized in that The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle.
3. The method according to claim 1, characterized in that The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
4. The method according to claim 3, characterized in that The information of the forbidden area also indicates the accuracy of the center point and the accuracy of the radius.
5. The method according to claim 1, characterized in that The shape of the forbidden area is a square; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates two vertices of at least one diagonal line of the square.
6. The method according to claim 5, characterized in that The information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
7. The method according to any one of claims 1 to 6, characterized in that The first request message is used to request registration with the network, and the first request message includes capability information, and the capability information is used to indicate whether the terminal device supports a location service notification mechanism.
8. The method according to any one of claims 1 to 7, characterized in that The reject message is integrity protected.
9. The method according to any one of claims 1 to 8, characterized in that The terminal device is located in the prohibited area or the restricted area; the method further includes: Receive paging messages; Respond to the paging message.
10. The method according to any one of claims 1 to 7, characterized in that The rejection message is not integrity protected; the method further comprising: The information of the prohibited area, the information of the restricted area, or the information of the service-allowed area is discarded.
11. The method according to any one of claims 1 to 9, characterized in that The rejection message includes information about the allowed service area, information about the prohibited area and / or information about the restricted area; The method further comprises: The terminal device is located in the allowed service area and in the prohibited area and / or the restricted area, and sends a second request message, where the second request message is used to request registration to the network or to initiate a service.
12. The method according to any one of claims 1 to 9, characterized in that The rejection message includes information about the prohibited area and information about the restricted area, and the first request message is used to request registration to the network; The method further comprises: The terminal device is located in the prohibited area and the restricted area, and sends a second request message, where the second request message is used to request registration to the network.
13. A communication method, characterized in that: include: Receiving a first request message, where the first request message is used to request registration to a network or to initiate a service; sending a rejection message, wherein the rejection message includes at least one of information of a prohibited area, information of a restricted area, or information of an allowed service area; The information of the prohibited area indicates the shape of the prohibited area and the range of the prohibited area, and the prohibited area is an area where access to the network is prohibited; The information of the restricted area indicates the shape of the restricted area and the range of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the range of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
14. The method according to claim 13, characterized in that The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle.
15. The method according to claim 13, characterized in that The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
16. The method according to claim 15, characterized in that The information of the forbidden area also indicates the accuracy of the center point and the accuracy of the radius.
17. The method according to claim 13, characterized in that The shape of the forbidden area is a square; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates two vertices of at least one diagonal line of the square.
18. The method according to claim 17, characterized in that The information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
19. The method according to any one of claims 13 to 18, characterized in that The sending of the rejection message comprises: The terminal device does not support the location service notification mechanism or the network device does not support the location service capability, and sends the rejection message.
20. The method of claim 19, wherein: The first request message is used to request registration with a network, and the first request message includes capability information, where the capability information indicates that the terminal device does not support a location service notification mechanism.
21. The method according to any one of claims 13 to 20, characterized in that The reject message is integrity protected.
22. A communication method, characterized in that: include: Receiving a first request message, where the first request message is used to request registration to a network or to initiate a service; The terminal device does not support the location service notification mechanism or the network device does not support the location service capability and sends a rejection message.
23. The method of claim 22, wherein: The first request message is used to request registration with a network, and the first request message includes capability information, where the capability information indicates that the terminal device does not support a location service notification mechanism.
24. The method according to claim 22 or 23, characterized in that The rejection message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; Among them, the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
25. The method of claim 24, wherein: The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle.
26. The method of claim 24, wherein: The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
27. The method of claim 26, wherein: The information of the forbidden area also indicates the accuracy of the center point and the accuracy of the radius.
28. The method of claim 24, wherein: The shape of the forbidden area is a square; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates two vertices of at least one diagonal line of the square.
29. The method of claim 28, wherein: The information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
30. A communication method, characterized in that: Applied to network equipment, including: Receiving a first request message, where the first request message is used to request registration to a network or to initiate a service; The terminal device supports the location service notification mechanism and the network device supports the location service capability and sends and receives messages.
31. The method of claim 30, wherein: The first request message is used to request registration with the network, and the first request message includes capability information, and the capability information indicates that the terminal device supports a location service notification mechanism.
32. The method of claim 30, wherein: After sending the acceptance message, the method further includes: Acquire a first position of the terminal device; The first request message is used to request registration with the network, the first location is located in a prohibited area, and a deregistration message is sent; or, The first request message is used to request to initiate a service, and the first location is located in a prohibited area or a restricted area, and a service rejection message is sent; The prohibited area is an area where network access is prohibited, and the restricted area is an area where registration is allowed but service initiation is not allowed.
33. The method according to claim 30 or 31, characterized in that The acceptance message includes at least one of the information of the prohibited area, the information of the restricted area, or the information of the allowed service area; Among them, the information of the prohibited area indicates the shape of the prohibited area and the scope of the prohibited area, and the prohibited area is an area where access to the network is prohibited; the information of the restricted area indicates the shape of the restricted area and the scope of the restricted area, and the restricted area is an area where registration is allowed but business initiation is not allowed; the information of the allowed service area indicates the shape of the allowed service area and the scope of the allowed service area, and the allowed service area is an area where registration and business initiation are allowed.
34. The method of claim 33, wherein: The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle.
35. The method of claim 33, wherein: The shape of the prohibited area is circular; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates the radius of the circle and the position of the center point of the circle.
36. The method of claim 35, wherein: The information of the forbidden area also indicates the accuracy of the center point and the accuracy of the radius.
37. The method of claim 33, wherein: The shape of the forbidden area is a square; The information of the prohibited area indicates the range of the prohibited area, including: The information of the prohibited area indicates two vertices of at least one diagonal line of the square.
38. The method of claim 37, wherein: The information of the forbidden area further indicates the accuracy of two vertices of the at least one diagonal line.
39. A communication device, characterized in that: Comprising a module for executing the method of any one of claims 1 to 12, or the method of any one of claims 13 to 21, or the method of any one of claims 22 to 29, or the method of any one of claims 30 to 38.
40. A communication device, characterized in that: The method comprises a processor for calling a program to execute the method described in any one of claims 1 to 12, or the method described in any one of claims 13 to 21, or the method described in any one of claims 22 to 29, or the method described in any one of claims 30 to 38.
41. A communication device, characterized in that: comprising a processor; when the communication device is running, the processor executes computer instructions to execute the method described in any one of claims 1 to 12, or the method described in any one of claims 13 to 21, or the method described in any one of claims 22 to 29, or the method described in any one of claims 30 to 38.
42. A communication device, characterized in that: The invention comprises a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the method described in any one of claims 1 to 12, or execute the method described in any one of claims 13 to 21, or execute the method described in any one of claims 22 to 29, or execute the method described in any one of claims 30 to 38.
43. A computer program product, characterized in that The computer program product comprises a computer program or instructions, which, when executed on a processor, causes the processor to execute the method described in any one of claims 1 to 12, or the method described in any one of claims 13 to 21, or the method described in any one of claims 22 to 29, or the method described in any one of claims 30 to 38.
44. A computer-readable storage medium, characterized in that The storage medium stores a computer program or instruction. When the computer program or instruction is executed by the communication device, the method described in any one of claims 1 to 12, or the method described in any one of claims 13 to 21, or the method described in any one of claims 22 to 29, or the method described in any one of claims 30 to 38 is implemented.