Resource allocation method and device

The RAN node sends instructions and encrypted information to the terminal, ensuring that only terminals with service permissions can use the resources in the resource pool, solving the problem of terminals without permissions to execute services, and achieving reasonable allocation of resource configuration and improving service quality.

CN120456316APending Publication Date: 2025-08-08HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410176981.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, terminals without business permissions can obtain and perform resource configuration, resulting in the inability to provide effective services to terminals with business permissions.

Method used

The RAN node sends instructions and encryption information to the terminal to ensure that only the terminal with service authority can use the resources in the resource pool to perform services. The specific method includes sending the first indication information, the first configuration information and the first key information, and the terminal determines and acquires the resources in the resource pool based on these information.

Benefits of technology

Effectively avoid terminals that do not have business permissions to execute services, ensure the reasonable allocation of resource allocation, and improve the service quality of business providers for terminals with permissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120456316A_ABST
    Figure CN120456316A_ABST
Patent Text Reader

Abstract

The invention provides a resource configuration method and device, and relates to the technical field of communication. In the method, an RAN (Radio Access Network) node can obtain the authority of a terminal for executing a first service from a core network, and indicates whether resources in a resource pool configured by the RAN node can be adopted to execute the first service to the terminal according to whether the terminal has the authority of executing the first service, so that the terminal without the authority of the first service is prevented from executing the first service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource configuration method and device. Background Art

[0002] In a communications system, radio access network (RAN) nodes can configure the resources required to execute a service to provide the corresponding service to terminals authorized for that service. Taking the sidelink (SL) positioning service as an example, the RAN node configures resources for the SL-positioning reference signal (SL-PRS). Transmitting terminals authorized for the SL positioning service can use the configured resources to send the SL-PRS, while receiving terminals authorized for the SL positioning service can use the configured resources to receive the SL-PRS and measure the SL-PRS to locate the target terminal.

[0003] Current resource allocation methods include network scheduling (e.g., Mode 1) and terminal self-selection of resources (e.g., Mode 2). Since terminals can self-select resources in Mode 2, terminals without service authorization can also obtain the resources required to execute services and thus execute the first service, which is detrimental to service providers providing services to terminals with service authorization. Summary of the Invention

[0004] This application provides a resource configuration method and device that can prevent terminals that do not have business permissions from executing business.

[0005] To achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a resource configuration method is provided, which can be executed by a terminal. The terminal here can refer to the terminal itself or a processor, module, logical node, chip, or chip system in the terminal that implements the method.

[0007] The method includes: receiving first indication information, and acquiring first configuration information according to the first indication information, wherein the first indication information indicates that the terminal is allowed to use resources in a resource pool configured by the first configuration information to execute a first service.

[0008] Based on the method provided in the first aspect above, a terminal can obtain the first configuration information when it is allowed to use resources in the resource pool configured with the first configuration information to perform the first service, and then use the resources in the resource pool to perform the first service. Therefore, the above method can prevent terminals that do not have permission to perform the first service from performing the first service. For example, the first indication information can be not sent to a terminal that does not have permission to perform the first service. If the terminal does not receive the first indication information, it can determine that it cannot use the resources in the resource pool configured with the first configuration information to perform the first service.

[0009] In a possible implementation, the method further includes: selecting a first resource according to the first configuration information; and executing the first service using the first resource.

[0010] Based on the above possible implementations, the terminal may select a first resource from the resource pool configured by the first configuration information and use the first resource to execute the first service. For example, the terminal may sense the usage of resources in the resource pool configured by the first configuration information, select the first resource from unoccupied resources, and use the first resource to execute the first service.

[0011] In a possible implementation, before receiving the first indication information, the method further includes: receiving first configuration information; and acquiring the first configuration information according to the first indication information, including: reading the first configuration information.

[0012] Based on the above possible implementation, the terminal may first receive the first configuration information, then receive the first indication information, read the first configuration information according to the first indication information, and then use the resources in the resource pool configured by the first configuration information to execute the first service.

[0013] In a possible implementation manner, acquiring the first configuration information according to the first indication information includes: receiving the first configuration information.

[0014] Based on the above possible implementation manner, the terminal may receive the first indication information, receive the first configuration information according to the first indication information, and then use the resources in the resource pool configured by the first configuration information to execute the first service.

[0015] In a possible implementation manner, the first configuration information is carried in a system information block.

[0016] Based on the above possible implementation, the terminal can receive the first configuration information via a system information block. It is understandable that the system information block is a broadcast message that can be received by all terminals within the coverage of the RAN node. However, not all terminals within the coverage of the RAN node can use the resources in the resource pool configured by the first configuration information to execute the first service. Instead, terminals that receive the first indication information can use the resources in the resource pool to execute the first service, thereby preventing terminals that do not have the first service permission from executing the first service.

[0017] In a possible implementation manner, the first indication information includes at least one of the following: information of a system information block or information of a first service.

[0018] Based on the above possible implementation methods, if the first indication information includes information of the system information block, the terminal can determine that the resources in the resource pool configured by the system information block can be used; if the first indication information includes information of the first service, the terminal can determine that it has the authority to execute the first service, and then determine that it can use the resources in the resource pool configured by the first configuration information to execute the first service.

[0019] In a possible implementation manner, the first indication information is carried in a radio resource control message, a medium access control message, or downlink control information.

[0020] Based on the above possible implementation manner, the terminal may receive the first indication information via a radio resource control message, a medium access control message or downlink control information.

[0021] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0022] Based on the above possible implementation methods, the terminal can obtain a resource pool of the sidelink positioning reference signal, and use the resources in the resource pool to send or receive the sidelink positioning reference signal to perform the sidelink positioning service.

[0023] In a second aspect, a resource configuration method is provided, which can be executed by a RAN node. The RAN node here can refer to the RAN node itself, or a processor, module, logical node, chip, or chip system in the RAN node that implements the method.

[0024] The method includes: sending first configuration information, receiving second indication information, and sending the first indication information to a terminal according to the second indication information, wherein the first configuration information is used to configure a resource pool, the second indication information indicates that the terminal has permission to execute a first service, and the first indication information indicates that the terminal is allowed to execute the first service using resources in the resource pool configured by the first configuration information.

[0025] Based on the method provided in the second aspect above, the RAN node can configure a resource pool and, if the terminal has permission to execute the first service, send first indication information to the terminal, indicating that the terminal is permitted to execute the first service using resources in the resource pool configured with the first configuration information. Therefore, the terminal can execute the first service using resources in the resource pool according to the instruction of the RAN node. Therefore, the above method can prevent terminals that do not have permission to execute the first service from executing the first service. For example, the RAN node may not send the first indication information to a terminal that does not have permission to execute the first service. If the terminal does not receive the first indication information, it may determine that it cannot execute the first service using resources in the resource pool configured with the first configuration information.

[0026] In a possible implementation manner, the first configuration information is carried in a system information block.

[0027] Based on the above possible implementation, the RAN node may send the first configuration information via a system information block. It is understandable that the system information block is a broadcast message that can be received by all terminals within the coverage of the RAN node. However, not all terminals within the coverage of the RAN node can use the resources in the resource pool configured by the first configuration information to execute the first service. Instead, terminals that receive the first indication information can use the resources in the resource pool to execute the first service, thereby preventing terminals that do not have the first service permission from executing the first service.

[0028] In a possible implementation manner, the first indication information includes at least one of the following: information of a system information block or information of a first service.

[0029] Based on the above possible implementation methods, if the first indication information includes information of the system information block, the terminal can determine that the resources in the resource pool configured by the system information block can be used; if the first indication information includes information of the first service, the terminal can determine that it has the authority to execute the first service, and then determine that it can use the resources in the resource pool configured by the first configuration information to execute the first service.

[0030] In a possible implementation manner, the second indication information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

[0031] Based on the foregoing possible implementation manner, the RAN node may receive the second indication information through an initial context establishment request message, a terminal context establishment message, a handover request message, or a obtain terminal context response message.

[0032] In a possible implementation manner, the first indication information is carried in a radio resource control message, a medium access control message, or downlink control information.

[0033] Based on the foregoing possible implementation manner, the RAN node may send the first indication information via a radio resource control message, a medium access control message, or downlink control information.

[0034] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0035] Based on the above possible implementation methods, a terminal with first service authority (such as a terminal that receives the first indication information) can obtain a resource pool of the sidelink positioning reference signal, and use the resources in the resource pool to send or receive the sidelink positioning reference signal to perform the sidelink positioning service.

[0036] In a third aspect, a resource configuration method is provided, which can be executed by a RAN node. The RAN node here can refer to the RAN node itself, or a processor, module, logical node, chip, or chip system in the RAN node that implements the method.

[0037] The method includes: sending first encrypted information and sending first key information to a terminal with permission to execute a first service, wherein the first encrypted information is obtained by encrypting first configuration information using the first key, the first configuration information is used to configure a resource pool, and the resource pool is used for the first service.

[0038] Based on the method provided in the third aspect above, the RAN node can send first configuration information encrypted with a first key and send the first key information to a terminal with first service authorization. This allows the terminal with first service authorization to decrypt the first encrypted information and thereby use the resources in the resource pool configured with the first configuration information to execute the first service. Terminals without first service authorization do not know the first key information and therefore cannot use the resources in the resource pool. Therefore, the above method can prevent terminals without first service authorization from obtaining resources for executing the first service, thereby preventing the terminal from executing the first service.

[0039] In a possible implementation, the method further includes: receiving first information from a network node, the first information indicating that the terminal has authority to execute the first service. Exemplarily, the network node is a core network element or a RAN node other than the above-mentioned RAN node.

[0040] Based on the above possible implementation manner, the RAN node may determine, according to the instruction of the network node, that the terminal has the authority to execute the first service, and then send information about the first key to the terminal.

[0041] In a possible implementation manner, the first information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

[0042] Based on the above possible implementations, the RAN node may obtain the first information through an initial context establishment request message, a terminal context establishment message, a handover request message, or an obtain terminal context response message. It is understandable that when the network node is a core network element, the RAN node may obtain the first information through an initial context establishment request message; and when the network node is a RAN node other than the above RAN node, the RAN node may obtain the first information through a terminal context establishment message, a handover request message, or an obtain terminal context response message.

[0043] In a possible implementation manner, information about the first key is carried in a radio resource control message, a medium access control message, or downlink control information.

[0044] Based on the above possible implementation manner, the RAN node may send information about the first key to the terminal via a radio resource control message, a medium access control message, or downlink control information.

[0045] In a possible implementation, before sending the first key information to the terminal, the method further includes: receiving a non-access stratum message from a core network element, where the non-access stratum message includes the first key information.

[0046] Based on the above possible implementation, the RAN node may receive a non-access stratum message including information about the first key from a core network element, such as an access and mobility management element, and forward the non-access stratum message to the terminal. Since the RAN node is unaware of the non-access stratum message, the RAN node does not need to send the first key information to the terminal via an additional air interface message, thereby saving air interface signaling overhead.

[0047] In a possible implementation, before receiving the non-access stratum message from the core network element, the method further includes: sending information about the first key to the core network element.

[0048] Based on the above possible implementation manner, the RAN node may send the first key information to the core network element, so that after the core network determines that the terminal has the authority to execute the first service, it sends the first key information to the terminal.

[0049] In a possible implementation manner, sending the first key information to the terminal includes: sending a non-access stratum message to the terminal.

[0050] Based on the above possible implementation, the RAN node may not be aware of the first key information sent by the core network element to the terminal. In other words, the core network element can transparently transmit the first key information to the terminal through the RAN node. Therefore, the RAN node does not need to send the first key information to the terminal through additional air interface messages, thereby saving air interface signaling overhead.

[0051] In a possible implementation manner, the first encryption information is carried in a system information block.

[0052] Based on the above possible implementation, the RAN node can include the first encrypted information via a system information block. It is understandable that the system information block is a broadcast message that can be received by all terminals within the coverage of the RAN node. However, not all terminals within the coverage of the RAN node can use the resources in the resource pool configured by the first configuration information to execute the first service. Instead, terminals that receive the first key information (i.e., terminals with first service authorization) can use the resources in the resource pool to execute the first service, thereby preventing terminals without first service authorization from executing the first service.

[0053] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0054] Based on the above possible implementation methods, the terminal with specific first service authority can obtain a resource pool of the sidelink positioning reference signal, and use the resources in the resource pool to send or receive the sidelink positioning reference signal to perform the sidelink positioning service.

[0055] In a fourth aspect, a resource configuration method is provided, which can be executed by a terminal. The terminal here can refer to the terminal itself or a processor, module, logical node, chip, or chip system in the terminal that implements the method.

[0056] The method includes: receiving first encrypted information, receiving first key information, and obtaining first configuration information based on the first key information, wherein the first encrypted information is obtained by encrypting the first configuration information using the first key, the first configuration information is used to configure a resource pool, and the resource pool is used for the first service.

[0057] Based on the method provided in the fourth aspect above, the terminal can receive the first configuration information and the first key information encrypted with the first key, and obtain the first configuration information based on the first key information, thereby using the resources in the resource pool configured by the first configuration information to execute the first service. However, a terminal that has not received the first key information, such as a terminal that does not have the first service authority, cannot decrypt the first encrypted information and therefore cannot use the resources in the resource pool. Therefore, the above method can prevent a terminal that does not have the first service authority from obtaining the resources to execute the first service, thereby preventing the terminal from executing the first service.

[0058] In a possible implementation, the method further includes: selecting a first resource according to the first configuration information; and executing the first service using the first resource.

[0059] Based on the above possible implementations, the terminal may select a first resource from the resource pool configured by the first configuration information and use the first resource to execute the first service. For example, the terminal may sense the usage of resources in the resource pool configured by the first configuration information, select the first resource from unoccupied resources, and use the first resource to execute the first service.

[0060] In a possible implementation manner, the first encryption information is carried in a system information block.

[0061] Based on the above possible implementation, the terminal can receive the first encrypted information via a system information block. It is understandable that the system information block is a broadcast message that can be received by all terminals within the coverage of the RAN node. However, not all terminals within the coverage of the RAN node can use the resources in the resource pool configured by the first configuration information to perform the first service. Instead, terminals that receive information about the first key, such as terminals with first service authorization, can use the resources in the resource pool to perform the first service, thereby preventing terminals without first service authorization from performing the first service.

[0062] In a possible implementation, receiving the first key information includes: receiving the first key information from a wireless access network node; or receiving the first key information from a core network element forwarded by the wireless access network node.

[0063] Based on the above possible implementation manner, the terminal may obtain information about the first key from a radio access network node or a core network element.

[0064] In a possible implementation, the information of the first key from the radio access network node is carried in a radio resource control message, a media access control message, or a downlink control message; the information of the first key from the core network element is carried in a non-access layer message.

[0065] Based on the above possible implementations, the terminal may obtain the first key information from the radio access network node via a radio resource control message, a media access control message, or a downlink control message. Alternatively, the terminal may obtain the first key information from the core network element via a non-access layer message.

[0066] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0067] Based on the above possible implementation methods, the terminal can obtain a resource pool of the sidelink positioning reference signal, and use the resources in the resource pool to send or receive the sidelink positioning reference signal to perform the sidelink positioning service.

[0068] A fifth aspect provides a resource configuration method that can be performed by a core network element. The core network element here can refer to the core network element itself, or to a processor, module, logical node, chip, or chip system within the core network element that implements the method. The core network element is, for example, an access and mobility management element.

[0069] The method includes: receiving first key information from a wireless access network node, and sending the first key information to a terminal. The first key information is used to indicate a first key, the first key is used to encrypt first configuration information, the first configuration information is used to configure a resource pool, and the resource pool is used for a first service. The first key information is used by the terminal to obtain the first configuration information, and the terminal has permission to execute the first service.

[0070] Based on the method provided in the fifth aspect above, a terminal with first service authority can decrypt the first encrypted information according to the information of the first key to obtain the first configuration information, thereby using the resources in the resource pool configured by the first configuration information to execute the first service.

[0071] In one possible implementation, the method further includes: receiving capability information from the terminal, the capability information indicating whether the terminal has the capability to execute the first service; and sending information about the first key to the terminal, including: sending information about the first key to the terminal when the terminal has the authority to execute the first service.

[0072] Based on the above possible implementation methods, the core network network element can send the first key information to the terminal when the terminal has the authority to execute the first service, so that the terminal can decrypt the first encrypted information according to the first key information and obtain the first configuration information, thereby using the resources in the resource pool configured by the first configuration information to execute the first service.

[0073] In a possible implementation manner, the information of the first key sent to the terminal is carried in a non-access stratum message.

[0074] Based on the above possible implementation, the core network element can send the first key information to the terminal via a non-access stratum message. Since the RAN node is not aware of the non-access stratum message, the RAN node does not need to send the first key information to the terminal via an additional air interface message, thereby saving air interface signaling overhead.

[0075] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0076] Based on the above possible implementation methods, a terminal with first service authority (such as a terminal that receives information about the first key) can obtain a resource pool for the sidelink positioning reference signal, and use the resources in the resource pool to send or receive the sidelink positioning reference signal to perform the sidelink positioning service.

[0077] In a sixth aspect, a communication device is provided for implementing the above-mentioned method. The communication device may be the terminal in the above-mentioned first aspect; or the communication device may be the RAN node in the above-mentioned second aspect; or the communication device may be the RAN node in the above-mentioned third aspect; or the communication device may be the terminal in the above-mentioned fourth aspect; or the communication device may be the core network element in the above-mentioned fifth aspect. The communication device includes modules, units, or means corresponding to the above-mentioned method, and the modules, units, or means may be implemented by hardware, software, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions.

[0078] In one possible implementation, the communication device may include a processing module and an interface module. The processing module may be configured to implement the processing functions described in any of the above aspects and any possible implementations thereof. The processing module may, for example, be a processor. The interface module, also referred to as an interface unit, may be configured to implement the sending and / or receiving functions described in any of the above aspects and any possible implementations thereof. The interface module may be comprised of an interface circuit, a transceiver, a transceiver, or a communication interface.

[0079] In a possible implementation, the interface module includes a sending module and a receiving module, which are respectively used to implement the sending and receiving functions in any of the above aspects and any possible implementations thereof.

[0080] In a seventh aspect, a communication device is provided, comprising: a processor configured to execute a computer program (or computer-executable instructions) stored in a memory and / or a logic circuit, causing the communication device to perform the method described in any of the above aspects. The communication device may be the terminal described in the first aspect; or the communication device may be the RAN node described in the second aspect; or the communication device may be the RAN node described in the third aspect; or the communication device may be the terminal described in the fourth aspect; or the communication device may be the core network element described in the fifth aspect.

[0081] In a possible implementation manner, the communication device further includes a memory.

[0082] In a possible implementation, the processor and the memory are integrated together; alternatively, the memory is independent of the processor.

[0083] In one possible implementation, the communication device further includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and / or signals. Exemplarily, the communication interface can be a transceiver, circuit, bus, module, or other type of communication interface.

[0084] In one possible implementation, the processor and / or memory further includes an artificial intelligence (AI) module for implementing AI-related functions. The AI module can implement AI functions through software, hardware, or a combination of software and hardware. For example, the AI module includes a radio access network (RAN) intelligent controller (RIC) module. For example, the AI module can be a near real-time RIC or a non-real-time RIC.

[0085] In one possible implementation, the communication device is a chip or a chip system. Optionally, when the communication device is a chip system, it can be composed of a chip or include a chip and other discrete devices.

[0086] In an eighth aspect, a communication device is provided, comprising: a processor and an interface circuit; the interface circuit being configured to receive a computer program or instruction and transmit the instruction to the processor; and the processor being configured to execute the computer program or instruction, so that the communication device performs the method described in any of the above aspects. The communication device may be the terminal described in the first aspect; or the communication device may be the RAN node described in the second aspect; or the communication device may be the RAN node described in the third aspect; or the communication device may be the terminal described in the fourth aspect; or the communication device may be the core network element described in the fifth aspect.

[0087] In one possible implementation, the processor further includes an AI module for implementing AI-related functions. The AI module can implement AI functions through software, hardware, or a combination of software and hardware. For example, the AI module includes a RIC module. For example, the AI module can be a near-real-time RIC or a non-real-time RIC.

[0088] In one possible implementation, the communication device is a chip or a chip system. Optionally, when the communication device is a chip system, it can be composed of a chip or include a chip and other discrete devices.

[0089] In a ninth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is run on a computer, the computer can execute the method described in any one of the above aspects.

[0090] In a tenth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method described in any one of the above aspects.

[0091] In an eleventh aspect, a communication system is provided, which includes a terminal for executing the method described in the first aspect and a RAN node for executing the method described in the second aspect.

[0092] In the twelfth aspect, a communication system is provided, which includes at least two of the following: a RAN node for executing the method described in the fourth aspect, a terminal for executing the method described in the fifth aspect, and a core network element for executing the method described in the sixth aspect.

[0093] Among them, the technical effects brought about by any possible implementation method in the sixth to twelfth aspects can be referred to the technical effects brought about by any aspect in the first to fifth aspects or different possible implementation methods in any aspect, and will not be repeated here.

[0094] It is understandable that, provided that the solutions are not contradictory, the solutions in each aspect can be combined. BRIEF DESCRIPTION OF THE DRAWINGS

[0095] Figure 1A Schematic diagram of the communication system architecture provided for this application;

[0096] Figure 1B A schematic diagram of the fifth generation (5G) network provided for this application;

[0097] Figure 2 A schematic diagram of the hardware structure of the communication device provided in this application;

[0098] Figure 3 Flowchart 1 of the resource allocation method provided for this application;

[0099] Figure 4 Schematic diagram of the resource allocation method provided for this application Figure 2 ;

[0100] Figure 5 Schematic diagram of the resource allocation method provided for this application Figure 3 ;

[0101] Figure 6 This is a schematic diagram of the structure of the communication device provided in this application. DETAILED DESCRIPTION

[0102] To prevent terminals without service permissions from executing services, this application provides the following two methods:

[0103] Method 1: The RAN node obtains permission for a terminal to execute a first service from the core network. Based on whether the terminal has permission to execute the first service, the RAN node indicates to the terminal whether the terminal is permitted to execute the first service using resources in a resource pool configured by the RAN node. Specifically, if the terminal has permission to execute the first service, the RAN node indicates to the terminal that the terminal is permitted to execute the first service using resources in the resource pool. If the terminal does not have permission to execute the first service, the RAN node indicates to the terminal that the terminal is not permitted to execute the first service using resources in the resource pool. Therefore, the terminal can determine whether it can execute the first service using resources in the resource pool based on the instruction from the RAN node. Alternatively, if the terminal has permission to execute the first service, the RAN node sends an instruction to the terminal, indicating that the terminal is permitted to execute the first service using resources in the resource pool. If the terminal does not have permission to execute the first service, the RAN node does not send the instruction to the terminal. Therefore, if the terminal receives the instruction, it can determine that it is permitted to execute the first service using resources in the resource pool. If the terminal does not receive the instruction, it can determine that it is not permitted to execute the first service using resources in the resource pool. Alternatively, if the terminal does not have the authority to perform the first service, the RAN node sends an indication message to the terminal to indicate that the terminal is not allowed to use the resources in the above resource pool to perform the first service. If the terminal has the authority to perform the first service, the RAN node does not send the indication message to the terminal. Therefore, if the terminal receives the indication message, the terminal can determine that it cannot use the resources in the above resource pool to perform the first service. If the terminal does not receive the indication message, the terminal can determine that it can use the resources in the above resource pool to perform the first service. In summary, through the indication of the RAN node, the terminal that does not have the authority to perform the first service cannot perform the first service. The specific process of method 1 will be described below. Figure 3 The method is described in detail and will not be repeated here.

[0104] Method 2: The RAN node sends the first encrypted information to the terminal. Accordingly, the terminal can receive the first encrypted information from the RAN node. The first encrypted information is obtained by encrypting the first configuration information with the first key, and the first configuration information is used to configure the resource pool, which is used for the first service. In the above method, for a terminal that has the authority to execute the first service, it can obtain the information of the first key, thereby decrypting the first encrypted information to obtain the first configuration information. Therefore, a terminal that has the authority to execute the first service can select resources from the resource pool configured by the first configuration information to execute the first service, and a terminal that does not have the authority to execute the first service cannot obtain the resource pool configured by the first configuration information, so the above method can prevent a terminal that does not have the authority to execute the first service from obtaining resources to execute the first service, thereby preventing the terminal from executing the first service. The specific process of Method 2 will be described below. Figure 4 or Figure 5 The method is described in detail and will not be repeated here.

[0105] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0106] The method provided in this application can be used in various communication systems. For example, the communication system can be a long-term evolution (LTE) system, a 5G communication system, a wireless fidelity (WiFi) system, a communication system related to the 3rd Generation Partnership Project (3GPP), a communication system evolved after 5G (such as: a sixth generation (6G) communication system), or a system integrating multiple systems, etc., without limitation. Among them, 5G can also be called new radio (NR). The following is Figure 1A The method provided in this application is described by taking the communication system 1000 as an example. Figure 1A It is only a schematic diagram and does not constitute a limitation on the applicable scenarios of the technical solution provided in this application.

[0107] like Figure 1A , which is a schematic diagram of the architecture of a communication system 1000 provided in this application. Figure 1A The communication system 1000 shown includes a RAN 100. Optionally, the communication system 1000 further includes a core network (CN) 200. The RAN 100 includes at least one RAN node (e.g., Figure 1A 110a and 110b, collectively referred to as 110) and at least one terminal (such as Figure 1A120a-120j in the figure, collectively referred to as 120). The RAN 100 may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices ( Figure 1A Terminal 120 is wirelessly connected to RAN node 110. RAN node 110 is wirelessly or wiredly connected to core network 200. The core network equipment in core network 200 and RAN node 110 in RAN 100 can be different physical devices, or they can be the same physical device that integrates core network logical functions and radio access network logical functions.

[0108] The RAN 100 may be a 3GPP-related cellular system, such as a 4G or 5G mobile communication system, or a future-oriented evolutionary system (such as a 6G mobile communication system). The RAN 100 may also be an open access network (O-RAN or ORAN), a cloud radio access network (CRAN), or a wireless fidelity (WiFi) system. The RAN 100 may also be a communication system that integrates two or more of the above systems.

[0109] RAN nodes 110, sometimes also referred to as access network equipment, RAN entities, or access nodes, constitute part of a communication system and facilitate wireless access for terminals. Multiple RAN nodes 110 in communication system 1000 can be of the same type or different types.

[0110] In one possible scenario, a RAN node may be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next generation NodeB (gNB), a next generation base station in a 6G mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. A RAN node may be a macro base station (e.g. Figure 1A RAN nodes can be servers, wearable devices, vehicles, or onboard devices. For example, the access network device in vehicle-to-everything (V2X) technology can be a roadside unit (RSU).

[0111] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The 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).

[0112] In different systems, CU (or CU-CP and CU-UP), 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 called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0113] The terminal in this application, such as terminal 120, is a device with wireless transceiver capabilities. The terminal can be deployed on land, including indoors, outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal can also be called a terminal device, and the terminal device can be a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc., or a device for providing voice or data connectivity to users. Among them, UE includes handheld devices with wireless communication capabilities, vehicle-mounted devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed railways, etc.), wearable devices (such as smart watches, smart bracelets, pedometers, etc.) or computing devices. Exemplarily, UE can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a satellite terminal or a computer with wireless transceiver capabilities. The UE may also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless modem, a smart point of sale (POS) machine, customer-premises equipment (CPE), an intelligent robot, a robotic arm, workshop equipment, smart home equipment (e.g., refrigerators, televisions, air conditioners, electric meters, etc.), a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, an in-vehicle terminal, a roadside unit (RSU) with terminal functions, or an aerial device (e.g., an intelligent robot, a hot air balloon, a drone, an airplane), etc. The terminal may also be other devices with terminal functions, for example, a terminal may also be a device that functions as a terminal in D2D communication.

[0114] As an example and not a limitation, in this application, the terminal may be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. For example, a wearable device is not only a hardware device, but also a device that achieves powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include devices that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as devices that focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0115] In this application, a terminal may be a terminal in an Internet of Things (IoT) system. IoT is an important component of future information technology development. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects humans and machines and things. The terminal in this application may be a terminal in machine type communication (MTC).

[0116] The terminal of the present application can be an on-board module, on-board module, on-board component, on-board chip, on-board unit (OBU) or telematics box (T-BOX) built into the vehicle as one or more components or units. The vehicle can implement the method of the present application through the built-in on-board module, on-board module, on-board component, on-board chip, on-board unit or T-BOX. The terminal can also be a whole vehicle device. Therefore, the present application can be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long-term evolution vehicle (LTE-V), vehicle to vehicle (V2V), etc.

[0117] It is understandable that in some scenarios, the roles of RAN nodes and terminals are relative. For example, a helicopter or drone, which is usually configured as a terminal, can also be configured as a mobile base station, and the device that accesses the RAN via the helicopter or drone is configured as a terminal.

[0118] This application does not limit the form of a RAN node. A device used to implement the functions of a RAN node may be a RAN node, or a device capable of supporting a RAN node in implementing such functions, such as a chip system. Such a device may be installed in a RAN node or used in conjunction with a RAN node. Similarly, this application does not limit the form of a terminal. A device used to implement the functions of a terminal may be a terminal, or a device capable of supporting a terminal in implementing such functions, such as a chip system. Such a device may be installed in a terminal or used in conjunction with a terminal.

[0119] It can be understood that the above-mentioned communication system 1000 can be applicable to a variety of communication networks, for example, it can be applicable to the 5G network currently under discussion, and can also be applicable to other networks in the future, etc. The embodiments of this application do not make specific limitations on this.

[0120] For example, the communication system 1000 is suitable for Figure 1B The 5G network shown in the figure includes a network slice selection function (NSSF) network element, a network exposure function (NEF) network element, a network repository function (NRF) network element, a policy control function (PCF) network element, a unified data management (UDM) network element, an application function (AF) network element, an authentication server function (AUSF) network element, an access and mobility management function (AMF) network element, a session management function (SMF) network element, a user plane function (UPF) network element, a RAN node, a terminal, and a data network (DN).

[0121] exist Figure 1B In the 5G network, the terminal accesses the RAN node, and the terminal communicates with the AMF network element through the N1 interface (referred to as N1); the RAN node communicates with the AMF network element through the N2 interface (referred to as N2), and communicates with the UPF network element through the N3 interface (referred to as N3); the SMF network element communicates with the UPF network element through the N4 interface (referred to as N4), and the UPF network element accesses the DN through the N6 interface (referred to as N6). In addition, Figure 1BThe AUSF network element, AMF network element, SMF network element, NSSF network element, NEF network element, NRF network element, PCF network element, UDM network element or AF network element shown in the figure can interact with each other using service-based interfaces. For example, the service-based interface provided by the AUSF network element is Nausf; the service-based interface provided by the AMF network element is Namf; the service-based interface provided by the SMF network element is Nsmf; the service-based interface provided by the NSSF network element is Nnssf; the service-based interface provided by the NEF network element is Nnef; the service-based interface provided by the NRF network element is Nnrf; the service-based interface provided by the PCF network element is Npcf; the service-based interface provided by the UDM network element is Nudm; and the service-based interface provided by the AF network element is Naf.

[0122] It can be understood that the device or entity corresponding to the RAN node 110 in the communication system 1000 is Figure 1B The RAN node in the 5G network shown. The device or entity corresponding to the terminal 120 in the communication system 1000 is Figure 1B The core network 200 in the communication system 1000 may include an AMF network element. Optionally, the core network 200 in the communication system 1000 may further include at least one of the following network elements: an NSSF network element, a NEF network element, an NRF network element, a PCF network element, a UDM network element, an AF network element, an AUSF network element, an SMF network element, or a UPF network element.

[0123] Understandably, Figure 1A The communication system 1000 shown is for illustrative purposes only and is not intended to limit the technical solutions of this application. Those skilled in the art will appreciate that, during implementation, the communication system 1000 may also include other devices, and the number of RAN nodes and terminals may be determined based on specific needs and is not limited.

[0124] Optional, this application Figure 1A or Figure 1B Each network element or device (such as a RAN node, a terminal or an AMF network element, etc.) can also be referred to as a communication device, which can be a general device or a dedicated device. This application does not make specific limitations on this.

[0125] Optional, this application Figure 1A or Figure 1BThe relevant functions of each network element or device (such as a RAN node, terminal, or AMF network element, etc.) in the network can be implemented by a single device, or by multiple devices together, or by one or more functional modules within a single device. This application does not impose any specific restrictions on this. It is understandable that the above functions can be network elements in hardware devices, software functions running on dedicated hardware, or a combination of hardware and software, or virtualized functions instantiated on a platform (for example, a cloud platform).

[0126] In specific implementation, this application Figure 1A or Figure 1B Each network element or device in the network (such as RAN node, terminal or AMF network element, etc.) can use Figure 2 The structure shown, or including Figure 2 Parts shown. Figure 2 The figure shows a hardware structure diagram of a communication device applicable to the present application. It is understood that the communication device 20 includes necessary means such as modules, units, components, circuits, or interfaces, which are appropriately configured together to implement the solutions provided by the present application. For example, the communication device 20 includes one or more processors 201 for implementing the methods provided by the present application.

[0127] Processor 201 can be a general-purpose processor or a dedicated processor. For example, processor 201 can be a baseband processor or a central processing unit (CPU). The baseband processor can be used to process communication protocols and communication data, and the CPU can be used to control communication device 20 (such as a RAN node, terminal, AMF network element or chip, etc.), execute software programs, and process data of software programs. Optionally, in one design, processor 201 can include program 205 (sometimes also referred to as code or instructions). Program 205 can be executed on processor 201 to enable communication device 20 to perform the methods described in the following embodiments.

[0128] Optionally, the communication device 20 may include one or more memories 202. The memory 202 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM), a cache or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory provided in this application may generally be non-volatile. Optionally, the memory 202 stores a program 207 (sometimes also referred to as code or instruction), and the program 207 can be executed on the processor 201 so that the communication device 20 executes the method described in the following method embodiment.

[0129] Optionally, the processor 201 may include an AI module 206, and / or the memory 202 may include an AI module 208. The AI module is used to implement AI-related functions. The AI module may be implemented using software, hardware, or a combination of software and hardware. For example, the AI module may include a real-time information processing (RIC) module. For example, the AI module may be a near-real-time RIC or a non-real-time RIC.

[0130] Optionally, data may be stored in the processor 201 and / or the memory 202. The processor 201 and the memory 202 may be provided separately or integrated together.

[0131] Optionally, the communication device 20 may further include a transceiver 203 and / or an antenna 204. The processor 201, sometimes also referred to as a processing unit, controls the communication device 20. The transceiver 203, sometimes also referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, is configured to implement the transceiver functions of the communication device 20 via the antenna 204.

[0132] Understandably, Figure 2 The structure shown in the figure does not constitute a limitation on the communication device, except Figure 2 In addition to the components shown, the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0133] The method provided by this application will be described below with reference to the accompanying drawings. Figure 2 The components shown are not described in detail here.

[0134] It can be understood that the message names between network elements or the names of parameters in the messages in the following embodiments of the present application are only examples, and other names may be used in specific implementations, and the present application does not make any specific limitations on this.

[0135] It is understandable that in this application, "sending information to... (such as a terminal)" can be understood as the destination end of the information being the terminal. This can include sending information to the terminal directly or indirectly. "Receiving information from... (such as a terminal)" can be understood as the source end of the information being the terminal, which can include receiving information from the terminal directly or indirectly. The information may undergo necessary processing between the source end and the destination end of the information transmission, such as format changes, but the destination end can understand the valid information from the source end. Similar expressions in this application can be understood similarly and will not be repeated here.

[0136] It is understood that in this application, " / " can indicate that the objects associated with each other are in an "or" relationship, for example, A / B can mean A or B; "and / or" can be used to describe that there are three relationships between the associated objects, 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 addition, expressions similar to "at least one of A, B and C" or "at least one of A, B or C" are usually used to indicate any of the following: A exists alone; B exists alone; C exists alone; A and B exist at the same time; A and C exist at the same time; B and C exist at the same time; A, B and C exist at the same time. The above uses A, B and C as an example to illustrate the optional items of the item. When there are more elements in the expression, the meaning of the expression can be obtained according to the above rules.

[0137] In order to facilitate the description of the technical solutions of the present application, in the present application, words such as "first" and "second" may be used to distinguish between technical features with the same or similar functions. The words such as "first" and "second" do not limit the quantity and execution order, and the words such as "first" and "second" do not necessarily limit them to be different. In the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or design. The use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0138] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the present application.

[0139] It can be understood that in this application, "when...", "in the case of..." and "if" all mean that corresponding processing will be taken under certain objective circumstances, and do not limit the time, nor do they require judgment actions when implementing them, nor do they mean that there are other limitations.

[0140] The term "simultaneously" in this application may be understood as at the same time point, within a period of time, or within the same cycle.

[0141] It is understood that some optional features in this application may, in certain scenarios, be implemented independently of other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in certain scenarios as needed. Accordingly, the devices provided in this application may also implement these features or functions accordingly, which will not be described in detail here.

[0142] It is understandable that the same step or steps or technical features with the same function in different embodiments of the present application can be referenced to each other.

[0143] It is understood that in the present application, the RAN node and / or the terminal and / or the access and mobility management network element may perform some or all of the steps in the present application. These steps are merely examples, and the present application may also perform other steps or variations of various steps. In addition, the steps may be performed in a different order than presented in the present application, and it is possible that not all of the steps in the present application need to be performed.

[0144] It is understandable that the method provided below in this application uses a RAN node, a terminal, and an access and mobility management network element as examples of the execution entities of the interaction diagram to illustrate the method, but this application does not limit the execution entities of the interaction diagram. For example, the RAN node in the method provided in the following embodiments of this application may also be a chip, a chip system, or a processor that supports the RAN node to implement the method, or a logical node, a logical module, or software that can implement all or part of the RAN node functions; the terminal in the method provided below in this application may also be a chip, a chip system, or a processor that supports the terminal to implement the method, or a logical node, a logical module, or software that can implement all or part of the terminal functions; the access and mobility management network element in the method provided below in this application may also be a chip, a chip system, or a processor that supports the access and mobility management network element to implement the method, or a logical node, a logical module, or software that can implement all or part of the access and mobility management network element functions.

[0145] like Figure 3 As shown, a resource configuration method provided by this application may include the following steps:

[0146] S301: A RAN node sends first configuration information to a terminal. Correspondingly, the terminal receives the first configuration information from the RAN node.

[0147] Among them, the RAN node can be Figure 1A The RAN node 110 in the terminal can be Figure 1A Alternatively, the RAN node may be Figure 1B The RAN node in the terminal can be Figure 1B in the terminal.

[0148] In the present application, the first configuration information can be used to configure a resource pool. For example, the first configuration information includes an identifier of the resource pool or an identifier of a resource in the resource pool. It is understandable that the resource pool may include at least one block of time-frequency resources. Therefore, the first configuration information may also include an identifier of the starting time unit of each block of time-frequency resources in at least one block of time-frequency resources, the number of time units occupied by each block of time-frequency resources, an identifier of the starting frequency domain unit of each block of time-frequency resources, and the number of frequency domain units occupied by each block of time-frequency resources. The time unit is a unit of a wireless resource in the time domain, for example, a symbol, a mini-slot, a time slot, a subframe, or a frame. The frequency domain unit is a unit of a wireless resource in the frequency domain, for example, a subcarrier, a resource element (RE), or a resource block (RB). Optionally, the first configuration information also includes configuration information for the terminal to select resources in the resource pool, for example, including threshold information of reference signal received power (RSRP) and / or information about the terminal's synchronization source. The above threshold information is used by the terminal device to select resources in the resource pool, and the above synchronization source information is used to limit the synchronization source of the terminal using the first configuration information.

[0149] In one possible design, the resource pool is used for the first service. For example, the resource pool is a dedicated resource pool, configured by the RAN node for the first service and can be used to execute the first service but cannot be used to execute services other than the first service. In another example, the resource pool is a shared resource pool, which can be used to execute both the first service and services other than the first service.

[0150] In this application, the type of the first service is not limited, and the first service may include various services for which reference signal resources are configured through a RAN node. For example, the first service is a sidelink positioning service or a perception service. Among them, the perception service may be an integrated sensing and communication (ISAC) or a joint communications and sensing (JCAS) perception service. It can be understood that if the first service is a sidelink positioning service, the first configuration information is used to configure a resource pool for a sidelink positioning reference signal. If the first service is a perception service, the first configuration information is used to configure resources for reference signals that can be used for perception.

[0151] In one possible implementation, the first configuration information may be sent to the terminal via proprietary signaling, such as a radio resource control (RRC) message, a medium access control (MAC) message, or downlink control information (DCI). For example, after the terminal accesses a RAN node, the RAN node may send the first configuration information to the terminal via the above signaling, so that the terminal subsequently selects resources in a resource pool to execute corresponding services.

[0152] In another possible implementation, the first configuration information is sent to the terminal via a broadcast message. For example, the first configuration information is carried in a system information block (SIB). For example, for a sidelink positioning service, the first configuration information may be carried in SIB 12 and / or SIB 23. It should be understood that, in addition to SIB 12 and SIB 23, the first configuration information may also be carried in other broadcast messages without limitation.

[0153] S302: The RAN node determines that the terminal has the authority to execute the first service.

[0154] In one possible implementation, the RAN node may receive the second indication information from another device, such as a core network element or a RAN node other than the RAN node. The second indication information indicates that the terminal has permission to perform the first service, or authorizes the terminal to perform the first service. In this way, the RAN node can determine that the terminal has permission to perform the first service. Of course, the second indication information may also indicate that the terminal does not have permission to perform the first service, or that the terminal is not authorized to perform the first service. In this case, the RAN node determines that the terminal does not have permission to perform the first service.

[0155] Exemplarily, the second indication information may include 1 bit. If the value of the 1 bit is "1", it indicates that the terminal has the authority to perform the first service. If the value of the 1 bit is "0", it indicates that the terminal does not have the authority to perform the first service. Alternatively, if the second indication information includes the field "authorized", it indicates that the terminal has the authority to perform the first service. If the second indication information includes the field "not authorized", it indicates that the terminal does not have the authority to perform the first service. Alternatively, the second indication information includes a first information element (IE). If the first information element is set to "authorized", it indicates that the terminal has the authority to perform the first service. If the first information element is set to "not authorized", it indicates that the terminal does not have the authority to perform the first service. Taking the first service as the sidelink positioning service as an example, the first information element is "Ranging and Sidelink Positioning Service Information".

[0156] The following takes the following scenarios 1 to 3 as examples to describe the specific process of the RAN node obtaining the second indication information.

[0157] Scenario 1: The RAN node obtains the second indication information from the access and mobility management network element. The mobility management network element can be Figure 1B AMF network element in.

[0158] Exemplarily, the terminal sends its capability information to the access and mobility management network element. The capability information indicates whether the terminal is capable of executing a first service. If the terminal is capable of executing the first service, the access and mobility management network element, after receiving the capability information, queries whether the terminal is authorized to execute the first service. For example, the access and mobility management network element searches the terminal's subscription information through the unified data management network element. If the terminal is subscribed to the first service, the access and mobility management network element sends second indication information to the RAN node, indicating that the terminal is authorized to execute the first service. If the terminal is not subscribed to the first service, the access and mobility management network element sends second indication information to the RAN node, indicating that the terminal is not authorized to execute the first service. Alternatively, if the terminal is capable of executing the first service, the access and mobility management network element, after receiving the capability information, determines whether the terminal can execute the first service based on the security requirements of the first service obtained from the application function network element. Of course, the application function network element may also directly indicate whether the terminal can execute the first service. Subsequently, the access and mobility management network element sends second indication information to the RAN node, indicating whether the terminal is authorized to execute the first service or not.

[0159] In one possible design, the terminal capability information sent by the terminal to the access and mobility management network element may be carried in a registration request. The second indication information may be carried in an initial context setup request message.

[0160] Scenario 2: The RAN node is a DU, and the RAN node obtains the second indication information through the CU connected thereto.

[0161] For example, take the case where the CU obtains the second indication information using the method shown in the above scenario 1, the CU is connected to DU 1 and DU 2, the RAN node is DU 2, and the terminal is currently connected to DU 1. At a certain moment, the terminal reports a measurement report to the CU. After receiving the measurement report reported by the terminal, the CU decides to switch the terminal to DU 2. The CU sends a terminal context establishment (UEcontext setup) message to DU 2, which includes the second indication information. After DU 2 receives the terminal context establishment message, it can determine whether the terminal has the authority to execute the first service. The CU can also send an RRC reconfiguration (RRCreconfiguration) message to the terminal, which includes a switching command to instruct the terminal to switch from DU 1 to DU 2.

[0162] Scenario 3: The RAN node is base station 1, and the RAN node obtains the second indication information from base station 2. Base station 1 and base station 2 are different.

[0163] As an example, base station 2 can use the method shown in the above scenario 1 to obtain the second indication information. After the terminal accesses base station 2, at a certain moment, base station 2 releases the RRC connection between the terminal and the base station 2, and the terminal enters the RRC inactive state. Subsequently, the terminal sends an RRC resume request (RRC resume request) to base station 1, requesting to establish an RRC connection with base station 1. After receiving the RRC resume request, base station 1 sends a retrieve UE context request (retrieve UE context request) message to base station 2 to request the context of the terminal. After receiving the retrieve terminal context request message, base station 2 sends a retrieve UE context response (retrieve UE context response) message to base station 1, which includes the second indication information. After receiving the retrieve terminal context response message, base station 1 can determine whether the terminal has the authority to execute the first service.

[0164] As another example, taking the case where the terminal is currently connected to base station 2 and base station 2 obtains the second indication information using the method shown in scenario 1 above, at a certain moment, the terminal reports a measurement report to base station 2. After base station 2 receives the measurement report reported by the terminal, it decides to switch the terminal to base station 1. Base station 2 sends a handover request to base station 1, which includes the second indication information. After receiving the handover request, base station 1 can determine whether the terminal has the authority to perform the first service. Base station 1 can also send a response to the handover request to base station 2. Base station 2 can also send an RRC reconfiguration message to the terminal, which includes a handover command to instruct the terminal to switch from base station 2 to base station 1.

[0165] S303: The RAN node sends first indication information to the terminal. Correspondingly, the terminal receives the first indication information from the RAN node.

[0166] It is understandable that, since the RAN node determines in S302 that the terminal has permission to execute the first service, the first indication information may indicate that the terminal is permitted to execute the first service using resources in the resource pool configured by the first configuration information. It is also understandable that, in specific applications, the RAN node may determine the first indication information based on the second indication information and send the first indication information to the terminal.

[0167] One possible design: If the second indication information indicates that the terminal has permission to execute the first service, the first indication information indicates that the terminal is permitted to execute the first service using resources in the resource pool configured by the first configuration information; if the second indication information indicates that the terminal does not have permission to execute the first service, the first indication information indicates that the terminal is not permitted to execute the first service using resources in the resource pool configured by the first configuration information. In other words, the first indication information may indicate whether the terminal is permitted to execute the first service using resources in the resource pool configured by the first configuration information.

[0168] Exemplarily, the first indication information includes 1 bit. If the second indication information indicates that the terminal has the authority to perform the first service, the value of the 1 bit is "1", indicating that the terminal is allowed to use the resources in the above-mentioned resource pool to perform the first service; if the second indication information indicates that the terminal does not have the authority to perform the first service, the value of the 1 bit is "0", indicating that the terminal is not allowed to use the resources in the above-mentioned resource pool to perform the first service, and vice versa. Alternatively, if the second indication information indicates that the terminal has the authority to perform the first service, the first indication information includes a field of "true" or "allowed", indicating that the terminal is allowed to use the resources in the above-mentioned resource pool to perform the first service; if the second indication information indicates that the terminal does not have the authority to perform the first service, the first indication information includes a field of "false" or "not allowed", indicating that the terminal is not allowed to use the resources in the above-mentioned resource pool to perform the first service.

[0169] In summary, after receiving the first indication information, the terminal can determine whether to obtain the first configuration information based on the first indication information. For example, if the first indication information indicates that the terminal is allowed to use the resources in the resource pool configured by the first configuration information to perform the first service, the terminal obtains the first configuration information based on the first indication information, such as the terminal reading the first configuration information; if the first indication information indicates that the terminal is not allowed to use the resources in the resource pool configured by the first configuration information to perform the first service, the terminal releases the first configuration information based on the first indication information. "Release the first configuration information" here can be understood as not using the first configuration information or deleting the first configuration information.

[0170] It is understandable that, in a specific application, in addition to the above method, the terminal may also determine whether to obtain the first configuration information in other ways.

[0171] Exemplarily, to reduce signaling overhead, if the second indication information indicates that the terminal has permission to execute the first service, the RAN node sends the first indication information to the terminal, indicating that the terminal is allowed to use resources in the resource pool to execute the first service. If the second indication information indicates that the terminal does not have permission to execute the first service, the RAN node does not send the first indication information to the terminal. In this way, if the terminal receives the first indication information, the terminal obtains the first configuration information; if the terminal does not receive the first indication information, the terminal releases the first configuration information.

[0172] In the above example, the first indication information may include one bit, the value of which is "1" or "0". Alternatively, the first indication information may include a field of "true" or "allowed". Alternatively, the first indication information may include at least one of the following: information about the first service or information about the system information block. The information about the first service may include an identifier of the first service. If the first configuration information is carried in SIB 12, the first indication information may include a field of "SIB12". If the first configuration information is carried in SIB 23, the first indication information may include a field of "SIB23".

[0173] In addition to the above examples, the RAN node may also send first indication information to the terminal if the second indication information indicates that the terminal does not have permission to execute the first service, indicating that the terminal is not permitted to use resources in the resource pool to execute the first service. If the second indication information indicates that the terminal has permission to execute the first service, the RAN node does not send the first indication information to the terminal. In this manner, if the terminal receives the first indication information, the terminal releases the first configuration information; if the terminal does not receive the first indication information, the terminal retrieves the first configuration information. In this example, the first indication information may include one bit, the value of which is "0" or "1." Alternatively, the first indication information may include a field indicating "false" or "not allowed." Alternatively, the first indication information may include at least one of the following: information about the first service or information about a system information block. The information about the first service may include an identifier for the first service. If the first configuration information is carried in SIB 12, the first indication information may include a field indicating "SIB12." If the first configuration information is carried in SIB 23, the first indication information may include a field indicating "SIB23."

[0174] Optionally, the first indication information is carried in an RRC message, a MAC message or a DCI, wherein the RRC message may include a radio resource control reconfiguration (RRC reconfiguration) message, a radio resource control connection establishment (RRC setup) message or a radio resource control connection resumption (RRC resume) message.

[0175] In summary, the main purpose of the first indication information is to enable the terminal to determine whether to obtain the first configuration information. Therefore, "the first indication information indicates that the terminal is allowed to use the resources in the resource pool configured by the first configuration information to perform the first service" can also have other replacement descriptions, for example, it can be replaced with "the first indication information indicates that the terminal is allowed to use the resource pool configured by the first configuration information" or "the first indication information indicates that the terminal is allowed to obtain / read / use the first configuration information", etc. Similarly, "the first indication information indicates that the terminal is not allowed to use the resources in the resource pool configured by the first configuration information to perform the first service" can also have other replacement descriptions, for example, it can be replaced with "the first indication information indicates that the terminal is not allowed to use the resource pool configured by the first configuration information", "the first indication information indicates that the terminal is not allowed to obtain / read / use the first configuration information" or "the first indication information indicates that the terminal is allowed to release / delete the first configuration information", etc., without restriction.

[0176] It is understandable that after obtaining the first configuration information, the terminal can select the first resource based on the first configuration information and use the first resource to perform the first service. For example, the terminal can sense the usage of resources in the resource pool configured by the first configuration information, select the first resource from unoccupied resources, and use the first resource to perform the first service. Taking the sidelink positioning service as an example, the terminal can determine the usage of resources in the resource pool by decoding the sidelink control information and measuring the SL-PRS, select the first resource from unoccupied resources, and send or receive the SL-PRS using the first resource.

[0177] It can be understood that the above embodiment is described by taking the example that the terminal first receives the first configuration information and then receives the first indication information. In specific applications, the terminal may also receive the first configuration information and the first indication information at the same time. In this case, the operation of the terminal after receiving the first indication information is similar to the case where the terminal first receives the first configuration information and then receives the first indication information, and will not be repeated. In addition, the terminal may also receive the first indication information first, and determine whether to obtain the first configuration information based on the first indication information. For example, if the first indication information indicates that the terminal is allowed to use the resources in the resource pool configured by the first configuration information to perform the first service, the terminal receives the first configuration information; if the first indication information indicates that the terminal is not allowed to use the resources in the resource pool configured by the first configuration information to perform the first service, the terminal does not receive the first configuration information.

[0178] based on Figure 3According to the method shown, the RAN node can indicate to the terminal whether it can use the resources in the resource pool configured by the RAN node to perform the first service based on whether the terminal has the authority to perform the first service, so as to prevent the terminal that does not have the authority to perform the first service from using the resources in the above resource pool to perform the first service, thereby improving the service quality provided by the provider of the first service to the terminal that has the authority to perform the first service.

[0179] Apart from Figure 3 In addition to the method shown, the present application can also be carried out by the following Figure 4 The method shown prevents a terminal that does not have the first service authority from using resources in a resource pool configured by a RAN node to perform the first service, which will be described in detail below.

[0180] like Figure 4 As shown, another resource configuration method provided by this application may include the following steps:

[0181] S401: A RAN node sends first encrypted information to a terminal. Correspondingly, the terminal receives the first encrypted information from the RAN node.

[0182] Among them, the RAN node can be Figure 1A The RAN node 110 in the terminal can be Figure 1A Alternatively, the RAN node may be Figure 1B The RAN node in the terminal can be Figure 1B in the terminal.

[0183] In this application, the first encryption information is obtained by encrypting the first configuration information with the first key. The first configuration information is used to configure a resource pool, which can be used for the first service. The first configuration information, resource pool, and first service can be introduced in Figure 3 As shown in the method shown, no further details are given. Optionally, the first encrypted information is carried in a system information block. For example, for a sidelink positioning service, the resource pool configuration information (such as the first configuration information) that can be used for SL-PRS transmission is carried in SIB 12 and / or SIB 23. It should be understood that in addition to SIB 12 and SIB 23, the first encrypted information can also be carried in other broadcast messages without limitation. Alternatively, the first encrypted information is carried in proprietary signaling, such as an RRC message, a MAC message, or a DCI.

[0184] In one possible implementation, the RAN node generates a first key, or the RAN node obtains the first key from an application function network element. The first key can be a symmetric key, a public key, or a private key. Subsequently, the RAN node encrypts the first configuration information using the first key to obtain first encrypted information. This application does not limit the encryption algorithm used by the RAN node to encrypt the first configuration information. For example, the encryption algorithm may be the Advanced Encryption Standard (AES) algorithm, the Zu Chongzhi (ZUC) algorithm, or the SNOW 3G algorithm.

[0185] For example, for an AES algorithm based on counter mode, a key stream is typically generated using a counter. To facilitate terminal decryption, the RAN node may also send counter information, such as a cipher set ID and / or an initial counter value, to the terminal. The counter information and the first encrypted information may be carried in the same message or in different messages, without limitation.

[0186] S402: If the terminal has the authority to execute the first service, the RAN node sends information about the first key to the terminal. Correspondingly, the terminal receives the information about the first key from the RAN node.

[0187] In this application, the first key information can be used by the terminal to obtain the first configuration information. For example, the first key information can be used by the terminal to decrypt the first encrypted information to obtain the first configuration information. It is understood that if the first key is a symmetric key, the first key information can include the first key; if the first key is a public key, the first key information can include the private key corresponding to the first key; if the first key is a private key, the first key information can include the public key corresponding to the first key. Optionally, the first key information can also include at least one of the following: information about the validity period of the first key or information about the encryption algorithm.

[0188] S403: The terminal obtains first configuration information according to information of the first key.

[0189] In one possible implementation, the terminal decrypts the first encrypted information using the first key information to obtain the first configuration information. Subsequently, the terminal can select the first resource based on the first configuration information and use the first resource to execute the first service. For example, the terminal can sense the usage of resources in the resource pool configured by the first configuration information, select the first resource from the unoccupied resources, and use the first resource to execute the first service. Taking the sidelink positioning service as an example, the terminal can determine the usage of resources in the resource pool by decoding the sidelink control information and measuring the SL-PRS, select the first resource from the unoccupied resources, and send or receive the SL-PRS through the first resource.

[0190] based on Figure 4 In the method shown, the RAN node can send first configuration information encrypted with a first key to the terminal, and send the first key information to the terminal with the first service authorization, so that the terminal with the first service authorization can decrypt the information based on the first key to obtain the first configuration information, and thus use the resources in the resource pool to perform the first service. The terminal that does not have the first service authorization does not know the first key information and therefore cannot use the resources in the resource pool. Therefore, Figure 4 The method shown can prevent a terminal that does not have the first service authority from obtaining resources for executing the first service, thereby preventing the terminal from executing the first service.

[0191] Optional, in Figure 4 In one possible implementation of the method shown, the RAN node may obtain information about whether the terminal has the authority to execute the first service from the core network (such as the access and mobility management network element), so as to determine whether to send the first key based on whether the terminal has the authority to execute the first service. Figure 5 As shown, Figure 4 The method shown also includes the following steps:

[0192] S401A: The access and mobility management network element sends first information to the RAN node. Correspondingly, the RAN node receives the first information from the access and mobility management network element.

[0193] In this application, the access and mobility management network element is, for example, Figure 1B The first information indicates that the terminal has the authority to perform the first service, or indicates that the terminal does not have the authority to perform the first service. If the first information indicates that the terminal has the authority to perform the first service, the RAN node sends the first key information to the terminal, so that the terminal can decrypt the first encrypted information based on the first key information and then select resources from the resource pool to perform the first service. If the first information indicates that the terminal does not have the authority to perform the first service, the RAN node does not send the first key information to the terminal, so as to prevent the terminal from decrypting the first configuration information to obtain resources in the resource pool, thereby preventing the terminal from performing the first service.

[0194] It can be understood that the process in which the RAN node obtains the first information from the access and mobility management network element is similar to the process in which the RAN node obtains the second indication information from the access and mobility management network element in the above scenario 1. Reference can be made to the corresponding description in the above scenario 1. The content included in the first information is similar to the content included in the second indication information. Figure 3 The method shown corresponds to the introduction of the second indication information, which will not be repeated here.

[0195] It is understandable that, in addition to the method shown in S401A, the RAN node may also obtain the first information from a RAN node other than the RAN node itself. For example, if the RAN node is a DU, the RAN node obtains the first information via a CU connected thereto; or, if the RAN node is base station 1, the RAN node obtains the first information from base station 2, which is different from base station 2. For details, please refer to the descriptions corresponding to scenarios 2 and 3 above.

[0196] It is understandable that S401A is executed before S402. For example, S401A may be executed before S401, or S401A may be executed between S401 and S402, or S401A and S401 may be executed simultaneously, without limitation.

[0197] Optionally, the information of the first key in S402 is carried in an RRC message (such as an RRC reconfiguration message, an RRC connection establishment message, or an RRC connection recovery message), a MAC message, or a DCI.

[0198] Optional, in Figure 4 In one possible implementation of the method shown, when the terminal has the authority to execute the first service, the core network (such as the access and mobility management network element) can send the first key information to the RAN node, and the RAN node can forward the first key information from the core network to the terminal, so that the terminal with the first service authority can decrypt the first encrypted information and then select resources in the resource pool to execute the first service. Specifically, Figure 5 As shown, Figure 4 The method shown also includes the following steps:

[0199] S401B: The RAN node sends the first key information to the access and mobility management network element. Correspondingly, the access and mobility management network element receives the first key information from the RAN node.

[0200] In this application, the access and mobility management network element is, for example, Figure 1B The purpose of the RAN node sending the first key information to the access and mobility management network element is to enable the access and mobility management network element to send the first key information to the terminal after determining that the terminal has the authority to execute the first service.

[0201] Optionally, the RAN node may also send second information to the access and mobility management network element, where the second information indicates information carrying the first encrypted information, thereby facilitating the access and mobility management network element to determine whether to send the first key information to the terminal. For example, the second information includes an identifier of the information carrying the first encrypted information, or includes information carrying the first encrypted information (e.g., SIB 12 or SIB 23). For another example, the second information includes information about the first service, such as an identifier of the first service. Therefore, the access and mobility management network element can determine, based on the second information, that the configuration information used to configure resources for the first service is encrypted. If the terminal has permission to execute the first service, the access and mobility management network element can send the first key information to the terminal. If the terminal does not have permission to execute the first service, the access and mobility management network element does not send the first key information to the terminal. Since the second information includes the identifier of the SL positioning service, the access and mobility management network element can determine that the RAN node encrypts the information in SIB 23. If the terminal has permission to execute the SL positioning service, the access and mobility management network element can send the first key information to the terminal.

[0202] It is understandable that S401B may be executed before S402, for example, S401B may be executed before S401, or S401B may be executed between S401 and S402, or S401B and S401 may be executed simultaneously, without limitation.

[0203] S401C: The access and mobility management network element sends a non-access stratum (NAS) message to the RAN node. Correspondingly, the RAN node receives the NAS information from the access and mobility management network element.

[0204] In this application, the NAS message includes information about the first key.

[0205] As can be understood, S401C is executed between S401B and S402. The first key information in S402 is also carried in the NAS message. As can be understood, the RAN node is unaware of the content in the NAS message. Therefore, after receiving the NAS message, the RAN node can directly forward the NAS message to the terminal.

[0206] In one possible implementation, the terminal sends capability information of the terminal to an access and mobility management network element. The capability information of the terminal indicates whether the terminal has the capability to perform the first service. If the terminal has the authority to perform the first service, the access and mobility management network element sends information about the first key to the terminal.

[0207] Exemplarily, the terminal sends a registration request to the RAN node, and the registration request includes the capability information of the terminal. After receiving the registration request, the RAN node sends the registration request to the access and mobility management network element. If the terminal has the capability to perform the first service, the access and mobility management network element queries whether the terminal has the authority to perform the first service after receiving the registration request. For example, the access and mobility management network element searches for the subscription information of the terminal through the unified data management network element. If the terminal has subscribed to the first service, the access and mobility management network element sends a NAS message to the RAN node. If the terminal has not subscribed to the first service, the access and mobility management network element does not send a NAS message to the RAN node. After receiving the NAS message, the RAN node directly forwards the NAS message to the terminal so that the terminal decrypts the first encrypted information to obtain the first configuration information.

[0208] Optionally, the NAS message includes a registration accept message, which includes information about the first key. The advantage of sending the first key information via the NAS message is that in the example scenario, air interface signaling overhead can be saved, i.e., the RAN node does not need to send the first key information to the terminal via an additional air interface message.

[0209] It is understood that the first key information sent by the RAN node to the access and mobility management network element may be the same as or different from the first key information sent by the access and mobility management network element to the terminal via the RAN node. For example, after receiving the first key information, the access and mobility management network element may store it locally and then directly send the locally stored first key information to the terminal via the RAN node. For another example, after receiving the first key information, the access and mobility management network element may store it locally and then perform a first operation on the first key information before sending it to the terminal via the RAN node. The first operation may include adding information, deleting information, or converting the format, etc., without limitation.

[0210] It can be understood that this application is introduced using the access and mobility management network element as an example. The access and mobility management network element can also be replaced by other network elements in the core network without limitation.

[0211] It is understandable that the actions of the RAN node or terminal or access and mobility management network element in the above steps can be performed by Figure 2 The processor 201 in the communication device 20 shown calls the application code stored in the memory 202 for execution, and this application does not impose any limitation on this.

[0212] The various embodiments mentioned above in this application can be combined without limitation if there is no contradiction between the solutions.

[0213] The above primarily describes the solutions provided by this application from the perspective of interactions between various network elements. Accordingly, this application also provides a communications device, which may be a terminal in the aforementioned method embodiments, or a device including such a terminal, or a component usable for a terminal; or, the communications device may be a RAN node in the aforementioned method embodiments, or a device including such a RAN node, or a component usable for a RAN node; or, the communications device may be an access and mobility management network element in the aforementioned method embodiments, or a device including such a network element, or a component usable for such a network element. It will be understood that, in order to implement the aforementioned functions, the aforementioned terminal, RAN node, or access and mobility management network element, etc., includes hardware structures and / or software modules corresponding to the respective functions. Those skilled in the art will readily appreciate that, in conjunction with the various exemplary units and algorithmic operations described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Professionals may use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0214] This application can divide the functional modules of a terminal, RAN node, or access and mobility management network element according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be understood that the module division in this application is illustrative and only represents a logical functional division. In actual implementation, other division methods may be used.

[0215] For example, when the functional modules are divided in an integrated manner, Figure 6 The schematic diagram of the structure of a communication device 60 is shown. The communication device 60 includes an interface module 601 and a processing module 602. The interface module 601, also known as an interface unit, is used to perform transceiver operations and can be, for example, an interface circuit, a transceiver, a transceiver, or a communication interface. The processing module 602, also known as a processing unit, is used to perform operations other than transceiver operations and can be, for example, a processing circuit or a processor.

[0216] In some embodiments, the communication device 60 may further include a storage module ( Figure 6 ), for storing program instructions and data.

[0217] In some embodiments, the communication device 60 may further include an AI module ( Figure 6(not shown) for implementing AI-related functions. The AI module can implement AI functions through software, hardware, or a combination of software and hardware. For example, the AI module includes an RIC module. Optionally, the AI module and the storage module are integrated into a single module, or the AI module and the processing module 602 are integrated into a single module.

[0218] Exemplarily, the communication device 60 is used to implement the functions of the terminal. The communication device 60 is, for example, Figure 3 The terminal described in the embodiment shown.

[0219] The interface module 601 is configured to receive first indication information, wherein the first indication information indicates that the terminal is allowed to use resources in the resource pool configured by the first configuration information to execute the first service. For example, the interface module 601 may be configured to execute S301.

[0220] The processing module 602 is configured to obtain first configuration information according to the first indication information.

[0221] In a possible implementation, the processing module 602 is further configured to select a first resource according to the first configuration information; the processing module 602 is further configured to use the first resource to execute the first service.

[0222] In a possible implementation, the interface module 601 is further configured to receive the first configuration information; and the processing module 602 is specifically configured to read the first configuration information.

[0223] In a possible implementation, the processing module 602 is specifically configured to receive the first configuration information through the interface module 601 .

[0224] In a possible implementation manner, the first configuration information is carried in a system information block.

[0225] In a possible implementation manner, the first indication information includes at least one of the following: information of a system information block or information of a first service.

[0226] In a possible implementation manner, the first indication information is carried in a radio resource control message, a medium access control message, or downlink control information.

[0227] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0228] When used to implement the terminal function, for other functions that the communication device 60 can implement, please refer to Figure 3 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0229] Alternatively, illustratively, the communication device 60 is used to implement the function of a RAN node. The communication device 60 is, for example, Figure 3 The RAN node described in the embodiment shown.

[0230] The interface module 601 is configured to send first configuration information, wherein the first configuration information is used to configure a resource pool. For example, the interface module 601 may be configured to execute S301.

[0231] The interface module 601 is further configured to receive second indication information, wherein the second indication information indicates that the terminal has the authority to execute the first service.

[0232] The processing module 602 is configured to send first indication information according to the second indication information. The first indication information indicates that the terminal is allowed to use resources in the resource pool configured by the first configuration information to execute the first service. For example, the processing module 602 can be configured to execute S303.

[0233] In a possible implementation manner, the first configuration information is carried in a system information block.

[0234] In a possible implementation manner, the first indication information includes at least one of the following: information of a system information block or information of a first service.

[0235] In a possible implementation manner, the second indication information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

[0236] In a possible implementation manner, the first indication information is carried in a radio resource control message, a medium access control message, or downlink control information.

[0237] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0238] When used to implement the function of the RAN node, for other functions that the communication device 60 can implement, please refer to Figure 3 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0239] Alternatively, illustratively, the communication device 60 is used to implement the function of a RAN node. The communication device 60 is, for example, Figure 4 The embodiment shown or Figure 5 The RAN node described in the embodiment shown.

[0240] The interface module 601 is configured to send first encrypted information. The first encrypted information is obtained by encrypting first configuration information using a first key. The first configuration information is used to configure a resource pool, which is used for the first service. For example, the interface module 601 may be configured to execute S401.

[0241] The interface module 601 is further configured to send information about the first key to the terminal, wherein the terminal has the authority to execute the first service. For example, the interface module 601 is further configured to execute S402.

[0242] In a possible implementation, the interface module 601 is further configured to receive first information from a network node, where the first information indicates that the terminal has the authority to execute the first service.

[0243] In a possible implementation manner, the first information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

[0244] In a possible implementation manner, information about the first key is carried in a radio resource control message, a medium access control message, or downlink control information.

[0245] In a possible implementation, the interface module 601 is further configured to receive a non-access stratum message from a core network element, where the non-access stratum message includes information about the first key.

[0246] In a possible implementation, the interface module 601 is further configured to send information about the first key to a core network element.

[0247] In a possible implementation, the interface module 601 is specifically configured to send a non-access stratum message to the terminal.

[0248] In a possible implementation manner, the first encryption information is carried in a system information block.

[0249] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0250] When used to implement the function of the RAN node, for other functions that the communication device 60 can implement, please refer to Figure 4 The embodiment shown or Figure 5 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0251] Alternatively, illustratively, the communication device 60 is used to implement the functions of the terminal. The communication device 60 is, for example, Figure 4 The embodiment shown or Figure 5 The terminal described in the embodiment shown.

[0252] The interface module 601 is configured to receive first encrypted information, wherein the first encrypted information is obtained by encrypting first configuration information using a first key, the first configuration information being used to configure a resource pool used for a first service. For example, the interface module 601 may be configured to execute S401.

[0253] The interface module 601 is further configured to receive information about the first key. For example, the interface module 601 may be configured to execute S402.

[0254] The processing module 602 is configured to obtain first configuration information according to information of the first key. For example, the processing module 602 may be configured to execute S403.

[0255] In a possible implementation, the processing module 602 is further configured to select a first resource according to the first configuration information; the processing module 602 is further configured to use the first resource to execute the first service.

[0256] In a possible implementation manner, the first encryption information is carried in a system information block.

[0257] In a possible implementation, the interface module 601 is specifically configured to receive information about the first key from a wireless access network node; or, the interface module 601 is specifically configured to receive information about the first key from a core network element forwarded by the wireless access network node.

[0258] In a possible implementation, the information of the first key from the radio access network node is carried in a radio resource control message, a media access control message, or a downlink control message; the information of the first key from the core network element is carried in a non-access layer message.

[0259] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0260] When used to implement the terminal function, for other functions that the communication device 60 can implement, please refer to Figure 4 The embodiment shown or Figure 5 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0261] Alternatively, illustratively, the communication device 60 is used to implement the functions of the access and mobility function network element. The communication device 60 is, for example, Figure 5 The access and mobility function network element described in the illustrated embodiment.

[0262] Interface module 601 is configured to receive information about a first key from a wireless access network node. The information about the first key indicates a first key, which is used to encrypt first configuration information. The first configuration information is used to configure a resource pool, which is used for a first service. For example, interface module 601 may be configured to execute S401B.

[0263] The interface module 601 is further configured to send the first key information to the terminal. The first key information is used by the terminal to obtain the first configuration information, and the terminal has the authority to execute the first service. For example, the interface module 601 can also be configured to execute S401C.

[0264] In one possible implementation, the interface module 601 is further used to receive capability information from the terminal, where the capability information indicates whether the terminal has the capability to execute the first service; the interface module 601 is specifically used to send information about the first key to the terminal when the terminal has the authority to execute the first service.

[0265] In a possible implementation manner, the information of the first key sent to the terminal is carried in a non-access stratum message.

[0266] In a possible implementation, the first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

[0267] When used to implement the functions of access and mobility management network elements, for other functions that the communication device 60 can implement, please refer to Figure 5 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0268] In a simple embodiment, those skilled in the art will appreciate that the communication device 60 may be implemented as Figure 2 For example, Figure 2 The processor 201 in the communication device 60 can call the computer-executable instructions stored in the memory 202 to enable the communication device 60 to execute the method described in the above embodiment.

[0269] For example, Figure 6 The functions / implementation processes of the interface module 601 and the processing module 602 can be realized by Figure 2 The processor 201 in the memory 202 calls the computer execution instructions stored in the memory 202 to implement. Or, Figure 6 The function / implementation process of the processing module 602 can be achieved by Figure 2 The processor 201 in the memory 202 calls the computer execution instruction stored in the memory 202 to implement, Figure 6 The function / implementation process of the interface module 601 can be achieved by Figure 2 This is achieved by the transceiver 203 in FIG.

[0270] It is understandable that one or more of the above modules or units can be implemented by software, hardware or a combination of the two. When any of the above modules or units is implemented in software, the software exists in the form of computer program instructions and is stored in a memory, and a processor can be used to execute the program instructions and implement the above method flow. The processor can be built into a system-on-a-chip (SoC) or ASIC, or it can be an independent semiconductor chip. In addition to the core for executing software instructions to perform calculations or processing within the processor, it can further include necessary hardware accelerators, such as field programmable gate arrays (FPGAs), programmable logic devices (PLDs) or logic circuits that implement dedicated logic operations.

[0271] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a digital signal processing (DSP) chip, a microcontroller unit (MCU), an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator or a non-integrated discrete device, which can run the necessary software or not rely on the software to execute the above method flow.

[0272] Optionally, the present application also provides a chip system, comprising: at least one processor and an interface, wherein the at least one processor is coupled to a memory via the interface, and when the at least one processor executes a computer program or instruction in the memory, the method in any of the above method embodiments is executed. In one possible implementation, the chip system also includes a memory. Optionally, the chip system can be composed of a chip, or can include a chip and other discrete devices, which is not specifically limited in this application.

[0273] Optionally, the present application also provides a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiments can be completed by a computer program to instruct the relevant hardware. The program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be an internal storage unit of the communication device of any of the above-mentioned embodiments, such as a hard disk or memory of the communication device. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned communication device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned communication device. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned communication device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned communication device. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0274] Optionally, the present application also provides a computer program product. All or part of the processes in the above method embodiments may be completed by a computer program instructing related hardware. The program may be stored in the above computer program product, and when executed, the program may include the processes in the above method embodiments.

[0275] Optionally, the present application also provides a computer instruction. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct related hardware (such as a computer, processor, terminal, RAN node, or access and mobility management network element, etc.). The program can be stored in the above computer-readable storage medium or in the above computer program product.

[0276] Optionally, the present application further provides a communication system, including: Figure 3 RAN nodes and terminals in the illustrated embodiment.

[0277] Optionally, the present application further provides a communication system, comprising at least two of the following: Figure 5 RAN node, terminal or access and mobility management network element in the illustrated embodiment.

[0278] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0279] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0280] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0281] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0282] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A resource configuration method, characterized in that: The method comprises: Receive first indication information, where the first indication information indicates that the terminal is allowed to use resources in the resource pool configured by the first configuration information to execute the first service; Acquire first configuration information according to the first indication information.

2. The method according to claim 1, characterized in that The method further comprises: selecting a first resource according to the first configuration information; The first service is executed using the first resource.

3. The method according to claim 1 or 2, characterized in that Before receiving the first indication information, the method further includes: receiving the first configuration information; Acquiring first configuration information according to the first indication information includes: Read the first configuration information.

4. The method according to claim 1 or 2, characterized in that The acquiring the first configuration information according to the first indication information includes: Receive the first configuration information.

5. The method according to claim 3 or 4, characterized in that The first configuration information is carried in a system information block.

6. The method according to claim 5, characterized in that The first indication information includes at least one of the following: information of the system information block or information of the first service.

7. The method according to any one of claims 1 to 6, characterized in that The first indication information is carried in a radio resource control message, a medium access control message or downlink control information.

8. The method according to any one of claims 1 to 7, characterized in that The first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

9. A resource configuration method, characterized in that: The method comprises: Sending first configuration information, where the first configuration information is used to configure a resource pool; receiving second indication information, where the second indication information indicates that the terminal has permission to execute the first service; First indication information is sent according to the second indication information, where the first indication information indicates that the terminal is allowed to use resources in the resource pool configured by the first configuration information to execute the first service.

10. The method according to claim 9, characterized in that The first configuration information is carried in a system information block.

11. The method according to claim 10, characterized in that The first indication information includes at least one of the following: information of the system information block or information of the first service.

12. The method according to any one of claims 9 to 11, characterized in that The second indication information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

13. The method according to any one of claims 9 to 12, characterized in that The first indication information is carried in a radio resource control message, a medium access control message or downlink control information.

14. The method according to any one of claims 9 to 13, characterized in that The first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

15. A resource allocation method, characterized in that: The method comprises: Sending first encrypted information, where the first encrypted information is obtained by encrypting first configuration information using a first key, where the first configuration information is used to configure a resource pool, and the resource pool is used for a first service; Information about the first key is sent to a terminal, and the terminal has permission to execute the first service.

16. The method according to claim 15, characterized in that The method further comprises: First information is received from a network node, where the first information indicates that the terminal has permission to execute the first service.

17. The method according to claim 16, characterized in that The first information is carried in an initial context establishment request message, a terminal context establishment message, a handover request message, or a terminal context acquisition response message.

18. The method according to claim 16 or 17, characterized in that The information of the first key is carried in a radio resource control message, a medium access control message or a downlink control message.

19. The method according to claim 15, characterized in that Before sending the first key information to the terminal, the method further includes: A non-access stratum message is received from a core network element, where the non-access stratum message includes information about the first key.

20. The method according to claim 19, characterized in that Before receiving the non-access layer message from the core network element, the method further includes: Send information about the first key to the core network element.

21. The method according to claim 19 or 20, characterized in that The sending of the first key information to the terminal includes: Sending the non-access stratum message to the terminal.

22. The method according to any one of claims 15 to 21, characterized in that The first encryption information is carried in a system information block.

23. The method according to any one of claims 15 to 22, characterized in that The first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

24. A resource allocation method, characterized in that: The method comprises: receiving first encrypted information, where the first encrypted information is obtained by encrypting first configuration information using a first key, where the first configuration information is used to configure a resource pool, where the resource pool is used for a first service; receiving information of the first key; The first configuration information is obtained according to information of the first key.

25. The method according to claim 24, characterized in that The method further comprises: selecting a first resource according to the first configuration information; The first service is executed using the first resource.

26. The method according to claim 24 or 25, characterized in that The first encryption information is carried in a system information block.

27. The method according to any one of claims 24 to 26, characterized in that The receiving of the first key information includes: receiving information about the first key from a wireless access network node; or, Receive information about the first key from a core network element and forwarded by a wireless access network node.

28. The method according to claim 27, characterized in that The information of the first key from the radio access network node is carried in a radio resource control message, a medium access control message or a downlink control message; The information of the first key from the core network element is carried in a non-access layer message.

29. The method according to any one of claims 24 to 28, characterized in that The first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

30. A resource allocation method, characterized in that: The method comprises: receiving first key information from a wireless access network node, where the first key information is used to indicate a first key, the first key is used to encrypt first configuration information, the first configuration information is used to configure a resource pool, and the resource pool is used for a first service; The first key information is sent to the terminal, where the first key information is used by the terminal to obtain the first configuration information, and the terminal has the authority to execute the first service.

31. The method according to claim 30, wherein The method further comprises: receiving capability information from the terminal, the capability information indicating whether the terminal has the capability to execute the first service; The sending of the first key information to the terminal includes: In a case where the terminal has the authority to execute the first service, information about the first key is sent to the terminal.

32. The method according to claim 30 or 31, characterized in that The information of the first key sent to the terminal is carried in a non-access layer message.

33. The method according to any one of claims 30 to 32, characterized in that The first service is a sidelink positioning service, and the first configuration information is used to configure a resource pool of a sidelink positioning reference signal.

34. A communication device, characterized in that: The method comprises a unit or module for performing the method according to any one of claims 1 to 8, or a unit or module for performing the method according to any one of claims 9 to 14, or a unit or module for performing the method according to any one of claims 15 to 23, or a unit or module for performing the method according to any one of claims 24 to 29, or a unit or module for performing the method according to any one of claims 30 to 33.

35. A communication device, characterized in that: include: A processor, the processor being coupled to a memory, the memory being used to store a program or instruction, which, when executed by the processor, causes the apparatus to perform the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 14, or the method according to any one of claims 15 to 23, or the method according to any one of claims 24 to 29, or the method according to any one of claims 30 to 33.

36. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instructions are executed, the computer performs the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 14, or the method according to any one of claims 15 to 23, or the method according to any one of claims 24 to 29, or the method according to any one of claims 30 to 33.

37. A computer program product, comprising computer program code, characterized in that: When the computer program code is run on a computer, the computer implements the method of any one of claims 1 to 8, or implements the method of any one of claims 9 to 14, or implements the method of any one of claims 15 to 23, or implements the method of any one of claims 24 to 29, or implements the method of any one of claims 30 to 33.