[go: up one dir, main page]

WO2021217376A1 - Communication method, apparatus and system - Google Patents

Communication method, apparatus and system Download PDF

Info

Publication number
WO2021217376A1
WO2021217376A1 PCT/CN2020/087332 CN2020087332W WO2021217376A1 WO 2021217376 A1 WO2021217376 A1 WO 2021217376A1 CN 2020087332 W CN2020087332 W CN 2020087332W WO 2021217376 A1 WO2021217376 A1 WO 2021217376A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
service
communication interface
data
network element
Prior art date
Application number
PCT/CN2020/087332
Other languages
French (fr)
Chinese (zh)
Inventor
欧阳国威
刘俊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202080073459.8A priority Critical patent/CN114586394B/en
Priority to PCT/CN2020/087332 priority patent/WO2021217376A1/en
Publication of WO2021217376A1 publication Critical patent/WO2021217376A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • terminal A can use the PC5 interface between terminal A and terminal B to send data to terminal B on the sidelink resource.
  • the base station can use the network scheduling operation mode (network scheduled operation mode) to configure the side chain for terminal A Road resources.
  • the network scheduling operation mode may refer to that the base station uses dynamic scheduling or semi-persistent scheduling to configure side link resources for the terminal.
  • the autonomous resource selection mode of the terminal may refer to that the terminal selects the side link resources in the resource pool by means of resource frame sensing.
  • the terminal adopts the terminal autonomous resource selection mode to determine the side link resources, sensing is required, and when the terminal uses the network scheduling operation mode, frame listening is not required. Therefore, the terminal adopts the terminal autonomous resource selection mode to determine the side link resources.
  • the power consumption of the resource is higher than that of the terminal using the network scheduling operation mode to determine the power consumption of the side link resource. Therefore, the power consumption of the terminal in the RRC-inactive state to send side link data using the side link resource is higher than that of the terminal in the RRC state. -The power consumption of the terminal in the active state to use the side-link resource to send the side-link data.
  • an embodiment of the present application provides a communication method, including: the access network device sends resource information to the terminal, the resource information is used to characterize the direct communication interface resource, and the direct communication interface resource is used when the terminal is in the wireless resource. Control RRC-inactive state, or transmit data when in RRC-active state and in power saving mode.
  • the access network device determining to release the direct communication interface resources configured for the terminal includes: the access network device receives instruction information from the access management network element, and the instruction information is used Instructed to release the direct communication interface resources configured for the terminal. The access network device determines to release the direct communication interface resources configured for the terminal according to the instruction information.
  • the foregoing method may further include: the access network device determines, according to the fourth indication information, that the terminal is allowed to be in the RRC-activated state, and the network-based scheduling mode is used when the power saving mode is adopted.
  • the directly connected communication interface resources continue to transmit the data of the first application.
  • the identifier of at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize that the terminal requests to use the direct communication interface.
  • Use network scheduling mode to transmit data may further include: the access management network element sends first indication information to the access network device or terminal according to the first parameter, where the first indication information is used to indicate that the terminal is allowed to use the network-based scheduling mode in the RRC-inactive state
  • the directly connected communication interface resource transmits the data of the first application, and the first application belongs to at least one service.
  • the above method further includes: the access management network element receives a first quality of service parameter from the terminal, where the first quality of service parameter is the terminal's request to transmit data on the directly connected communication interface The quality of service parameters used.
  • the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface.
  • the communication device may be a terminal or a chip applied to the terminal, the communication device includes: a communication unit, and a processing unit, wherein the processing unit is used for processing information, and the communication unit is used for sending and receiving information.
  • the communication unit is configured to receive resource information from the access network device, and the resource information is used to characterize the resources of the directly connected communication interface.
  • the communication unit is also used to transmit data through direct communication interface resources, where the terminal is in a radio resource control RRC-inactive state, or the terminal is in an RRC-active state, and the terminal adopts a power saving mode.
  • the direct communication interface resource is a direct communication interface resource based on a network scheduling mode.
  • the communication unit is further configured to request direct communication interface resources from the access network device.
  • the above-mentioned data is data of the first application of the terminal, and the direct communication interface resource is used to transmit the data of the first application.
  • the first application is an application that uses a direct communication interface for communication, for example, a direct communication interface is used to send/broadcast information of a vulnerable roadside unit (VRU).
  • VRU vulnerable roadside unit
  • the first application belongs to the permitted service of the terminal, and the processing unit is further used to determine the identifier of the permitted service of the terminal.
  • the processing unit is configured to receive, through the communication unit, the identifier of the permitted service from the terminal that accesses the management network element, so as to determine the identifier of the permitted service of the terminal.
  • the identifier of at least one service is carried in the first message, and the first message further includes a first parameter, which is used to characterize that the terminal requests to use on the direct communication interface Network scheduling mode transmits data.
  • a first parameter which is used to characterize that the terminal requests to use on the direct communication interface Network scheduling mode transmits data.
  • the first parameter is used to indicate to the access management network element that the terminal requests to use the network scheduling mode to transmit data on the directly connected communication interface. This is convenient for the network side to determine that the terminal requires the use of the network scheduling mode to transmit data on the PC5 interface communication link, that is, the terminal requests to use the direct communication interface resource configured by the access network device to transmit data.
  • the data is the data of the first application
  • the direct communication interface is the PC5 interface
  • the processing unit is also used to generate the PC5 interface quality of service flow (PC5 QoS Flow) corresponding to the first application. ).
  • the processing unit is also used to associate the data of the first application with the quality of service flow of the PC5 interface.
  • the first application in the embodiment of the present application may be one of the permitted services of the terminal.
  • the PC5 interface quality of service flow includes a PC5 interface packet filter, where a parameter value in the PC5 interface packet filter is an identifier of the first application.
  • the one parameter may be a PC5 interface quality of service flow identifier (PC5 QoS Flow identifier, PFI).
  • the processing unit is configured to associate the data of the first application with the PC5 interface quality of service flow according to the PC5 interface packet filter, so that the data of the first application is transmitted in the PC5 interface quality of service flow.
  • the processing unit is configured to receive configuration information from the policy control network element through the communication unit, and the processing unit is configured to generate a PC5 interface quality of service flow corresponding to the first application according to the configuration information .
  • the processing unit is configured to generate the PC5 interface quality of service flow corresponding to the first application according to the pre-configured parameters.
  • the processing unit before the communication unit transmits data through the direct communication interface resource, the processing unit is further configured to control the terminal to enter the RRC-inactive state. Or the processing unit is also used to control the terminal to enter the power saving mode in the RRC-active state.
  • the communication unit is further configured to receive a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-inactive state.
  • the corresponding processing unit is configured to control the terminal to enter the RRC-inactive state, and includes: a processing unit, configured to control the terminal to enter the RRC-inactive state according to the first notification message.
  • the communication unit is further configured to receive a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-activated state, and uses power saving model.
  • the corresponding processing unit is configured to control the terminal to enter the RRC-activated state and adopt the power saving mode, including: a processing unit, configured to control the terminal to enter the RRC-activated state and adopt the power saving mode according to the first notification message.
  • the communication unit is further configured to send a fifth message to the access management network element, where the fifth message indicates that the terminal supports sending the data of the first application.
  • the communication unit is also used for the terminal to send a third parameter to the access management network element, and the third parameter is used to characterize that the terminal requests to use the network scheduling mode on the direct communication interface .
  • the communication unit is further configured to receive second indication information, the second indication information is used to indicate that the terminal is allowed to use network-based Directly connected communication interface resources in scheduling mode transmit data.
  • the communication unit is configured to transmit data through the directly connected communication interface resource, and includes: a communication unit, configured to transmit the above-mentioned data through the directly connected communication interface resource according to the second instruction information.
  • the processing unit may be a processor, and the communication interface may be an input/output interface, a pin, a circuit, or the like.
  • the processing unit executes the computer program code stored in the storage unit, so that the terminal implements the communication method described in the first aspect or any one of the possible implementations of the first aspect, and the storage unit may be in the chip
  • the storage unit (for example, a register, a cache, etc.) may also be a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the terminal.
  • the processor, the communication interface and the memory are coupled with each other.
  • the embodiments of the present application provide a communication device, which can implement the second aspect or any one of the communication methods described in the possible implementation of the second aspect, so the second aspect can also be implemented. Aspect or the beneficial effects in any possible implementation manner of the second aspect.
  • the communication device of this type may be an access network device, or a device that can support the access network device to implement the second aspect or any one of the possible implementation manners of the second aspect. For example, it is applied to chips in access network equipment.
  • This kind of communication device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides a communication device, including: a processing unit and a communication unit, the processing unit is used to perform information or data processing, and the communication unit is used to send and receive information or receipts.
  • the communication unit is used to send resource information to the terminal.
  • the resource information is used to characterize the direct communication interface resources.
  • the direct communication interface resources are used when the terminal is in the radio resource control RRC-inactive state, or the terminal is in the RRC-inactive state. Active state, but the terminal transmits data when the power saving mode is adopted.
  • the communication unit is configured to receive a preferred scheduling mode from a terminal that accesses the management network element.
  • the communication unit is configured to send resource information to the terminal, including: the processing unit is configured to use the communication unit to send resource information to the terminal according to a preferred scheduling mode of the terminal.
  • the priority scheduling mode is the network scheduling mode.
  • the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface.
  • the communication unit is configured to send a first notification message to the terminal, where the first notification message is used to notify the terminal to enter the RRC-inactive state from the RRC-active state.
  • the processing unit is configured to, according to the third instruction information, The first notification message is sent to the terminal through the communication unit, and the first notification message is used to notify the terminal to enter the RRC-inactive state.
  • the third indication information is used to indicate that when the Uu interface between the access network device and the terminal has no data for a preset time (for example, 30s), the access network device needs to configure the terminal to enter the RRC-activated state RRC-inactive state, and in the RRC-inactive state, the terminal can continue to use the direct communication interface resources configured by the access network device for the terminal to transmit data.
  • the access network device When there is no data on the Uu interface between the access network device and the terminal for a preset time (for example, 30s), the access network device needs to keep communicating with the terminal The RRC connection between the two, and the access network equipment needs to configure the terminal to use power-saving technology.
  • a preset time for example, 30s
  • the communication unit is configured to receive instruction information from an access management network element, where the instruction information is used to instruct the terminal to stop transmitting data through the directly connected communication interface resource.
  • the processing unit is configured to determine, according to the instruction information, that the terminal stops transmitting data through the direct communication interface resource.
  • the processing unit is configured to determine to release the direct communication interface resource configured for the terminal, and the processing unit releases the direct communication interface resource configured for the terminal.
  • the processing unit is configured to determine to release direct communication interface resources configured for the terminal, and includes: a communication unit, configured to receive instruction information from an access management network element, the instruction The information is used to indicate the release of direct communication interface resources configured for the terminal.
  • the processing unit is configured to determine to release the direct communication interface resources configured for the terminal according to the instruction information.
  • the communication unit is further configured to receive the third indication information or the fourth indication information from the access management network element.
  • the processing unit is further configured to determine, according to the fourth indication information, that the terminal is allowed to be in the RRC-active state and use the direct communication interface based on the network scheduling mode when the power saving mode is adopted.
  • the resource continues to transmit the data of the first application.
  • the processing unit is further configured to determine according to the third indication information that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to continue transmission when the terminal is in the RRC-inactive state.
  • Application data is further configured to determine according to the third indication information that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to continue transmission when the terminal is in the RRC-inactive state.
  • the communication unit is further configured to receive a first request message from the terminal, and the first request message is used to request that the terminal be configured to transmit the first application on the direct communication interface. Data resources.
  • the processing unit may be a processor, and the communication interface may be an input/output interface, a pin, or a circuit.
  • the processing unit executes the computer program code stored in the storage unit, so that the access network device implements the communication method described in the second aspect or any one of the possible implementations of the second aspect, and the storage unit may be the
  • the storage unit (for example, register, cache, etc.) in the chip may also be a storage unit (for example, read-only memory, random access memory, etc.) located outside the chip in the access network device.
  • the processor, the communication interface and the memory are coupled with each other.
  • the embodiments of the present application provide a communication device, which can implement the third aspect or any one of the possible implementations of the third aspect described in the communication method, so the third aspect can also be implemented. Aspect or the beneficial effects in any possible implementation manner of the third aspect.
  • the communication device of this type may be an access management network element, or a device that can support the access management network element to implement the third aspect or any one of the possible implementation manners of the third aspect. For example, it is applied to the chip in the access management network element.
  • This kind of communication device can implement the above method by software, hardware, or by hardware executing corresponding software.
  • an embodiment of the present application provides a communication device.
  • the communication device includes a communication unit configured to obtain contract information of a terminal.
  • the communication unit is also used to send the terminal's allowed service identification to the terminal according to the contract information.
  • the processing unit is configured to obtain the identifier of the permitted service of the terminal from the subscription information. Then the processing unit sends the identification of the allowed service of the terminal to the terminal through the communication unit.
  • the identifier of the at least one service is used to indicate the service that the terminal requests to be transmitted on the direct communication interface.
  • the identifier of at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize that the terminal requests to use the direct communication interface.
  • the processing unit is further configured to send first indication information to the access network device or terminal according to the first parameter, where the first indication information is used to indicate that the terminal is allowed to use the direct communication interface based on the network scheduling mode in the RRC-inactive state
  • the resource transmits data of the first application, and the first application belongs to at least one service.
  • the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface.
  • the communication unit is further configured to receive a first quality of service parameter from the terminal, where the first quality of service parameter is a service used by the terminal to request data transmission on the directly connected communication interface Quality parameters.
  • the communication unit is further configured to receive a second parameter from the terminal, and the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface.
  • the access management network element instructs the access network device to release the directly connected communication interface resources of the terminal according to the second parameter.
  • the communication unit is further configured to send the preferred scheduling mode of the terminal to the access network device.
  • the allowed service is a service of the terminal that is allowed to be transmitted through the direct connection communication interface.
  • the communication unit is further configured to receive a third parameter from the terminal, and the third parameter represents that the terminal requests to use the network scheduling mode on the direct communication interface.
  • the access management network element sends second indication information to the access network device or the terminal according to the third parameter, where the second indication information is used to indicate that the terminal is allowed to use the network-based network in the RRC-inactive state.
  • Directly connected communication interface resources in scheduling mode transmit data.
  • an embodiment of the present application provides a communication device.
  • the communication device may be an access management network element or a chip in the access management network element.
  • the communication device may include a communication unit.
  • the communication device may also include a processing unit and a storage unit.
  • the communication unit may be a transceiver for sending and receiving data/information, and the storage unit may be a memory.
  • the storage unit is used to store computer program code, and the computer program code includes instructions.
  • the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the access management network element implements a communication method described in the third aspect or any one of the possible implementation manners of the third aspect.
  • the processor, the communication interface and the memory are coupled with each other.
  • the embodiments of the present application provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction runs on a computer, the computer can execute the operations as described in the first aspect to the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, and a computer program or instruction is stored in the computer-readable storage medium.
  • the embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program or instruction.
  • the computer program or instruction When the computer program or instruction is run on a computer, the computer executes operations such as the third aspect to the first aspect.
  • the present application provides a computer program product including instructions that, when the instructions run on a computer, cause the computer to execute the second aspect or a communication method described in various possible implementations of the second aspect.
  • this application provides a computer program product including instructions, which when the instructions run on a computer, cause the computer to execute the second aspect or a communication method described in various possible implementations of the second aspect.
  • an embodiment of the present application provides a communication system, which includes any one or more of the following: the fourth aspect and the communication device described in various possible implementation manners, and the fifth aspect and the fifth aspect Various possible implementations of the aspects described in the communication device.
  • the communication system may further include: the communication device described in the sixth aspect and various possible implementation manners of the sixth aspect.
  • an embodiment of the present application provides a communication device.
  • the communication device includes a processor and a storage medium.
  • the storage medium stores instructions. When the instructions are executed by the processor, the Possible implementations describe a communication method.
  • an embodiment of the present application provides a communication device.
  • the communication device includes a processor and a storage medium.
  • the storage medium stores instructions. Possible implementations describe a communication method.
  • an embodiment of the present application provides a communication device that includes a processor and a storage medium.
  • the storage medium stores instructions.
  • the instructions When executed by the processor, they can implement various aspects such as the third aspect or the third aspect. Possible implementations describe a communication method.
  • the present application provides a chip or chip system.
  • the chip or chip system includes at least one processor and a communication interface.
  • the communication interface and at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions. , To perform a communication method described in any one of the first aspect to any one of the possible implementation manners of the first aspect.
  • the present application provides a chip or chip system.
  • the chip or chip system includes at least one processor and a communication interface.
  • the communication interface and the at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions. , To perform a communication method described in any one of the second aspect to any one of the possible implementation manners of the second aspect.
  • the present application provides a chip or chip system that includes at least one processor and a communication interface.
  • the communication interface and at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions.
  • the at least one processor is used to run computer programs or instructions.
  • the communication interface in the chip can be an input/output interface, a pin, or a circuit.
  • the chip or chip system described above in this application further includes at least one memory, and instructions are stored in the at least one memory.
  • the memory may be a storage unit inside the chip, for example, a register, a cache, etc., or a storage unit of the chip (for example, a read-only memory, a random access memory, etc.).
  • an embodiment of the present application provides a communication device.
  • the communication device includes a processor, the processor is coupled to a memory, and instructions are stored in the memory, and the processor is used to execute the instructions to implement the second aspect or the second aspect A communication method described in the various possible implementations.
  • the memory described in the twentieth aspect to the twenty-second aspect in the embodiments of the present application may be located inside or outside the communication device, which is not limited in the embodiment of the present application.
  • FIG. 1 is an architecture diagram of a communication system provided by an embodiment of this application.
  • FIG. 2 is a diagram of a 5G network architecture provided by an embodiment of this application.
  • FIG. 3 is a schematic structural diagram of a communication device provided by an embodiment of this application.
  • 4 to 13 are schematic diagrams of related interaction processes of a communication method provided by embodiments of this application.
  • FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of this application.
  • 15 is a schematic structural diagram of another communication device provided by an embodiment of this application.
  • words such as “first” and “second” are used to distinguish the same items or similar items that have substantially the same function and effect.
  • the first message and the second message are only for distinguishing different messages, and the sequence of the messages is not limited.
  • words such as “first” and “second” do not limit the quantity and order of execution, and words such as "first” and “second” do not limit the difference.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • LTE long time evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • PLMN public land mobile network
  • D2D device-to-device
  • M2M machine to machine
  • NR new radio
  • the second interface may be referred to as a direct communication interface.
  • the direct communication interface is a PC5 interface, which uses a dedicated frequency band (such as 5.9 GHz) for the Internet of Vehicles.
  • the direct communication interface is an interface used for communication between the terminal and the terminal.
  • the terminal 20 sends data b to the terminal 30 through the direct communication interface.
  • the difference between direct communication interface communication and Uu interface communication is that the direct communication interface communication does not require the participation of the network (data b does not pass through the base station).
  • Direct communication interfaces are generally used in vehicle-to-everything (V2X) communication scenarios, or device-to-device (D2D) scenarios where direct communication between devices can be performed.
  • V2X vehicle-to-everything
  • D2D device-to-device
  • the names of the first interface and the second interface in the embodiments of the present application are only examples, and the embodiments of the present application do not limit the names of the first interface and the second interface.
  • the access network device 10 may also be referred to as a base station, which is an entity that can be used to transmit or receive signals in cooperation with a terminal. It is mainly used to realize functions such as physical layer functions, resource scheduling and management, terminal access control, and mobility management.
  • the access network device can be a device that supports wired access or a device that supports wireless access.
  • the access network equipment may be an access network (access network, AN)/radio access network (radio access network, RAN), which is composed of multiple 5G-AN/5G-RAN nodes.
  • the access network device 10 in the embodiment of the present application may configure the direct communication interface resources for the terminal 20, and notify the terminal 20 to enter the RRC-inactive state, or notify the terminal 20 to enter the RRC-active state and adopt the power saving mode.
  • the processor 31 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the memory 32 is used to store computer execution instructions for executing the solution of the present application, and the processor 31 controls the execution.
  • the processor 31 is configured to execute computer-executable instructions stored in the memory 32, so as to implement a communication method provided in the following embodiments of the present application.
  • the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
  • the direct communication interface resource can also be shared by the data of the first application and the data of other applications, that is, the direct communication interface resource is a common resource, that is, the terminal can not only transmit the first application on the direct communication interface resource
  • the data can also transmit data from other applications.
  • the directly connected communication interface resources allocated by the access network device in the embodiment of the present application to the terminal are wireless resources used for data transmission on the directly connected communication interface, such as specific time slots and specific frequency resources.
  • the aforementioned direct communication interface resources may be used as periodic resources configured by the access network equipment for the terminal in a semi-static manner.
  • the aforementioned direct communication interface resource may be a semi-persistent scheduling (Semi-Persistent Scheduling, SPS) resource allocated by the access network device on the direct communication interface for the terminal.
  • SPS semi-persistent Scheduling
  • the semi-continuously scheduled direct communication interface resource allocated by the access network device to the terminal enables the terminal to periodically use the direct communication interface resource to send data on the direct communication interface. There is no need to send a request to the access network device before each communication to obtain the directly connected communication interface resource.
  • the terminal When the terminal has new data that needs to be sent, the terminal needs to request the access network device again for direct connection communication interface resources.
  • Semi-static configuration means that after the terminal requests the direct connection communication interface resource from the access network device, the access network device authorizes the terminal to use a certain resource periodically, for example, taking 100 milliseconds as an interval. The terminal only needs to periodically use the authorized direct communication interface resource to send data, and does not need to request the direct communication interface resource from the access network device every time.
  • the access network device may be the access network device 10 in FIG. 1, and the terminal may be the terminal 20 in FIG. 1.
  • the terminal is in a radio resource control RRC-inactive state.
  • the terminal is in the RRC-active state and the terminal adopts the power saving mode.
  • the terminal can still transmit data through the direct communication interface resources.
  • the direct communication interface resources in the embodiments of the present application can only be used when the terminal is in the radio resource control RRC-inactive state, or used when the terminal is in the RRC-active state and adopts the power saving mode.
  • the The direct communication interface resource is specifically configured for the terminal, and is used for the terminal to transmit data in the radio resource control RRC-inactive state, or for the terminal to transmit data in the RRC-active state, and the terminal adopts the power saving mode to transmit data.
  • the direct communication interface resource can not only transmit data when the terminal is in the radio resource control RRC-inactive state, or when the terminal is in the RRC-active state and the terminal adopts the power saving mode, the direct communication interface resource can also be The terminal transmits data when it is in the RRC-active state. For example, when the terminal is in the RRC-active state, regardless of whether the terminal adopts the power saving mode, the terminal can use the direct communication interface resource to transmit data that needs to be transmitted on the direct communication interface.
  • the terminal if the terminal maintains a Uu interface connection with the access network device or the terminal maintains an RRC connection with the access network device, the terminal is in the RRC-activated state.
  • the access network device can configure direct communication interface resources for the terminal. If the terminal and the access network device do not maintain the Uu interface connection or the RRC connection between the terminal and the access network device is released, the terminal is in the RRC-inactive state.
  • the power consumption generated by the power saving mode when the terminal is in the RRC-active state is lower than the power consumption when the terminal is not used in the power saving mode when the terminal is in the RRC-active state.
  • the terminal can enter the RRC-inactive state from the RRC-active state under the configuration of the access network device, or the terminal can change from the RRC-active state to the normal state under the configuration of the access network device.
  • the mode (for example, the non-power saving mode) enters the power saving mode of the RRC-active state, which is not limited in the embodiment of the present application.
  • the embodiment of the present application provides a communication method in which a terminal receives resource information from an access network device. Since the resource information is used to characterize the resources of a directly connected communication interface, then when the terminal is in a radio resource control RRC-inactive state , Or when the terminal is in the RRC-activated state and the terminal adopts the power saving mode, data can be transmitted on the direct communication interface resource. In this way, for the terminal in the RRC-inactive state, it is possible to avoid the power consumption caused by the terminal adopting the terminal independent selection resource mode to obtain the direct connection communication interface resource in order to transmit data.
  • the access network device receives the preferred scheduling mode from the terminal accessing the management network element.
  • the access management network element may determine the preferred scheduling mode of the terminal from the subscription information of the terminal, or the access management network element may determine the preferred scheduling mode of the terminal based on the request of the terminal. Or the access management network element can independently determine the preferred scheduling mode of the terminal on the directly connected communication interface. It is understandable that the preferred scheduling mode of the terminal in the embodiment of the present application may refer to the preferred scheduling mode of the terminal on the directly connected communication interface.
  • the preferred scheduling mode of the terminal may be a network scheduling mode.
  • the access network device sends resource information to the terminal according to the preferred scheduling mode of the terminal, including: the access network device allocates direct communication interface resources to the terminal in the scheduling mode indicated by the priority scheduling mode, and then connects The network access device sends resource information used to characterize the resources of the directly connected communication interface to the terminal.
  • the preferred scheduling mode is the preferred scheduling mode corresponding to the first application.
  • the preferred scheduling mode is the preferred scheduling mode of the first application of the terminal on the directly connected communication interface. It should be understood that for the same terminal, different applications may have different corresponding preferred scheduling modes on the direct communication interface.
  • the terminal when the terminal receives the second notification message, the terminal is in the RRC-activated state, in other words, there is an RRC connection between the terminal and the access network device, and the configured DRX parameters enable the terminal to obtain the effect of saving power.
  • the above method may further include: within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the access network device The terminal sends the second notification message, and correspondingly, the terminal receives the second notification message from the access network device.
  • the foregoing method may further include: the terminal determining that the terminal can use the foregoing direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data.
  • the terminal may determine, according to predefined or pre-configured information, that the terminal can use the aforementioned direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data.
  • the terminal may determine that the terminal can use the direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data according to the instruction of the access management network element or the access network device.
  • the terminal can determine that the terminal can use the direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit the data of the first application when the terminal is in the RRC-inactive state.
  • the terminal can determine that the terminal can use the above-mentioned network scheduling mode-based direct communication interface resources configured by the access network device for the terminal to transmit the first application when the terminal is in the RRC-active state and in the power saving mode The data.
  • FIG. 5 shows another embodiment of the present application.
  • This embodiment includes steps 501 to 512, where step 507 can refer to the above step 401, which will not be repeated here.
  • Step 509 is a possibility of the above step 402 The way to achieve.
  • steps 501 to 506, step 508, step 510, step 511, and step 512 are optional steps.
  • Step 501 The terminal sends an identifier of at least one service to the access management network element.
  • the access management network element receives the identification of at least one service from the terminal.
  • the identifier of at least one service is the service requested by the terminal.
  • the at least one service may be a service transmitted through a direct communication interface, for example, a V2X service.
  • the at least one service is used to indicate the service that the terminal requests to be transmitted through the direct communication interface, and the at least one service includes the first application.
  • the direct communication interface may be a PC5 interface.
  • the data of at least one service in the embodiment of the present application can be transmitted on the direct communication interface resource acquired by the terminal in the network scheduling mode.
  • the data of at least one service can also be transmitted on the access network device based on network scheduling.
  • the mode is transmission on the direct connection communication interface resource configured by the terminal.
  • the at least one service is a service for the terminal to request data transmission.
  • step 501 in the embodiment of the present application may be implemented in the following manner: the terminal sends a first message to the access management network element, and correspondingly, the access management network element receives the first message from the terminal.
  • the first message carries the identifier of at least one service.
  • the first message may be a packet data unit (packet data unit, PDU) session (session) connection establishment (PDU) session establishment message or a service request (service request) message.
  • the access management network element may be an AMF network element.
  • the first message may also carry indication information used to indicate that the at least one service is a service requested by the terminal.
  • the terminal receives the identifier of the permitted service from the terminal that accesses the management network element.
  • the permitted service is a service in which the access management network element authorizes the terminal to transmit data on the directly connected communication interface, and the permitted service includes the first application, in other words, the first application belongs to the permitted service of the terminal.
  • step 502 may be implemented in the following manner: access to the management network element to obtain the subscription information of the terminal.
  • the access management network element sends the terminal's allowed service identification to the terminal according to the subscription information.
  • the access management network element sending the identifier of the permitted service of the terminal to the terminal according to the subscription information includes: the access management network element obtains the identifier of the permitted service of the terminal from the subscription information of the terminal. The access management network element sends the identification of the allowed service of the terminal to the terminal.
  • the access management network element can determine the identifier of the permitted service in the following manner: the access management network element obtains the identifier of the permitted service of the terminal from the contract information of the terminal. For example, the access management network element may obtain the subscription information of the terminal from the UDR network element or the UDM network element, and the subscription information includes the identifier of the allowed service of the terminal.
  • the access management network element determining the permitted service can be implemented in the following manner: the access management network element determines the permitted service of the terminal from at least one service.
  • the permitted services of the terminal in the embodiment of the present application may be all or part of at least one of the services.
  • at least one business is business 1, business 2, and business 3, and the permitted business can be business 1 and business 2. Therefore, the first application may be one or more of Service 1 and Service 2.
  • the first application in the embodiment of the present application may represent all services in the permitted services, or represent part of the services in the permitted services, for example, a service, which is not limited in the embodiments of the present application.
  • the data of the permitted service in the embodiment of the present application may be transmitted on the direct communication interface resource acquired by the terminal in the network scheduling mode.
  • the data of the permitted service can be transmitted on the direct connection communication interface resource acquired by the terminal in the terminal autonomous selection mode.
  • step 501 can be omitted, that is, step 501 is an optional step.
  • the access management network element can send the identification of the allowed service to the terminal .
  • the data of the PC5 service includes the data of the permitted service.
  • the access management network element in the embodiment of the present application may also decide whether to send the identifier of the allowed service to the terminal at the request of the terminal.
  • step 501 needs to be included before step 502. Specifically, if the access management network element allows the terminal to use the directly connected communication interface resources acquired in the network scheduling mode to transmit data of the allowed service, the access management network element sends the identification of the allowed service to the terminal. If the access management network element does not allow the terminal to use the directly connected communication interface resources acquired in the network scheduling mode to transmit data of the allowed service, the access management network element does not send the identification of the allowed service to the terminal.
  • the identifier of the permitted service sent by the access management network element to the terminal is the identifier of the service that the access management network element allows the terminal to use the direct communication interface resource acquired in the network scheduling mode to transmit data.
  • the identifier of the permitted service sent by the access management network element to the terminal may be the identifier of all the services or the identifiers of part of the services among the identifiers of at least one service requested by the terminal, which is not limited in the embodiment of the present application.
  • the terminal requests to use the network scheduling mode to transmit service 1 data and service 2 data.
  • the access management network element can allow the terminal to use the network scheduling mode to transmit service 1 data and service 2 data.
  • the access management network element sends the service ID and the service 2 ID to the terminal as the ID of the allowed service.
  • the access management network element allows the terminal to use the network scheduling mode to transmit the data of the service 1, the access management network element sends the identifier of the service 1 to the terminal as the identifier of the allowed service.
  • the identity of the allowed service can be determined by the access management network element according to the terminal's subscription information and the identity of at least one service from the terminal, or the access management network element can be determined based on the terminal's subscription information And the ability of the terminal is determined.
  • the identifier of the permitted service is the intersection of the identifier of the service in the subscription information and the identifier of at least one service.
  • step 502 in the embodiment of the present application may be implemented in the following manner: the access management network element sends a sixth message to the terminal.
  • the terminal receives the sixth message from the access management network element.
  • the sixth message includes the identifier of the allowed service.
  • the sixth message is used to indicate that the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit the data of the allowed service.
  • the sixth message may also carry indication information x, which is used to indicate that the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit the data of the allowed service.
  • the sixth message may be a service acceptance message.
  • Step 503 The terminal sends a first message to the access management network element.
  • the first message contains a first parameter
  • the first parameter is used to characterize the terminal request to use the network scheduling mode to transmit data on the direct communication interface, or the first parameter is used to characterize the terminal request to use the network on the direct communication interface
  • the scheduling mode transmits data of at least one service.
  • the access management network element determines whether the terminal can transmit data on the direct communication interface using the direct communication interface resource acquired in the network scheduling mode according to the first parameter and the contract information of the terminal.
  • the subscription information of the terminal includes not only the identification of the allowed service of the terminal, but also information indicating whether the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit data.
  • the access management network element sends authorization information to the terminal.
  • the authorization information is used to indicate that the terminal is allowed to be in the direct connection
  • the direct connection communication interface resource obtained by the network scheduling mode is used to transmit data on the connection communication interface.
  • the access management network element does not send authorization information to the terminal.
  • the access management network element sends prohibition indication information to the terminal, where the prohibition indication information is used to indicate that the terminal is forbidden to use the direct communication interface resource acquired in the network scheduling mode to transmit data on the direct communication interface. If the terminal does not receive the authorization information, or the terminal receives the prohibition indication information, the terminal will not subsequently transmit data on the direct communication interface using the direct communication interface resources acquired through the network scheduling mode.
  • the data in the "terminal request to use the network scheduling mode to transmit data on the direct communication interface” can refer to "general data", that is, the data can be not only PC5 service data, but also PC5 service data. Other data.
  • the data in “the terminal requests to use the network scheduling mode to transmit data on the direct communication interface” can refer to "specified data”.
  • the specified data may be PC5 service data.
  • the specified data may also be data of other services, for example, direct communication is used to send text messages, audio or video data.
  • the data may belong to the data of permitted services, which is not limited in the embodiment of the present application.
  • the data in the "terminal request to use the network scheduling mode to transmit data on the PC5 interface” can refer to the "specified data”
  • the terminal will not subsequently use the direct communication interface resource acquired in the network scheduling mode to transmit the "specified data” on the direct communication interface, but the terminal can use the direct communication interface resource acquired in the network scheduling mode to communicate in the direct connection.
  • Data other than "specified data” is transmitted on the interface.
  • the first message may be a service request message.
  • the identifier of at least one service is carried in the first message. It should be understood that if the first parameter and the identifier of the at least one service can be carried in the same message, the first message may be used to indicate that the terminal requests to use the network scheduling mode to transmit data of at least one service on the direct communication interface.
  • this step 503 may be before step 501, that is, the terminal requests the access management network element to use the network scheduling mode to transmit on the direct communication interface
  • the terminal sends at least one service identifier to the access management network element.
  • this step 503 may be located after step 501, that is, the terminal first sends the identification of at least one service to the access management network element. After obtaining the identification of the authorized service authorized by the access management network element, the terminal sends the The access management network element requests to use the network scheduling mode to transmit data on the directly connected communication interface.
  • the first message further includes the first link identifier.
  • the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface, or the first link identifier indicates a communication link used for the terminal to transmit data of the first application on the directly connected communication interface .
  • the first link identifier may be a source address and a destination address.
  • the source address is the layer 2 address of the terminal
  • the destination address is the layer 2 address of the receiver that receives the data of the first application (for example, the layer 2 address of the other terminal described above).
  • the access management network element uses the first link identifier to manage the first link (for example, the communication link through which the terminal transmits data on the directly connected communication interface).
  • the access management network element may use the first link identifier to instruct the terminal to stop sending data on the first link, or instruct the access network device to stop allocating direct communication interface resources for the first link, or access management
  • the network element indicates that the direct communication interface resource configured by the access network device for the terminal is for the first link.
  • the terminal can transmit the direct communication interface resource configured for the terminal by the access network device for the first link. data.
  • Step 504 The terminal sends a second message to the access management network element.
  • the access management network element receives the second message from the terminal.
  • the second message includes a first quality of service parameter
  • the first quality of service parameter is a quality of service parameter used by the terminal to request data transmission on the directly connected communication interface.
  • the first quality of service parameter is the quality of service parameter of the directly connected communication interface that has not been authorized by the network side.
  • the third message includes the authorized service quality parameter, and the authorized service quality parameter is used for the terminal to transmit data on the directly connected communication interface.
  • the authorized service quality parameter is the service quality parameter of the terminal authorized by the network side to transmit data on the directly connected communication interface.
  • the method provided in this embodiment of the present application may further include: the terminal determines that when the terminal is in the RRC-inactive state, it can use the direct communication interface resources configured by the access network device for the terminal Transmit data on the directly connected communication interface, or the terminal determines that when the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the directly connected communication interface .
  • the so-called terminal being able to use the direct connection communication interface resources configured by the access network equipment for the terminal to transmit data on the direct connection communication interface is equivalent to the terminal determining that it can use the network scheduling mode to transmit data on the direct connection communication interface.
  • the access network device uses an implicit way to indicate that when the terminal is in the RRC-inactive state, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the direct communication interface, or connect
  • the network access device uses an implicit way to indicate that when the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the direct communication interface.
  • the direct communication interface resources configured by the access network equipment for the terminal are resources in a specific location, and the resources in the specific location can be used when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and is in the province.
  • the data of the first application is transmitted on the direct communication interface, or the data is transmitted on the direct communication interface.
  • the terminal determines that the resource configured by the access network device for the terminal is a resource in a specific location, it can use the access when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode.
  • the network equipment transmits data for the directly connected communication interface resources configured for the terminal.
  • the access network device uses an explicit way to indicate that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct connection configured by the access network device for the terminal.
  • the communication interface resource transmits data.
  • the access network device executes step 507. This is convenient for the terminal to determine according to the first indication information that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data .
  • Step 507 The access network device sends resource information to the terminal.
  • the terminal receives resource information from the access network device.
  • step 507 For the description of step 507, reference may be made to the description of step 401, which will not be repeated here.
  • the terminal requests the access network device to configure the direct connection communication interface resource for the terminal and also carries the first link identifier
  • the direct connection communication interface resource configured by the access network device for the terminal may also be connected to the first link. Identify the association.
  • the so-called association of the directly connected communication interface resource with the first link identifier may indicate that the destination of the data to be transmitted by the directly connected communication interface resource is the destination of the communication link indicated by the first link identifier.
  • Step 508 The access network device or the access management network element sends the first indication information to the terminal.
  • the terminal receives the first indication information from the access network device or the access management network element.
  • the first indication information is used to indicate that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to transmit the data of the first application when the terminal is in the RRC-inactive state.
  • the first indication information is used to indicate that when the terminal is allowed to be in the RRC-activated state and in the power saving mode, the direct communication interface resource based on the network scheduling mode is used to transmit the data of the first application.
  • the terminal determines that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, it can use the direct communication interface resource based on the network scheduling mode to transmit the first application on the direct communication interface
  • the data includes: the terminal determines according to the first indication information that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and is in the power saving mode, the direct connection based on the network scheduling mode can be used on the direct connection communication interface
  • the communication interface resource transmits the data of the first application.
  • step 402 in the embodiment of the present application can be implemented in the following manner: when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode
  • the terminal transmits the data of the first application on the direct communication interface resource according to the first indication information it includes: the terminal determines according to the first indication information when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and When the data of the first application is transmitted on the direct communication interface when in the power saving mode, the terminal uses the resources of the direct communication interface to transmit the data of the first application.
  • the method provided in the embodiment of the present application may further include: the terminal receives permission indication information from the access management network element, where the permission indication information is used to indicate that the terminal is allowed to transmit data on the directly connected communication interface Through the permission indication information, it is convenient for subsequent terminals to transmit data on the directly connected communication interface.
  • the method provided in the embodiment of this application may further include before step 508 :
  • the terminal generates a PC5 interface quality of service flow (PC5 QoS Flow) corresponding to the first application.
  • the PC5 interface quality of service flow includes a PC5 interface packet filter.
  • a parameter value in the PC5 interface packet filter is the identifier of the first application.
  • the terminal associates the data of the first application with the PC5 interface quality of service flow.
  • the PC5 interface packet filter is used to determine the data of the first application.
  • the terminal determines the data of the first application according to the PC5 interface packet filter, including: the terminal obtains one or more data to be sent, and the terminal associates the application identifier corresponding to the one or more data to be sent with the PC5
  • the identification of the first application in the interface packet filter is compared, and if the application identification corresponding to the target data in one or more to-be-sent data is the same as the identification of the first application, the terminal determines that the target data is the identification of the first application data.
  • the so-called terminal associating the data of the first application with the PC5 interface quality of service flow may refer to: the terminal uses the PC5 interface quality of service flow to transmit the data of the first application on the resources configured by the access network device for the terminal.
  • the terminal receives the PC5 interface quality of service flow or configuration information corresponding to the first application from the policy control network element.
  • the configuration information is used to generate the PC5 interface quality of service flow corresponding to the first application.
  • the terminal generates the PC5 interface quality of service flow corresponding to the first application according to the configuration information.
  • the parameter of the PC5 interface quality of service flow may be the PC5 interface quality of service flow identifier (PFI, PC5 QoS Flow Identifier).
  • the policy control network element may be a PCF network element, and the PC5 interface quality of service flow or configuration information corresponding to the first application may be actively sent by the policy control network element to the terminal.
  • the policy control network element may also send configuration information or the quality of service flow of the PC5 interface corresponding to the first application to the terminal at the request of the terminal.
  • the priority of the PC5 interface quality of service flow or configuration information corresponding to the first application from the policy control network element is higher than the priority of the PC5 interface quality of service flow corresponding to the first application pre-configured at the terminal.
  • Manner 2 The terminal generates the PC5 interface quality of service flow corresponding to the first application according to the pre-configured parameters.
  • the terminal is configured in advance with the PC5 service quality parameters that can be used by the first application in the SIM card or the built-in storage of the terminal.
  • the terminal generates the corresponding PC5 interface quality of service flow through the preset PC5 interface quality of service parameters, and writes the identification of the first application into the PC5 interface packet filter of the PC5 interface quality of service flow.
  • Step 510 The terminal sends a fourth message to the access management network element.
  • the fourth message includes a second parameter
  • the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface.
  • the second parameter is used to characterize that the terminal has completed the data transmission of the first application.
  • the second parameter is used to characterize that the terminal wishes to stop transmitting data on the directly connected communication interface.
  • the second parameter is used to characterize that the terminal wishes to stop transmitting the data of the first application on the directly connected communication interface.
  • the access management network element sends release instruction information to the access network device, where the release instruction information is used to instruct the access network device to release the direct communication interface resources of the terminal.
  • the release indication information is used to instruct the terminal to stop using the direct communication interface resource to transmit the data of the first application on the direct communication interface, or the first indication information is used to indicate that the terminal has completed the data transmission of the first application.
  • Step 512 When the terminal stops transmitting data through the direct communication interface resource, the access network device releases the direct communication interface resource.
  • step 512 may be implemented in the following manner: the access network device releases the aforementioned direct communication interface resources according to the release instruction information.
  • step 512 can be replaced in the following manner: the terminal has completed the data transmission of the first application, or the access network device needs to release the direct communication interface resource configured for the terminal, then the access network device releases the direct communication interface resource.
  • the access network device receives instruction information from the access management network element, where the instruction information is used to indicate that the terminal has completed the data transmission of the first application.
  • the need for the access network device to release the direct communication interface resources configured for the terminal includes: the access network device determines that it needs to release the direct communication interface resources configured for the terminal according to the instruction information from the access management network element.
  • the access network device may also send a third notification message to the terminal, where the third notification message is used for It indicates that the direct communication interface resource configured for the terminal is released, so that it is convenient for the terminal to determine that the direct communication interface resource is released according to the third notification message.
  • the method provided in the embodiment of the present application may further include: the terminal sends a third parameter to the access management network element, and correspondingly, the access management network element receives the third parameter from the terminal.
  • the third parameter is used to characterize that the terminal requests to use the network scheduling mode on the direct communication interface.
  • the third parameter facilitates the access management network element to determine that the resource scheduling mode for the terminal to transmit data on the directly connected communication interface is the network scheduling mode.
  • the method provided in the embodiment of the present application may further include: the terminal receives second indication information, the second indication information is used to indicate that the terminal is allowed to be in the RRC-activated state and use the power saving mode based on
  • the direct connection communication interface resource of the network scheduling mode transmits data.
  • the terminal transmitting data through the direct connection communication interface resource includes: the terminal transmits the above data through the direct connection communication interface resource according to the second instruction information.
  • the terminal transmits the above-mentioned data through the direct communication interface resource according to the second indication information, including: the terminal determines according to the second indication information that the access management network element allows the terminal to be in the RRC-active state and adopts the power saving mode
  • the direct connection communication interface resource based on the network scheduling mode is used to transmit data, and then the terminal transmits the above-mentioned data through the direct connection communication interface resource.
  • the access management network element can instruct the connection The network access device releases all directly connected communication interface resources for the terminal. If the second parameter is used to characterize that the terminal wishes to stop transmitting data of the first application on the direct communication interface or the second parameter is used to characterize that the terminal stops transmitting data of the first application on the direct communication interface, then access the management network element The access network device may be instructed to release the direct connection communication interface resource configured for the first application, but other data transmission on the direct connection communication interface does not stop.
  • Figure 6 takes the terminal as the UE, the access network equipment as the (R)AN equipment, the access management network element as the AMF network element, and the direct communication interface as the PC5 interface as an example.
  • a communication method which includes:
  • Step 601 The UE sends a registration request (registration request) message to the AMF network element through the (R)AN device.
  • the AMF network element receives the registration request message from the UE.
  • the registration request message may carry a first mode indicator (indicator).
  • the registration request message is used to request registration of the UE to the core network.
  • the first mode indication is used to indicate that the UE requests to transmit PC5 service data in the network scheduling mode on the PC5 interface, or the first mode indication is used to indicate that the UE has the ability to transmit PC5 service data on the PC5 interface.
  • the PC5 service may be a VRU service, and the PC5 service may also be another service that uses a PC5 interface for communication, such as a service for direct communication between terminals.
  • the registration request message may also carry the identity of the UE.
  • the UE may perform other steps in the registration procedure with other network elements in the core network.
  • Step 602 The AMF network element sends a registration request message to the UDM network element.
  • the UDM network element receives the registration request message from the AMF network element.
  • Step 603 The UDM network element sends a registration response (registration response) message to the AMF network element.
  • the AMF network element receives the registration response message from the UDM network element.
  • the registration response message may carry the subscription information of the UE, where the subscription information of the UE includes one or more of the following information: first capability (capability) information, and authorization indication information.
  • first capability information indicates that the UE has the capability of transmitting PC5 service data on the PC5 interface.
  • authorization indication information is used to indicate that the UE is allowed to use the direct communication interface resources obtained in the network scheduling mode to transmit data of the PC5 service on the PC5 interface.
  • Step 604 The AMF network element selects a PCF network element that provides services for the UE.
  • Step 605 The AMF network element and the PCF network element execute an access and mobility policy (Access and Mobility Policy, AM Policy) policy connection establishment/modification (association Establishment/Modification) process.
  • Access and Mobility Policy Access and Mobility Policy, AM Policy
  • association Establishment/Modification association Establishment/Modification
  • step 605 the UE and other network elements in the core network perform other steps in the registration procedure.
  • Step 606 The AMF network element sends a registration accept message to the UE.
  • the UE receives the registration accept message from the AMF network element.
  • the registration acceptance message includes authorization instruction information.
  • Step 702 The UE sends a service request message (service request message) to the AMF network element through the (R)AN device.
  • the AMF network element receives the service request message from the terminal through the (R)AN device.
  • the PC5 service request is used to indicate that the UE requests to transmit PC5 service data on the PC5 interface.
  • the service request message does not carry the list of PDU Session, which is used to indicate that the purpose of the terminal sending the service request message is not because there is data to be sent on the Uu.
  • the requested PC5 QoS parameters can include one or more of the following parameters:
  • the resource type can be: guaranteed bit rate (guaranteed bit rate, GBR), delay critical GBR (delay critical GBR) or non-guaranteed bit rate (Non-GBR);
  • the AM policy request message carries the identifier of at least one service and the requested PC5 QoS parameters1.
  • the preferred scheduling mode indicates that the PC5 interface quality of service stream corresponding to the permitted service needs to be transmitted in a low power consumption manner.
  • the N2 message includes authorized PC5 QoS parameters 2, the preferred scheduling mode, the identifier of the allowed service, and the service accept message.
  • the service accept message includes the identifier of the allowed service.
  • the authorized PC5 QoS parameters 2 includes the identifier of the allowed service and the preferred scheduling mode.
  • the preferred scheduling mode is the network scheduling mode.
  • the identifier of the allowed service is the identifier of the service that authorizes the UE to transmit data on the PC5 interface.
  • the permitted business belongs to all or part of at least one business. authorized PC5 QoS parameters 2, the preferred scheduling mode, and the identifier of the allowed service can be carried in the context of the UE.
  • the AMF network element may also send a mode indication 1 (corresponding to fourth indication information) to the (R)AN device.
  • the mode indication 1 is used to indicate when the (R)AN device and the UE are on the air interface (for example, Uu interface).
  • the (R)AN device maintains the Uu interface connection with the UE (that is, the (R)AN device maintains an RRC connection between the UE and the UE), and the UE needs to use the power saving mode to maintain the Uu interface with the (R)AN device connect.
  • Step 706 The (R)AN device sends RRC connection reconfiguration (connection reconfiguration) information to the UE.
  • the RRC connection reconfiguration information includes the configuration of the side link radio bearer (SL RB) and the service acceptance message.
  • the service acceptance message includes the identifier of the allowed service and authorized PC5 QoS parameters 2.
  • the configuration of the side link radio bearer (SL RB) is used to configure the radio bearer for the UE to transmit data of the allowed service on the PC5 interface.
  • the RRC connection reconfiguration information may be actively sent by the (R)AN device to the UE, or the (R)AN device may send the RRC connection reconfiguration information to the UE based on the request of the UE. For example, if the (R)AN device obtains the N2 message from the AMF network element, it will actively send the RRC connection reconfiguration information to the UE.
  • step 706 in the embodiment of this application is that the UE receives the identifier of the allowed service from the AMF network element and authorized PC5 QoS parameters 2 through the (R)AN device.
  • Step 707 The PCF network element updates the UE's policy.
  • the PC5 interface quality of service flow may include a PC5 interface filter, and the PC5 interface filter is used to determine the data of allowed services.
  • the PC5 interface filter may include the identifier of the allowed service. Taking the permitted service including application 1 as an example, the PC5 interface filter may include the identification of application 1.
  • the UE receives the updated UE policy from the PCF network element.
  • the PCF network element may actively send the updated UE policy to the UE.
  • the PCF network element may send the updated UE policy to the UE based on the request of the UE.
  • the PCF network element receives a UE policy update (UE policy update) request message from the UE.
  • the UE policy update request message is used to request the UE's policy.
  • the PCF network element sends a UE policy update response message to the UE according to the UE policy update request message.
  • the UE policy update response message includes the updated UE policy.
  • Step 709 The UE requests the (R)AN device for direct communication interface resources for transmitting data of application 1 on the PC5 interface.
  • step 709 can be replaced by the following method: the UE requests the (R)AN device to transmit application 1 on the PC5 interface according to the application 1 identification, source layer 2 identification, and destination layer 2 identification. Data direct communication interface resources. The UE provides the source layer 2 identification and the destination layer 2 identification to the (R)AN device so that the (R)AN device can determine the address of the sender of the application 1 data and the address of the recipient of the application 1 data.
  • Step 710 The (R)AN device allocates SPS resources to the UE according to the preferred scheduling mode.
  • step 711 in the embodiment of this application can be implemented in the following way: the UE determines the data of application 1 according to the PC5 interface packet filter, and then the UE uses the above-mentioned data on the PC5 interface communication link.
  • the direct communication interface resource sends application 1 data.
  • the UE determining the data of application 1 according to the PC5 interface packet filter can be achieved in the following way: the UE determines that the identifier of the application corresponding to the data to be sent is the same as the identifier of the application 1 carried in the PC5 interface packet filter. Then the UE determines that the data to be sent is application 1 data.
  • the priority of the PC5 interface packet filter provided by the PCF network element for the UE is higher than the other PC5 interface packet filters in the UE.
  • the PC5 interface packet filter in step 711 may be, on the one hand, other PC5 interface packet filters in the UE, or it may be a PC5 interface packet filter provided by the PCF network element for the UE.
  • the PC5 interface packet filter in step 711 is the PC5 interface packet filter provided by the PCF network element for the UE.
  • the (R)AN device configures the UE on the air interface according to the mode indication 1 (for example, Uu interface)
  • the mode indication 1 for example, Uu interface
  • the UE maintains the RRC-Connected state on the Uu interface and needs to use power-saving technologies, such as Long DRX.
  • the (R)AN device can indicate to the UE, and the UE can continue to use the above resource transmission configured by the (R)AN device for the UE. Apply the data of 1.
  • the content measured by the terminal in the RRC connected state is more than the content measured by the terminal in the idle state, and the terminal in the RRC connected state actually consumes more power than the terminal in the idle state.
  • the UE if there is no data transmission on the Uu interface between the UE and the (R)AN device, the UE also needs to perform data transmission on the PC5 interface. In this case: Although the UE can keep RRC connection with the (R)AN device, but the UE needs to adopt a power saving mode. At this time, the UE can continue to use the direct communication interface resources configured by the (R)AN device for the UE to send data of allowed services to reduce UE power consumption. On the other hand, in this solution, when data transmission between the UE and the (R)AN device needs to be performed on the Uu interface, the UE does not need to re-establish an RRC connection with the (R)AN device through the random access process to transmit data. . And for downlink transmission, the (R)AN device can also omit the process of re-paging the terminal.
  • the embodiment shown in FIG. 7 describes the process in which the UE obtains authorized PC5 QoSparameters2 and the PC5 interface packet filter in the service request process, and when the UE needs to transmit application 1 data on the PC5 interface, when the UE is on the Uu interface
  • the UE maintains the RRC-Connected state on the Uu interface with the (R)AN device and adopts power-saving technology.
  • the UE can continue to use the (R)AN device as
  • the direct communication interface resource resource configured for the UE based on the network scheduling mode transmits the data of the application 1 on the PC5 interface.
  • FIG. 8 shows another communication method of an embodiment of the present application.
  • the difference between this method and the embodiment shown in FIG. 7 is that the UE is in a packet data unit (PDU) session (session).
  • PDU packet data unit
  • the authorized PC5 QoS parameters2 and PC5 interface packet filter are obtained from the PCF network element.
  • the method includes:
  • Step 801 The UE sends a PDU session establishment request (PDU session establishment request) message to the AMF network element.
  • the AMF network element receives the PDU session establishment request message from the UE.
  • the PDU session establishment request message may include: data network name (data network name, DNN), PC5 service indication, at least one service identifier, and the UE requested quality of service parameters (requested PC5 QoS) for data transmission on the PC5 interface. parameters)1.
  • the service quality parameter 1 includes at least one service identifier.
  • the identification of at least one service included in the service quality parameter 1 indicates that the service quality parameter 1 is a service quality parameter used when transmitting data of at least one service.
  • the indication of the PC5 service is used to indicate that the UE has the ability to transmit the PC5 service on the PC5 interface.
  • Step 803 The AMF network element triggers the PDU session establishment session management context request (Nsmf_PDU session_CreateSMContext request) service operation to the SMF network element.
  • the SMF network element receives the Nsmf_PDU session_CreateSMContext request service operation from the AMF network element.
  • step 803 the UE and other network elements in the core network continue to perform other procedures in the PDU session establishment process.
  • Step 804 The SMF network element sends a session management policy connection modification (SM Policy Association Modification) request message to the PCF network element.
  • SM Policy Association Modification SM Policy Association Modification
  • the PCF network element receives the SM Policy Association Modification request message from the SMF network element.
  • the SM Policy Association Modification request message can carry at least one service identifier and requested PC5 QoS parameters 1.
  • Step 805 The PCF network element sends a session management policy connection modification (SM Policy Association Modification) response message to the SMF network element.
  • SM Policy Association Modification SM Policy Association Modification
  • the SMF network element receives the SM Policy Association Modification response message from the PCF network element.
  • the SM Policy Association Modification response message may include: authorized PC5 QoS parameters2.
  • authorized PC5 QoS parameters2 may include authorized PC5 QoS parameters2.
  • the preferred scheduling mode corresponding to authorized PC5 QoS parameters2 is the network scheduling mode.
  • step 805 the UE and other network elements in the core network continue to perform other procedures in the PDU session establishment process.
  • the N2 container may include authorized PC5 QoS parameters2 and the identification of allowed services.
  • the permitted service is an application in at least one service.
  • Step 807 The AMF network element sends the N2 container to the (R)AN device.
  • Step 808 The AMF network element sends the N1 container to the UE.
  • the UE receives the N1 container from the AMF network element.
  • the UE it is convenient for the UE to know in time the authorized PC5 QoS parameters2 and the PC5 interface packet filter used by the PCF network element to authorize the UE to transmit the data of the allowed service on the PC5 interface.
  • the UE can obtain the identifier of the allowed service authorized by the network side through the PDU session establishment process, and the data for determining the allowed service can use the direct communication interface resource obtained by the UE in the network scheduling mode. transmission.
  • the UE can also obtain the authorized PC5 QoS parameters2 and the PC5 interface packet filter through the PDU session establishment process, so that the authorized PC5 QoS parameters2 and the PC5 interface packet filter can be directly used when the UE needs to transmit the data of the allowed service in the subsequent.
  • Step 901 The UE sends a service request message to the AMF network element through the (R)AN device, and correspondingly, the AMF network element receives the service request message from the UE through the (R)AN device.
  • the service request message includes the identifier of the PDU session, the identifier of at least one service, and the request of the PC5 service.
  • the PC5 service request is used to indicate that the UE requests to transmit PC5 service data on the PC5 interface.
  • Step 903 The SMF network element triggers a PDU session update session management context response (Nsmf_PDUSession_Update SM context response) service operation to the AMF network element, and accordingly, the AMF network element receives a serviced PDU session update session management context response from the SMF network element Service operation.
  • PDU session update session management context response Nsmf_PDUSession_Update SM context response
  • the PDU session update session management context response service operation includes the identifier of the allowed service, the authorized PC5 QoS parameters2, the authorized PC5 QoS parameters2 corresponding preferred scheduling mode, and the second mode indication.
  • the preferred scheduling mode corresponding to authorized PC5 QoS parameters2 is the network scheduling mode.
  • the permitted service may be a service in at least one service.
  • the second mode indication is used to indicate that the (R)AN device can still use the direct communication interface resource acquired in the network scheduling mode to transmit data of the PC5 service when the terminal is in the RRC-inactive state.
  • Step 904 The AMF network element sends the N2 container to the (R)AN device, and the corresponding (R)AN device receives the N2 container from the AMF network element.
  • the N2 container includes authorized PC5 QoS parameters2, authorized PC5 QoS parameters2 corresponding to the preferred scheduling mode and the second mode indication.
  • R second mode indication
  • Step 905 The SMF network element sends the N1 container to the UE, and correspondingly, the UE receives the N1 container from the SMF network element.
  • the N1 container includes the identifier of the allowed service, authorized PC5 QoS parameters2, and the PC5 interface packet filter.
  • the following steps 906 to 911 take the permitted service including application 1 as an example.
  • the subsequent steps 906 to 911 take the UE using the direct communication interface resource to transmit data of the application 1 on the PC5 interface as an example.
  • Step 906 The UE requests the (R)AN device for direct connection communication interface resources for transmitting application 1 data.
  • step 906 to step 911 are optional steps, and step 906 to step 911 can be executed when the UE needs to send data of an allowed service.
  • Step 907 The (R)AN device configures the direct communication interface resource for transmitting application 1 data for the UE based on the preferred scheduling mode of the UE, and correspondingly, the UE receives the data for transmitting application 1 from the (R)AN device Directly connected communication interface resources.
  • Step 908 According to the PC5 interface packet filter, the UE uses the direct communication interface resource configured by the (R)AN device for the UE to send the data of the application 1 on the PC5 interface.
  • Step 909 The (R)AN device sends a first notification message to the UE according to the second mode indication, and correspondingly, the UE receives the first notification message from the (R)AN device.
  • the first notification message is used to instruct the UE to enter the RRC-inactive state from the RRC-active state.
  • step 909 it further includes: the (R)AN device determines that there is no data transmission on the Uu interface between the (R)AN device and the UE.
  • Step 910 The (R)AN device sends first indication information to the UE, where the first indication information is used to indicate that when the UE enters the RRC-inactive state, the UE is allowed to continue to use the aforementioned direct communication configured by the (R)AN device for the UE.
  • the interface resource sends application 1 data on the PC5 interface.
  • Step 911 According to the first indication information, the UE continues to use the direct communication interface resources configured by the (R)AN device for the UE to send application 1 data on the PC5 interface when the UE enters the RRC-inactive state.
  • the service request message (Service Request message) in the embodiments shown in FIG. 7 and FIG. 8 and FIG. 9 corresponds to the first message in the foregoing embodiment.
  • the identification of application 1 corresponds to the identification of the first application in the foregoing embodiment, and the QoS parameter (requested PC5 QoS parameters) 1 for which the terminal requests to transmit data on the PC5 interface corresponds to the first quality of service parameter in the foregoing embodiment.
  • the source layer 2 identifier (source L2 ID) and the destination layer 2 identifier (destination L2 ID) correspond to the first link identifier.
  • authorized PC5 QoS parameters2 corresponds to the authorized quality of service parameters in the foregoing embodiment.
  • FIG. 10 for another communication method provided by an embodiment of this application, and the method includes:
  • the AMF network element receives the registration request message from the UE through the (R)AN.
  • the registration request message may include requested PC5 QoS parameters1, at least one service identifier.
  • the registration request message may further include a PC5 communication ID (communication ID), where the PC5 communication ID is used to characterize the PC5 communication link through which the UE transmits data of at least one service on the PC5 interface.
  • the PC5 communication link can consist of a source address and a destination address.
  • the source address is the source layer 2 identifier, for example, the layer 2 address (source L2 ID) of the UE
  • the destination address is the destination layer 2 identifier (destination L2 ID), for example, the layer 2 address of the UE that receives the data of the PC5 service.
  • the registration request message may also include a first mode indication, the first mode indication is used to indicate that the UE requests to transmit PC5 service data in the network scheduling mode on the PC5 interface, or the first mode indication is used to indicate that the UE It has the ability to transmit PC5 service data on the PC5 interface.
  • Step 1002 The AMF network element triggers a terminal policy control update (Npcf_UEPolicyControl_Update) message to the PCF network element.
  • Npcf_UEPolicyControl_Update a terminal policy control update
  • the PCF network element receives a service-oriented terminal policy control update message from the AMF network element.
  • the terminal policy control update message carries the requested PC5 QoS parameters1 requested by the UE in step 1001, and the identifier of at least one service.
  • the terminal policy control update message may also include the first mode indication and the PC5 communication identifier.
  • Step 1003 The PCF network element updates the UE's policy.
  • Step 1004 The PCF network element sends the N1N2 communication message transmission service to the AMF network element
  • the AMF network element receives Namf_Communication_N1N2Message Transfer from the PCF network element.
  • Namf_Communication_N1N2Message Transfer includes the PC5 interface Packet filter set.
  • the Namf_Communication_N1N2Message Transfer may also include the PC5 communication identifier.
  • Step 1005 The AMF network element transmits the UE's strategy to the UE.
  • the UE receives the UE's policy from the AMF network element.
  • the UE's policy may include the PC5 communication ID used to transmit the data of the permitted service, the ID of the permitted service, and the PC5 interface quality of service flow corresponding to the ID of the permitted service.
  • FIG. 11 for another communication method provided by an embodiment of this application, and the method includes:
  • Step 1101 the UE sends a service request message (Service Request message) to the AMF network element.
  • Service Request message Service Request message
  • the AMF network element receives the service request message from the UE.
  • the service request message can be used for the UE to request the transmission of at least one service data on the PC5 interface. Further, the service request message can be used for the UE to request the transmission of at least one service on the PC5 interface in network scheduled mode (network scheduled mode). The data.
  • the service request message may carry the identifier of at least one service.
  • this service please refer to the aforementioned related description.
  • the service request message also carries PC5 communication ID and/or operation (Operation) indication.
  • activate means that the UE requests activation to transmit the data of the above at least one service on the PC5 interface in the network scheduling mode.
  • activate can be represented by a preset value, for example, a preset binary "1" "Express.
  • the PCF network element receives the message 1 from the AMF network element.
  • the message 1 may carry the PC5 communication ID and the identification of at least one service.
  • message 1 may be an AM policy request (AM policy request).
  • the context corresponding to the PC5 communication ID may refer to: the context of the PC5 communication link associated with the PC5 communication ID, and the context of the PC5 communication link includes at least the authorized PC5 QoS parameters of the service transmitted on the PC5 communication link.
  • steps 1102 to 1103 are optional steps and may not be executed.
  • Step 1103 The PCF network element sends a response message 1 to the AMF network element.
  • the AMF network element receives the response message 1 from the PCF network element.
  • the response message 1 may include authorized PC5 QoS parameters (Authorized PC5 QoS parameters), the identifier of the allowed service, and the preferred scheduling mode of the PC5 service.
  • authorized PC5 QoS parameters Authorized PC5 QoS parameters
  • the identifier of the allowed service the identifier of the allowed service
  • the preferred scheduling mode of the PC5 service the preferred scheduling mode of the PC5 service.
  • the permitted service may be all or part of the at least one service, or the identifier of the permitted service may be obtained by the AMF network element from the subscription information of the UE.
  • the preferred scheduling mode of the PC5 service may be the network scheduling mode.
  • the preferred scheduling mode of the PC5 service may be carried in RRC Inactive Assistance Information (RRC Inactive Assistance Information).
  • the AMF network element can determine that the network side authorizes the UE to use the network scheduling mode to transmit data of allowed services on the PC5 interface.
  • the (R)AN device receives the N2 message from the AMF network element.
  • the N2 message may include the PC5 communication ID, the preferred scheduling mode of the PC5 service, the identifier of the allowed service, and the Authorized PC5 QoS parameters.
  • the preferred scheduling mode of the PC5 service may be carried in RRC Inactive Assistance Information (RRC Inactive Assistance Information), or the Authorized PC5 QoS parameters include the preferred scheduling mode of the PC5 service.
  • RRC Inactive Assistance Information RRC Inactive Assistance Information
  • Authorized PC5 QoS parameters include the preferred scheduling mode of the PC5 service.
  • the preferred scheduling mode of the PC5 service can be used to indicate to the (R)AN device, when the Uu between the (R)AN device and the UE is at a preset time ( For example, after 30s) there is no data, the (R)AN device needs to configure the UE to enter the RRC-inactive state, and when the UE is in the RRC-inactive state, the UE can continue to use the PC5 interface for network scheduling
  • the direct communication interface resource acquired by the mode sends the data of the allowed service.
  • the (R)AN device can determine through the preferred scheduling mode of the PC5 service that when the UE is in the RRC-inactive state, the UE can continue to use the direct communication interface obtained in the network scheduling mode on the PC5 interface The resource sends the data of the allowed service.
  • the N2 message may also include a service acceptance message (service accept message) sent by the AMF network element to the UE, and the service acceptance message (service accept message) includes an identifier of an allowed service.
  • the service acceptance message may also include the PC5 interface quality of service flow provided by the PCF network element.
  • the identifier of the allowed service can also be carried in the N1 container sent by the AMF network element to the UE through the (R)AN device.
  • Step 1105 The (R)AN device sends an RRC connection reconfiguration message to the UE.
  • the UE receives the RRC connection reconfiguration message from the (R)AN device.
  • the RRC connection reconfiguration message includes the identifier of the allowed service sent by the AMF network element to the UE.
  • the RRC connection reconfiguration message includes the PC5 interface quality of service flow provided by the PCF network element sent by the AMF network element to the UE.
  • the method provided in this embodiment of the present application may further include: step 1106.
  • step 1106 can be implemented in the following manner: the UE determines the PC5 interface quality of service flow of the first application according to the PC5 interface quality of service flow provided by the PCF network element, or the UE determines the PC5 interface quality of service of the first application according to pre-configured parameters flow.
  • the method may further include steps 1107 to 1112:
  • Step 1109 The UE uses the direct communication interface resources configured by the (R)AN device for the UE to transmit the data of the first application on the PC5 interface according to the quality of service flow of the PC5 interface of the first application.
  • the (R)AN device configures the terminal to enter the RRC-inactive state from the RRC-active (active) state.
  • the active state the RRC connection between the UE and the (R)AN device is released.
  • the UE receives the first indication information from the (R)AN device.
  • the first indication information is used to indicate that when the UE is in the RRC-inactive state, the UE can continue to use the direct communication interface resources configured by the (R)AN device for the UE to transmit data of allowed services on the PC5 interface.
  • Step 1112 when the UE is in the RRC-inactive state, the UE uses the direct communication interface resources configured by the (R)AN device for the UE to transmit the data of the first application on the PC5 interface according to the first indication information.
  • step 1111 is an optional step. Accordingly, step 1112 can be replaced with: when the UE is in the RRC-inactive state, the UE uses the direct communication interface resources configured by the (R)AN device for the UE in the PC5 The data of the first application is transmitted on the interface.
  • Authorized PC5 QoS parameters2 corresponds to the above-mentioned authorized quality of service parameters.
  • the service acceptance message may correspond to the foregoing fourth message.
  • the service request message may correspond to the first message in the foregoing embodiment.
  • the AMF network element receives the service request message from the UE.
  • the operation indication is used to indicate that the UE requests to activate the PC5 service, or the UE requests activation to transmit the PC5 service in the network scheduling mode.
  • the Operation indication is set to "activate”, which means that the UE requests to transmit the above-mentioned PC5 service data on the PC5 interface in the network scheduling mode.
  • the Operation is set to "activate”, which means that the UE requests activation to transmit the above-mentioned PC5 service data on the PC5 interface in the network scheduling mode.
  • “activate” can be represented by a preset value, for example, represented by a preset binary "1".
  • step 1201 can be implemented in the following manner: the UE sends a service request message to the (R)AN device.
  • the (R)AN device sends a NAS message to the AMF network element, and the NAS message includes a service request message.
  • Step 1202 the AMF network element sends an N2 message to the (R)AN device.
  • Step 1203 The (R)AN device sends an RRC connection reconfiguration message to the UE.
  • the UE receives the RRC connection reconfiguration message from the (R)AN device.
  • the RRC connection reconfiguration message includes a service acceptance message.
  • the foregoing steps 1201 to 1203 may be referred to as a service request procedure.
  • the method provided in this embodiment of the present application may further include: the UE requests the radio resource for transmitting the data of the PC5 service, and the UE uses The data of the PC5 service is transmitted in an energy-saving manner.
  • the UE transmitting the data of the PC5 service in an energy-saving manner may be the direct communication interface resource obtained by the UE in the network scheduling mode to transmit the data of the PC5 service. For example, step 1107 to step 1112 in FIG. 11.
  • FIG. 13 shows another embodiment provided by an embodiment of the present application, and this embodiment includes:
  • the service request message is used to indicate that the UE wishes to stop transmitting data on the PC5 interface, or used to indicate that it stops transmitting data on the PC5 interface using the network scheduling mode. Or, if the service request message also carries the identifier of the first application, the service request message is used to indicate that the UE wishes to stop transmitting the data of the first application on the PC5 interface.
  • the first application belongs to the allowed service of the UE.
  • the service request message contains an Operation indication. Operation instruction is set to "deactivate
  • (deactivate)" means that the UE wants to stop transmitting data on the PC5 interface.
  • Operation is set to “deactivate” means that the UE requests deactivation to transmit data on the PC5 interface in network scheduling mode.
  • Operation is set to “deactivate” (deactivate)” means that the UE wishes to stop transmitting the data of the first application on the PC5 interface.
  • “deactivate” can be represented by a preset value, for example, represented by a preset binary “0”.
  • Step 1303 The AMF network element sends an N2 message to the (R)AN device.
  • the Service Request message in the embodiment shown in FIG. 13 corresponds to the fourth message in the foregoing embodiment.
  • the embodiments of this application can divide functional units according to the above-mentioned method examples, access network equipment, terminals, and access management network elements.
  • each functional unit can be divided corresponding to each function, or two or more functions can be integrated.
  • a processing unit In a processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 14 shows the communication device involved in the foregoing embodiment, and the communication device may include: a communication unit 102 and a processing unit 101.
  • the communication device is a terminal or a chip applied in the terminal.
  • the communication unit 102 is used to support the communication device to perform the receiving action performed by the terminal in step 401 of FIG. 4 in the above-mentioned embodiment.
  • the processing unit 101 is configured to support the communication device to execute the processing actions executed by the terminal in step 402 of FIG. 4.
  • the communication unit 102 is also configured to support the communication device to execute the sending action performed by the terminal in step 402 in the foregoing embodiment.
  • the communication unit 102 is further configured to support the communication device to execute the sending actions performed by the terminal in step 501, step 503, step 504, step 506, step 509, and step 510 in the foregoing embodiment,
  • the communication unit 102 is also configured to support the communication device to execute the receiving actions performed by the terminal in step 502, step 505, and step 508 in the foregoing embodiment.
  • the communication module 113 is also used to support the communication device to execute the sending actions performed by the terminal in step 501, step 503, step 504, step 506, step 509, and step 510 in the foregoing embodiment,
  • the communication module 113 is also used to support the communication device to execute the receiving actions performed by the terminal in step 502, step 505, and step 508 in the foregoing embodiment.
  • the transceiver 33 is also used to support the communication device to perform the sending action performed by the access network device in step 508 in the foregoing embodiment.
  • the transceiver 33 is also used to support the communication device to perform the receiving action performed by the access network device in step 511 in the foregoing embodiment.
  • the processor 31 and/or the processor 35 are configured to support the communication device to execute the processing actions performed by the access network device in step 512 of the foregoing embodiment.
  • the communication device is an access management network element, or a chip applied to an access management network element.
  • the communication interface is used to support the communication device to perform the sending action performed by the access management network element in step 502 of FIG. 5 in the foregoing embodiment.
  • the processor 31 and/or the processor 35 are further configured to support the communication device to perform the action of determining the identity of one or more applications in the foregoing embodiment.
  • the memory 1540 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.
  • a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium.
  • the instructions are executed, the functions of the terminal as shown in FIGS. 4 to 5 are realized.
  • a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium.
  • the instructions are executed, the functions of the access network device as shown in Figs. 4 to 5 are realized.
  • a computer program product including instructions.
  • the computer program product includes instructions. When the instructions are executed, the functions of the terminal as shown in Figs. 4 to 5 are realized.
  • a chip is provided.
  • the chip is applied to a terminal.
  • the chip includes at least one processor and a communication interface.
  • the communication interface is coupled to the at least one processor. Function.
  • An embodiment of the present application provides a communication system, which includes a terminal, an access management network element, and an access network device.
  • the terminal is used to perform the functions performed by the terminal in FIGS. 4 to 5
  • the access management network element is used to perform the steps performed by the access management network element in any one of 4 to FIG. 5.
  • the access network equipment is used to perform the functions performed by the access network equipment as shown in Figures 4 to 5.
  • the computer program or instruction may be transmitted from a website, a computer, or The server or data center transmits to another website site, computer, server or data center through wired or wireless means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that integrates one or more available media.
  • the usable medium may be a magnetic medium, such as a floppy disk, a hard disk, and a magnetic tape; it may also be an optical medium, such as a digital video disc (digital video disc, DVD); and it may also be a semiconductor medium, such as a solid state drive (solid state drive). , SSD).

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present application relate to the technical field of communications, and provided therein are a communication method, apparatus and system, for reducing power consumption of a terminal when transmitting data on a direct communication interface. The solution comprises: a terminal receives resource information from an access network device, the resource information being used to represent resources of a direct communication interface; and the terminal transmits data by means of the resources of the direct communication interface, and the terminal is in a radio resource control (RRC)-inactive state. In the method provided in the embodiments of the present application, when a terminal is in an RRC-inactive state, data can still be transmitted by using resources of a direct communication interface from an access network device. Therefore, power consumption of a terminal when transmitting data on a direct communication interface can be reduced. In addition, said solution may be applied to a direct communication scenario.

Description

一种通信方法、装置以及系统Communication method, device and system 技术领域Technical field

本申请实施例涉及通信技术领域,尤其涉及一种通信方法、装置以及系统。The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, device, and system.

背景技术Background technique

车到一切(vehicle to everything,V2X)技术在第三代合作伙伴计划(3rd generation partnership project,3GPP)的SA2中的版本(Release,R)14与R15中的长期演进(long term evolution,LTE)系统以及新空口(new radio,NR)系统中均有立项。Vehicle to everything (V2X) technology in the 3rd generation partnership project (3rd generation partnership project, 3GPP) SA2 version (Release, R) 14 and R15 in the long term evolution (long term evolution, LTE) Projects have been established in the system and the new radio (NR) system.

在V2X通信中,终端A可以利用其与终端B之间的PC5接口在侧行链路资源(Sidelink resource)上向终端B发送数据。In V2X communication, terminal A can use the PC5 interface between terminal A and terminal B to send data to terminal B on the sidelink resource.

在V2X通信中,对于处于无线资源控制(radio resource control,RRC)-激活状态(例如,空闲态)的终端A,基站可以采用网络调度操作模式(network scheduled operation mode)为终端A配置侧行链路资源。对于处于RRC-非激活状态(例如,空闲态)的终端A可以通过终端自主选择资源模式(UE autonomous resources selection mode)确定侧行链路资源。其中,网络调度操作模式可以指的是基站采用动态调度或半静态调度的方式为终端配置侧行链路资源。终端自主选择资源模式可以指的是由终端通过资源帧听(sensing)的方式在资源池中选择侧行链路资源。In V2X communication, for terminal A in the radio resource control (radio resource control, RRC)-active state (for example, idle state), the base station can use the network scheduling operation mode (network scheduled operation mode) to configure the side chain for terminal A Road resources. For the terminal A in the RRC-inactive state (for example, the idle state), the side link resource can be determined through the terminal autonomous resource selection mode (UE autonomous resources selection mode). Among them, the network scheduling operation mode may refer to that the base station uses dynamic scheduling or semi-persistent scheduling to configure side link resources for the terminal. The autonomous resource selection mode of the terminal may refer to that the terminal selects the side link resources in the resource pool by means of resource frame sensing.

但是,由于终端采用终端自主选择资源模式确定侧行链路资源时需要进行sensing,而终端使用网络调度操作模式时,不需要进行帧听,因此,终端采用终端自主选择资源模式确定侧行链路资源的功耗高于终端采用网络调度操作模式确定侧行链路资源的功耗,因此处于RRC-非激活状态的终端利用侧行链路资源发送侧行链路数据的功耗高于处于RRC-激活状态的终端利用侧行链路资源发送侧行链路数据的功耗。However, since the terminal adopts the terminal autonomous resource selection mode to determine the side link resources, sensing is required, and when the terminal uses the network scheduling operation mode, frame listening is not required. Therefore, the terminal adopts the terminal autonomous resource selection mode to determine the side link resources. The power consumption of the resource is higher than that of the terminal using the network scheduling operation mode to determine the power consumption of the side link resource. Therefore, the power consumption of the terminal in the RRC-inactive state to send side link data using the side link resource is higher than that of the terminal in the RRC state. -The power consumption of the terminal in the active state to use the side-link resource to send the side-link data.

基于此,如何降低终端利用侧行链路资源发送侧行链路数据的功耗是亟需解决的技术问题。Based on this, how to reduce the power consumption of the terminal using the side-link resource to send the side-link data is a technical problem that needs to be solved urgently.

发明内容Summary of the invention

本申请实施例提供一种通信方法、装置以及系统,用以降低终端在直连通信接口上传输数据的功耗。The embodiments of the present application provide a communication method, device, and system to reduce the power consumption of a terminal to transmit data on a directly connected communication interface.

为了达到上述目的,本申请实施例提供如下技术方案:In order to achieve the foregoing objectives, the embodiments of the present application provide the following technical solutions:

第一方面,本申请实施例提供一种通信方法,包括:终端接收来自接入网设备的资源信息,该资源信息用于表征直连通信接口资源;终端通过直连通信接口资源传输数据,其中,该终端处于无线资源控制RRC-非激活状态(RRC-inactive),或者该终端处于RRC-激活状态,且终端采用省电模式。该方法中终端接收来自接入网设备的资源信息,由于该资源信息用于表征直连通信接口资源,之后在终端处于无线资源控制RRC-非激活状态时,或者在该终端处于RRC-激活状态,且终端采用省电模式时可以在直连通信接口资源上传输数据。这样对于处于RRC-非激活状态的终端,可以避免终端为了传输数据采用终端自主选择资源模式获取直连通信接口资源引起的功耗。对于处于RRC-激活状态,且采用省电模式的终端,使得其在直连通信接口资源上传输数据时产生的功耗仍能够低于处于RRC-激活状态未采用省电模式的终端产生的功耗。因此, 本申请实施例提供的方法可以降低终端在直连通信接口传输数据的功耗。In the first aspect, an embodiment of the present application provides a communication method, including: a terminal receives resource information from an access network device, the resource information is used to characterize a direct communication interface resource; the terminal transmits data through the direct communication interface resource, where , The terminal is in a radio resource control RRC-inactive state (RRC-inactive), or the terminal is in an RRC-active state, and the terminal adopts a power saving mode. In this method, the terminal receives the resource information from the access network device. Since the resource information is used to characterize the resources of the direct communication interface, then when the terminal is in the radio resource control RRC-inactive state, or when the terminal is in the RRC-active state , And when the terminal adopts the power saving mode, it can transmit data on the direct connection communication interface resource. In this way, for the terminal in the RRC-inactive state, it is possible to avoid the power consumption caused by the terminal adopting the terminal independent selection resource mode to obtain the direct connection communication interface resource in order to transmit data. For the terminal in the RRC-active state and adopts the power-saving mode, the power consumption generated when it transmits data on the direct communication interface resources can still be lower than the power generated by the terminal in the RRC-active state that does not adopt the power-saving mode. Consumption. Therefore, the method provided by the embodiment of the present application can reduce the power consumption of the terminal transmitting data on the direct communication interface.

其中,直连通信接口是指两个终端之间未经过基站中转而通信的通信接口。直连通信接口通信包含数据传输,例如,信令和业务数据的传输。直连通信接口也可以称为PC5接口。Among them, the direct communication interface refers to a communication interface between two terminals that does not transit through the base station but communicates. Direct communication interface communication includes data transmission, for example, the transmission of signaling and service data. The direct communication interface can also be referred to as a PC5 interface.

在第一方面的一种可能的实现方式中,该资源信息是终端在处于RRC-激活状态时从接入网设备处获取的。In a possible implementation of the first aspect, the resource information is obtained from the access network device when the terminal is in the RRC-activated state.

在第一方面的一种可能的实现方式中,直连通信接口资源为基于网络调度模式的直连通信接口资源。In a possible implementation of the first aspect, the direct communication interface resource is a direct communication interface resource based on a network scheduling mode.

在第一方面的一种可能的实现方式中,终端通过直连通信接口资源传输数据之前,本申请实施例提供的方法还可以包括:终端确定网络侧(例如,接入管理网元)允许终端使用基于网络调度模式的直连通信接口资源传输数据。例如,终端接收来自网络侧的用于指示允许终端使用基于网络调度模式的直连通信接口资源传输数据的信息。其中,基于网络调度模式的直连通信接口资源可以为接入网设备为终端配置的直连通信接口资源。In a possible implementation of the first aspect, before the terminal transmits data through the direct communication interface resource, the method provided in the embodiment of the present application may further include: the terminal determines that the network side (for example, access to the management network element) allows the terminal Use direct connection communication interface resources based on network scheduling mode to transmit data. For example, the terminal receives information from the network side that is used to indicate that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to transmit data. Among them, the direct connection communication interface resource based on the network scheduling mode may be the direct connection communication interface resource configured by the access network device for the terminal.

在第一方面的一种可能的实现方式中,在终端接收来自接入网设备的资源信息之前,上述方法还包括:终端向接入网设备请求直连通信接口资源。In a possible implementation manner of the first aspect, before the terminal receives the resource information from the access network device, the above method further includes: the terminal requests the access network device for direct communication interface resources.

在第一方面的一种可能的实现方式中,上述数据为终端的第一应用的数据,该直连通信接口资源用于传输第一应用的数据。第一应用为使用直连通信接口进行通信的应用,例如使用直连通信接口发送/广播弱势路边单元(VRU,vulnerable roadside unit)的信息。In a possible implementation of the first aspect, the above-mentioned data is data of a first application of the terminal, and the direct communication interface resource is used to transmit data of the first application. The first application is an application that uses a direct communication interface for communication, for example, a direct communication interface is used to send/broadcast information of a vulnerable roadside unit (VRU).

在第一方面的一种可能的实现方式中,第一应用属于终端的被允许业务(allowed service)。进一步地,上述方法还可以包括:终端确定终端的被允许业务的标识。In a possible implementation manner of the first aspect, the first application belongs to an allowed service of the terminal. Further, the above method may further include: the terminal determines the identity of the permitted service of the terminal.

在第一方面的一种可能的实现方式中,终端确定终端的被允许业务的标识,包括:终端接收来自接入管理网元的终端的被允许业务的标识。终端通过接收来自接入管理网元的被允许业务的标识,这样便于终端确定网络侧(例如,接入管理网元)允许终端传输的业务的标识,换言之,对于终端的非被允许业务,终端便不能传输。In a possible implementation manner of the first aspect, the terminal determining the identifier of the permitted service of the terminal includes: the terminal receives the identifier of the permitted service from the terminal that accesses the management network element. The terminal receives the identifier of the permitted service from the access management network element, so that it is convenient for the terminal to determine the identifier of the service that the network side (for example, the access management network element) allows the terminal to transmit. In other words, for the non-allowed service of the terminal, the terminal It cannot be transmitted.

在第一方面的一种可能的实现方式中,终端的被允许业务可以指:终端在直连通信接口上被允许的业务。这样便于终端确定网络侧(例如,接入管理网元)允许终端在直连通信接口上传输的业务。In a possible implementation of the first aspect, the permitted service of the terminal may refer to the permitted service of the terminal on the direct connection communication interface. In this way, it is convenient for the terminal to determine the services that the network side (for example, the access management network element) allows the terminal to transmit on the directly connected communication interface.

在第一方面的一种可能的实现方式中,终端的被允许业务不仅包括终端在直连通信接口上被允许的业务,还可以包括在非直连通信接口(例如,Uu通信接口)上被允许的业务,本申请实施例对此不作限定。In a possible implementation of the first aspect, the allowed services of the terminal include not only the services allowed on the direct communication interface of the terminal, but also the allowed services on the non-direct communication interface (for example, the Uu communication interface). The permitted services are not limited in the embodiment of this application.

在第一方面的一种可能的实现方式中,终端接收来自接入管理网元的终端的被允许业务的标识之前,上述方法还包括:终端向接入管理网元发送至少一个业务的标识。该至少一个业务的标识用于指示终端请求的业务。至少一个业务可以为通过直连通信接口传输的业务,例如,V2X业务。相应地,至少一个业务的标识用于指示终端请求通过直连通信接口传输的业务。这样便于网络侧确定终端请求在直连通信接口上传输的数据来源于哪些业务,从而对终端请求传输的业务进行授权。In a possible implementation manner of the first aspect, before the terminal receives the identifier of the allowed service from the terminal that accesses the management network element, the above method further includes: the terminal sends the identifier of at least one service to the access management network element. The identifier of the at least one service is used to indicate the service requested by the terminal. The at least one service may be a service transmitted through a direct communication interface, for example, a V2X service. Correspondingly, the identifier of at least one service is used to indicate the service that the terminal requests to be transmitted through the direct communication interface. In this way, it is convenient for the network side to determine which services the data requested by the terminal to transmit on the direct communication interface originate from, thereby authorizing the services requested by the terminal for transmission.

在第一方面的一种可能的实现方式中,至少一个业务的标识携带在第一消息中, 该第一消息还包含第一参数,该第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输数据。以便于利用第一参数向接入管理网元表示终端请求在直连通信接口上使用网络调度模式传输数据。这样便于网络侧确定终端要求使用网络调度模式在直连通信接口上传输数据,也即终端请求采用接入网设备配置的直连通信接口资源传输数据。In a possible implementation manner of the first aspect, the identifier of at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize that the terminal requests to use the direct communication interface. Use network scheduling mode to transmit data. In order to use the first parameter to indicate to the access management network element that the terminal requests to use the network scheduling mode to transmit data on the directly connected communication interface. In this way, it is convenient for the network side to determine that the terminal requires the use of the network scheduling mode to transmit data on the direct connection communication interface, that is, the terminal requests the direct connection communication interface resource configured by the access network device to transmit data.

在第一方面的一种可能的实现方式中,在终端在直连通信接口资源上传输数据之前,上述方法还包括:终端接收第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据,相应的,终端通过直连通信接口资源传输数据,包括:终端根据第一指示信息,通过直连通信接口资源传输第一应用的数据。这样便于终端根据第一指示信息确定当终端处于RRC-非激活状态时可以继续在基于网络调度模式获取的直连通信接口资源上传输第一应用的数据。其中,第一指示信息可以为接入网设备发送给终端的独立指示,也可以为接入网设备为终端配置的上述直连通信接口资源本身。终端可以根据独立指示,当终端处于RRC-非激活状态时,利用上述直连通信接口资源在直连通信接口上发送第一应用的数据。或者,终端也可以根据接入网设备发送给终端的上述直连通信接口资源,当处于RRC-非激活状态时,利用上述直连通信接口资源在直连通信接口上发送第一应用的数据。In a possible implementation of the first aspect, before the terminal transmits data on the direct communication interface resource, the above method further includes: the terminal receives first indication information, the first indication information is used to indicate that the terminal is allowed to be in The RRC-inactive state uses the direct communication interface resource based on the network scheduling mode to transmit the data of the first application. Correspondingly, the terminal transmits data through the direct communication interface resource, including: the terminal transmits the data through the direct communication interface according to the first instruction information The resource transmits the data of the first application. In this way, it is convenient for the terminal to determine, according to the first indication information, that when the terminal is in the RRC-inactive state, it can continue to transmit the data of the first application on the direct communication interface resource acquired based on the network scheduling mode. The first indication information may be an independent indication sent by the access network device to the terminal, or may be the direct communication interface resource itself configured by the access network device for the terminal. According to an independent instruction, when the terminal is in the RRC-inactive state, the terminal may use the above-mentioned direct communication interface resource to send the data of the first application on the direct communication interface. Alternatively, the terminal may also use the direct communication interface resource to send the data of the first application on the direct communication interface when it is in the RRC-inactive state according to the direct communication interface resource sent by the access network device to the terminal.

在第一方面的一种可能的实现方式中,终端接收第一指示信息可以通过以下方式实现:终端接收来自接入管理网元的第一指示信息,或者终端接收来自接入网设备的第一指示信息。In a possible implementation manner of the first aspect, the terminal receiving the first indication information may be implemented in the following manner: the terminal receives the first indication information from the access management network element, or the terminal receives the first indication information from the access network device. Instructions.

在第一方面的一种可能的实现方式中,第一消息还包含第一链路标识,该第一链路标识指示用于终端在直连通信接口上传输数据的通信链路。例如,第一链路标识可以包括第一标识和第二标识,第一标识为源地址,即终端的地址,第二标识为目的地址,即接收第一应用的数据的设备的地址。第一链路标识也可以为终端为直连通信接口通信链路分配的标识,用于唯一确定终端的直连通信接口通信链路。In a possible implementation manner of the first aspect, the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface. For example, the first link identifier may include a first identifier and a second identifier. The first identifier is the source address, that is, the address of the terminal, and the second identifier is the destination address, that is, the address of the device that receives the data of the first application. The first link identifier may also be an identifier assigned by the terminal to the communication link of the directly connected communication interface, and is used to uniquely determine the communication link of the directly connected communication interface of the terminal.

在第一方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。应理解,终端的被允许业务还可以是除了被允许通过直连通信接口传输的业务外的其他业务。In a possible implementation of the first aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface. It should be understood that the allowed services of the terminal may also be other services besides the services that are allowed to be transmitted through the direct communication interface.

在第一方面的一种可能的实现方式中,上述方法还包括:终端向接入管理网元发送第一服务质量参数,该第一服务质量参数为终端请求在直连通信接口上传输数据所使用的服务质量参数。该第一服务质量参数可以用于接入管理网元为该终端确定授权的服务质量参数。In a possible implementation manner of the first aspect, the above method further includes: the terminal sends a first quality of service parameter to the access management network element, where the first quality of service parameter is a request from the terminal to transmit data on the directly connected communication interface. The quality of service parameters used. The first quality of service parameter may be used for the access management network element to determine an authorized quality of service parameter for the terminal.

在第一方面的一种可能的实现方式中,上述方法还包括:终端接收来自接入管理网元的授权的服务质量参数,授权的服务质量参数用于终端在直连通信接口上传输数据。In a possible implementation of the first aspect, the above method further includes: the terminal receives an authorized quality of service parameter from the access management network element, and the authorized quality of service parameter is used for the terminal to transmit data on the directly connected communication interface.

在第一方面的一种可能的实现方式中,数据为第一应用的数据,该直连通信接口为PC5接口,上述方法还包括:终端生成第一应用对应的PC5接口服务质量流(PC5 QoS Flow)。终端将第一应用的数据,关联到PC5接口服务质量流。其中,第一应用可以为终端的被允许业务中的一个业务。该PC5接口服务质量流可以包括PC5接口包 过滤器(packet filter),其中,PC5接口包过滤器(packet filter)中的一个参数值为第一应用的标识。例如该一个参数可以为PC5接口服务质量流标识(PC5 QoS Flow identifier,PFI)。终端根据PC5接口包过滤器,将第一应用的数据关联到PC5接口服务质量流中,使得第一应用的数据在PC5接口服务质量流中进行传输。In a possible implementation of the first aspect, the data is data of the first application, and the direct communication interface is a PC5 interface. The above method further includes: the terminal generates a PC5 interface quality of service flow (PC5 QoS) corresponding to the first application. Flow). The terminal associates the data of the first application with the PC5 interface quality of service flow. Among them, the first application may be one of the permitted services of the terminal. The PC5 interface quality of service flow may include a PC5 interface packet filter, where a parameter value in the PC5 interface packet filter is the identifier of the first application. For example, the one parameter may be a PC5 interface quality of service flow identifier (PC5 QoS Flow identifier, PFI). The terminal associates the data of the first application with the PC5 interface quality of service flow according to the PC5 interface packet filter, so that the data of the first application is transmitted in the PC5 interface quality of service flow.

在第一方面的一种可能的实现方式中,终端生成第一应用对应的PC5接口服务质量流,包括:终端接收来自策略控制网元的配置信息,终端根据配置信息生成第一应用对应的PC5接口服务质量流。In a possible implementation of the first aspect, the terminal generating the PC5 interface quality of service flow corresponding to the first application includes: the terminal receives configuration information from the policy control network element, and the terminal generates the PC5 corresponding to the first application according to the configuration information Interface quality of service flow.

在第一方面的一种可能的实现方式中,终端生成第一应用对应的PC5接口服务质量流,包括:终端接收来自策略控制网元的第一应用对应的PC5接口服务质量流。In a possible implementation manner of the first aspect, the terminal generating the PC5 interface quality of service flow corresponding to the first application includes: the terminal receives the PC5 interface quality of service flow corresponding to the first application from the policy control network element.

在第一方面的一种可能的实现方式中,终端生成第一应用对应的PC5接口服务质量流,包括:终端根据预配置的参数,生成第一应用对应的PC5接口服务质量流。In a possible implementation of the first aspect, the terminal generating the PC5 interface quality of service flow corresponding to the first application includes: the terminal generates the PC5 interface quality of service flow corresponding to the first application according to pre-configured parameters.

在第一方面的一种可能的实现方式中,上述方法还包括:终端向接入管理网元发送第二参数,该第二参数用于表征终端停止在直连通信接口上传输数据。该第二参数用于接入管理网元指示接入网设备释放为终端配置的直连通信接口资源。In a possible implementation of the first aspect, the above method further includes: the terminal sends a second parameter to the access management network element, the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. The second parameter is used by the access management network element to instruct the access network device to release the directly connected communication interface resources configured for the terminal.

在第一方面的一种可能的实现方式中,在终端通过直连通信接口资源传输数据之前,上述方法还包括:终端进入RRC-非激活状态;或者终端在RRC-激活状态下进入省电模式。In a possible implementation of the first aspect, before the terminal transmits data through the direct communication interface resource, the above method further includes: the terminal enters the RRC-inactive state; or the terminal enters the power saving mode in the RRC-active state .

在第一方面的一种可能的实现方式中,上述方法还包括:终端接收来自接入网设备的第一通知消息,该第一通知消息用于通知终端进入RRC-非激活状态。相应的,终端进入RRC-非激活状态,包括:终端根据第一通知消息,进入RRC-非激活状态。In a possible implementation of the first aspect, the above method further includes: the terminal receives a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-inactive state. Correspondingly, the terminal entering the RRC-inactive state includes: the terminal enters the RRC-inactive state according to the first notification message.

在第一方面的一种可能的实现方式中,上述方法还包括:终端接收来自接入网设备的第二通知消息,该第二通知消息用于通知终端进入省电模式,上述终端的状态为RRC-激活状态。相应的,终端进入省电模式,包括:终端根据所述第一通知消息,进入省电模式。In a possible implementation of the first aspect, the above method further includes: the terminal receives a second notification message from the access network device, the second notification message is used to notify the terminal to enter the power saving mode, and the state of the terminal is RRC-active status. Correspondingly, the terminal entering the power saving mode includes: the terminal enters the power saving mode according to the first notification message.

在第一方面的一种可能的实现方式中,上述方法还包括:终端向接入管理网元发送第五消息,该第五消息表示终端支持发送第一应用的数据。In a possible implementation manner of the first aspect, the above method further includes: the terminal sends a fifth message to the access management network element, the fifth message indicating that the terminal supports sending the data of the first application.

在第一方面的一种可能的实现方式中,上述方法还可以包括:终端向接入管理网元发送第三参数,该第三参数用于表征终端请求在直连通信接口上使用网络调度模式。In a possible implementation of the first aspect, the above method may further include: the terminal sends a third parameter to the access management network element, the third parameter is used to characterize the terminal request to use the network scheduling mode on the direct communication interface .

在第一方面的一种可能的实现方式中,上述方法还可以包括:终端接收第二指示信息,该第二指示信息用于指示允许终端在处于RRC-激活状态且采用省电模式时使用基于网络调度模式的直连通信接口资源传输数据。终端通过直连通信接口资源传输数据,包括:终端根据第二指示信息,通过直连通信接口资源传输上述数据。In a possible implementation of the first aspect, the above method may further include: the terminal receives second indication information, the second indication information is used to indicate that the terminal is allowed to use the The direct connection communication interface resource of the network scheduling mode transmits data. The terminal transmitting data through the direct connection communication interface resource includes: the terminal transmits the above data through the direct connection communication interface resource according to the second instruction information.

在第一方面的一种可能的实现方式中,本申请实施例提供的方法还可以包括:终端接收第二指示信息,该第二指示信息用于指示允许终端在处于RRC-激活状态且采用省电模式时使用基于网络调度模式的直连通信接口资源传输数据。终端通过直连通信接口资源传输数据,包括:终端根据第二指示信息,通过直连通信接口资源传输上述数据。In a possible implementation of the first aspect, the method provided in the embodiment of the present application may further include: the terminal receives second indication information, where the second indication information is used to indicate that the terminal is allowed to be in the RRC-activated state and use the province. In the electric mode, the direct connection communication interface resources based on the network scheduling mode are used to transmit data. The terminal transmitting data through the direct connection communication interface resource includes: the terminal transmits the above data through the direct connection communication interface resource according to the second instruction information.

在第一方面的一种可能的实现方式中,终端接收第二指示信息,包括:终端接收来自接入管理网元的第二指示信息,或者终端接收来自接入网设备的第二指示信息。In a possible implementation manner of the first aspect, the terminal receiving the second indication information includes: the terminal receiving the second indication information from the access management network element, or the terminal receiving the second indication information from the access network device.

第二方面,本申请实施例提供一种通信方法,包括:接入网设备向终端发送资源信息,该资源信息用于表征直连通信接口资源,直连通信接口资源用于终端在处于无线资源控制RRC-非激活状态,或者处于RRC-激活状态且采用省电模式时传输数据。In a second aspect, an embodiment of the present application provides a communication method, including: the access network device sends resource information to the terminal, the resource information is used to characterize the direct communication interface resource, and the direct communication interface resource is used when the terminal is in the wireless resource. Control RRC-inactive state, or transmit data when in RRC-active state and in power saving mode.

在第二方面的一种可能的实现方式中,直连通信接口资源为基于网络调度模式的直连通信接口资源。In a possible implementation of the second aspect, the direct communication interface resource is a direct communication interface resource based on a network scheduling mode.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备接收来自接入管理网元的终端的优选调度模式。接入网设备向终端发送资源信息可以包括:接入网设备根据终端的优选调度模式,向终端发送资源信息。该优先调度模式为网络调度模式。In a possible implementation manner of the second aspect, the above method further includes: the access network device receives a preferred scheduling mode from the terminal that accesses the management network element. The sending of resource information by the access network device to the terminal may include: the access network device sending the resource information to the terminal according to the preferred scheduling mode of the terminal. The priority scheduling mode is the network scheduling mode.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备接收来自终端的请求消息,上述请求消息用于请求上述直连通信接口资源。In a possible implementation of the second aspect, the above method further includes: the access network device receives a request message from the terminal, where the request message is used to request the direct communication interface resource.

在第二方面的一种可能的实现方式中,上述数据为第一应用的数据,优选调度模式为第一应用对应的优选调度模式。In a possible implementation manner of the second aspect, the above-mentioned data is data of the first application, and the preferred scheduling mode is a preferred scheduling mode corresponding to the first application.

在第二方面的一种可能的实现方式中,上述第一应用属于终端的被允许业务。In a possible implementation manner of the second aspect, the foregoing first application belongs to an allowed service of the terminal.

在第二方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。In a possible implementation of the second aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备向终端发送第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据;或者,该第一指示信息用于指示允许终端在RRC-激活状态,且采用省电模式时使用基于网络调度模式的直连通信接口资源传输第一应用的数据。In a possible implementation of the second aspect, the above method further includes: the access network device sends first indication information to the terminal, where the first indication information is used to indicate that the terminal is allowed to use the network-based network in the RRC-inactive state. The direct communication interface resource in the scheduling mode transmits the data of the first application; or, the first indication information is used to indicate that the terminal is allowed to be in the RRC-active state and use the direct communication interface resource based on the network scheduling mode when the power saving mode is adopted. Transfer the data of the first application.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备向终端发送第一通知消息,该第一通知消息用于通知终端从RRC-激活状态进入RRC-非激活状态。In a possible implementation of the second aspect, the above method further includes: the access network device sends a first notification message to the terminal, where the first notification message is used to notify the terminal to enter the RRC-active state from the RRC-active state to the RRC-inactive state .

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备向终端发送第一通知消息,该第一通知消息用于通知终端进入省电模式,上述终端处于RRC-激活状态。In a possible implementation of the second aspect, the above method further includes: the access network device sends a first notification message to the terminal, the first notification message is used to notify the terminal to enter the power saving mode, and the terminal is in RRC-activated state.

在第二方面的一种可能的实现方式中,上述方法还包括:在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,接入网设备根据第三指示信息,向终端发送第一通知消息,第一通知消息用于通知终端从RRC-激活状态进入RRC-非激活状态。其中,第三指示信息用于指示当接入网设备与终端在之间的Uu接口在预设时间(例如,30s)没有数据的情况下,接入网设备需要配置终端进入RRC-非激活状态,并且终端在RRC-非激活状态下,可以使用接入网设备为终端配置的直连通信接口资源传输数据。In a possible implementation manner of the second aspect, the above method further includes: within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the access network device performs according to the first The third indication information is to send a first notification message to the terminal. The first notification message is used to notify the terminal to enter the RRC-inactive state from the RRC-active state. Wherein, the third indication information is used to indicate that when the Uu interface between the access network device and the terminal has no data for a preset time (for example, 30s), the access network device needs to configure the terminal to enter the RRC-inactive state And in the RRC-inactive state, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data.

在第二方面的一种可能的实现方式中,上述方法还包括:在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,接入网设备根据第四指示信息,向终端发送第二通知消息,第二通知消息用于配置终端保持与接入网设备之间的RRC连接,且当终端保持与接入网设备之间的RRC连接时,终端使用省电的技术,换言之,第二通知消息用于通知终端在RRC-激活状态下进入省电模式。其中,第四指示信息用于指示接入网设备,当接入网设备与终端在之间的Uu接口在预设时间(例 如,30s)没有数据的情况下,接入网设备需要保持与终端之间的RRC连接,且接入网设备需要配置终端使用省电的技术。In a possible implementation manner of the second aspect, the above method further includes: within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the access network device performs according to the first Four indication information, sending a second notification message to the terminal. The second notification message is used to configure the terminal to maintain the RRC connection with the access network device, and when the terminal maintains the RRC connection with the access network device, the terminal uses Power saving technology, in other words, the second notification message is used to notify the terminal to enter the power saving mode in the RRC-active state. Wherein, the fourth indication information is used to indicate the access network device. When there is no data on the Uu interface between the access network device and the terminal for a preset time (for example, 30s), the access network device needs to keep communicating with the terminal The RRC connection between the two, and the access network equipment needs to configure the terminal to use power-saving technology.

在第二方面的一种可能的实现方式中,上述方法还包括:当终端停止通过上述直连通信接口资源传输数据时,接入网设备释放上述直连通信接口资源;或者,接入网设备接收来自接入管理网元或终端的指示信息,该指示信息用于指示释放上述直连通信接口资源或用于指示终端停止通过上述直连通信接口资源传输数据,接入网设备释放上述直连通信接口资源。In a possible implementation of the second aspect, the foregoing method further includes: when the terminal stops transmitting data through the foregoing direct communication interface resource, the access network device releases the foregoing direct communication interface resource; or, the access network device Receive instruction information from the access management network element or terminal, where the instruction information is used to instruct the release of the direct connection communication interface resource or to instruct the terminal to stop transmitting data through the direct connection communication interface resource, and the access network device releases the direct connection Communication interface resources.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备确定释放为终端配置的直连通信接口资源,则接入网设备释放为终端配置的直连通信接口资源。In a possible implementation of the second aspect, the above method further includes: the access network device determines to release the direct communication interface resource configured for the terminal, and the access network device releases the direct communication interface resource configured for the terminal.

在第二方面的一种可能的实现方式中,接入网设备确定释放为终端配置的直连通信接口资源,包括:接入网设备接收来自接入管理网元的指示信息,该指示信息用于指示释放为终端配置的直连通信接口资源。接入网设备根据指示信息确定释放为终端配置的直连通信接口资源。In a possible implementation manner of the second aspect, the access network device determining to release the direct communication interface resources configured for the terminal includes: the access network device receives instruction information from the access management network element, and the instruction information is used Instructed to release the direct communication interface resources configured for the terminal. The access network device determines to release the direct communication interface resources configured for the terminal according to the instruction information.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备接收来自接入管理网元的第三指示信息或第四指示信息。In a possible implementation manner of the second aspect, the above method further includes: the access network device receives the third indication information or the fourth indication information from the access management network element.

在第二方面的一种可能的实现方式中,上述方法还可以包括:接入网设备根据第四指示信息,确定允许该终端在RRC-激活状态,且采用省电模式时使用基于网络调度模式的直连通信接口资源继续传输第一应用的数据。In a possible implementation manner of the second aspect, the foregoing method may further include: the access network device determines, according to the fourth indication information, that the terminal is allowed to be in the RRC-activated state, and the network-based scheduling mode is used when the power saving mode is adopted. The directly connected communication interface resources continue to transmit the data of the first application.

在第二方面的一种可能的实现方式中,上述方法还可以包括:接入网设备根据第三指示信息确定允许终端处于RRC-非激活状态时使用基于网络调度模式的直连通信接口资源继续传输第一应用的数据。In a possible implementation of the second aspect, the above method may further include: the access network device determines according to the third indication information that the terminal is allowed to continue using the direct communication interface resource based on the network scheduling mode when the terminal is in the RRC-inactive state. Transfer the data of the first application.

在第二方面的一种可能的实现方式中,上述方法还包括:接入网设备接收来自终端的第一请求消息,该第一请求消息用于请求为终端配置在直连通信接口上传输第一应用的数据的资源。In a possible implementation of the second aspect, the above method further includes: the access network device receives a first request message from the terminal, where the first request message is used to request that the terminal be configured to transmit the first request on the direct communication interface. An application data resource.

第三方面,本申请实施例提供一种通信方法,包括:接入管理网元获得终端的签约信息。接入管理网元根据签约信息,向终端发送终端的被允许业务的标识。In a third aspect, an embodiment of the present application provides a communication method, including: accessing a management network element to obtain subscription information of a terminal. The access management network element sends the terminal's allowed service identification to the terminal according to the subscription information.

在第三方面的一种可能的实现方式中,接入管理网元根据签约信息,向终端发送终端的被允许业务的标识,包括:接入管理网元从签约信息中获取终端的被允许业务的标识。然后接入管理网元向终端发送终端的被允许业务的标识。In a possible implementation of the third aspect, the access management network element sends the terminal's permitted service identification to the terminal according to the contract information, including: the access management network element obtains the terminal's permitted service from the contract information Of the logo. Then the access management network element sends the terminal's allowed service identification to the terminal.

在第三方面的一种可能的实现方式中,在向终端发送终端的被允许业务的标识之前,上述方法还包括:接入管理网元接收来自终端的至少一个业务的标识,该至少一个业务的标识用于指示终端请求的业务。In a possible implementation manner of the third aspect, before sending the terminal's permitted service identifier to the terminal, the above method further includes: the access management network element receives the identifier of at least one service from the terminal, and the at least one service The identifier is used to indicate the service requested by the terminal.

在第三方面的一种可能的实现方式中,该至少一个业务的标识用于指示终端请求在直连通信接口上传输的业务。In a possible implementation manner of the third aspect, the identifier of the at least one service is used to indicate the service that the terminal requests to be transmitted on the direct communication interface.

在第三方面的一种可能的实现方式中,至少一个业务的标识携带在第一消息中,该第一消息还包含第一参数,该第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输数据。上述方法还可以包括:接入管理网元根据第一参数向接入网设备或者终端发送第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据,第一应用属于 至少一个业务。In a possible implementation manner of the third aspect, the identifier of at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize that the terminal requests to use the direct communication interface. Use network scheduling mode to transmit data. The above method may further include: the access management network element sends first indication information to the access network device or terminal according to the first parameter, where the first indication information is used to indicate that the terminal is allowed to use the network-based scheduling mode in the RRC-inactive state The directly connected communication interface resource transmits the data of the first application, and the first application belongs to at least one service.

在第三方面的一种可能的实现方式中,第一消息还包含第一链路标识,该第一链路标识指示用于所述终端在直连通信接口上传输数据的通信链路。In a possible implementation manner of the third aspect, the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface.

在第三方面的一种可能的实现方式中,上述方法还包括:接入管理网元向终端向发送授权的服务质量参数,授权的服务质量参数用于终端在直连通信接口上传输数据。In a possible implementation of the third aspect, the above method further includes: the access management network element sends an authorized quality of service parameter to the terminal, and the authorized quality of service parameter is used for the terminal to transmit data on the directly connected communication interface.

在第三方面的一种可能的实现方式中,上述方法还包括:接入管理网元接收来自终端的第一服务质量参数,该第一服务质量参数为终端请求在直连通信接口上传输数据所使用的服务质量参数。In a possible implementation of the third aspect, the above method further includes: the access management network element receives a first quality of service parameter from the terminal, where the first quality of service parameter is the terminal's request to transmit data on the directly connected communication interface The quality of service parameters used.

在第三方面的一种可能的实现方式中,上述方法还包括:接入管理网元接收来自终端的第二参数,第二参数用于表征终端停止在直连通信接口上传输数据。接入管理网元根据第二参数,指示接入网设备释放终端的直连通信接口资源。或者,该第二参数用于表征终端停止在直连通信接口上传输第一应用的数据。In a possible implementation of the third aspect, the above method further includes: the access management network element receives a second parameter from the terminal, where the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. The access management network element instructs the access network device to release the directly connected communication interface resources of the terminal according to the second parameter. Alternatively, the second parameter is used to characterize that the terminal stops transmitting the data of the first application on the directly connected communication interface.

在第三方面的一种可能的实现方式中,本申请实施例提供的方法还包括:接入管理网元向接入网设备发送终端的优选调度模式。例如,终端的优选调度模式可以为网络调度模式。In a possible implementation manner of the third aspect, the method provided in the embodiment of the present application further includes: the access management network element sends the preferred scheduling mode of the terminal to the access network device. For example, the preferred scheduling mode of the terminal may be the network scheduling mode.

在第三方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。In a possible implementation manner of the third aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface.

在第三方面的一种可能的实现方式中,上述方法还包括:接入管理网元接收来自终端的第三参数,该第三参数表征终端请求在直连通信接口上使用网络调度模式。接入管理网元根据第三参数,向接入网设备或者终端发送第二指示信息,该第二指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输数据。或者,该第二指示信息用于指示允许终端在处于RRC-激活状态且采用省电模式时使用基于网络调度模式的直连通信接口资源传输数据。In a possible implementation of the third aspect, the above method further includes: the access management network element receives a third parameter from the terminal, the third parameter representing that the terminal requests to use the network scheduling mode on the direct communication interface. The access management network element sends second indication information to the access network device or terminal according to the third parameter, and the second indication information is used to indicate that the terminal is allowed to use the direct communication interface based on the network scheduling mode in the RRC-inactive state Resource transfer data. Alternatively, the second indication information is used to indicate that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to transmit data when the terminal is in the RRC-activated state and adopts the power saving mode.

第四方面,本申请实施例提供一种通信装置,该通信装置可以实现第一方面或第一方面的任意一种可能的实现方式中描述的一种通信方法,因此也可以实现第一方面或第一方面任意一种可能的实现方式中的有益效果。该通信装置可以为终端,也可以为可以支持终端实现第一方面或第一方面的任意一种可能的实现方式中的装置。例如应用于终端中的芯片。该一种通信装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In the fourth aspect, the embodiments of the present application provide a communication device, which can implement the first aspect or any one of the possible implementations of the first aspect, and therefore can also implement the first aspect or The beneficial effects in any possible implementation of the first aspect. The communication device may be a terminal, or a device that can support the terminal to implement the first aspect or any one of the possible implementation manners of the first aspect. For example, it is applied to the chip in the terminal. This kind of communication device can implement the above method by software, hardware, or by hardware executing corresponding software.

一种示例,该通信装置,该通信装置可以为终端或者为应用于终端中的芯片,该通信装置包括:通信单元,以及处理单元,其中,处理单元用于处理信息,通信单元,用于收发信息。例如,通信单元,用于接收来自接入网设备的资源信息,该资源信息用于表征直连通信接口资源。通信单元,还用于通过直连通信接口资源传输数据,其中,终端处于无线资源控制RRC-非激活状态,或者该终端处于RRC-激活状态,且终端采用省电模式。An example is the communication device, the communication device may be a terminal or a chip applied to the terminal, the communication device includes: a communication unit, and a processing unit, wherein the processing unit is used for processing information, and the communication unit is used for sending and receiving information. For example, the communication unit is configured to receive resource information from the access network device, and the resource information is used to characterize the resources of the directly connected communication interface. The communication unit is also used to transmit data through direct communication interface resources, where the terminal is in a radio resource control RRC-inactive state, or the terminal is in an RRC-active state, and the terminal adopts a power saving mode.

其中,直连通信接口是指两个终端之间未经过基站中转而通信的通信接口。直连通信接口通信包含控制信令与数据传输。直连通信接口也可以称为PC5接口。Among them, the direct communication interface refers to a communication interface between two terminals that does not transit through the base station but communicates. Direct communication interface communication includes control signaling and data transmission. The direct communication interface can also be referred to as a PC5 interface.

在第四方面的一种可能的实现方式中,直连通信接口资源为基于网络调度模式的直连通信接口资源。In a possible implementation manner of the fourth aspect, the direct communication interface resource is a direct communication interface resource based on a network scheduling mode.

在第四方面的一种可能的实现方式中,通信单元,用于通过直连通信接口资源传输数据之前,处理单元,还用于确定网络侧(例如,接入管理网元)允许终端使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源传输数据。In a possible implementation of the fourth aspect, the communication unit is used for the processing unit before transmitting data through direct communication interface resources, and is also used for determining that the network side (for example, the access management network element) allows the terminal to use the interface The network access device is the direct connection communication interface resource based on the network scheduling mode configured for the terminal to transmit data.

在第四方面的一种可能的实现方式中,通信单元,还用于向接入网设备请求直连通信接口资源。In a possible implementation manner of the fourth aspect, the communication unit is further configured to request direct communication interface resources from the access network device.

在第四方面的一种可能的实现方式中,上述数据为终端的第一应用的数据,直连通信接口资源用于传输第一应用的数据。第一应用为使用直连通信接口进行通信的应用,例如使用直连通信接口发送/广播弱势路边单元(VRU,vulnerable roadside unit)的信息。In a possible implementation manner of the fourth aspect, the above-mentioned data is data of the first application of the terminal, and the direct communication interface resource is used to transmit the data of the first application. The first application is an application that uses a direct communication interface for communication, for example, a direct communication interface is used to send/broadcast information of a vulnerable roadside unit (VRU).

在第四方面的一种可能的实现方式中,第一应用属于终端的被允许业务,处理单元,还用于确定终端的被允许业务的标识。In a possible implementation manner of the fourth aspect, the first application belongs to the permitted service of the terminal, and the processing unit is further used to determine the identifier of the permitted service of the terminal.

在第四方面的一种可能的实现方式中,处理单元,用于通过通信单元接收来自接入管理网元的终端的被允许业务的标识,以确定终端的被允许业务的标识。In a possible implementation manner of the fourth aspect, the processing unit is configured to receive, through the communication unit, the identifier of the permitted service from the terminal that accesses the management network element, so as to determine the identifier of the permitted service of the terminal.

在第四方面的一种可能的实现方式中,通信单元,还用于向接入管理网元发送至少一个业务的标识,至少一个业务的标识用于指示终端请求的业务。至少一个业务可以为通过直连通信接口传输的业务,例如,V2X业务。相应地,至少一个业务的标识用于指示终端请求通过直连通信接口传输的业务。这样便于网络侧确定终端请求传输的数据来源于哪些业务,从而对终端请求传输的应用进行授权。In a possible implementation manner of the fourth aspect, the communication unit is further configured to send an identifier of at least one service to the access management network element, and the identifier of the at least one service is used to indicate the service requested by the terminal. The at least one service may be a service transmitted through a direct communication interface, for example, a V2X service. Correspondingly, the identifier of at least one service is used to indicate the service that the terminal requests to be transmitted through the direct communication interface. In this way, it is convenient for the network side to determine which services the data requested by the terminal comes from, so as to authorize the application requested by the terminal for transmission.

在第四方面的一种可能的实现方式中,至少一个业务的标识携带在第一消息中,第一消息还包含第一参数,该第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输数据。以便于利用第一参数向接入管理网元表示终端请求在直连通信接口上使用网络调度模式传输数据。这样便于网络侧确定终端要求使用网络调度模式在PC5接口通信链路上传输数据,也即终端请求采用接入网设备配置的直连通信接口资源传输数据。In a possible implementation manner of the fourth aspect, the identifier of at least one service is carried in the first message, and the first message further includes a first parameter, which is used to characterize that the terminal requests to use on the direct communication interface Network scheduling mode transmits data. In order to use the first parameter to indicate to the access management network element that the terminal requests to use the network scheduling mode to transmit data on the directly connected communication interface. This is convenient for the network side to determine that the terminal requires the use of the network scheduling mode to transmit data on the PC5 interface communication link, that is, the terminal requests to use the direct communication interface resource configured by the access network device to transmit data.

在第四方面的一种可能的实现方式中,通信单元,还用于接收第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据;相应的,通信单元,还用于根据第一指示信息,通过直连通信接口资源传输第一应用的数据。这样便于处理单元根据第一指示信息确定当终端处于RRC-非激活状态时可以继续在基于网络调度模式获取的直连通信接口资源上传输第一应用的数据。其中,第一指示信息可以为接入网设备发送给终端的独立指示,也可以为接入网设备为终端配置的上述直连通信接口资源本身。处理单元可以根据独立指示,当终端处于RRC-非激活状态时,通过通信单元利用上述直连通信接口资源在直连通信接口上发送第一应用的数据。或者,处理单元也可以根据接入网设备发送给终端的上述直连通信接口资源,当终端处于RRC-非激活状态时,通过通信单元利用上述直连通信接口资源在直连通信接口上发送第一应用的数据。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive first indication information, where the first indication information is used to indicate that the terminal is allowed to use the direct connection based on the network scheduling mode in the RRC-inactive state. The communication interface resource transmits the data of the first application; correspondingly, the communication unit is further configured to transmit the data of the first application through the directly connected communication interface resource according to the first indication information. In this way, it is convenient for the processing unit to determine, according to the first indication information, that when the terminal is in the RRC-inactive state, it can continue to transmit the data of the first application on the direct communication interface resource acquired based on the network scheduling mode. The first indication information may be an independent indication sent by the access network device to the terminal, or may be the direct communication interface resource itself configured by the access network device for the terminal. The processing unit may, according to an independent instruction, when the terminal is in the RRC-inactive state, use the direct communication interface resource to send the data of the first application on the direct communication interface through the communication unit. Alternatively, the processing unit may also use the direct communication interface resource to send the second communication interface on the direct communication interface through the communication unit when the terminal is in the RRC-inactive state according to the direct communication interface resource sent by the access network device to the terminal. One application data.

在第四方面的一种可能的实现方式中,通信单元,还用于接收来自接入管理网元的第一指示信息,或者接收来自接入网设备的第一指示信息。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive first indication information from an access management network element, or receive first indication information from an access network device.

在第四方面的一种可能的实现方式中,第一消息还包含第一链路标识,该第一链路标识指示用于终端在直连通信接口上传输数据的通信链路。例如,第一链路标识可 以包括第一标识和第二标识,第一标识为源地址,即终端的地址,第二标识为目的地址,即接收第一应用的数据的设备的地址。第一链路标识也可以为终端为PC5通信链路分配的标识,用于唯一确定终端PC5通信链路。In a possible implementation manner of the fourth aspect, the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface. For example, the first link identifier may include a first identifier and a second identifier. The first identifier is the source address, that is, the address of the terminal, and the second identifier is the destination address, that is, the address of the device that receives the data of the first application. The first link identifier may also be an identifier assigned by the terminal to the PC5 communication link, and is used to uniquely determine the terminal PC5 communication link.

在第四方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。应理解,终端的被允许业务还可以是除了被允许通过直连通信接口传输的业务外的其他业务。In a possible implementation manner of the fourth aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface. It should be understood that the allowed services of the terminal may also be other services besides the services that are allowed to be transmitted through the direct communication interface.

在第四方面的一种可能的实现方式中,通信单元,还用于向接入管理网元发送第一服务质量参数,该第一服务质量参数为终端请求在直连通信接口上传输数据所使用的服务质量参数。以便于接入管理网元根据第一服务质量参数为该终端确定授权的服务质量参数。In a possible implementation manner of the fourth aspect, the communication unit is further configured to send a first quality of service parameter to the access management network element, where the first quality of service parameter is a request from the terminal to transmit data on the directly connected communication interface. The quality of service parameters used. So that the access management network element determines the authorized quality of service parameter for the terminal according to the first quality of service parameter.

在第四方面的一种可能的实现方式中,通信单元,还用于接收来自接入管理网元的授权的服务质量参数,授权的服务质量参数用于终端在直连通信接口上传输数据。授权的服务质量参数由第一服务质量参数确定。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive an authorized quality of service parameter from the access management network element, and the authorized quality of service parameter is used for the terminal to transmit data on the directly connected communication interface. The authorized service quality parameter is determined by the first service quality parameter.

在第四方面的一种可能的实现方式中,数据为第一应用的数据,直连通信接口为PC5接口,处理单元,还用于生成第一应用对应的PC5接口服务质量流(PC5 QoS Flow)。处理单元,还用于将第一应用的数据,关联到PC5接口服务质量流。本申请实施例中的第一应用可以为终端的被允许业务中的一个业务。该PC5接口服务质量流包括PC5接口包过滤器(packet filter),其中,PC5接口包过滤器(packet filter)中的一个参数值为第一应用的标识。例如该一个参数可以为PC5接口服务质量流标识(PC5 QoS Flow identifier,PFI)。处理单元,用于根据PC5接口包过滤器,将第一应用的数据关联到PC5接口服务质量流中,使得第一应用的数据在PC5接口服务质量流中进行传输。In a possible implementation of the fourth aspect, the data is the data of the first application, the direct communication interface is the PC5 interface, and the processing unit is also used to generate the PC5 interface quality of service flow (PC5 QoS Flow) corresponding to the first application. ). The processing unit is also used to associate the data of the first application with the quality of service flow of the PC5 interface. The first application in the embodiment of the present application may be one of the permitted services of the terminal. The PC5 interface quality of service flow includes a PC5 interface packet filter, where a parameter value in the PC5 interface packet filter is an identifier of the first application. For example, the one parameter may be a PC5 interface quality of service flow identifier (PC5 QoS Flow identifier, PFI). The processing unit is configured to associate the data of the first application with the PC5 interface quality of service flow according to the PC5 interface packet filter, so that the data of the first application is transmitted in the PC5 interface quality of service flow.

在第四方面的一种可能的实现方式中,处理单元,用于通过通信单元接收来自策略控制网元的配置信息,处理单元,用于根据配置信息生成第一应用对应的PC5接口服务质量流。In a possible implementation of the fourth aspect, the processing unit is configured to receive configuration information from the policy control network element through the communication unit, and the processing unit is configured to generate a PC5 interface quality of service flow corresponding to the first application according to the configuration information .

在第四方面的一种可能的实现方式中,处理单元,用于通过通信单元接收来自策略控制网元的第一应用对应的PC5接口服务质量流。In a possible implementation manner of the fourth aspect, the processing unit is configured to receive, through the communication unit, the PC5 interface quality of service flow corresponding to the first application from the policy control network element.

在第四方面的一种可能的实现方式中,处理单元,用于根据预配置的参数,生成第一应用对应的PC5接口服务质量流。In a possible implementation manner of the fourth aspect, the processing unit is configured to generate the PC5 interface quality of service flow corresponding to the first application according to the pre-configured parameters.

在第四方面的一种可能的实现方式中,通信单元,用于向接入管理网元发送第二参数,该第二参数用于表征终端停止在直连通信接口上传输数据。该第二参数便于接入管理网元指示接入网设备释放为终端配置的直连通信接口资源。In a possible implementation manner of the fourth aspect, the communication unit is configured to send a second parameter to the access management network element, where the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. The second parameter is convenient for the access management network element to instruct the access network device to release the directly connected communication interface resources configured for the terminal.

在第四方面的一种可能的实现方式中,在通信单元通过直连通信接口资源传输数据之前,处理单元,还用于控制终端进入RRC-非激活状态。或者处理单元,还用于控制终端在RRC-激活状态下进入省电模式。In a possible implementation manner of the fourth aspect, before the communication unit transmits data through the direct communication interface resource, the processing unit is further configured to control the terminal to enter the RRC-inactive state. Or the processing unit is also used to control the terminal to enter the power saving mode in the RRC-active state.

在第四方面的一种可能的实现方式中,通信单元,还用于接收来自接入网设备的第一通知消息,该第一通知消息用于通知终端进入RRC-非激活状态。相应的处理单元,用于控制终端进入RRC-非激活状态,包括:处理单元,用于根据第一通知消息,控制终端进入RRC-非激活状态。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-inactive state. The corresponding processing unit is configured to control the terminal to enter the RRC-inactive state, and includes: a processing unit, configured to control the terminal to enter the RRC-inactive state according to the first notification message.

在第四方面的一种可能的实现方式中,通信单元,还用于接收来自接入网设备的第一通知消息,该第一通知消息用于通知终端进入RRC-激活状态,且采用省电模式。相应的处理单元,用于控制终端进入RRC-激活状态,且采用省电模式,包括:处理单元,用于根据第一通知消息,控制终端进入RRC-激活状态,且采用省电模式。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-activated state, and uses power saving model. The corresponding processing unit is configured to control the terminal to enter the RRC-activated state and adopt the power saving mode, including: a processing unit, configured to control the terminal to enter the RRC-activated state and adopt the power saving mode according to the first notification message.

在第四方面的一种可能的实现方式中,通信单元,还用于向接入管理网元发送第五消息,该第五消息表示终端支持发送第一应用的数据。In a possible implementation manner of the fourth aspect, the communication unit is further configured to send a fifth message to the access management network element, where the fifth message indicates that the terminal supports sending the data of the first application.

在第四方面的一种可能的实现方式中,通信单元,还用于终端向接入管理网元发送第三参数,该第三参数用于表征终端请求在直连通信接口上使用网络调度模式。In a possible implementation manner of the fourth aspect, the communication unit is also used for the terminal to send a third parameter to the access management network element, and the third parameter is used to characterize that the terminal requests to use the network scheduling mode on the direct communication interface .

在第四方面的一种可能的实现方式中,通信单元,还用于接收第二指示信息,该第二指示信息用于指示允许终端在处于RRC-激活状态且采用省电模式时使用基于网络调度模式的直连通信接口资源传输数据。通信单元,用于通过直连通信接口资源传输数据,包括:通信单元,用于根据第二指示信息,通过直连通信接口资源传输上述数据。In a possible implementation manner of the fourth aspect, the communication unit is further configured to receive second indication information, the second indication information is used to indicate that the terminal is allowed to use network-based Directly connected communication interface resources in scheduling mode transmit data. The communication unit is configured to transmit data through the directly connected communication interface resource, and includes: a communication unit, configured to transmit the above-mentioned data through the directly connected communication interface resource according to the second instruction information.

在第四方面的一种可能的实现方式中,通信单元,用于接收来自接入管理网元的第二指示信息,或者终端接收来自接入网设备的第二指示信息。In a possible implementation manner of the fourth aspect, the communication unit is configured to receive second indication information from an access management network element, or the terminal receives second indication information from an access network device.

另一种示例,本申请实施例提供一种通信装置,该通信装置可以是终端,也可以是终端内的芯片。该通信装置可以包括通信单元。当该通信装置为终端,该通信装置还可以包括处理单元和存储单元。通信单元可以是收发器,用于收发数据/信息,该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元可以是处理器。该处理单元执行该存储单元所存储的指令,以使该终端实现第一方面或第一方面的任意一种可能的实现方式中描述的一种通信方法。当该通信装置是终端内的芯片时,该处理单元可以是处理器,该通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该终端实现第一方面或第一方面的任意一种可能的实现方式中描述的一种通信方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该终端内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides a communication device. The communication device may be a terminal or a chip in the terminal. The communication device may include a communication unit. When the communication device is a terminal, the communication device may further include a processing unit and a storage unit. The communication unit may be a transceiver for sending and receiving data/information, and the storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the terminal implements the first aspect or a communication method described in any one of the possible implementation manners of the first aspect. When the communication device is a chip in the terminal, the processing unit may be a processor, and the communication interface may be an input/output interface, a pin, a circuit, or the like. The processing unit executes the computer program code stored in the storage unit, so that the terminal implements the communication method described in the first aspect or any one of the possible implementations of the first aspect, and the storage unit may be in the chip The storage unit (for example, a register, a cache, etc.) may also be a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip in the terminal.

可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.

第五方面,本申请实施例提供一种通信装置,该一种通信装置可以实现第二方面或第二方面的任意一种可能的实现方式中描述的一种通信方法,因此也可以实现第二方面或第二方面任意一种可能的实现方式中的有益效果。该一种通信装置可以为接入网设备,也可以为可以支持接入网设备实现第二方面或第二方面的任意一种可能的实现方式中的装置。例如应用于接入网设备中的芯片。该一种通信装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In the fifth aspect, the embodiments of the present application provide a communication device, which can implement the second aspect or any one of the communication methods described in the possible implementation of the second aspect, so the second aspect can also be implemented. Aspect or the beneficial effects in any possible implementation manner of the second aspect. The communication device of this type may be an access network device, or a device that can support the access network device to implement the second aspect or any one of the possible implementation manners of the second aspect. For example, it is applied to chips in access network equipment. This kind of communication device can implement the above method by software, hardware, or by hardware executing corresponding software.

一种示例,本申请实施例提供一种通信装置,包括:处理单元以及通信单元,该处理单元用于执行信息或数据处理,通信单元,用于进行信息或收据的收发操作。例如,通信单元,用于向终端发送资源信息,该资源信息用于表征直连通信接口资源,直连通信接口资源用于终端在处于无线资源控制RRC-非激活状态,或者终端虽然处于RRC-激活状态,但是终端采用省电模式时传输数据。As an example, an embodiment of the present application provides a communication device, including: a processing unit and a communication unit, the processing unit is used to perform information or data processing, and the communication unit is used to send and receive information or receipts. For example, the communication unit is used to send resource information to the terminal. The resource information is used to characterize the direct communication interface resources. The direct communication interface resources are used when the terminal is in the radio resource control RRC-inactive state, or the terminal is in the RRC-inactive state. Active state, but the terminal transmits data when the power saving mode is adopted.

在第五方面的一种可能的实现方式中,直连通信接口资源为基于网络调度模式的 直连通信接口资源。In a possible implementation manner of the fifth aspect, the direct communication interface resource is a direct communication interface resource based on a network scheduling mode.

在第五方面的一种可能的实现方式中,通信单元,用于接收来自接入管理网元的终端的优选调度模式。通信单元,用于向终端发送资源信息,包括:处理单元用于根据终端的优选调度模式,利用通信单元向终端发送资源信息。该优先调度模式为网络调度模式。In a possible implementation manner of the fifth aspect, the communication unit is configured to receive a preferred scheduling mode from a terminal that accesses the management network element. The communication unit is configured to send resource information to the terminal, including: the processing unit is configured to use the communication unit to send resource information to the terminal according to a preferred scheduling mode of the terminal. The priority scheduling mode is the network scheduling mode.

在第五方面的一种可能的实现方式中,通信单元,用于向终端发送资源信息,包括:通信单元,用于接收来自终端的请求消息,上述请求消息用于请求上述直连通信接口资源。In a possible implementation manner of the fifth aspect, the communication unit is configured to send resource information to the terminal, including: a communication unit, configured to receive a request message from the terminal, and the request message is used to request the direct communication interface resource .

在第五方面的一种可能的实现方式中,数据为第一应用的数据,优选调度模式为第一应用对应的优选调度模式。In a possible implementation manner of the fifth aspect, the data is data of the first application, and the preferred scheduling mode is the preferred scheduling mode corresponding to the first application.

在第五方面的一种可能的实现方式中,第一应用属于终端的被允许业务。In a possible implementation manner of the fifth aspect, the first application belongs to an allowed service of the terminal.

在第五方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。In a possible implementation manner of the fifth aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct communication interface.

在第五方面的一种可能的实现方式中,通信单元,用于向终端发送第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据。或者,该第一指示信息用于指示允许终端在RRC-激活状态,且采用省电模式时使用基于网络调度模式的直连通信接口资源传输第一应用的数据。In a possible implementation manner of the fifth aspect, the communication unit is configured to send first indication information to the terminal, where the first indication information is used to indicate that the terminal is allowed to use the direct network scheduling mode based on the RRC-inactive state. Connect the communication interface resource to transmit the data of the first application. Alternatively, the first indication information is used to indicate that the terminal is allowed to be in the RRC-activated state, and when the power saving mode is adopted, the direct communication interface resource based on the network scheduling mode is used to transmit the data of the first application.

在第五方面的一种可能的实现方式中,通信单元,用于向终端发送第一通知消息,该第一通知消息用于通知终端从RRC-激活状态进入RRC-非激活状态。In a possible implementation manner of the fifth aspect, the communication unit is configured to send a first notification message to the terminal, where the first notification message is used to notify the terminal to enter the RRC-inactive state from the RRC-active state.

在第五方面的一种可能的实现方式中,通信单元,用于向终端发送第一通知消息,该第一通知消息用于通知终端在RRC-激活状态下采用省电模式。In a possible implementation manner of the fifth aspect, the communication unit is configured to send a first notification message to the terminal, where the first notification message is used to notify the terminal to adopt the power saving mode in the RRC-activated state.

在第五方面的一种可能的实现方式中,在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,处理单元,用于根据第三指示信息,通过通信单元向终端发送第一通知消息,第一通知消息用于通知终端进入RRC-非激活状态。其中,第三指示信息用于指示当接入网设备与终端在之间的Uu接口在预设时间(例如,30s)没有数据的情况下,接入网设备需要配置终端从RRC-激活状态进入RRC-非激活状态,并且终端可以在RRC-非激活状态下,继续使用接入网设备为终端配置的直连通信接口资源传输数据。In a possible implementation manner of the fifth aspect, within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the processing unit is configured to, according to the third instruction information, The first notification message is sent to the terminal through the communication unit, and the first notification message is used to notify the terminal to enter the RRC-inactive state. Wherein, the third indication information is used to indicate that when the Uu interface between the access network device and the terminal has no data for a preset time (for example, 30s), the access network device needs to configure the terminal to enter the RRC-activated state RRC-inactive state, and in the RRC-inactive state, the terminal can continue to use the direct communication interface resources configured by the access network device for the terminal to transmit data.

在第五方面的一种可能的实现方式中,在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,处理单元,用于根据第四指示信息,通过通信单元向终端发送第二通知消息,第二通知消息用于配置终端保持与接入网设备之间的RRC连接,且当终端保持与接入网设备之间的RRC连接时,终端使用省电的技术,换言之,第二通知消息用于通知终端在RRC-激活状态下进入省电模式。其中,第四指示信息用于指示接入网设备,当接入网设备与终端在之间的Uu接口在预设时间(例如,30s)没有数据的情况下,接入网设备需要保持与终端之间的RRC连接,且接入网设备需要配置终端使用省电的技术。In a possible implementation manner of the fifth aspect, within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the processing unit is configured to, according to the fourth instruction information, A second notification message is sent to the terminal through the communication unit. The second notification message is used to configure the terminal to maintain the RRC connection with the access network device, and when the terminal maintains the RRC connection with the access network device, the terminal uses the Power technology, in other words, the second notification message is used to notify the terminal to enter the power saving mode in the RRC-active state. Wherein, the fourth indication information is used to indicate the access network device. When there is no data on the Uu interface between the access network device and the terminal for a preset time (for example, 30s), the access network device needs to keep communicating with the terminal The RRC connection between the two, and the access network equipment needs to configure the terminal to use power-saving technology.

在第五方面的一种可能的实现方式中,当终端停止通过直连通信接口资源传输数据时,处理单元,还用于释放直连通信接口资源,或者在通信单元接收到来自接入管 理网元或终端的指示信息时,该指示信息用于指示释放上述直连通信接口资源或用于指示终端停止通过上述直连通信接口资源传输数据,处理单元,用于释放上述直连通信接口资源。In a possible implementation manner of the fifth aspect, when the terminal stops transmitting data through the direct connection communication interface resource, the processing unit is also used to release the direct connection communication interface resource, or when the communication unit receives data from the access management network When the unit or terminal indicates the instruction information, the instruction information is used to instruct to release the direct communication interface resource or to instruct the terminal to stop transmitting data through the direct communication interface resource, and the processing unit is used to release the direct communication interface resource.

在第五方面的一种可能的实现方式中,通信单元,用于接收来自接入管理网元的指示信息,该指示信息用于指示终端停止通过直连通信接口资源传输数据。处理单元,用于根据指示信息确定终端停止停止通过直连通信接口资源传输数据。In a possible implementation manner of the fifth aspect, the communication unit is configured to receive instruction information from an access management network element, where the instruction information is used to instruct the terminal to stop transmitting data through the directly connected communication interface resource. The processing unit is configured to determine, according to the instruction information, that the terminal stops transmitting data through the direct communication interface resource.

在第五方面的一种可能的实现方式中,处理单元,用于确定释放为终端配置的直连通信接口资源,则处理单元释放为终端配置的直连通信接口资源。In a possible implementation manner of the fifth aspect, the processing unit is configured to determine to release the direct communication interface resource configured for the terminal, and the processing unit releases the direct communication interface resource configured for the terminal.

在第五方面的一种可能的实现方式中,处理单元,用于确定释放为终端配置的直连通信接口资源,包括:通信单元,用于接收来自接入管理网元的指示信息,该指示信息用于指示释放为终端配置的直连通信接口资源。处理单元,用于根据指示信息确定释放为终端配置的直连通信接口资源。In a possible implementation manner of the fifth aspect, the processing unit is configured to determine to release direct communication interface resources configured for the terminal, and includes: a communication unit, configured to receive instruction information from an access management network element, the instruction The information is used to indicate the release of direct communication interface resources configured for the terminal. The processing unit is configured to determine to release the direct communication interface resources configured for the terminal according to the instruction information.

在第五方面的一种可能的实现方式中,通信单元,还用于接收来自接入管理网元的第三指示信息或第四指示信息。In a possible implementation manner of the fifth aspect, the communication unit is further configured to receive the third indication information or the fourth indication information from the access management network element.

在第五方面的一种可能的实现方式中,处理单元,还用于根据第四指示信息确定允许该终端在RRC-激活状态,且采用省电模式时使用基于网络调度模式的直连通信接口资源继续传输第一应用的数据。In a possible implementation manner of the fifth aspect, the processing unit is further configured to determine, according to the fourth indication information, that the terminal is allowed to be in the RRC-active state and use the direct communication interface based on the network scheduling mode when the power saving mode is adopted. The resource continues to transmit the data of the first application.

在第五方面的一种可能的实现方式中,处理单元,还用于根据根据第三指示信息确定允许终端处于RRC-非激活状态时使用基于网络调度模式的直连通信接口资源继续传输第一应用的数据。In a possible implementation manner of the fifth aspect, the processing unit is further configured to determine according to the third indication information that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to continue transmission when the terminal is in the RRC-inactive state. Application data.

在第五方面的一种可能的实现方式中,通信单元,还用于接收来自终端的第一请求消息,该第一请求消息用于请求为终端配置在直连通信接口上传输第一应用的数据的资源。In a possible implementation of the fifth aspect, the communication unit is further configured to receive a first request message from the terminal, and the first request message is used to request that the terminal be configured to transmit the first application on the direct communication interface. Data resources.

另一种示例,本申请实施例提供一种通信装置,该通信装置可以是接入网设备,也可以是接入网设备内的芯片。该通信装置可以包括通信单元。当该通信装置为接入网设备,该通信装置还可以包括处理单元和存储单元。通信单元可以是收发器,用于收发数据/信息,该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元可以是处理器。该处理单元执行该存储单元所存储的指令,以使该接入网设备实现第二方面或第二方面的任意一种可能的实现方式中描述的一种通信方法。当该通信装置是接入网设备内的芯片时,该处理单元可以是处理器,该通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该接入网设备实现第二方面或第二方面的任意一种可能的实现方式中描述的一种通信方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该接入网设备内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides a communication device. The communication device may be an access network device or a chip in the access network device. The communication device may include a communication unit. When the communication device is an access network device, the communication device may further include a processing unit and a storage unit. The communication unit may be a transceiver for sending and receiving data/information, and the storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the access network device implements the second aspect or a communication method described in any one of the possible implementation manners of the second aspect. When the communication device is a chip in an access network device, the processing unit may be a processor, and the communication interface may be an input/output interface, a pin, or a circuit. The processing unit executes the computer program code stored in the storage unit, so that the access network device implements the communication method described in the second aspect or any one of the possible implementations of the second aspect, and the storage unit may be the The storage unit (for example, register, cache, etc.) in the chip may also be a storage unit (for example, read-only memory, random access memory, etc.) located outside the chip in the access network device.

可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.

第六方面,本申请实施例提供一种通信装置,该一种通信装置可以实现第三方面或第三方面的任意一种可能的实现方式中描述的一种通信方法,因此也可以实现第三方面或第三方面任意一种可能的实现方式中的有益效果。该一种通信装置可以为接入 管理网元,也可以为可以支持接入管理网元实现第三方面或第三方面的任意一种可能的实现方式中的装置。例如应用于接入管理网元中的芯片。该一种通信装置可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。In the sixth aspect, the embodiments of the present application provide a communication device, which can implement the third aspect or any one of the possible implementations of the third aspect described in the communication method, so the third aspect can also be implemented. Aspect or the beneficial effects in any possible implementation manner of the third aspect. The communication device of this type may be an access management network element, or a device that can support the access management network element to implement the third aspect or any one of the possible implementation manners of the third aspect. For example, it is applied to the chip in the access management network element. This kind of communication device can implement the above method by software, hardware, or by hardware executing corresponding software.

一种示例,本申请实施例提供一种通信装置,该通信装置包括:通信单元,用于获得终端的签约信息。通信单元,还用于根据签约信息,向终端发送终端的被允许业务的标识。As an example, an embodiment of the present application provides a communication device. The communication device includes a communication unit configured to obtain contract information of a terminal. The communication unit is also used to send the terminal's allowed service identification to the terminal according to the contract information.

在第六方面的一种可能的实现方式中,处理单元,用于从签约信息中获取终端的被允许业务的标识。然后处理单元通过通信单元向终端发送终端的被允许业务的标识。In a possible implementation manner of the sixth aspect, the processing unit is configured to obtain the identifier of the permitted service of the terminal from the subscription information. Then the processing unit sends the identification of the allowed service of the terminal to the terminal through the communication unit.

在第六方面的一种可能的实现方式中,在通信单元,用于向终端发送终端的被允许业务的标识之前,通信单元,还用于接收来自终端的至少一个业务的标识,该至少一个业务的标识用于指示终端请求的业务。In a possible implementation of the sixth aspect, before the communication unit is configured to send the terminal's allowed service identifier to the terminal, the communication unit is also configured to receive at least one service identifier from the terminal, and the at least one service identifier is The service identifier is used to indicate the service requested by the terminal.

在第六方面的一种可能的实现方式中,该至少一个业务的标识用于指示终端请求在直连通信接口上传输的业务。In a possible implementation manner of the sixth aspect, the identifier of the at least one service is used to indicate the service that the terminal requests to be transmitted on the direct communication interface.

在第六方面的一种可能的实现方式中,至少一个业务的标识携带在第一消息中,该第一消息还包含第一参数,该第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输数据。处理单元,还用于根据第一参数向接入网设备或者终端发送第一指示信息,该第一指示信息用于指示允许终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据,第一应用属于至少一个业务。In a possible implementation manner of the sixth aspect, the identifier of at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize that the terminal requests to use the direct communication interface. Use network scheduling mode to transmit data. The processing unit is further configured to send first indication information to the access network device or terminal according to the first parameter, where the first indication information is used to indicate that the terminal is allowed to use the direct communication interface based on the network scheduling mode in the RRC-inactive state The resource transmits data of the first application, and the first application belongs to at least one service.

在第六方面的一种可能的实现方式中,第一消息还包含第一链路标识,该第一链路标识指示用于所述终端在直连通信接口上传输数据的通信链路。In a possible implementation manner of the sixth aspect, the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface.

在第六方面的一种可能的实现方式中,通信单元,还用于向终端向发送授权的服务质量参数,授权的服务质量参数用于终端在直连通信接口上传输数据。In a possible implementation manner of the sixth aspect, the communication unit is further configured to send authorized service quality parameters to the terminal, and the authorized service quality parameters are used for the terminal to transmit data on the directly connected communication interface.

在第六方面的一种可能的实现方式中,通信单元,还用于接收来自终端的第一服务质量参数,该第一服务质量参数为终端请求在直连通信接口上传输数据所使用的服务质量参数。In a possible implementation of the sixth aspect, the communication unit is further configured to receive a first quality of service parameter from the terminal, where the first quality of service parameter is a service used by the terminal to request data transmission on the directly connected communication interface Quality parameters.

在第六方面的一种可能的实现方式中,通信单元,还用于接收来自终端的第二参数,第二参数用于表征终端停止在直连通信接口上传输数据。接入管理网元根据该第二参数,指示接入网设备释放终端的直连通信接口资源。In a possible implementation manner of the sixth aspect, the communication unit is further configured to receive a second parameter from the terminal, and the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. The access management network element instructs the access network device to release the directly connected communication interface resources of the terminal according to the second parameter.

在第六方面的一种可能的实现方式中,通信单元,还用于向接入网设备发送所述终端的优选调度模式。In a possible implementation manner of the sixth aspect, the communication unit is further configured to send the preferred scheduling mode of the terminal to the access network device.

在第六方面的一种可能的实现方式中,被允许业务为终端的被允许通过直连通信接口传输的业务。In a possible implementation manner of the sixth aspect, the allowed service is a service of the terminal that is allowed to be transmitted through the direct connection communication interface.

在第六方面的一种可能的实现方式中,通信单元,还用于接收来自终端的第三参数,该第三参数表征终端请求在直连通信接口上使用网络调度模式。接入管理网元根据所述第三参数,向接入网设备或者所述终端发送第二指示信息,所述第二指示信息用于指示允许所述终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输数据。In a possible implementation of the sixth aspect, the communication unit is further configured to receive a third parameter from the terminal, and the third parameter represents that the terminal requests to use the network scheduling mode on the direct communication interface. The access management network element sends second indication information to the access network device or the terminal according to the third parameter, where the second indication information is used to indicate that the terminal is allowed to use the network-based network in the RRC-inactive state. Directly connected communication interface resources in scheduling mode transmit data.

另一种示例,本申请实施例提供一种通信装置,该通信装置可以是接入管理网元,也可以是接入管理网元内的芯片。该通信装置可以包括通信单元。当该通信装置为接 入网设备,该通信装置还可以包括处理单元和存储单元。通信单元可以是收发器,用于收发数据/信息,该存储单元可以是存储器。该存储单元,用于存储计算机程序代码,计算机程序代码包括指令。该处理单元可以是处理器。该处理单元执行该存储单元所存储的指令,以使该接入管理网元实现第三方面或第三方面的任意一种可能的实现方式中描述的一种通信方法。当该通信装置是接入管理网元内的芯片时,该处理单元可以是处理器,该通信接口可以为输入/输出接口、管脚或电路等。该处理单元执行存储单元所存储的计算机程序代码,以使该接入管理网元实现第三方面或第三方面的任意一种可能的实现方式中描述的一种通信方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该接入管理网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In another example, an embodiment of the present application provides a communication device. The communication device may be an access management network element or a chip in the access management network element. The communication device may include a communication unit. When the communication device is an access network device, the communication device may also include a processing unit and a storage unit. The communication unit may be a transceiver for sending and receiving data/information, and the storage unit may be a memory. The storage unit is used to store computer program code, and the computer program code includes instructions. The processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the access management network element implements a communication method described in the third aspect or any one of the possible implementation manners of the third aspect. When the communication device is a chip connected to the management network element, the processing unit may be a processor, and the communication interface may be an input/output interface, a pin, a circuit, or the like. The processing unit executes the computer program code stored in the storage unit, so that the access management network element implements a communication method described in the third aspect or any one of the possible implementations of the third aspect. The storage unit may be The storage unit (for example, register, cache, etc.) in the chip may also be a storage unit (for example, read-only memory, random access memory, etc.) located outside the chip in the access management network element.

可选的,处理器、通信接口和存储器相互耦合。Optionally, the processor, the communication interface and the memory are coupled with each other.

第七方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第一方面至第一方面的任意一种可能的实现方式中描述的一种通信方法。In a seventh aspect, the embodiments of the present application provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on a computer, the computer can execute the operations as described in the first aspect to the first aspect. A communication method described in any one of the possible implementations on the one hand.

第八方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第二方面至第二方面的任意一种可能的实现方式中描述的一种通信方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, and a computer program or instruction is stored in the computer-readable storage medium. A communication method described in any one of the possible implementations of the two aspects.

第九方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第三方面至第三方面的任意一种可能的实现方式中描述的一种通信方法。In the ninth aspect, the embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction is run on a computer, the computer executes operations such as the third aspect to the first aspect. A communication method described in any one of the three possible implementations.

第十方面,本申请实施例提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第一方面或第一方面的各种可能的实现方式中描述的一种通信方法。In a tenth aspect, embodiments of the present application provide a computer program product including instructions, which when the instructions run on a computer, cause the computer to execute the communication method described in the first aspect or various possible implementations of the first aspect .

第十一方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第二方面或第二方面的各种可能的实现方式中描述的一种通信方法。In an eleventh aspect, the present application provides a computer program product including instructions that, when the instructions run on a computer, cause the computer to execute the second aspect or a communication method described in various possible implementations of the second aspect.

第十二方面,本申请提供一种包括指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第二方面或第二方面的各种可能的实现方式中描述的一种通信方法。In a twelfth aspect, this application provides a computer program product including instructions, which when the instructions run on a computer, cause the computer to execute the second aspect or a communication method described in various possible implementations of the second aspect.

第十三方面,本申请实施例提供一种通信系统,该通信系统包括如下中任一个或多个:第四方面及各种可能的实现方式中描述的通信装置,以及第五方面及第五方面的各种可能的实现方式中描述的通信装置。In a thirteenth aspect, an embodiment of the present application provides a communication system, which includes any one or more of the following: the fourth aspect and the communication device described in various possible implementation manners, and the fifth aspect and the fifth aspect Various possible implementations of the aspects described in the communication device.

在一种可能的实现中,该通信系统还可以包括:第六方面及第六方面的各种可能的实现方式中描述的通信装置。In a possible implementation, the communication system may further include: the communication device described in the sixth aspect and various possible implementation manners of the sixth aspect.

第十四方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储介质,存储介质存储有指令,指令被处理器运行时,实现如第一方面或第一方面的各种可能的实现方式描述的一种通信方法。In a fourteenth aspect, an embodiment of the present application provides a communication device. The communication device includes a processor and a storage medium. The storage medium stores instructions. When the instructions are executed by the processor, the Possible implementations describe a communication method.

第十五方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储介质,存储介质存储有指令,指令被处理器运行时,实现如第二方面或第二方面的各种 可能的实现方式描述的一种通信方法。In a fifteenth aspect, an embodiment of the present application provides a communication device. The communication device includes a processor and a storage medium. The storage medium stores instructions. Possible implementations describe a communication method.

第十六方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储介质,存储介质存储有指令,指令被处理器运行时,实现如第三方面或第三方面的各种可能的实现方式描述的一种通信方法。In a sixteenth aspect, an embodiment of the present application provides a communication device that includes a processor and a storage medium. The storage medium stores instructions. When the instructions are executed by the processor, they can implement various aspects such as the third aspect or the third aspect. Possible implementations describe a communication method.

第十七方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以进行第一方面至第一方面的任一种可能的实现方式中任一项所描述的一种通信方法。In a seventeenth aspect, the present application provides a chip or chip system. The chip or chip system includes at least one processor and a communication interface. The communication interface and at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions. , To perform a communication method described in any one of the first aspect to any one of the possible implementation manners of the first aspect.

第十八方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以进行第二方面至第二方面的任一种可能的实现方式中任一项所描述的一种通信方法。In an eighteenth aspect, the present application provides a chip or chip system. The chip or chip system includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions. , To perform a communication method described in any one of the second aspect to any one of the possible implementation manners of the second aspect.

第十九方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以进行第三方面至第三方面的任一种可能的实现方式中任一项所描述的一种通信方法。In a nineteenth aspect, the present application provides a chip or chip system that includes at least one processor and a communication interface. The communication interface and at least one processor are interconnected by wires, and the at least one processor is used to run computer programs or instructions. , In order to perform a communication method described in any one of the third aspect to any one of the possible implementation manners of the third aspect.

其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。Among them, the communication interface in the chip can be an input/output interface, a pin, or a circuit.

在一种可能的实现中,本申请中上述描述的芯片或者芯片系统还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。In a possible implementation, the chip or chip system described above in this application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be a storage unit inside the chip, for example, a register, a cache, etc., or a storage unit of the chip (for example, a read-only memory, a random access memory, etc.).

第二十方面,本申请实施例提供一种通信装置,该通信装置包括处理器,该处理器和存储器耦合,存储器中存储有指令,处理器用于运行指令以实现第一方面或第一方面的各种可能的实现方式中描述的一种通信方法。In a twentieth aspect, an embodiment of the present application provides a communication device. The communication device includes a processor, the processor is coupled to a memory, and instructions are stored in the memory, and the processor is used to execute the instructions to implement the first aspect or the first aspect. A communication method described in the various possible implementations.

第二十一方面,本申请实施例提供一种通信装置,该通信装置包括处理器,该处理器和存储器耦合,存储器中存储有指令,处理器用于运行指令以实现第二方面或第二方面的各种可能的实现方式中描述的一种通信方法。In a twenty-first aspect, an embodiment of the present application provides a communication device. The communication device includes a processor, the processor is coupled to a memory, and instructions are stored in the memory, and the processor is used to execute the instructions to implement the second aspect or the second aspect A communication method described in the various possible implementations.

第二十二方面,本申请实施例提供一种通信装置,该通信装置包括处理器,该处理器和存储器耦合,存储器中存储有指令,处理器用于运行指令以实现第三方面或第三方面的各种可能的实现方式中描述的一种通信方法。In a twenty-second aspect, an embodiment of the present application provides a communication device that includes a processor, the processor is coupled to a memory, and instructions are stored in the memory, and the processor is used to execute the instructions to implement the third aspect or the third aspect A communication method described in the various possible implementations.

可以理解的是,本申请实施例中第二十方面~第二十二方面描述的存储器可以位于通信装置内部,也可以位于通信装置外部,本申请实施例对此不做限定。It is understandable that the memory described in the twentieth aspect to the twenty-second aspect in the embodiments of the present application may be located inside or outside the communication device, which is not limited in the embodiment of the present application.

本申请中第二方面至第二十二方面及其各种实现方式的有益效果,可以参考第一方面及其各种实现方式中的有益效果分析,此处不再赘述。For the beneficial effects of the second aspect to the twenty-second aspect and various implementation manners of this application, reference may be made to the analysis of the beneficial effects in the first aspect and various implementation manners, which will not be repeated here.

附图说明Description of the drawings

图1为本申请实施例提供的一种通信系统的架构图;FIG. 1 is an architecture diagram of a communication system provided by an embodiment of this application;

图2为本申请实施例提供的一种5G网络架构图;FIG. 2 is a diagram of a 5G network architecture provided by an embodiment of this application;

图3为本申请实施例提供的一种通信设备的结构示意图;FIG. 3 is a schematic structural diagram of a communication device provided by an embodiment of this application;

图4~图13为本申请实施例提供的一种通信方法的相关交互流程示意图;4 to 13 are schematic diagrams of related interaction processes of a communication method provided by embodiments of this application;

图14为本申请实施例提供的一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of this application;

图15为本申请实施例提供的另一种通信装置的结构示意图;15 is a schematic structural diagram of another communication device provided by an embodiment of this application;

图16为本申请实施例提供的一种芯片的结构示意图。FIG. 16 is a schematic structural diagram of a chip provided by an embodiment of the application.

具体实施方式Detailed ways

为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一消息和第二消息仅仅是为了区分不同的消息,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items that have substantially the same function and effect. For example, the first message and the second message are only for distinguishing different messages, and the sequence of the messages is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution, and words such as "first" and "second" do not limit the difference.

需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in this application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "The following at least one item (a)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .

本申请的技术方案可以应用于各种通信系统,例如:长期演进(long time evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、公共陆地移动网络(public land mobile network,PLMN)系统、设备对设备(device to device,D2D)网络系统或者机器对机器(machine to machine,M2M)网络系统或者新无线(new radio,NR)系统或第5代(5th generation,5G)网络系统以及未来的网络系统等。The technical solution of this application can be applied to various communication systems, such as: long time evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) ) System, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, public land mobile network (PLMN) system, device-to-device (device to device, D2D) network system or machine to machine (M2M) network system or new radio (NR) system or the 5th generation (5G) network system and future network systems, etc. .

本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。本申请实施例中以提供的方法应用于NR系统或5G网络中为例进行说明。The network architecture and business scenarios described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those of ordinary skill in the art will know that with the network With the evolution of architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems. In the embodiments of the present application, the method provided is applied to an NR system or a 5G network as an example for description.

如图1所示,图1示出了本申请实施例提供的一种通信系统的架构图,该通信系统包括:接入网设备10、与接入网设备10通信的终端20、以及与终端20通信的终端30。其中,接入网设备10与终端20之间具有第一接口,终端20与终端30之间具有第二接口。As shown in Figure 1, Figure 1 shows an architecture diagram of a communication system provided by an embodiment of the present application. The communication system includes: an access network device 10, a terminal 20 communicating with the access network device 10, and a terminal 20 20 terminal 30 for communication. There is a first interface between the access network device 10 and the terminal 20, and a second interface between the terminal 20 and the terminal 30.

示例性的,第一接口可以称为Uu接口,采用蜂窝网频段(如1.8GHz),Uu接口是终端与网络之间的通信。例如,如图1所示,对于上传传输,终端10可以将数据a 通过Uu接口发送给接入网设备10,然后由接入网设备10利用核心网将数据a发送到应用服务器(application server,AS)(例如,V2X application server)。或者对于下行传输,AS可以将下行数据发送给核心网,然后由核心网将下行数据发送给接入网设备10,然后由接入网设备10利用Uu接口发送给终端10。Exemplarily, the first interface may be referred to as a Uu interface, using a cellular network frequency band (such as 1.8 GHz), and the Uu interface is the communication between the terminal and the network. For example, as shown in Figure 1, for upload transmission, the terminal 10 can send data a to the access network device 10 through the Uu interface, and then the access network device 10 uses the core network to send the data a to the application server (application server, AS) (for example, V2X application server). Or for downlink transmission, the AS may send the downlink data to the core network, and then the core network sends the downlink data to the access network device 10, and then the access network device 10 sends the downlink data to the terminal 10 using the Uu interface.

示例性的,第二接口可以称为直连通信接口,例如,直连通信接口为PC5接口,采用车联网专用频段(如5.9GHz)。直连通信接口是终端与终端之间通信时采用的接口,例如,终端20通过直连通信接口向终端30发送数据b。直连通信接口通信与Uu接口通信的区别在于:直连通信接口通信不需要网络的参与(数据b不通过基站)。当然,终端30和接入网设备10之间也可以具有第一接口。直连通信接口一般用于车到一切(vehicle to everything,V2X)通信场景中,或者设备到设备(device to device,D2D)等可以在设备间进行直连通信的场景。Exemplarily, the second interface may be referred to as a direct communication interface. For example, the direct communication interface is a PC5 interface, which uses a dedicated frequency band (such as 5.9 GHz) for the Internet of Vehicles. The direct communication interface is an interface used for communication between the terminal and the terminal. For example, the terminal 20 sends data b to the terminal 30 through the direct communication interface. The difference between direct communication interface communication and Uu interface communication is that the direct communication interface communication does not require the participation of the network (data b does not pass through the base station). Of course, there may also be a first interface between the terminal 30 and the access network device 10. Direct communication interfaces are generally used in vehicle-to-everything (V2X) communication scenarios, or device-to-device (D2D) scenarios where direct communication between devices can be performed.

本申请实施例对第一接口、第二接口的名称仅是个示例,本申请实施例对第一接口、第二接口的名称不作限定。The names of the first interface and the second interface in the embodiments of the present application are only examples, and the embodiments of the present application do not limit the names of the first interface and the second interface.

本申请实施例中终端20和终端30之间的通信利用直连通信接口上的侧行链路实现,本申请实施例中可以将直连通信接口上的侧行链路称为PC5接口通信链路,或者直连通信接口链路。所谓PC5接口通信链路即一个终端20向另一个终端30在直连通信接口链路发送数据的链路。In the embodiment of the present application, the communication between the terminal 20 and the terminal 30 is realized by using the side link on the direct communication interface. In the embodiment of the present application, the side link on the direct communication interface may be referred to as the PC5 interface communication link. Road, or directly connected to the communication interface link. The so-called PC5 interface communication link refers to a link through which one terminal 20 sends data to another terminal 30 through a directly connected communication interface link.

本申请实施例中可以将终端20和终端30之间利用直连通信接口传输数据所采用的资源称为直连通信接口资源。In the embodiment of the present application, the resources used for data transmission between the terminal 20 and the terminal 30 using the direct communication interface may be referred to as the direct communication interface resource.

在一种可能的实现方式中,如图1所示,该通信系统还可以包括:接入管理网元40。In a possible implementation manner, as shown in FIG. 1, the communication system may further include: an access management network element 40.

一种示例,图1中的核心网可以是第4代(4th generation,4G)核心网(例如,核心分组网演进(evolved packet core,EPC))或者5G核心网(5G core,5GC)、或未来的各种通信系统中的核心网。As an example, the core network in FIG. 1 may be a 4th generation (4G) core network (for example, evolved packet core (EPC)) or a 5G core network (5G core, 5GC), or The core network in various future communication systems.

以核心网可以是4G核心网为例,接入网设备10可以为4G系统中的演进型基站(evolved Node B,eNB或eNodeB)。终端20或者终端30为可以与eNB进行信息传输的终端。eNB通过S1接口接入EPC网。接入管理网元40对应的网元或实体可以为移动性管理实体(mobility management entity,MME)。Taking the core network may be a 4G core network as an example, the access network device 10 may be an evolved Node B (eNB or eNodeB) in a 4G system. The terminal 20 or the terminal 30 is a terminal that can perform information transmission with an eNB. The eNB accesses the EPC network through the S1 interface. The network element or entity corresponding to the access management network element 40 may be a mobility management entity (mobility management entity, MME).

以核心网可以是5G核心网为例,接入网设备10可以为NR系统中的下一代节点B(the next generation node B,gNB),终端20或者终端30为可以与gNB进行信息传输的终端。gNB通过NG接口接入5GC,接入管理网元40对应的网元或实体可以为接入和移动性管理功能(access and mobility management function,AMF)网元。Taking the core network may be a 5G core network as an example, the access network device 10 may be the next generation node B (gNB) in the NR system, and the terminal 20 or the terminal 30 is a terminal that can transmit information with the gNB . The gNB accesses the 5GC through the NG interface, and the network element or entity corresponding to the access management network element 40 may be an access and mobility management function (AMF) network element.

示例性的,以核心网为5GC,以接入网设备10为(无线)接入设备((radio)access network,(R)AN)为例,如图2所示,在5GC中除了上述涉及到的AMF网元之外,还可以包括:会话管理功能(session management function,SMF)网元、或策略控制功能(policy control function)网元或应用功能(application function,AF)网元、网络能力开放功能(network exposure function,NEF)网元、用户数据库(User data repository,UDR)、统一数据管理(unified data management,UDM)网元、以及用户面功能(user plane function,UPF)网元。Exemplarily, taking the core network as 5GC and the access network device 10 as the (radio) access network ((R)AN) as an example, as shown in Figure 2, in 5GC, except for the above In addition to the arrived AMF network elements, it can also include: session management function (SMF) network elements, or policy control function (policy control function) network elements or application function (AF) network elements, network capabilities Open function (network exposure function, NEF) network elements, user data repository (UDR), unified data management (unified data management, UDM) network elements, and user plane function (UPF) network elements.

其中,终端通过N1接口(简称N1)与AMF网元通信。AMF实体通过N11接口(简称N11)与SMF网元通信。SMF网元通过N4接口(简称N4)与一个或者多个UPF网元通信。一个或多个UPF网元中任意两个UPF网元通过N9接口(简称N9)通信。UPF网元通过N6接口(简称N6)与AF网元管控的数据网络(data network,DN)通信。终端通过(R)AN)接入网络,(R)AN)与AMF网元之间通过N2接口(简称N2)通信。SMF网元通过N7接口(简称N7)与PCF网元通信,PCF网元通过N5接口与AF网元通信。(R)AN)通过N3接口(简称N3)与UPF网元通信。任意两个AMF网元之间通过N14接口(简称N14)通信。SMF网元通过N10接口(简称N10)与UDM通信。AMF网元通过N12接口(简称N12)与AUSF通信。AUSF网元通过N13接口(简称N13)与UDM网元通信。AMF网元通过N8接口(简称N8)与UDM网元通信。Among them, the terminal communicates with the AMF network element through the N1 interface (N1 for short). The AMF entity communicates with the SMF network element through the N11 interface (N11 for short). The SMF network element communicates with one or more UPF network elements through the N4 interface (N4 for short). Any two UPF network elements among one or more UPF network elements communicate through an N9 interface (abbreviated as N9). The UPF network element communicates with the data network (DN) managed and controlled by the AF network element through the N6 interface (N6 for short). The terminal accesses the network through the (R)AN), and the (R)AN) communicates with the AMF network element through the N2 interface (abbreviated as N2). The SMF network element communicates with the PCF network element through the N7 interface (N7 for short), and the PCF network element communicates with the AF network element through the N5 interface. (R) AN) communicates with UPF network element through N3 interface (abbreviated as N3). Any two AMF network elements communicate through the N14 interface (N14 for short). The SMF network element communicates with the UDM through the N10 interface (N10 for short). The AMF network element communicates with AUSF through the N12 interface (N12 for short). The AUSF network element communicates with the UDM network element through the N13 interface (N13 for short). The AMF network element communicates with the UDM network element through the N8 interface (N8 for short).

应理解,如图2所示的网络架构中,控制面网元也可以采用服务化接口进行交互。例如,AMF网元、SMF网元、UDM网元、或者PCF网元采用服务化接口进行交互。比如,AMF网元对外提供的服务化接口可以为Namf。SMF网元对外提供的服务化接口可以为Nsmf。UDM网元对外提供的服务化接口可以为Nudm。PCF网元对外提供的服务化接口可以为Npcf。应理解,各种服务化接口的名称的相关描述可以参考现有技术中的5G系统架构(5G system architecture)图,在此不予赘述。It should be understood that, in the network architecture shown in FIG. 2, the control plane network elements may also interact with service-oriented interfaces. For example, AMF network elements, SMF network elements, UDM network elements, or PCF network elements use service-oriented interfaces to interact. For example, the service-oriented interface provided by the AMF network element to the outside may be Namf. The service-oriented interface provided by the SMF network element to the outside may be Nsmf. The service-oriented interface provided by the UDM network element to the outside may be Nudm. The service-oriented interface provided by the PCF network element to the outside may be Npcf. It should be understood that related descriptions of the names of various service-oriented interfaces can refer to the 5G system architecture (5G system architecture) diagram in the prior art, which will not be repeated here.

需要说明的是,图2仅是示例性的给出一个UPF网元、SMF网元。当然,该中可能包括多个UPF网元、SMF网元,如包括SMF网元1和SMF网元2,本申请实施例对此不作具体限定。It should be noted that Fig. 2 only exemplarily shows a UPF network element and SMF network element. Of course, multiple UPF network elements and SMF network elements may be included, such as SMF network element 1 and SMF network element 2, which are not specifically limited in the embodiment of the present application.

需要说明的是,图2的(R)AN)、AMF网元、SMF网元、UDM网元、UPF网元和PCF网元等仅是一个名字,名字对设备本身不构成限定。在5G网络以及未来其它的网络中,(R)AN)、AMF网元、SMF网元、UDM网元、UPF网元和PCF网元所对应的网元或实体也可以是其他的名字,本申请实施例对此不作具体限定。例如,该UDM网元还有可能被替换为用户归属服务器(home subscriber server,HSS)或者用户签约数据库(user subscription database,USD)或者数据库实体,等等,在此进行统一说明,后续不再赘述。It should be noted that (R)AN), AMF network element, SMF network element, UDM network element, UPF network element, and PCF network element in FIG. 2 are only a name, and the name does not constitute a limitation on the device itself. In 5G networks and other networks in the future, the network elements or entities corresponding to (R)AN), AMF network elements, SMF network elements, UDM network elements, UPF network elements, and PCF network elements can also have other names. The application embodiment does not specifically limit this. For example, the UDM network element may also be replaced with a user home server (home subscriber server, HSS) or user subscription database (user subscription database, USD) or a database entity, etc., which will be uniformly explained here and will not be repeated in the following .

终端可以为终端设备,包括向用户提供语音和/或数据连通性的设备,具体的,包括向用户提供语音的设备,或包括向用户提供数据连通性的设备,或包括向用户提供语音和数据连通性的设备。例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网(radio access network,RAN)与核心网进行通信,与RAN交换语音或数据,或与RAN交互语音和数据。该终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、设备到设备通信(device-to-device,D2D)终端设备、车到一切(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元(subscriberunit)、订户站(subscriber station),移动站(mobile station)、远程站(remote station)、接入点(access point,AP)、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)、或用户装备(user device)等。 例如,可以包括移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备。还包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。例如包括条码、射频识别(radio frequency identification,RFID)、传感器、全球定位系统(global positioning system,GPS)、激光扫描器等信息传感设备。The terminal can be a terminal device, including a device that provides voice and/or data connectivity to the user, specifically, includes a device that provides voice to the user, or includes a device that provides data connectivity to the user, or includes a device that provides voice and data to the user Connectivity equipment. For example, it may include a handheld device with a wireless connection function, or a processing device connected to a wireless modem. The terminal device can communicate with the core network via a radio access network (RAN), exchange voice or data with the RAN, or exchange voice and data with the RAN. The terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, device-to-device communication (device-to-device, D2D) terminal equipment, vehicle to everything (V2X) terminal equipment , Machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber station) ), mobile station, remote station, access point (AP), remote terminal, access terminal, user terminal, user agent (user agent), or user equipment (user device), etc. For example, it may include mobile phones (or "cellular" phones), computers with mobile terminal equipment, portable, pocket-sized, hand-held, mobile devices with built-in computers, and so on. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants, PDA), and other equipment. It also includes restricted devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities. Examples include barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), laser scanners and other information sensing equipment.

作为示例而非限定,在本申请实施例中,该终端还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备或智能穿戴式设备等,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。As an example and not a limitation, in the embodiment of the present application, the terminal may also be a wearable device. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes Wait. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.

而如上介绍的各种终端,如果位于车辆上(例如放置在车辆内或安装在车辆内),都可以认为是车载终端设备,车载终端设备例如也称为车载单元(on-board unit,OBU)。The various terminals introduced above, if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), can be regarded as vehicle-mounted terminal equipment, for example, the vehicle-mounted terminal equipment is also called on-board unit (OBU). .

本申请实施例提供的方法和装置,可以应用于终端设备或网络设备,该终端设备或网络设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。该应用层包含浏览器、通讯录、文字处理软件、以及即时通信软件等应用。并且,在本申请实施例中,传输信号的方法的执行主体的具体结构,本申请实施例并未特别限定,只要能够通过运行记录有本申请实施例的传输信号的方法的代码的程序,以根据本申请实施例的传输信号的方法进行通信即可,例如,本申请实施例的无线通信的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块。The method and apparatus provided in the embodiments of the present application can be applied to a terminal device or a network device. The terminal device or network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer . The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also referred to as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, for example, Linux operating systems, Unix operating systems, Android operating systems, iOS operating systems, or windows operating systems. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software. Moreover, in the embodiment of the present application, the specific structure of the execution body of the method of transmitting a signal is not particularly limited in the embodiment of the present application, as long as the program that records the code of the method of transmitting the signal of the embodiment of the present application can be run to It is sufficient to communicate according to the signal transmission method of the embodiment of the present application. For example, the execution subject of the wireless communication method of the embodiment of the present application may be a terminal device or a network device, or a terminal device or a network device that can call a program and The functional module that executes the program.

此外,本申请实施例的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读存储介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存 储、包含和/或承载指令和/或数据的各种其它介质。In addition, various aspects or features of the embodiments of the present application can be implemented as methods, devices, or products using standard programming and/or engineering techniques. The term "article of manufacture" used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable storage media may include, but are not limited to: magnetic storage devices (for example, hard disks, floppy disks, or tapes, etc.), optical disks (for example, compact discs (CD), digital versatile discs, DVDs) ), etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.

接入网设备10也可以称为基站,为与终端配合使用的一种可以用于发射或接收信号的实体。主要用于实现物理层功能、资源调度和管理、终端的接入控制以及移动性管理等功能。接入网设备可以为支持有线接入的设备,也可以为支持无线接入的设备。示例性,接入网设备可以为接入网(access network,AN)/无线接入网(radio access network,RAN),由多个5G-AN/5G-RAN节点组成。5G-AN/5G-RAN节点可以为:接入点(access point,AP)、基站(nodeB,NB)、增强型基站(enhance nodeB,eNB)、下一代基站(NR nodeB,gNB)、传输接收点(transmission reception point,TRP)、传输点(transmission point,TP)或某种其它接入节点等。The access network device 10 may also be referred to as a base station, which is an entity that can be used to transmit or receive signals in cooperation with a terminal. It is mainly used to realize functions such as physical layer functions, resource scheduling and management, terminal access control, and mobility management. The access network device can be a device that supports wired access or a device that supports wireless access. Exemplarily, the access network equipment may be an access network (access network, AN)/radio access network (radio access network, RAN), which is composed of multiple 5G-AN/5G-RAN nodes. 5G-AN/5G-RAN nodes can be: access point (AP), base station (nodeB, NB), enhanced base station (enhance nodeB, eNB), next-generation base station (NR nodeB, gNB), transmission and reception Point (transmission reception point, TRP), transmission point (transmission point, TP), or some other access node, etc.

本申请实施例中的接入网设备10可以为终端20配置直连通信接口资源,以及通知终端20进入RRC-非激活状态,或者通知终端20进入RRC-激活状态,且采用省电模式。The access network device 10 in the embodiment of the present application may configure the direct communication interface resources for the terminal 20, and notify the terminal 20 to enter the RRC-inactive state, or notify the terminal 20 to enter the RRC-active state and adopt the power saving mode.

AMF网元,主要通过N1接口接入终端的NAS信令(包括会话管理(Session manage,SM)信令)和N2接口接入RAN的信令,完成用户的注册流程和SM信令的转发以及移动性管理。The AMF network element mainly uses the N1 interface to access the terminal's NAS signaling (including session management (SM) signaling) and the N2 interface to access the RAN signaling to complete the user registration process and the forwarding of SM signaling and Mobility management.

SMF网元,用于实现会话相关的建立、释放、更新等流程。The SMF network element is used to implement procedures related to session establishment, release, and update.

PCF网元,负责用户策略管理,既包括移动性相关策略,也包括PDU会话相关策略,如QoS策略、计费策略等。The PCF network element is responsible for user policy management, including both mobility-related policies and PDU session-related policies, such as QoS policies and charging policies.

UDM网元,用于保存用户的签约数据。UDM network element, used to save the user's subscription data.

AUSF网元,用于实现认证授权业务功能,负责对终端的接入进行认证授权。The AUSF network element is used to implement authentication and authorization service functions, and is responsible for authentication and authorization of terminal access.

DN,终端的PDU会话访问的目的地。DN, the destination of the terminal's PDU session access.

NEF网元,用于实现支持3GPP网络和第三方应用安全的交互,NEF网元能够安全的向第三方暴露网络能力和事件,用于加强或者改善应用服务质量,3GPP网络同样可以安全的从第三方获取相关数据,用以增强网络的智能决策;同时该网元支持从统一数据库恢复结构化数据或者向统一数据库中存储结构化数据。NEF network elements are used to support the security interaction between 3GPP networks and third-party applications. NEF network elements can safely expose network capabilities and events to third parties to enhance or improve application service quality. 3GPP networks can also safely The three parties obtain relevant data to enhance the intelligent decision-making of the network; at the same time, the network element supports the restoration of structured data from the unified database or the storage of structured data in the unified database.

AF网元,用于实现与3GPP核心网交互来提供服务,例如影响数据路由决策,策略控制功能或者向网络侧提供第三方的一些服务。The AF network element is used to implement interaction with the 3GPP core network to provide services, such as influencing data routing decisions, policy control functions, or providing third-party services to the network side.

NRF网元,用于维护网络中所有网络功能服务的实时信息。NRF网元保存有部署的网络功能(network function,NF)组件的信息,例如NF组件的标识和网络地址、支持的网络切片的标识、或者数据面实例的信息等,NRF网元向其它NF提供NF组件的注册和发现等服务。NRF network element, used to maintain real-time information of all network functions and services in the network. The NRF network element saves the information of the deployed network function (NF) component, such as the identity and network address of the NF component, the identity of the supported network slice, or the information of the data plane instance, etc. The NRF network element provides other NFs Services such as registration and discovery of NF components.

数据网络(data network,DN)指的是为终端提供数据传输服务的运营商网络,如IP多媒体业务(IP Multi-media Service,IMS)、Internet等。Data network (DN) refers to an operator network that provides data transmission services for terminals, such as IP Multi-media Service (IMS), Internet, etc.

本申请实施例中终端可以通过网络调度模式或者终端自主选择模式获取直连通信接口资源,以在PC5接口通信链路上向其他终端发送数据。In the embodiments of the present application, the terminal may obtain the direct connection communication interface resource through the network scheduling mode or the terminal autonomous selection mode, so as to send data to other terminals on the PC5 interface communication link.

所谓的网络调度模式,也可以称为模式1是指:终端请求接入网设备为终端配置在直连通信接口(例如,PC5接口)上向其他终端发送数据的直连通信接口资源。The so-called network scheduling mode, which can also be called mode 1, refers to the terminal requesting the access network device to configure the terminal to directly connect communication interface resources (for example, PC5 interface) to send data to other terminals.

所谓终端自主选择模式,也可以称为模式2是指:终端从预配置的资源池中选择在直连通信接口上向其他终端发送数据的直连通信接口资源。The so-called terminal autonomous selection mode can also be referred to as mode 2 means that the terminal selects direct communication interface resources that send data to other terminals on the direct communication interface from a pre-configured resource pool.

本申请实施例中终端在直连通信接口上向其他终端发送的数据可以指:控制信息(如PC5接口上的控制信息,控制信令等)或者V2X的应用(application)层的消息(如智能交通系统(Intelligent Transport Systems,ITS)或者车联网的无线接入(Wireless Access in Vehicular Environments,WAVE)的消息)。In the embodiments of this application, the data sent by the terminal on the direct communication interface to other terminals may refer to: control information (such as control information on the PC5 interface, control signaling, etc.) or V2X application layer messages (such as smart Information about the transportation system (Intelligent Transport Systems, ITS) or the wireless access (Wireless Access in Vehicular Environments, WAVE) of the Internet of Vehicles).

如图3所示,图3示出了本申请实施例中的一种通信设备的结构示意图。本申请实施例中的终端、接入网设备的结构可以参考图3所示的通信设备的结构。该通信设备包括处理器31,通信线路34以及至少一个通信接口(图3中仅是示例性的以包括收发器33为例进行说明)。As shown in FIG. 3, FIG. 3 shows a schematic structural diagram of a communication device in an embodiment of the present application. For the structure of the terminal and the access network device in the embodiment of the present application, reference may be made to the structure of the communication device shown in FIG. 3. The communication device includes a processor 31, a communication line 34, and at least one communication interface (in FIG. 3, it is only an example that includes the transceiver 33 as an example for illustration).

可选的,该通信设备还可以包括存储器32。Optionally, the communication device may further include a memory 32.

处理器31可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 31 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.

通信线路34可包括一通路,在上述组件之间传送信息。The communication line 34 may include a path to transmit information between the aforementioned components.

收发器33,用于与其他装置进行信息交互,例如:使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。The transceiver 33 is used to exchange information with other devices, for example, any device such as a transceiver is used to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), Wireless local area networks (WLAN), etc.

存储器32可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路34与处理器相连接。存储器也可以和处理器集成在一起。The memory 32 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this. The memory can exist independently and is connected to the processor through the communication line 34. The memory can also be integrated with the processor.

其中,存储器32用于存储执行本申请方案的计算机执行指令,并由处理器31来控制执行。处理器31用于执行存储器32中存储的计算机执行指令,从而实现本申请下述实施例提供的一种通信方法。The memory 32 is used to store computer execution instructions for executing the solution of the present application, and the processor 31 controls the execution. The processor 31 is configured to execute computer-executable instructions stored in the memory 32, so as to implement a communication method provided in the following embodiments of the present application.

可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.

在具体实现中,作为一种实施例,处理器31可以包括一个或多个CPU,例如图3中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 31 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3.

在具体实现中,作为一种实施例,通信设备可以包括多个处理器,例如图3中的处理器31和处理器35。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication device may include multiple processors, such as the processor 31 and the processor 35 in FIG. 3. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).

在本申请实施例中,一种通信方法的执行主体的具体结构,本申请实施例并未特别限定,只要可以通过运行记录有本申请实施例的一种通信方法的代码的程序,以根据本申请实施例的一种通信方法进行通信即可。下述实施例以一种通信方法的执行主 体为终端、接入网设备为例进行描述。In the embodiment of this application, the specific structure of the execution body of a communication method is not particularly limited in the embodiment of this application, as long as the program recorded with the code of a communication method of the embodiment of this application can be run according to this application. Only one communication method of the application embodiment can be used for communication. The following embodiments are described by taking a communication method as an example where the execution body is a terminal and an access network device.

需要指出的是,本申请各实施例之间可以相互借鉴或参考,例如,相同或相似的步骤或者相似的名词,方法实施例、装置实施例或系统实施例之间,均可以相互参考,不予限制。It should be pointed out that the various embodiments of the present application can be used for reference or mutual reference, for example, the same or similar steps or similar terms, method embodiments, device embodiments, or system embodiments can all be referred to each other. To limit.

如图4所示,图4为本申请实施例提供的一种通信方法的交互实施例,该方法包括:As shown in FIG. 4, FIG. 4 is an interactive embodiment of a communication method provided by an embodiment of the application, and the method includes:

步骤401、接入网设备向终端发送资源信息。Step 401: The access network device sends resource information to the terminal.

相应的,终端接收来自接入网设备的资源信息。Correspondingly, the terminal receives resource information from the access network device.

其中,该资源信息可以用于表征直连通信接口资源,或者该资源信息用于表征用于传输第一应用的数据的直连通信接口资源。Wherein, the resource information may be used to characterize a direct communication interface resource, or the resource information may be used to characterize a direct communication interface resource used to transmit data of the first application.

在一种可能的实施例中,上述数据为终端的第一应用的数据,该直连通信接口资源用于传输第一应用的数据。In a possible embodiment, the above-mentioned data is data of the first application of the terminal, and the direct communication interface resource is used to transmit the data of the first application.

本申请实施例中接入网设备可以主动为终端配置上述直连通信接口资源。当然接入网设备也可以在终端的请求下为终端配置上述直连通信接口资源。该直连通信接口资源可以为接入网设备为终端配置的专门用于传输第一应用的数据,这时该直连通信接口资源可以称为第一应用的专有资源,即该直连通信接口资源仅用于传输第一应用的数据。当然,该直连通信接口资源也可以由第一应用的数据和其他应用的数据共享,即该直连通信接口资源为共有资源,即终端在该直连通信接口资源上不仅可以传输第一应用的数据还可以传输其他应用的数据。In the embodiments of the present application, the access network device may actively configure the above-mentioned direct communication interface resources for the terminal. Of course, the access network device can also configure the aforementioned direct communication interface resources for the terminal at the request of the terminal. The direct communication interface resource may be the data of the first application configured by the access network device for the terminal. In this case, the direct communication interface resource may be referred to as the exclusive resource of the first application, that is, the direct communication The interface resource is only used to transmit the data of the first application. Of course, the direct communication interface resource can also be shared by the data of the first application and the data of other applications, that is, the direct communication interface resource is a common resource, that is, the terminal can not only transmit the first application on the direct communication interface resource The data can also transmit data from other applications.

示例性的,本申请实施例中接入网设备为终端分配的上述直连通信接口资源,是用于在直连通信接口上进行数据发送的无线资源,例如特定时隙和特定的频率资源。Exemplarily, the directly connected communication interface resources allocated by the access network device in the embodiment of the present application to the terminal are wireless resources used for data transmission on the directly connected communication interface, such as specific time slots and specific frequency resources.

举例说明,上述直连通信接口资源可用为接入网设备通过半静态方式为终端配置的周期性的资源。For example, the aforementioned direct communication interface resources may be used as periodic resources configured by the access network equipment for the terminal in a semi-static manner.

示例性的,上述直连通信接口资源可以为接入网设备在直连通信接口上为该终端分配的半持续调度(Semi-Persistent Scheduling,SPS)资源。接入网设备为该终端分配的半持续调度的直连通信接口资源使得终端可以周期性的使用该直连通信接口资源在直连通信接口上发送数据。无需在每次通信前向接入网设备发送请求,以获得该直连通信接口资源。Exemplarily, the aforementioned direct communication interface resource may be a semi-persistent scheduling (Semi-Persistent Scheduling, SPS) resource allocated by the access network device on the direct communication interface for the terminal. The semi-continuously scheduled direct communication interface resource allocated by the access network device to the terminal enables the terminal to periodically use the direct communication interface resource to send data on the direct communication interface. There is no need to send a request to the access network device before each communication to obtain the directly connected communication interface resource.

可以理解的是,本申请实施例中的上述直连通信接口资源可以为接入网设备以动态配置方式或者半静态配置方式为终端配置的,或者该直连通信接口资源可以为接入网设备之前为终端配置的,在终端需要使用该直连通信接口资源传输数据时,接入网设备可以通过下行控制信道(physical downlink control channel,PDCCH)控制信令激活该直连通信接口资源,这样使得终端便可以确定激活后的直连通信接口资源可用于传输数据。动态配置方式,是指终端每次发送数据时,都需要从接入网设备请求并获得对应的直连通信接口资源,终端在对应的直连通信接口资源上发送数据。当终端有新的数据需要发送时,终端需要重新向接入网设备请求直连通信接口资源。半静态配置,是指终端从接入网设备请求直连通信接口资源后,接入网设备授权终端周期性的使用某一资源,例如以为100毫秒为间隔。终端只需要周期性的使用授权的直连通信接口资源发送数据,不需要每次向接入网设备请求直连通信接口资源。It is understandable that the directly connected communication interface resource in the embodiment of the present application may be configured by the access network device in a dynamic configuration mode or a semi-static configuration mode for the terminal, or the directly connected communication interface resource may be an access network device. Previously configured for the terminal, when the terminal needs to use the direct communication interface resource to transmit data, the access network device can activate the direct communication interface resource through the physical downlink control channel (PDCCH) control signaling, so that The terminal can determine that the activated direct communication interface resource can be used to transmit data. The dynamic configuration mode means that each time a terminal sends data, it needs to request and obtain the corresponding direct communication interface resource from the access network device, and the terminal sends data on the corresponding direct communication interface resource. When the terminal has new data that needs to be sent, the terminal needs to request the access network device again for direct connection communication interface resources. Semi-static configuration means that after the terminal requests the direct connection communication interface resource from the access network device, the access network device authorizes the terminal to use a certain resource periodically, for example, taking 100 milliseconds as an interval. The terminal only needs to periodically use the authorized direct communication interface resource to send data, and does not need to request the direct communication interface resource from the access network device every time.

本申请实施例中的上述数据可以在终端通过网络调度模式获取的直连通信接口资源上传输。当然,本申请实施例中的数据也可以在终端通过终端自主选择模式获取的直连通信接口资源上传输,只不过终端采用终端自主选择模式获取的直连通信接口资源传输数据的功耗高于终端在以网络调度模式获取的直连通信接口资源上传输数据的功耗。The above-mentioned data in the embodiment of the present application may be transmitted on the direct connection communication interface resource obtained by the terminal through the network scheduling mode. Of course, the data in the embodiments of this application can also be transmitted on the direct communication interface resources acquired by the terminal through the terminal autonomous selection mode, but the power consumption of the direct communication interface resources acquired by the terminal in the terminal autonomous selection mode for data transmission is higher than The power consumption of the terminal to transmit data on the direct communication interface resource acquired in the network scheduling mode.

本申请实施例中的上述直连通信接口资源可以由终端与接入网设备在Uu接口上保持RRC-激活状态时,由接入网设备为终端配置。这样当终端从RRC-激活状态进入RRC-非激活状态或者终端在RRC-激活状态下采用省电模式时,终端依然可以使用该直连通信接口资源传输第一应用的数据。The aforementioned direct communication interface resources in the embodiments of the present application may be configured by the access network device for the terminal when the terminal and the access network device maintain the RRC-active state on the Uu interface. In this way, when the terminal enters the RRC-inactive state from the RRC-active state or the terminal adopts the power saving mode in the RRC-active state, the terminal can still use the direct communication interface resource to transmit the data of the first application.

举例说明,接入网设备可以为图1中的接入网设备10,终端可以为图1中的终端20。For example, the access network device may be the access network device 10 in FIG. 1, and the terminal may be the terminal 20 in FIG. 1.

步骤402、终端通过直连通信接口资源传输数据。Step 402: The terminal transmits data through the direct connection communication interface resource.

其中,一种示例,该终端处于无线资源控制RRC-非激活状态。或者另一种示例,终端处于RRC-激活状态且该终端采用省电模式,换言之,当终端RRC-激活状态且采用省电模式时,该终端依然可以通过直连通信接口资源传输数据。Among them, as an example, the terminal is in a radio resource control RRC-inactive state. Or another example, the terminal is in the RRC-active state and the terminal adopts the power saving mode. In other words, when the terminal is in the RRC-active state and adopts the power saving mode, the terminal can still transmit data through the direct communication interface resources.

例如,终端可以在直连通信接口上采用长不连续接收(Discontinuous reception,DRX)技术,使得终端处于省电模式。For example, the terminal may adopt long discontinuous reception (DRX) technology on the direct communication interface, so that the terminal is in a power saving mode.

一方面,本申请实施例中该直连通信接口资源仅可以在终端处于无线资源控制RRC-非激活状态时使用,或者用于终端处于RRC-激活状态且采用省电模式时使用,换言之,该直连通信接口资源是专门为该终端配置的,用于该终端处于无线资源控制RRC-非激活状态传输数据,或者用于该终端处于RRC-激活状态,且终端采用省电模式传输数据。On the one hand, the direct communication interface resources in the embodiments of the present application can only be used when the terminal is in the radio resource control RRC-inactive state, or used when the terminal is in the RRC-active state and adopts the power saving mode. In other words, the The direct communication interface resource is specifically configured for the terminal, and is used for the terminal to transmit data in the radio resource control RRC-inactive state, or for the terminal to transmit data in the RRC-active state, and the terminal adopts the power saving mode to transmit data.

另一方面,该直连通信接口资源不仅可以在终端处于无线资源控制RRC-非激活状态,或者终端处于RRC-激活状态且终端采用省电模式时传输数据,该直连通信接口资源也可以在终端处于RRC-激活状态时传输数据。例如,当终端处于RRC-激活状态时,无论终端是否采用省电模式,终端均可以使用该直连通信接口资源传输需要在直连通信接口上传输的数据。On the other hand, the direct communication interface resource can not only transmit data when the terminal is in the radio resource control RRC-inactive state, or when the terminal is in the RRC-active state and the terminal adopts the power saving mode, the direct communication interface resource can also be The terminal transmits data when it is in the RRC-active state. For example, when the terminal is in the RRC-active state, regardless of whether the terminal adopts the power saving mode, the terminal can use the direct communication interface resource to transmit data that needs to be transmitted on the direct communication interface.

在一种可能的实现方式中,本申请实施例中的步骤402可以通过以下方式实现:终端在与其他终端之间的PC5接口通信链路上利用直连通信接口资源向其他终端传输数据。In a possible implementation manner, step 402 in the embodiment of the present application can be implemented in the following manner: the terminal uses the direct communication interface resource to transmit data to other terminals on the PC5 interface communication link with other terminals.

本申请实施例中如果终端与接入网设备保持Uu接口连接或者终端与接入网设备之间保持RRC连接,则终端处于RRC-激活状态。当终端处于RRC-激活状态时,接入网设备可以为该终端配置直连通信接口资源。如果终端与接入网设备未保持Uu接口连接或者终端与接入网设备之间的RRC连接被释放,则终端处于RRC-非激活状态。此处统一说明,后续不再赘述。终端处于RRC-激活状态时采用省电模式产生的功耗,低于,终端处于RRC-激活状态时未采用省电模式产生的功耗。In the embodiment of the present application, if the terminal maintains a Uu interface connection with the access network device or the terminal maintains an RRC connection with the access network device, the terminal is in the RRC-activated state. When the terminal is in the RRC-activated state, the access network device can configure direct communication interface resources for the terminal. If the terminal and the access network device do not maintain the Uu interface connection or the RRC connection between the terminal and the access network device is released, the terminal is in the RRC-inactive state. Here are unified descriptions, and will not be repeated in the following. The power consumption generated by the power saving mode when the terminal is in the RRC-active state is lower than the power consumption when the terminal is not used in the power saving mode when the terminal is in the RRC-active state.

可以理解的是,本申请实施例中终端可以在接入网设备的配置下从RRC-激活状态进入RRC-非激活状态,或者终端可以在接入网设备的配置下从RRC-激活状态的正常模式(例如,非省电模式)进入RRC-激活状态的省电模式,本申请实施例对此不作限 定。It is understandable that in the embodiments of this application, the terminal can enter the RRC-inactive state from the RRC-active state under the configuration of the access network device, or the terminal can change from the RRC-active state to the normal state under the configuration of the access network device. The mode (for example, the non-power saving mode) enters the power saving mode of the RRC-active state, which is not limited in the embodiment of the present application.

本申请实施例提供一种通信方法,该方法中终端接收来自接入网设备的资源信息,由于该资源信息用于表征直连通信接口资源,之后在终端处于无线资源控制RRC-非激活状态时,或者在该终端处于RRC-激活状态,且终端采用省电模式时可以在直连通信接口资源上传输数据。这样对于处于RRC-非激活状态的终端,可以避免终端为了传输数据采用终端自主选择资源模式获取直连通信接口资源引起的功耗。对于处于RRC-激活状态,且采用省电模式的终端,使得其在直连通信接口资源上传输数据时产生的功耗仍能够低于处于RRC-激活状态未采用省电模式的终端产生的功耗。因此,本申请实施例提供的方法可以降低终端在直连通信接口传输数据的功耗。The embodiment of the present application provides a communication method in which a terminal receives resource information from an access network device. Since the resource information is used to characterize the resources of a directly connected communication interface, then when the terminal is in a radio resource control RRC-inactive state , Or when the terminal is in the RRC-activated state and the terminal adopts the power saving mode, data can be transmitted on the direct communication interface resource. In this way, for the terminal in the RRC-inactive state, it is possible to avoid the power consumption caused by the terminal adopting the terminal independent selection resource mode to obtain the direct connection communication interface resource in order to transmit data. For the terminal in the RRC-active state and adopts the power-saving mode, the power consumption generated when it transmits data on the direct communication interface resources can still be lower than the power generated by the terminal in the RRC-active state that does not adopt the power-saving mode. Consumption. Therefore, the method provided by the embodiment of the present application can reduce the power consumption of the terminal transmitting data on the direct communication interface.

在一种可能的实施例中,上述方法在步骤401之前还可以包括:接入管理网元向接入网设备发送终端的优选调度模式。In a possible embodiment, before step 401, the above method may further include: the access management network element sends the preferred scheduling mode of the terminal to the access network device.

相应的,接入网设备接收来自接入管理网元的终端的优选调度模式。Correspondingly, the access network device receives the preferred scheduling mode from the terminal accessing the management network element.

作为一种示例,接入管理网元可以从终端的签约信息确定终端的优选调度模式,或者接入管理网元可以基于终端的请求确定终端的优选调度模式。或者接入管理网元可以自主确定该终端在直连通信接口上的优选调度模式。可以理解的是,本申请实施例中的终端的优选调度模式可以指终端在直连通信接口上的优选调度模式。As an example, the access management network element may determine the preferred scheduling mode of the terminal from the subscription information of the terminal, or the access management network element may determine the preferred scheduling mode of the terminal based on the request of the terminal. Or the access management network element can independently determine the preferred scheduling mode of the terminal on the directly connected communication interface. It is understandable that the preferred scheduling mode of the terminal in the embodiment of the present application may refer to the preferred scheduling mode of the terminal on the directly connected communication interface.

作为一种示例,该终端的优选调度模式可以为网络调度模式。As an example, the preferred scheduling mode of the terminal may be a network scheduling mode.

基于此,接入网设备向终端发送资源信息,包括:接入网设备根据终端的优选调度模式,向终端发送资源信息。Based on this, the access network device sending resource information to the terminal includes: the access network device sends the resource information to the terminal according to the preferred scheduling mode of the terminal.

作为一种具体实现,接入网设备根据终端的优选调度模式,向终端发送资源信息,包括:接入网设备以优先调度模式指示的调度模式为该终端分配直连通信接口资源,之后,接入网设备向终端发送用于表征直连通信接口资源的资源信息。As a specific implementation, the access network device sends resource information to the terminal according to the preferred scheduling mode of the terminal, including: the access network device allocates direct communication interface resources to the terminal in the scheduling mode indicated by the priority scheduling mode, and then connects The network access device sends resource information used to characterize the resources of the directly connected communication interface to the terminal.

作为一种可选的示例,该优选调度模式为第一应用对应的优选调度模式,换言之,该优选调度模式为终端的第一应用在直连通信接口上的优选调度模式。应理解,对于同一个终端而言,可以存在不同的应用在直连通信接口上的对应的优选调度模式不同。As an optional example, the preferred scheduling mode is the preferred scheduling mode corresponding to the first application. In other words, the preferred scheduling mode is the preferred scheduling mode of the first application of the terminal on the directly connected communication interface. It should be understood that for the same terminal, different applications may have different corresponding preferred scheduling modes on the direct communication interface.

在一种可能的实施例中,上述方法在步骤402之前还可以包括:在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,接入网设备向终端发送第一通知消息,相应的,终端接收来自接入网设备的第一通知消息。In a possible embodiment, before step 402, the above method may further include: within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the access network device The terminal sends the first notification message, and correspondingly, the terminal receives the first notification message from the access network device.

其中,该第一通知消息用于配置终端进入RRC-非激活状态。这样便于终端根据第一通知消息释放掉终端与接入网设备之间的RRC连接,以从RRC-激活状态进入RRC-非激活状态。但是,在终端处于RRC-非激活状态上,该终端可以与核心网之间保持连接,即终端依然处于CM-Connected状态(Connection Management)。Wherein, the first notification message is used to configure the terminal to enter the RRC-inactive state. In this way, it is convenient for the terminal to release the RRC connection between the terminal and the access network device according to the first notification message, so as to enter the RRC-inactive state from the RRC-active state. However, when the terminal is in the RRC-inactive state, the terminal can maintain a connection with the core network, that is, the terminal is still in the CM-Connected state (Connection Management).

可以理解的是,终端接收第二通知消息时,终端处于RRC-激活状态,换言之终端与接入网设备之间具有RRC连接,并配置的DRX参数,使得终端获取节省电量的效果。It can be understood that when the terminal receives the second notification message, the terminal is in the RRC-activated state, in other words, there is an RRC connection between the terminal and the access network device, and the configured DRX parameters enable the terminal to obtain the effect of saving power.

在一种可能的实施例中,上述方法在步骤402之前还可以包括:在预设时间内,如果终端与接入网设备之间的Uu接口不存在数据传输的情况下,接入网设备向终端发送第二通知消息,相应的,终端接收来自接入网设备的第二通知消息。In a possible embodiment, before step 402, the above method may further include: within a preset time, if there is no data transmission on the Uu interface between the terminal and the access network device, the access network device The terminal sends the second notification message, and correspondingly, the terminal receives the second notification message from the access network device.

其中,该第二通知消息用于指示终端在RRC-激活状态(或者终端与接入网设备保 持在Uu接口上的连接态)采用省电模式。这样终端在接收到第二通知消息之后,便可以在RRC-激活状态下使用省电模式。Wherein, the second notification message is used to instruct the terminal to adopt the power saving mode in the RRC-activated state (or the connection state between the terminal and the access network equipment maintained on the Uu interface). In this way, after receiving the second notification message, the terminal can use the power saving mode in the RRC-active state.

在一种可能的实施例中,上述方法在步骤402之前还可以包括:终端确定终端能够使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源传输数据。In a possible embodiment, before step 402, the foregoing method may further include: the terminal determining that the terminal can use the foregoing direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data.

一种示例,终端可以根据预定义或者预配置信息确定终端能够使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源传输数据。In an example, the terminal may determine, according to predefined or pre-configured information, that the terminal can use the aforementioned direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data.

另一种示例,终端可以根据接入管理网元或者接入网设备的指示,确定终端能够使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源传输数据。In another example, the terminal may determine that the terminal can use the direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit data according to the instruction of the access management network element or the access network device.

作为一种具体实现:终端可以确定终端能够使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源在终端处于RRC-非激活状态时传输第一应用的数据。As a specific implementation, the terminal can determine that the terminal can use the direct communication interface resource based on the network scheduling mode configured by the access network device for the terminal to transmit the data of the first application when the terminal is in the RRC-inactive state.

作为另一种具体实现:终端可以确定终端能够使用接入网设备为终端配置的上述基于网络调度模式的直连通信接口资源在终端处于RRC-激活状态,且处于省电模式时传输第一应用的数据。As another specific implementation: the terminal can determine that the terminal can use the above-mentioned network scheduling mode-based direct communication interface resources configured by the access network device for the terminal to transmit the first application when the terminal is in the RRC-active state and in the power saving mode The data.

图5示出了本申请的另一个实施例,该实施例包括:步骤501~步骤512,其中,步骤507可以参考上述步骤401,此处不再赘述,步骤509为上述步骤402的一种可能的实现方式。Figure 5 shows another embodiment of the present application. This embodiment includes steps 501 to 512, where step 507 can refer to the above step 401, which will not be repeated here. Step 509 is a possibility of the above step 402 The way to achieve.

其中,步骤501~步骤506、步骤508、步骤510、步骤511、步骤512为可选的步骤。Among them, steps 501 to 506, step 508, step 510, step 511, and step 512 are optional steps.

步骤501、终端向接入管理网元发送至少一个业务的标识。Step 501: The terminal sends an identifier of at least one service to the access management network element.

相应的,接入管理网元接收来自终端的至少一个业务的标识。Correspondingly, the access management network element receives the identification of at least one service from the terminal.

其中,至少一个业务的标识为终端请求的业务。该至少一个业务可以为通过直连通信接口传输的业务,例如,V2X业务。相应的,至少一个业务用于指示终端请求通过直连通信接口传输的业务,至少一个业务包含第一应用。Wherein, the identifier of at least one service is the service requested by the terminal. The at least one service may be a service transmitted through a direct communication interface, for example, a V2X service. Correspondingly, the at least one service is used to indicate the service that the terminal requests to be transmitted through the direct communication interface, and the at least one service includes the first application.

作为一种可能的示例,该直连通信接口可以为PC5接口。As a possible example, the direct communication interface may be a PC5 interface.

可以理解的是,本申请实施例中的至少一个业务的数据能够在终端以网络调度模式获取的直连通信接口资源上传输,换言之,至少一个业务的数据也可以在接入网设备基于网络调度模式为终端配置的直连通信接口资源上传输。该至少一个业务为终端请求传输数据的业务。It is understandable that the data of at least one service in the embodiment of the present application can be transmitted on the direct communication interface resource acquired by the terminal in the network scheduling mode. In other words, the data of at least one service can also be transmitted on the access network device based on network scheduling. The mode is transmission on the direct connection communication interface resource configured by the terminal. The at least one service is a service for the terminal to request data transmission.

作为一种可能的实现方式,本申请实施例中的步骤501可以通过以下方式实现:终端向接入管理网元发送第一消息,相应的,接入管理网元接收来自终端的第一消息。该第一消息中携带至少一个业务的标识。例如,该第一消息可以为分组数据单元(packet data unit,PDU)会话(session)连接建立(PDU Session Establishment)消息或者服务请求(service request)消息。As a possible implementation manner, step 501 in the embodiment of the present application may be implemented in the following manner: the terminal sends a first message to the access management network element, and correspondingly, the access management network element receives the first message from the terminal. The first message carries the identifier of at least one service. For example, the first message may be a packet data unit (packet data unit, PDU) session (session) connection establishment (PDU) session establishment message or a service request (service request) message.

示例性的,接入管理网元可以为AMF网元。Exemplarily, the access management network element may be an AMF network element.

作为一种示例,该第一消息中还可以携带用于指示该至少一个业务为终端请求的业务的指示信息。As an example, the first message may also carry indication information used to indicate that the at least one service is a service requested by the terminal.

步骤502、接入管理网元向终端发送终端的被允许业务的标识。Step 502: The access management network element sends the identification of the allowed service of the terminal to the terminal.

相应的,终端接收来自接入管理网元的终端的被允许业务的标识。Correspondingly, the terminal receives the identifier of the permitted service from the terminal that accesses the management network element.

其中,被允许业务为接入管理网元授权终端在直连通信接口上传输数据的业务,被允许业务包括第一应用,换言之第一应用属于终端的被允许业务。The permitted service is a service in which the access management network element authorizes the terminal to transmit data on the directly connected communication interface, and the permitted service includes the first application, in other words, the first application belongs to the permitted service of the terminal.

具体的,步骤502可以通过以下方式实现:接入管理网元获得终端的签约信息。接入管理网元根据签约信息,向终端发送终端的被允许业务的标识。Specifically, step 502 may be implemented in the following manner: access to the management network element to obtain the subscription information of the terminal. The access management network element sends the terminal's allowed service identification to the terminal according to the subscription information.

作为一种示例,接入管理网元根据签约信息,向终端发送终端的被允许业务的标识,包括:接入管理网元从终端的签约信息中获取终端的被允许业务的标识。接入管理网元向终端发送终端的被允许业务的标识。As an example, the access management network element sending the identifier of the permitted service of the terminal to the terminal according to the subscription information includes: the access management network element obtains the identifier of the permitted service of the terminal from the subscription information of the terminal. The access management network element sends the identification of the allowed service of the terminal to the terminal.

在一种可能的实现方式中,本申请实施例提供的方法在步骤502之前还可以包括:接入管理网元确定终端的被允许业务的标识。In a possible implementation manner, before step 502, the method provided in the embodiment of the present application may further include: accessing the management network element to determine the identifier of the permitted service of the terminal.

作为一种可能的实现方式,接入管理网元确定被允许业务的标识可以通过以下方式实现:接入管理网元从终端的签约信息中获取终端的被允许业务的标识。例如,接入管理网元可以从UDR网元或者UDM网元处获取终端的签约信息,该签约信息中包括终端的被允许业务的标识。As a possible implementation manner, the access management network element can determine the identifier of the permitted service in the following manner: the access management network element obtains the identifier of the permitted service of the terminal from the contract information of the terminal. For example, the access management network element may obtain the subscription information of the terminal from the UDR network element or the UDM network element, and the subscription information includes the identifier of the allowed service of the terminal.

作为另一种可能的实现方式,接入管理网元确定被允许业务可以通过以下方式实现:接入管理网元从至少一个业务中确定终端的被允许业务。As another possible implementation manner, the access management network element determining the permitted service can be implemented in the following manner: the access management network element determines the permitted service of the terminal from at least one service.

应理解,本申请实施例终端的被允许业务可以为至少一个业务中的全部业务或者部分业务。例如,至少一个业务为业务1、业务2以及业务3,被允许业务可以为业务1和业务2。因此,第一应用可以为业务1和业务2中的一个或多个。It should be understood that the permitted services of the terminal in the embodiment of the present application may be all or part of at least one of the services. For example, at least one business is business 1, business 2, and business 3, and the permitted business can be business 1 and business 2. Therefore, the first application may be one or more of Service 1 and Service 2.

本申请实施例中的第一应用可以代表被允许业务中的全部业务,或者代表被允许业务中的部分业务,例如,一个业务,本申请实施例对此不作限定。The first application in the embodiment of the present application may represent all services in the permitted services, or represent part of the services in the permitted services, for example, a service, which is not limited in the embodiments of the present application.

作为一种示例,本申请实施例中的被允许业务的数据可以在终端以网络调度模式获取的直连通信接口资源上传输。当然,该被允许业务的数据可以在终端以终端自主选择模式获取的直连通信接口资源上传输。As an example, the data of the permitted service in the embodiment of the present application may be transmitted on the direct communication interface resource acquired by the terminal in the network scheduling mode. Of course, the data of the permitted service can be transmitted on the direct connection communication interface resource acquired by the terminal in the terminal autonomous selection mode.

需要说明的是,本申请实施例中的接入管理网元可以主动向终端发送被允许业务的标识,这时步骤501可以省略,也即步骤501为可选的步骤。例如,当终端在注册流程(Registration procedures)中,向接入管理网元表示终端具有在PC5接口上传输PC5业务的数据的能力时,接入管理网元便可以向终端发送被允许业务的标识。PC5业务的数据包括被允许业务的数据。It should be noted that the access management network element in the embodiment of the present application can actively send the identifier of the allowed service to the terminal. In this case, step 501 can be omitted, that is, step 501 is an optional step. For example, when the terminal indicates to the access management network element that the terminal has the ability to transmit PC5 service data on the PC5 interface during the registration procedure (Registration Procedures), the access management network element can send the identification of the allowed service to the terminal . The data of the PC5 service includes the data of the permitted service.

当然,本申请实施例中接入管理网元也可以在终端的请求下决定是否向终端发送被允许业务的标识,这时在步骤502之前还需要包括步骤501。具体的,如果接入管理网元允许终端使用网络调度模式获取的直连通信接口资源传输被允许业务的数据,接入管理网元向终端发送被允许业务的标识。如果接入管理网元不允许终端使用网络调度模式获取的直连通信接口资源传输被允许业务的数据时,接入管理网元不向终端发送被允许业务的标识。Of course, the access management network element in the embodiment of the present application may also decide whether to send the identifier of the allowed service to the terminal at the request of the terminal. In this case, step 501 needs to be included before step 502. Specifically, if the access management network element allows the terminal to use the directly connected communication interface resources acquired in the network scheduling mode to transmit data of the allowed service, the access management network element sends the identification of the allowed service to the terminal. If the access management network element does not allow the terminal to use the directly connected communication interface resources acquired in the network scheduling mode to transmit data of the allowed service, the access management network element does not send the identification of the allowed service to the terminal.

可以理解的是,接入管理网元向终端发送的被允许业务的标识是接入管理网元允许终端使用以网络调度模式获取的直连通信接口资源传输数据的业务的标识。接入管理网元向终端发送的被允许业务的标识可以是终端请求的至少一个业务的标识中的全部业务的标识或部分业务的标识,本申请实施例对此不作限定。换言之,终端请求使用网络调度模式传输业务1的数据和业务2的数据。接入管理网元可以允许终端使用 网络调度模式传输业务1的数据和业务2的数据,此时接入管理网元向终端发送业务的标识以及业务2的标识,作为被允许业务的标识,当然,如果接入管理网元允许终端使用网络调度模式传输业务1的数据,则接入管理网元向终端发送业务1的标识,作为被允许业务的标识。It is understandable that the identifier of the permitted service sent by the access management network element to the terminal is the identifier of the service that the access management network element allows the terminal to use the direct communication interface resource acquired in the network scheduling mode to transmit data. The identifier of the permitted service sent by the access management network element to the terminal may be the identifier of all the services or the identifiers of part of the services among the identifiers of at least one service requested by the terminal, which is not limited in the embodiment of the present application. In other words, the terminal requests to use the network scheduling mode to transmit service 1 data and service 2 data. The access management network element can allow the terminal to use the network scheduling mode to transmit service 1 data and service 2 data. At this time, the access management network element sends the service ID and the service 2 ID to the terminal as the ID of the allowed service. Of course If the access management network element allows the terminal to use the network scheduling mode to transmit the data of the service 1, the access management network element sends the identifier of the service 1 to the terminal as the identifier of the allowed service.

作为一种可能的实现方式中,被允许业务的标识可以由接入管理网元根据终端的签约信息以及来自终端的至少一个业务的标识确定,也可以由接入管理网元根据终端的签约信息以及终端的能力确定。例如,被允许业务的标识为签约信息中的业务的标识与至少一个业务的标识的交集。As a possible implementation, the identity of the allowed service can be determined by the access management network element according to the terminal's subscription information and the identity of at least one service from the terminal, or the access management network element can be determined based on the terminal's subscription information And the ability of the terminal is determined. For example, the identifier of the permitted service is the intersection of the identifier of the service in the subscription information and the identifier of at least one service.

作为一种可能的实现,本申请实施例中的步骤502可以通过以下方式实现:接入管理网元向终端发送第六消息。相应的,该终端接收来自接入管理网元的第六消息。其中,第六消息中包括被允许业务的标识。该第六消息用于表示允许终端使用网络调度模式获取的直连通信接口资源传输该被允许业务的数据。当然,该第六消息中还可以携带指示信息x,该指示信息x用于表示允许终端使用网络调度模式获取的直连通信接口资源传输该被允许业务的数据。例如,第六消息可以为服务接受消息。As a possible implementation, step 502 in the embodiment of the present application may be implemented in the following manner: the access management network element sends a sixth message to the terminal. Correspondingly, the terminal receives the sixth message from the access management network element. Wherein, the sixth message includes the identifier of the allowed service. The sixth message is used to indicate that the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit the data of the allowed service. Of course, the sixth message may also carry indication information x, which is used to indicate that the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit the data of the allowed service. For example, the sixth message may be a service acceptance message.

步骤503、终端向接入管理网元发送第一消息。Step 503: The terminal sends a first message to the access management network element.

相应的,接入管理网元接收来自终端的第一消息。Correspondingly, the access management network element receives the first message from the terminal.

其中,该第一消息包含第一参数,该第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输数据,或者第一参数用于表征终端请求在直连通信接口上使用网络调度模式传输至少一个业务的数据。接入管理网元根据第一参数与终端的签约信息,判断终端是否可以在直连通信接口上使用网络调度模式获取的直连通信接口资源传输数据。Wherein, the first message contains a first parameter, and the first parameter is used to characterize the terminal request to use the network scheduling mode to transmit data on the direct communication interface, or the first parameter is used to characterize the terminal request to use the network on the direct communication interface The scheduling mode transmits data of at least one service. The access management network element determines whether the terminal can transmit data on the direct communication interface using the direct communication interface resource acquired in the network scheduling mode according to the first parameter and the contract information of the terminal.

可以理解的是,终端的签约信息中不仅包括终端的被允许业务的标识还可以包括指示是否允许终端使用网络调度模式获取的直连通信接口资源传输数据的信息。It is understandable that the subscription information of the terminal includes not only the identification of the allowed service of the terminal, but also information indicating whether the terminal is allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit data.

如果终端的签约信息表明允许终端在直连通信接口上使用网络调度模式获取的直连通信接口资源传输数据,则接入管理网元向终端发送授权信息,该授权信息用于表明允许终端在直连通信接口上使用网络调度模式获取的直连通信接口资源传输数据。If the contract information of the terminal indicates that the terminal is allowed to use the direct communication interface resources obtained in the network scheduling mode to transmit data on the direct communication interface, the access management network element sends authorization information to the terminal. The authorization information is used to indicate that the terminal is allowed to be in the direct connection The direct connection communication interface resource obtained by the network scheduling mode is used to transmit data on the connection communication interface.

如果终端的签约信息表明不允许终端在直连通信接口上使用网络调度模式获取的直连通信接口资源传输数据,则接入管理网元向终端不发送授权信息。或者,接入管理网元向终端发送禁止指示信息,该禁止指示信息用于表明禁止终端在直连通信接口上使用网络调度模式获取的直连通信接口资源传输数据。如果终端没有收到授权信息,或者终端收到了禁止指示信息,则终端后续便不会以通过网络调度模式获取的直连通信接口资源在直连通信接口上传输数据。If the contract information of the terminal indicates that the terminal is not allowed to use the direct communication interface resource acquired in the network scheduling mode to transmit data on the direct communication interface, the access management network element does not send authorization information to the terminal. Alternatively, the access management network element sends prohibition indication information to the terminal, where the prohibition indication information is used to indicate that the terminal is forbidden to use the direct communication interface resource acquired in the network scheduling mode to transmit data on the direct communication interface. If the terminal does not receive the authorization information, or the terminal receives the prohibition indication information, the terminal will not subsequently transmit data on the direct communication interface using the direct communication interface resources acquired through the network scheduling mode.

应理解,一方面,“终端请求在直连通信接口上使用网络调度模式传输数据”中的数据可以指“泛指的数据”,即该数据不仅可以为PC5业务的数据,也可以为PC5业务以外的数据。另一方面,“终端请求在直连通信接口上使用网络调度模式传输数据”中的数据可以指“特指的数据”。例如,该特指的数据可以为PC5业务的数据。同时,该特指的数据也可以为其他业务的数据,例如直连通信用于发送文字消息,音频或视频的数据,该数据可以属于被允许业务的数据,本申请实施例对此不作限定。It should be understood that, on the one hand, the data in the "terminal request to use the network scheduling mode to transmit data on the direct communication interface" can refer to "general data", that is, the data can be not only PC5 service data, but also PC5 service data. Other data. On the other hand, the data in "the terminal requests to use the network scheduling mode to transmit data on the direct communication interface" can refer to "specified data". For example, the specified data may be PC5 service data. At the same time, the specified data may also be data of other services, for example, direct communication is used to send text messages, audio or video data. The data may belong to the data of permitted services, which is not limited in the embodiment of the present application.

可以理解的是,如果“终端请求使用网络调度模式在PC5接口上传输数据”中的 数据可以指“特指的数据”,则如果终端没有收到授权信息,或者终端收到了禁止指示信息,则终端后续便不会使用以网络调度模式获取的直连通信接口资源在直连通信接口上传输该“特指的数据”,但是终端可以使用网络调度模式获取的直连通信接口资源在直连通信接口上传输除“特指的数据”以外的数据。It is understandable that if the data in the "terminal request to use the network scheduling mode to transmit data on the PC5 interface" can refer to the "specified data", if the terminal does not receive the authorization information, or the terminal receives the prohibition instruction information, then The terminal will not subsequently use the direct communication interface resource acquired in the network scheduling mode to transmit the "specified data" on the direct communication interface, but the terminal can use the direct communication interface resource acquired in the network scheduling mode to communicate in the direct connection. Data other than "specified data" is transmitted on the interface.

示例性的,第一消息可以为service request消息。在一种可能的实现方式中,至少一个业务的标识携带在第一消息中。应理解,如果第一参数和至少一个业务的标识可以携带在相同的消息中,这时第一消息可以用于表示终端请求使用网络调度模式在直连通信接口上传输至少一个业务的数据。如果第一参数和至少一个业务的标识携带在不同的消息中,则一方面,该步骤503可以位于步骤501之前,即终端向接入管理网元请求使用网络调度模式在直连通信接口上传输数据,在得到接入管理网元允许使用网络调度模式在直连通信接口上传输数据的情况下,终端再向接入管理网元发送至少一个业务的标识。另一方面,该步骤503可以位于步骤501之后,即终端先向接入管理网元发送至少一个业务的标识,在获取接入管理网元授权的被授权业务的标识的情况下,终端再向接入管理网元请求使用网络调度模式在直连通信接口上传输数据。Exemplarily, the first message may be a service request message. In a possible implementation manner, the identifier of at least one service is carried in the first message. It should be understood that if the first parameter and the identifier of the at least one service can be carried in the same message, the first message may be used to indicate that the terminal requests to use the network scheduling mode to transmit data of at least one service on the direct communication interface. If the first parameter and the identification of the at least one service are carried in different messages, on the one hand, this step 503 may be before step 501, that is, the terminal requests the access management network element to use the network scheduling mode to transmit on the direct communication interface For data, when the access management network element is allowed to use the network scheduling mode to transmit data on the directly connected communication interface, the terminal sends at least one service identifier to the access management network element. On the other hand, this step 503 may be located after step 501, that is, the terminal first sends the identification of at least one service to the access management network element. After obtaining the identification of the authorized service authorized by the access management network element, the terminal sends the The access management network element requests to use the network scheduling mode to transmit data on the directly connected communication interface.

在一种可能的实现方式中,第一消息还包含第一链路标识。该第一链路标识指示用于终端在直连通信接口上传输数据的通信链路,或者该第一链路标识指示用于终端在直连通信接口上传输第一应用的数据的通信链路。例如,第一链路标识可以为源地址和目的地址。其中,源地址为终端的层2地址,目的地址为接收第一应用的数据的接收方的层2地址(例如,上述描述的其他终端的层2地址)。接入管理网元用第一链路标识管理第一链路(例如,终端在直连通信接口上传输数据的通信链路)。示例性,接入管理网元可以用第一链路标识,指示终端停止在第一链路发送数据,或者指示接入网设备停止为第一链路分配直连通信接口资源,或者接入管理网元指示接入网设备为终端配置的直连通信接口资源是针对第一链路的,这时终端可以在接入网设备为终端配置的直连通信接口资源上传输针对第一链路的数据。In a possible implementation manner, the first message further includes the first link identifier. The first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface, or the first link identifier indicates a communication link used for the terminal to transmit data of the first application on the directly connected communication interface . For example, the first link identifier may be a source address and a destination address. The source address is the layer 2 address of the terminal, and the destination address is the layer 2 address of the receiver that receives the data of the first application (for example, the layer 2 address of the other terminal described above). The access management network element uses the first link identifier to manage the first link (for example, the communication link through which the terminal transmits data on the directly connected communication interface). Exemplarily, the access management network element may use the first link identifier to instruct the terminal to stop sending data on the first link, or instruct the access network device to stop allocating direct communication interface resources for the first link, or access management The network element indicates that the direct communication interface resource configured by the access network device for the terminal is for the first link. At this time, the terminal can transmit the direct communication interface resource configured for the terminal by the access network device for the first link. data.

步骤504、终端向接入管理网元发送第二消息。Step 504: The terminal sends a second message to the access management network element.

相应的,接入管理网元接收来自终端的第二消息。Correspondingly, the access management network element receives the second message from the terminal.

其中,该第二消息包括第一服务质量参数,该第一服务质量参数为终端请求在直连通信接口上传输数据所使用的服务质量参数。Wherein, the second message includes a first quality of service parameter, and the first quality of service parameter is a quality of service parameter used by the terminal to request data transmission on the directly connected communication interface.

可以理解的是,第二消息中可以包括指示信息y,该指示信息y用于指示终端请求在直连通信接口上传输数据所使用的服务质量参数。It is understandable that the second message may include indication information y, and the indication information y is used to indicate the quality of service parameters used by the terminal to request data transmission on the directly connected communication interface.

可以理解的是,第一服务质量参数为还未经网络侧授权的直连通信接口的服务质量参数。It is understandable that the first quality of service parameter is the quality of service parameter of the directly connected communication interface that has not been authorized by the network side.

可以理解的是,该第二消息和第一消息可以为同一个消息。具体的,如果第一服务质量参数在终端获得被允许业务的标识之后才发送给接入管理网元的,则第一服务质量参数为终端请求在直连通信接口上传输被允许业务的数据所使用的服务质量参数。例如,第二消息可以为PDU会话建立请求消息,或者PDU会话修改请求消息。It is understandable that the second message and the first message may be the same message. Specifically, if the first quality of service parameter is sent to the access management network element after the terminal obtains the identifier of the permitted service, the first quality of service parameter is the data that the terminal requests to transmit the permitted service on the directly connected communication interface. The quality of service parameters used. For example, the second message may be a PDU session establishment request message or a PDU session modification request message.

通过步骤504接入管理网元可以向终端发送授权的服务质量参数,该授权的服务质量参数由策略控制网元进行授权。此外,通过步骤504接入管理网元还可以向终端或接入网设备发送指示信息,用于表示传输第一应用的数据的直连通信接口资源的资 源分配模式为网络调度模式。此外,通过步骤504接入管理网元还可以向接入网设备发送指示信息,该指示信息用于指示接入网设备当终端处于RRC-非激活状态,或者RRC-激活状态且处于省电模式时,允许终端继续使用以网络调度模式获取的直连通信接口资源在直连通信接口上传输数据。Through step 504, the access management network element can send authorized service quality parameters to the terminal, and the authorized service quality parameters are authorized by the policy control network element. In addition, through step 504, the access management network element can also send instruction information to the terminal or the access network device, which is used to indicate that the resource allocation mode of the direct communication interface resource for transmitting the data of the first application is the network scheduling mode. In addition, through step 504, the access management network element may also send indication information to the access network device, the indication information is used to indicate to the access network device when the terminal is in the RRC-inactive state, or the RRC-active state and in the power saving mode At this time, the terminal is allowed to continue to use the direct communication interface resources acquired in the network scheduling mode to transmit data on the direct communication interface.

步骤505、接入管理网元向终端发送第三消息。Step 505: The access management network element sends a third message to the terminal.

相应的,终端接收来自接入管理网元的第三消息。Correspondingly, the terminal receives the third message from the access management network element.

其中,该第三消息包括授权的服务质量参数,该授权的服务质量参数用于终端在直连通信接口上传输数据。或者授权的服务质量参数为网络侧授权终端在直连通信接口上传输数据的服务质量参数。Wherein, the third message includes the authorized service quality parameter, and the authorized service quality parameter is used for the terminal to transmit data on the directly connected communication interface. Or the authorized service quality parameter is the service quality parameter of the terminal authorized by the network side to transmit data on the directly connected communication interface.

例如,接入管理网元根据终端请求的第一服务质量参数与终端的签约数据,确定授权的服务质量参数。例如,授权的服务质量参数可以可以为第一服务质量参数。For example, the access management network element determines the authorized service quality parameter according to the first service quality parameter requested by the terminal and the subscription data of the terminal. For example, the authorized quality of service parameter may be the first quality of service parameter.

本申请实施例中涉及到的服务质量参数包括资源类型(resource Type),例如,资源类型可以为:保证比特率(guaranteed bit rate,GBR),delay critical GBR or非保证比特率(Non-GBR);优先级(priority level);数据时延(packet delay budget);数据错误率(packet error rate);计算窗口(Averaging window),针对GBR资源类型和delay-critical GBR资源类型;最大数据突发量(Maximum Data Burst Volume),针对delay-critical GBR资源类型;PC5 QoS流速率(PC5 Flow Bit Rates);PC5连接聚合速率(PC5 Link Aggregated Bit Rates);范围(range);资源分配模式(resource allocation mode)。The service quality parameters involved in the embodiments of this application include resource type (resource Type), for example, the resource type can be: guaranteed bit rate (guaranteed bit rate, GBR), delay critical GBR or non-guaranteed bit rate (Non-GBR) ;Priority level; Data delay (packet delay budget); Data error rate (packet error rate); Calculation window (Averaging window), for GBR resource type and delay-critical GBR resource type; Maximum data burst (Maximum Data Burst Volume), for delay-critical GBR resource types; PC5 QoS flow rate (PC5 Flow Bit Rates); PC5 connection aggregation rate (PC5 Link Aggregated Bit Rates); range (range); resource allocation mode (resource allocation mode) ).

步骤506、终端向接入网设备发送用于请求直连通信接口资源的消息,相应的,接入网设备接收来自终端的用于请求直连通信接口资源的消息。Step 506: The terminal sends a message for requesting direct connection communication interface resources to the access network device. Correspondingly, the access network device receives a message for requesting direct connection communication interface resources from the terminal.

具体的,终端向接入网设备请求第一应用对应的直连通信接口资源。这时接入网设备为终端配置的直连通信接口资源是针对第一应用的。相应的,上述用于请求直连通信接口资源的消息中携带第一应用的标识。Specifically, the terminal requests the directly connected communication interface resource corresponding to the first application from the access network device. At this time, the direct communication interface resource configured by the access network device for the terminal is for the first application. Correspondingly, the above-mentioned message for requesting direct communication interface resources carries the identifier of the first application.

作为一种示例,本申请实施例中的步骤506可以通过以下方式具体实现:终端向接入网设备发送第一请求消息,相应的,接入网设备接收来自终端的第一请求消息。该第一请求消息用于请求直连通信接口资源。示例性的,在终端处于RRC-激活状态时,终端向接入网设备发送第一请求消息。可以理解的是,如果第一请求消息还携带第一链路标识,则该终端向接入网设备请求的直连通信接口资源还与第一链路标识关联,即表示该直连通信接口资源用于传输针对第一链路的数据。As an example, step 506 in the embodiment of the present application may be specifically implemented in the following manner: the terminal sends a first request message to the access network device, and correspondingly, the access network device receives the first request message from the terminal. The first request message is used to request direct communication interface resources. Exemplarily, when the terminal is in the RRC-activated state, the terminal sends the first request message to the access network device. It is understandable that if the first request message also carries the first link identifier, the direct communication interface resource requested by the terminal from the access network device is also associated with the first link identifier, which means that the direct communication interface resource Used to transmit data for the first link.

在一种可能的实现方式中,本申请实施例提供的方法在步骤506之前还可以包括:终端确定当终端处于RRC-非激活状态时能够使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据,或者终端确定当终端处于RRC-激活状态且处于省电模式时,终端能够使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据。所谓终端能够使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据等同于终端确定能够使用网络调度模式在直连通信接口上传输数据。In a possible implementation manner, before step 506, the method provided in this embodiment of the present application may further include: the terminal determines that when the terminal is in the RRC-inactive state, it can use the direct communication interface resources configured by the access network device for the terminal Transmit data on the directly connected communication interface, or the terminal determines that when the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the directly connected communication interface . The so-called terminal being able to use the direct connection communication interface resources configured by the access network equipment for the terminal to transmit data on the direct connection communication interface is equivalent to the terminal determining that it can use the network scheduling mode to transmit data on the direct connection communication interface.

可以理解的是,本申请实施例中终端确定当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,终端能够使用接入网设备为终端配置的直连通 信接口资源传输数据的情况下,终端再向接入网设备请求直连通信接口资源,这样可以避免当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,但是终端却无法使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据,而盲目地申请资源引起的资源浪费。It is understandable that, in the embodiment of the application, the terminal determines that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and is in the power saving mode, the terminal can use the direct communication interface configured by the access network device for the terminal. In the case of resource transmission data, the terminal then requests direct communication interface resources from the access network device, which can avoid when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, but the terminal does not It is impossible to use the direct connection communication interface resources configured by the access network equipment for the terminal to transmit data on the direct connection communication interface, and resource waste caused by blindly applying for resources.

一种示例,接入网设备采用隐式方式指示当终端处于RRC-非激活状态时,终端能够使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据,或者接入网设备采用隐式方式指示当终端处于RRC-激活状态且处于省电模式时,终端能够使用接入网设备为终端配置的直连通信接口资源在直连通信接口上传输数据。例如,接入网设备为终端配置的直连通信接口资源为特定位置上的资源,该特定位置上的资源能够用于在终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时在直连通信接口上传输第一应用的数据,或者在直连通信接口上传输数据。这样终端如果确定接入网设备为终端配置的资源为特定位置上的资源,便可以在终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式的情况下,使用接入网设备为终端配置的直连通信接口资源传输数据。In one example, the access network device uses an implicit way to indicate that when the terminal is in the RRC-inactive state, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the direct communication interface, or connect The network access device uses an implicit way to indicate that when the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data on the direct communication interface. For example, the direct communication interface resources configured by the access network equipment for the terminal are resources in a specific location, and the resources in the specific location can be used when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and is in the province. In the electric mode, the data of the first application is transmitted on the direct communication interface, or the data is transmitted on the direct communication interface. In this way, if the terminal determines that the resource configured by the access network device for the terminal is a resource in a specific location, it can use the access when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode. The network equipment transmits data for the directly connected communication interface resources configured for the terminal.

另一种示例,接入网设备采用显式方式指示当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,终端能够使用接入网设备为终端配置的直连通信接口资源传输数据。例如,接入网设备执行步骤507。这样便于终端根据第一指示信息确定当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,终端能够使用接入网设备为终端配置的直连通信接口资源传输数据。In another example, the access network device uses an explicit way to indicate that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct connection configured by the access network device for the terminal. The communication interface resource transmits data. For example, the access network device executes step 507. This is convenient for the terminal to determine according to the first indication information that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, the terminal can use the direct communication interface resources configured by the access network device for the terminal to transmit data .

步骤507,接入网设备向终端发送资源信息。Step 507: The access network device sends resource information to the terminal.

相应的,终端接收来自接入网设备的资源信息。Correspondingly, the terminal receives resource information from the access network device.

关于步骤507的描述可以参考步骤401处的描述,此处不再赘述。For the description of step 507, reference may be made to the description of step 401, which will not be repeated here.

需要说明的是,如果终端请求接入网设备为终端配置直连通信接口资源时还携带第一链路标识,则接入网设备为终端配置的直连通信接口资源还可以与第一链路标识关联。所谓直连通信接口资源与第一链路标识关联可以表示该直连通信接口资源用于传输的数据的目的端为第一链路标识指示的通信链路的目的端。It should be noted that if the terminal requests the access network device to configure the direct connection communication interface resource for the terminal and also carries the first link identifier, the direct connection communication interface resource configured by the access network device for the terminal may also be connected to the first link. Identify the association. The so-called association of the directly connected communication interface resource with the first link identifier may indicate that the destination of the data to be transmitted by the directly connected communication interface resource is the destination of the communication link indicated by the first link identifier.

步骤508、接入网设备或者接入管理网元向终端发送第一指示信息。Step 508: The access network device or the access management network element sends the first indication information to the terminal.

相应的,终端接收来自接入网设备或者接入管理网元的第一指示信息。Correspondingly, the terminal receives the first indication information from the access network device or the access management network element.

其中,该第一指示信息用于指示允许终端处于RRC-非激活状态时使用基于网络调度模式的直连通信接口资源传输第一应用的数据。或者,该第一指示信息用于指示允许终端处于RRC-激活状态且处于省电模式时,使用基于网络调度模式的直连通信接口资源传输第一应用的数据。Wherein, the first indication information is used to indicate that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to transmit the data of the first application when the terminal is in the RRC-inactive state. Alternatively, the first indication information is used to indicate that when the terminal is allowed to be in the RRC-activated state and in the power saving mode, the direct communication interface resource based on the network scheduling mode is used to transmit the data of the first application.

相应的,终端确定当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,可以在直连通信接口上使用基于网络调度模式的直连通信接口资源传输第一应用的数据,包括:终端根据第一指示信息确定当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,可以在直连通信接口上使用基于网络调度模式的直连通信接口资源传输第一应用的数据。Correspondingly, the terminal determines that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode, it can use the direct communication interface resource based on the network scheduling mode to transmit the first application on the direct communication interface The data includes: the terminal determines according to the first indication information that when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and is in the power saving mode, the direct connection based on the network scheduling mode can be used on the direct connection communication interface The communication interface resource transmits the data of the first application.

相应的,在终端接收到第一指示信息的情况下,本申请实施例中的步骤402可以通过以下方式实现:当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处 于省电模式时,终端根据第一指示信息,在直连通信接口资源上传输第一应用的数据,包括:终端根据第一指示信息确定当终端处于RRC-非激活状态时,或者终端处于RRC-激活状态且处于省电模式时在直连通信接口上传输第一应用的数据,则终端利用直连通信接口资源传输第一应用的数据。Correspondingly, when the terminal receives the first indication information, step 402 in the embodiment of the present application can be implemented in the following manner: when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and in the power saving mode When the terminal transmits the data of the first application on the direct communication interface resource according to the first indication information, it includes: the terminal determines according to the first indication information when the terminal is in the RRC-inactive state, or the terminal is in the RRC-active state and When the data of the first application is transmitted on the direct communication interface when in the power saving mode, the terminal uses the resources of the direct communication interface to transmit the data of the first application.

在一种可能的实施例中,本申请实施例提供的方法还可以包括:终端接收来自接入管理网元的允许指示信息,该允许指示信息用于表示允许终端在直连通信接口上传输数据,通过该允许指示信息,可以便于后续终端在直连通信接口上传输数据。In a possible embodiment, the method provided in the embodiment of the present application may further include: the terminal receives permission indication information from the access management network element, where the permission indication information is used to indicate that the terminal is allowed to transmit data on the directly connected communication interface Through the permission indication information, it is convenient for subsequent terminals to transmit data on the directly connected communication interface.

在一种可能的实施例中,以本申请实施例中涉及到的数据为第一应用的数据,直连通信接口为PC5接口为例,本申请实施例提供的方法在步骤508之前还可以包括:终端生成第一应用对应的PC5接口服务质量流(PC5 QoS Flow)。该PC5接口服务质量流包括PC5接口包过滤器(packet filter)。其中,PC5接口包过滤器中的一个参数值为第一应用的标识。终端将第一应用的数据,关联到PC5接口服务质量流。其中,PC5接口包过滤器用于确定第一应用的数据。In a possible embodiment, taking the data involved in the embodiment of this application as the data of the first application, and the direct communication interface being the PC5 interface as an example, the method provided in the embodiment of this application may further include before step 508 : The terminal generates a PC5 interface quality of service flow (PC5 QoS Flow) corresponding to the first application. The PC5 interface quality of service flow includes a PC5 interface packet filter. Among them, a parameter value in the PC5 interface packet filter is the identifier of the first application. The terminal associates the data of the first application with the PC5 interface quality of service flow. Among them, the PC5 interface packet filter is used to determine the data of the first application.

作为一种具体实现,终端根据PC5接口包过滤器,确定第一应用的数据,包括:终端获取一个或多个待发送的数据,终端将一个或多个待发送的数据对应的应用标识与PC5接口包过滤器中的第一应用的标识进行对比,如果一个或多个待发送的数据中存在目标数据对应的应用标识与第一应用的标识相同,则终端确定目标数据即为第一应用的数据。所谓的终端将第一应用的数据,关联到PC5接口服务质量流可以指:终端利用PC5接口服务质量流在接入网设备为终端配置的资源上传输第一应用的数据。As a specific implementation, the terminal determines the data of the first application according to the PC5 interface packet filter, including: the terminal obtains one or more data to be sent, and the terminal associates the application identifier corresponding to the one or more data to be sent with the PC5 The identification of the first application in the interface packet filter is compared, and if the application identification corresponding to the target data in one or more to-be-sent data is the same as the identification of the first application, the terminal determines that the target data is the identification of the first application data. The so-called terminal associating the data of the first application with the PC5 interface quality of service flow may refer to: the terminal uses the PC5 interface quality of service flow to transmit the data of the first application on the resources configured by the access network device for the terminal.

在一种可能的实现方式中,上述的终端生成第一应用对应的PC5接口服务质量流之前,可以通过下述方式1或方式2获得第一应用与PC5接口服务质量流的映射关系实现:In a possible implementation manner, before the aforementioned terminal generates the PC5 interface quality of service flow corresponding to the first application, it can be achieved by obtaining the mapping relationship between the first application and the PC5 interface quality of service flow through the following manner 1 or manner 2:

方式1、终端接收来自策略控制网元的第一应用对应的PC5接口服务质量流或者配置信息。其中,配置信息用于生成第一应用对应的PC5接口服务质量流。终端根据配置信息生成第一应用对应的PC5接口服务质量流。其中,PC5接口服务质量流的参数可以为PC5接口服务质量流标识(PFI,PC5 QoS Flow Identifier)。Manner 1. The terminal receives the PC5 interface quality of service flow or configuration information corresponding to the first application from the policy control network element. Among them, the configuration information is used to generate the PC5 interface quality of service flow corresponding to the first application. The terminal generates the PC5 interface quality of service flow corresponding to the first application according to the configuration information. Among them, the parameter of the PC5 interface quality of service flow may be the PC5 interface quality of service flow identifier (PFI, PC5 QoS Flow Identifier).

示例性的,策略控制网元可以为PCF网元,第一应用对应的PC5接口服务质量流或者配置信息可以由策略控制网元主动发送给终端。当然,策略控制网元也可以在终端的请求下,向终端发送配置信息或第一应用对应的PC5接口服务质量流。本申请实施例中来自策略控制网元的第一应用对应的PC5接口服务质量流或者配置信息的优先级高于预先配置于终端处具有的第一应用对应的PC5接口服务质量流的优先级。Exemplarily, the policy control network element may be a PCF network element, and the PC5 interface quality of service flow or configuration information corresponding to the first application may be actively sent by the policy control network element to the terminal. Of course, the policy control network element may also send configuration information or the quality of service flow of the PC5 interface corresponding to the first application to the terminal at the request of the terminal. In the embodiment of the present application, the priority of the PC5 interface quality of service flow or configuration information corresponding to the first application from the policy control network element is higher than the priority of the PC5 interface quality of service flow corresponding to the first application pre-configured at the terminal.

方式2、终端根据预配置的参数,生成第一应用对应的PC5接口服务质量流。终端在SIM卡或者终端的内置存储中,提前配置了第一应用可以使用的PC5服务质量参数。终端通过预置的PC5接口服务质量参数,生成对于的PC5接口服务质量流,并且将第一应用的标识写入到PC5接口服务质量流的PC5接口包过滤器中。Manner 2: The terminal generates the PC5 interface quality of service flow corresponding to the first application according to the pre-configured parameters. The terminal is configured in advance with the PC5 service quality parameters that can be used by the first application in the SIM card or the built-in storage of the terminal. The terminal generates the corresponding PC5 interface quality of service flow through the preset PC5 interface quality of service parameters, and writes the identification of the first application into the PC5 interface packet filter of the PC5 interface quality of service flow.

步骤509、当终端处于RRC-非激活状态,或者终端处于RRC-激活状态且处于省电模式时,终端根据第一指示信息,在接入网设备为终端配置的直连通信接口资源上传输第一应用的数据。Step 509: When the terminal is in the RRC-inactive state, or when the terminal is in the RRC-active state and in the power saving mode, the terminal transmits the first instruction on the direct communication interface resource configured for the terminal by the access network device according to the first indication information. One application data.

当第一应用的数据传输结束时,为了避免接入网设备基于网络调度模式为终端配 置的直连通信接口资源被浪费,接入网设备可以及时释放掉为终端配置的用于在直连通信接口上传输第一应用的数据的直连通信接口资源。基于此,在一种可能的实施例中,如图5所示,本申请实施例提供的方法在步骤509之后还可以包括:When the data transmission of the first application ends, in order to prevent the access network equipment from wasting the direct connection communication interface resources configured for the terminal based on the network scheduling mode, the access network equipment can release in time the direct connection communication interface resources configured for the terminal. The direct connection communication interface resource for transmitting the data of the first application on the interface. Based on this, in a possible embodiment, as shown in FIG. 5, the method provided in this embodiment of the present application may further include after step 509:

步骤510、终端向接入管理网元发送第四消息。Step 510: The terminal sends a fourth message to the access management network element.

相应的,接入管理网元接收来自终端的第四消息。Correspondingly, the access management network element receives the fourth message from the terminal.

其中,该第四消息中包括第二参数,该第二参数用于表征终端停止在直连通信接口上传输数据。或者该第二参数用于表征终端已完成第一应用的数据的传输。或者该第二参数用于表征终端希望停止在直连通信接口上传输数据。或者该第二参数用于表征终端希望停止在直连通信接口上传输第一应用的数据。Wherein, the fourth message includes a second parameter, and the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. Or the second parameter is used to characterize that the terminal has completed the data transmission of the first application. Or the second parameter is used to characterize that the terminal wishes to stop transmitting data on the directly connected communication interface. Or the second parameter is used to characterize that the terminal wishes to stop transmitting the data of the first application on the directly connected communication interface.

示例性的,第四消息可以为service request消息。Exemplarily, the fourth message may be a service request message.

步骤511、接入管理网元根据第二参数,指示接入网设备释放终端的直连通信接口资源。Step 511: The access management network element instructs the access network device to release the directly connected communication interface resources of the terminal according to the second parameter.

例如,接入管理网元向接入网设备发送释放指示信息,该释放指示信息用于指示接入网设备释放终端的直连通信接口资源。或者该释放指示信息用于指示终端停止使用直连通信接口资源在直连通信接口上传输第一应用的数据,或者第一指示信息用于指示终端已完成第一应用的数据的传输。For example, the access management network element sends release instruction information to the access network device, where the release instruction information is used to instruct the access network device to release the direct communication interface resources of the terminal. Or the release indication information is used to instruct the terminal to stop using the direct communication interface resource to transmit the data of the first application on the direct communication interface, or the first indication information is used to indicate that the terminal has completed the data transmission of the first application.

步骤512、当终端停止通过上述直连通信接口资源传输数据时,接入网设备释放上述直连通信接口资源。Step 512: When the terminal stops transmitting data through the direct communication interface resource, the access network device releases the direct communication interface resource.

具体的,步骤512可以通过以下方式实现:接入网设备根据释放指示信息释放上述直连通信接口资源。或者步骤512可以通过以下方式替换:终端已完成第一应用的数据的传输,或者接入网设备需要释放为终端配置的直连通信接口资源,则接入网设备释放上述直连通信接口资源。具体的,接入网设备接收来自接入管理网元的指示信息,该指示信息用于指示终端已完成第一应用的数据的传输。具体的,接入网设备需要释放为终端配置的直连通信接口资源,包括:接入网设备根据来自接入管理网元的指示信息确定需要释放为终端配置的直连通信接口资源。Specifically, step 512 may be implemented in the following manner: the access network device releases the aforementioned direct communication interface resources according to the release instruction information. Or step 512 can be replaced in the following manner: the terminal has completed the data transmission of the first application, or the access network device needs to release the direct communication interface resource configured for the terminal, then the access network device releases the direct communication interface resource. Specifically, the access network device receives instruction information from the access management network element, where the instruction information is used to indicate that the terminal has completed the data transmission of the first application. Specifically, the need for the access network device to release the direct communication interface resources configured for the terminal includes: the access network device determines that it needs to release the direct communication interface resources configured for the terminal according to the instruction information from the access management network element.

作为一种可能的实现,本申请实施例中当接入网设备释放为终端配置的直连通信接口资源之后,接入网设备还可以向终端发送第三通知消息,该第三通知消息用于指示为该终端配置的直连通信接口资源被释放,这样便于终端根据第三通知消息确定直连通信接口资源被释放。As a possible implementation, after the access network device releases the direct communication interface resources configured for the terminal in the embodiment of the present application, the access network device may also send a third notification message to the terminal, where the third notification message is used for It indicates that the direct communication interface resource configured for the terminal is released, so that it is convenient for the terminal to determine that the direct communication interface resource is released according to the third notification message.

在一种可能的实现方式中,本申请实施例提供的方法还可以包括:终端向接入管理网元发送第三参数,相应的,接入管理网元接收来自终端的第三参数。该第三参数用于表征终端请求在直连通信接口上使用网络调度模式。通过第三参数便于接入管理网元确定终端在直连通信接口上传输数据的资源的调度方式为网络调度模式。In a possible implementation manner, the method provided in the embodiment of the present application may further include: the terminal sends a third parameter to the access management network element, and correspondingly, the access management network element receives the third parameter from the terminal. The third parameter is used to characterize that the terminal requests to use the network scheduling mode on the direct communication interface. The third parameter facilitates the access management network element to determine that the resource scheduling mode for the terminal to transmit data on the directly connected communication interface is the network scheduling mode.

在一种可能的实现方式中,本申请实施例提供的方法还可以包括:终端接收第二指示信息,该第二指示信息用于指示允许终端处于RRC-激活状态且采用省电模式时使用基于网络调度模式的直连通信接口资源传输数据。终端通过直连通信接口资源传输数据,包括:终端根据第二指示信息,通过直连通信接口资源传输上述数据。In a possible implementation manner, the method provided in the embodiment of the present application may further include: the terminal receives second indication information, the second indication information is used to indicate that the terminal is allowed to be in the RRC-activated state and use the power saving mode based on The direct connection communication interface resource of the network scheduling mode transmits data. The terminal transmitting data through the direct connection communication interface resource includes: the terminal transmits the above data through the direct connection communication interface resource according to the second instruction information.

作为一种示例,终端根据第二指示信息,通过直连通信接口资源传输上述数据,包括:终端根据第二指示信息确定接入管理网元允许终端在处于RRC-激活状态且采用 省电模式时使用基于网络调度模式的直连通信接口资源传输数据,之后终端通过直连通信接口资源传输上述数据。As an example, the terminal transmits the above-mentioned data through the direct communication interface resource according to the second indication information, including: the terminal determines according to the second indication information that the access management network element allows the terminal to be in the RRC-active state and adopts the power saving mode The direct connection communication interface resource based on the network scheduling mode is used to transmit data, and then the terminal transmits the above-mentioned data through the direct connection communication interface resource.

值得说明的是,如果第二参数用于表征终端希望停止在直连通信接口上传输数据或者第二参数用于表征终端停止在直连通信接口上传输数据,则接入管理网元可以指示接入网设备释放为该终端的所有直连通信接口资源。如果第二参数用于表征终端希望停止在直连通信接口上传输第一应用的数据或者第二参数用于表征终端停止在直连通信接口上传输第一应用的数据,则接入管理网元可以指示接入网设备释放掉为该第一应用配置的直连通信接口资源,但是该直连通信接口上的其他数据传输并不停止。It is worth noting that if the second parameter is used to characterize that the terminal wants to stop transmitting data on the direct communication interface or the second parameter is used to characterize that the terminal stops transmitting data on the direct communication interface, the access management network element can instruct the connection The network access device releases all directly connected communication interface resources for the terminal. If the second parameter is used to characterize that the terminal wishes to stop transmitting data of the first application on the direct communication interface or the second parameter is used to characterize that the terminal stops transmitting data of the first application on the direct communication interface, then access the management network element The access network device may be instructed to release the direct connection communication interface resource configured for the first application, but other data transmission on the direct connection communication interface does not stop.

如图6所示,图6以终端为UE,接入网设备为(R)AN设备,接入管理网元为AMF网元,以直连通信接口为PC5接口为例,详细描述了本申请实施例提供的一种通信方法,该方法包括:As shown in Figure 6, Figure 6 takes the terminal as the UE, the access network equipment as the (R)AN equipment, the access management network element as the AMF network element, and the direct communication interface as the PC5 interface as an example. This application is described in detail. An embodiment provides a communication method, which includes:

步骤601、UE通过(R)AN设备向AMF网元发送注册请求(registration request)消息。Step 601: The UE sends a registration request (registration request) message to the AMF network element through the (R)AN device.

相应的,AMF网元接收来自UE的注册请求消息。Correspondingly, the AMF network element receives the registration request message from the UE.

其中,注册请求消息中可以携带第一模式指示(indicator)。该注册请求消息用于请求将UE注册至核心网。Wherein, the registration request message may carry a first mode indicator (indicator). The registration request message is used to request registration of the UE to the core network.

其中,第一模式指示用于指示该UE请求在PC5接口上以网络调度模式传输PC5业务的数据,或者第一模式指示用于表示该UE具有在PC5接口上传输PC5业务的数据的能力。The first mode indication is used to indicate that the UE requests to transmit PC5 service data in the network scheduling mode on the PC5 interface, or the first mode indication is used to indicate that the UE has the ability to transmit PC5 service data on the PC5 interface.

例如,PC5业务可以为VRU业务,PC5业务也可以为其他使用PC5接口进行通信的业务,如终端之间进行直连通信的业务。For example, the PC5 service may be a VRU service, and the PC5 service may also be another service that uses a PC5 interface for communication, such as a service for direct communication between terminals.

可选的,该注册请求消息中还可以携带该UE的标识。Optionally, the registration request message may also carry the identity of the UE.

在步骤601之后,UE可以与核心网中的其他网元执行注册流程中的其他步骤。After step 601, the UE may perform other steps in the registration procedure with other network elements in the core network.

步骤602、AMF网元向UDM网元发送注册请求消息。Step 602: The AMF network element sends a registration request message to the UDM network element.

相应的,UDM网元接收来自AMF网元的注册请求消息。Correspondingly, the UDM network element receives the registration request message from the AMF network element.

步骤603、UDM网元向AMF网元发送注册响应(registration response)消息。Step 603: The UDM network element sends a registration response (registration response) message to the AMF network element.

相应地,AMF网元接收来自UDM网元的注册响应消息。Correspondingly, the AMF network element receives the registration response message from the UDM network element.

其中,注册响应消息中可以携带UE的签约信息,其中,UE的签约信息包含以下信息中的一个或多个:第一能力(capability)信息,以及授权指示信息。其中,第一能力信息表示该UE具有在PC5接口上传输PC5业务的数据的能力。授权指示信息用于表示允许该UE在PC5接口上使用网络调度模式获取的直连通信接口资源传输PC5业务的数据。The registration response message may carry the subscription information of the UE, where the subscription information of the UE includes one or more of the following information: first capability (capability) information, and authorization indication information. Wherein, the first capability information indicates that the UE has the capability of transmitting PC5 service data on the PC5 interface. The authorization indication information is used to indicate that the UE is allowed to use the direct communication interface resources obtained in the network scheduling mode to transmit data of the PC5 service on the PC5 interface.

步骤604、AMF网元选择为UE提供服务的PCF网元。Step 604: The AMF network element selects a PCF network element that provides services for the UE.

步骤605、AMF网元与PCF网元之间执行接入和移动性策略(Access and mobility policy,AM policy)策略连接建立/修改(association Establishment/Modification)流程。Step 605: The AMF network element and the PCF network element execute an access and mobility policy (Access and Mobility Policy, AM Policy) policy connection establishment/modification (association Establishment/Modification) process.

在步骤605之后,UE与核心网中的其他网元执行注册流程中的其他步骤。After step 605, the UE and other network elements in the core network perform other steps in the registration procedure.

步骤606、AMF网元向UE发送注册接受(registration accept)消息,相应的,UE接收来自AMF网元的注册接受消息。Step 606: The AMF network element sends a registration accept message to the UE. Correspondingly, the UE receives the registration accept message from the AMF network element.

其中,注册接受消息中包括授权指示信息。Wherein, the registration acceptance message includes authorization instruction information.

UE通过授权指示信息便可以确定该UE能够在PC5接口上使用网络调度模式获取的直连通信接口资源传输PC5业务的数据。The UE can determine through the authorization indication information that the UE can use the direct communication interface resources acquired in the network scheduling mode to transmit the data of the PC5 service on the PC5 interface.

图6所示的实施例的目的在于:UE通过注册流程确定该UE能够在PC5接口上使用网络调度模式获取的直连通信接口资源传输PC5业务的数据。The purpose of the embodiment shown in FIG. 6 is that the UE determines through the registration process that the UE can use the direct communication interface resources acquired in the network scheduling mode on the PC5 interface to transmit PC5 service data.

其中,图6所示的实施例中的注册请求消息可以对应上述实施例中的第一消息,第一模式指示可以对应上述第一参数或者第三参数。Wherein, the registration request message in the embodiment shown in FIG. 6 may correspond to the first message in the foregoing embodiment, and the first mode indication may correspond to the foregoing first parameter or third parameter.

如图7所示,图7以终端为UE,接入网设备为(R)AN设备,接入管理网元为AMF网元,PC5业务包括至少一个业务,直连通信接口为PC5接口为例,描述了一种UE采用低功耗的方式传输PC5业务的数据的方法,该方法包括:As shown in Figure 7, Figure 7 takes the terminal as the UE, the access network device as the (R)AN device, the access management network element as the AMF network element, the PC5 service includes at least one service, and the direct communication interface is the PC5 interface as an example. , Describes a method for UE to transmit PC5 service data in a low-power consumption manner, and the method includes:

步骤701、UE进入传输PC5业务的数据的模式。Step 701: The UE enters the mode of transmitting the data of the PC5 service.

作为一种具体实现,步骤701可以通过以下方式实现:上层调用与V2X层之间的AT命令(AT command),以触发UE进入传输PC5业务的数据的模式。例如上层可以为UE的应用层,该上层和V2X层可以位于UE内部。As a specific implementation, step 701 can be implemented in the following manner: the upper layer invokes an AT command (AT command) between the upper layer and the V2X layer to trigger the UE to enter the mode of transmitting PC5 service data. For example, the upper layer may be the application layer of the UE, and the upper layer and the V2X layer may be located inside the UE.

步骤702、UE通过(R)AN设备向AMF网元发送服务请求消息(service request message)。Step 702: The UE sends a service request message (service request message) to the AMF network element through the (R)AN device.

相应地,AMF网元通过(R)AN设备接收来自终端的服务请求消息。Correspondingly, the AMF network element receives the service request message from the terminal through the (R)AN device.

其中,服务请求消息中携带PC5业务的请求、至少一个业务的标识、UE请求在PC5接口上传输数据的服务质量参数(requested PC5 QoS parameters)1、但不携带PDU会话列表(list of PDU Session)。Among them, the service request message carries the request of the PC5 service, the identifier of at least one service, and the quality of service parameters (requested PC5 QoS parameters) that the UE requests to transmit data on the PC5 interface 1, but does not carry the PDU session list (list of PDU Session) .

其中,PC5业务的请求用于表示UE请求在PC5接口上传输PC5业务的数据。服务请求消息中不携带list of PDU Session用于表示终端发送服务请求消息的目的不是因为有数据要在Uu上进行发送。Among them, the PC5 service request is used to indicate that the UE requests to transmit PC5 service data on the PC5 interface. The service request message does not carry the list of PDU Session, which is used to indicate that the purpose of the terminal sending the service request message is not because there is data to be sent on the Uu.

例如,requested PC5 QoS parameters可以包含下列参数一个或多个:For example, the requested PC5 QoS parameters can include one or more of the following parameters:

-PC5 5G服务质量参数标识(QoS Identifier)(PQI);-PC5 5G QoS Identifier (PQI);

-资源类型(resource Type),例如,资源类型可以为:保证比特率(guaranteed bit rate,GBR),时延关键保证速率(delay critical GBR)或者非保证比特率(Non-GBR);-Resource Type, for example, the resource type can be: guaranteed bit rate (guaranteed bit rate, GBR), delay critical GBR (delay critical GBR) or non-guaranteed bit rate (Non-GBR);

-优先级(priority level);-Priority level;

-数据时延(packet delay budget);-Data delay (packet delay budget);

-数据错误率(packet error rate);-Data error rate (packet error rate);

-计算窗口(Averaging window),针对GBR资源类型和delay-critical GBR资源类型;-Averaging window, for GBR resource type and delay-critical GBR resource type;

-最大数据突发量(Maximum Data Burst Volume),针对delay-critical GBR资源类型;-Maximum Data Burst Volume, for the delay-critical GBR resource type;

-PC5 QoS流速率(PC5 Flow Bit Rates);-PC5 QoS flow rate (PC5 Flow Bit Rates);

-PC5连接聚合速率(PC5 Link Aggregated Bit Rates);-PC5 Link Aggregated Bit Rates;

-范围(range);-Range (range);

-资源分配模式(resource allocation mode)。-Resource allocation mode.

应理解,requested PC5 QoS parameters中包括的资源分配模式为终端请求的资源 分配模式,例如,该资源分配模式可以为网络调度模式。It should be understood that the resource allocation mode included in the requested PC5 QoS parameters is the resource allocation mode requested by the terminal. For example, the resource allocation mode may be a network scheduling mode.

步骤703、AMF网元向PCF网元发送AM策略请求(policy request)消息。Step 703: The AMF network element sends an AM policy request (policy request) message to the PCF network element.

相应的,PCF网元接收来自AMF网元的AM策略请求消息。Correspondingly, the PCF network element receives the AM policy request message from the AMF network element.

其中,AM策略请求消息中携带至少一个业务的标识,以及requested PC5 QoS parameters1。Among them, the AM policy request message carries the identifier of at least one service and the requested PC5 QoS parameters1.

步骤704、PCF网元向AMF网元发送AM策略响应(policy response)消息。Step 704: The PCF network element sends an AM policy response (policy response) message to the AMF network element.

相应的,AMF网元接收来自PCF网元的AM策略响应消息。Correspondingly, the AMF network element receives the AM policy response message from the PCF network element.

其中,AM策略响应消息中携带PCF网元授权UE在PC5接口上使用的QoS参数(authorized PC5 QoS parameters)2、被允许业务的标识以及优选调度模式(allocation mode)。例如,优选调度模式可以为网络调度模式,即模式1(mode 1)。网络侧授权UE使用基于网络调度模式获取的直连通信接口资源在PC5接口上传输被允许业务的数据。Among them, the AM policy response message carries the QoS parameters (authorized PC5 QoS parameters) that the PCF network element authorizes the UE to use on the PC5 interface, the identifier of the allowed service, and the preferred scheduling mode (allocation mode). For example, the preferred scheduling mode may be the network scheduling mode, that is, mode 1 (mode 1). The network side authorizes the UE to use the direct communication interface resources acquired based on the network scheduling mode to transmit data of allowed services on the PC5 interface.

可以理解的是,优选调度模式也可以为终端自主选择模式,即模式2(mode 2)。终端则通过自主选择的直连通信接口资源,在PC5接口上传输被允许业务的数据。It can be understood that the preferred scheduling mode may also be a mode independently selected by the terminal, that is, mode 2 (mode 2). The terminal transmits the data of the permitted service on the PC5 interface through the directly connected communication interface resource selected by itself.

该优选调度模式指示被允许业务对应的PC5接口服务质量流需要使用低功耗的方式传输。The preferred scheduling mode indicates that the PC5 interface quality of service stream corresponding to the permitted service needs to be transmitted in a low power consumption manner.

其中,PC5接口服务质量流包括PC5接口包过滤器(packet filter)。PC5接口包过滤器中的一个PC5接口服务质量流的(PC5 QoS Flow Identifer,PFI)值为被允许业务的标识。Among them, the PC5 interface quality of service flow includes a PC5 interface packet filter. A PC5 interface quality of service flow (PC5 QoS Flow Identifer, PFI) value in the PC5 interface packet filter is an identifier of an allowed service.

其中,低功耗的方式传输数据,包括(不限于)在PC5接口上使用SPS资源分配方式(即UE在PC5接口上使用(R)AN设备为UE配置的SPS资源),或者在特定的资源池中由终端随机选择直连通信接口资源发送数据。Among them, low-power transmission of data, including (not limited to) the use of SPS resource allocation on the PC5 interface (that is, the UE uses the SPS resources configured by the (R)AN device on the PC5 interface for the UE), or in specific resources In the pool, the terminal randomly selects the directly connected communication interface resource to send data.

步骤705、AMF网元向(R)AN设备发送N2(N2 request)消息,相应的,(R)AN设备接收来自AMF网元的N2消息。Step 705: The AMF network element sends an N2 (N2 request) message to the (R)AN device, and correspondingly, the (R)AN device receives the N2 message from the AMF network element.

其中,N2消息中包括authorized PC5 QoS parameters 2、优选调度模式、被允许业务的标识以及服务接受(service accept)消息。其中,service accept消息中包括被允许业务的标识。authorized PC5 QoS parameters 2中包括被允许业务的标识以及优选调度模式。例如,优选调度模式为网络调度模式。其中,被允许业务的标识为授权UE在PC5接口上传输数据的业务的标识。被允许业务属于至少一个业务中的全部业务或者部分业务。authorized PC5 QoS parameters 2、优选调度模式、被允许业务的标识可以携带在UE的上下文中。Among them, the N2 message includes authorized PC5 QoS parameters 2, the preferred scheduling mode, the identifier of the allowed service, and the service accept message. Among them, the service accept message includes the identifier of the allowed service. The authorized PC5 QoS parameters 2 includes the identifier of the allowed service and the preferred scheduling mode. For example, the preferred scheduling mode is the network scheduling mode. Wherein, the identifier of the allowed service is the identifier of the service that authorizes the UE to transmit data on the PC5 interface. The permitted business belongs to all or part of at least one business. authorized PC5 QoS parameters 2, the preferred scheduling mode, and the identifier of the allowed service can be carried in the context of the UE.

应理解,(R)AN设备接收到authorized PC5 QoS parameters 2之后,便可以根据authorized PC5 QoS parameters 2为终端分配用于传输被允许业务的数据的直连通信接口资源。例如,authorized PC5 QoS parameters 2表示AMF网元授权终端传输被允许业务的数据的保障带宽为5M,则(R)AN设备为终端分配用于传输被允许业务的数据的直连通信接口资源的带宽至少为5M,以保障被允许业务的数据的可靠传输。当然,(R)AN设备为终端分配用于传输被允许业务的数据的直连通信接口资源时不仅需要参考authorized PC5 QoS parameters 2还可以参考(R)AN设备处的剩余资源或者其他终端需要的直连通信接口资源,本申请实施例对此不作限定。It should be understood that after the (R)AN device receives authorized PC5 QoS parameters 2, it can allocate direct communication interface resources for the terminal to transmit data of allowed services according to authorized PC5 QoS parameters 2. For example, authorized PC5 QoS parameters 2 means that the guaranteed bandwidth for the AMF network element to authorize the terminal to transmit the data of the allowed service is 5M, and the (R)AN device allocates the bandwidth of the direct communication interface resource for the terminal to transmit the data of the allowed service At least 5M to ensure reliable transmission of data for permitted services. Of course, when the (R)AN device allocates direct communication interface resources for the terminal to transmit data of allowed services, it not only needs to refer to authorized PC5 QoS parameters, but also refer to the remaining resources at the (R)AN device or other terminal needs. Direct connection communication interface resources are not limited in this embodiment of the application.

可选的,该AMF网元还可以向(R)AN设备发送模式指示1(对应第四指示信息),该模式指示1用于指示当(R)AN设备与UE在空口(例如,Uu接口)没有数据的情况下,(R)AN设备与UE保持Uu接口连接(即(R)AN设备与UE之间保持RRC连接),且UE需要采用省电模式与(R)AN设备保持Uu接口连接。Optionally, the AMF network element may also send a mode indication 1 (corresponding to fourth indication information) to the (R)AN device. The mode indication 1 is used to indicate when the (R)AN device and the UE are on the air interface (for example, Uu interface). ) When there is no data, the (R)AN device maintains the Uu interface connection with the UE (that is, the (R)AN device maintains an RRC connection between the UE and the UE), and the UE needs to use the power saving mode to maintain the Uu interface with the (R)AN device connect.

作为一种可能的实现方式,该模式指示1(对应第四指示信息)用于指示在预设时长内如果(R)AN设备与UE在空口没有数据传输,(R)AN设备需要与UE保持Uu接口连接,且在(R)AN设备与UE之间保持Uu接口连接时,UE需要采用省电模式。可以理解的是,在超过预设时长之后,如果(R)AN设备与UE在空口依然没有数据传输,(R)AN设备可以释放与UE之间的Uu接口连接,即(R)AN设备释放与UE之间的RRC连接,使得UE处于RRC-非激活状态。As a possible implementation, the mode indication 1 (corresponding to the fourth indication information) is used to indicate that if there is no data transmission between the (R)AN device and the UE on the air interface within the preset time period, the (R)AN device needs to keep with the UE. When the Uu interface is connected, and the Uu interface connection is maintained between the (R)AN device and the UE, the UE needs to adopt a power saving mode. It is understandable that after the preset time period is exceeded, if there is still no data transmission between the (R)AN device and the UE on the air interface, the (R)AN device can release the Uu interface connection with the UE, that is, the (R)AN device releases The RRC connection with the UE makes the UE in the RRC-inactive state.

步骤706、(R)AN设备向UE发送RRC连接重配置(connection reconfiguration)信息。Step 706: The (R)AN device sends RRC connection reconfiguration (connection reconfiguration) information to the UE.

其中,RRC连接重配置信息中包括侧行链路无线承载(SL RB)的配置(configuration),以及服务接受消息。Among them, the RRC connection reconfiguration information includes the configuration of the side link radio bearer (SL RB) and the service acceptance message.

其中,服务接受消息中包括被允许业务的标识以及authorized PC5 QoS parameters 2。Among them, the service acceptance message includes the identifier of the allowed service and authorized PC5 QoS parameters 2.

可以理解的是,侧行链路无线承载(SL RB)的配置(configuration)用于为UE配置在PC5接口上传输被允许业务的数据的无线承载。该RRC连接重配置信息可以由(R)AN设备主动向UE发送,或者,(R)AN设备基于UE的请求才向UE发送该RRC连接重配置信息。例如,如果(R)AN设备从AMF网元获取到N2消息之后,便主动向UE发送该RRC连接重配置信息。It is understandable that the configuration of the side link radio bearer (SL RB) is used to configure the radio bearer for the UE to transmit data of the allowed service on the PC5 interface. The RRC connection reconfiguration information may be actively sent by the (R)AN device to the UE, or the (R)AN device may send the RRC connection reconfiguration information to the UE based on the request of the UE. For example, if the (R)AN device obtains the N2 message from the AMF network element, it will actively send the RRC connection reconfiguration information to the UE.

本申请实施例中步骤706的目标在于:UE通过(R)AN设备接收来自AMF网元的被允许业务的标识以及authorized PC5 QoS parameters 2。The goal of step 706 in the embodiment of this application is that the UE receives the identifier of the allowed service from the AMF network element and authorized PC5 QoS parameters 2 through the (R)AN device.

步骤707、PCF网元更新UE的策略。Step 707: The PCF network element updates the UE's policy.

其中,该策略可以包含被允许业务的标识以及被允许业务的标识对应的PC5接口服务质量流。Among them, the policy may include the identifier of the permitted service and the PC5 interface quality of service flow corresponding to the identifier of the permitted service.

其中,PC5接口服务质量流可以包括PC5接口过滤器,该PC5接口过滤器用于确定被允许业务的数据。具体的,PC5接口过滤器中可以包括被允许业务的标识。以被允许业务包括应用1为例,则PC5接口过滤器中可以包括应用1的标识。Wherein, the PC5 interface quality of service flow may include a PC5 interface filter, and the PC5 interface filter is used to determine the data of allowed services. Specifically, the PC5 interface filter may include the identifier of the allowed service. Taking the permitted service including application 1 as an example, the PC5 interface filter may include the identification of application 1.

步骤708、PCF网元向UE发送更新后UE的策略。Step 708: The PCF network element sends the updated UE policy to the UE.

相应的,UE接收来自PCF网元的更新后的UE的策略。Correspondingly, the UE receives the updated UE policy from the PCF network element.

作为一种示例,PCF网元可以主动向UE发送更新后UE的策略。作为另一种示例,PCF网元可以基于UE的请求向UE发送更新后UE的策略。例如,PCF网元接收来自UE的UE策略更新(UE policy update)请求消息。该UE策略更新请求消息用于请求UE的策略。PCF网元根据UE策略更新请求消息,向UE发送UE策略更新响应消息。该UE策略更新响应消息中包括更新后的UE的策略。As an example, the PCF network element may actively send the updated UE policy to the UE. As another example, the PCF network element may send the updated UE policy to the UE based on the request of the UE. For example, the PCF network element receives a UE policy update (UE policy update) request message from the UE. The UE policy update request message is used to request the UE's policy. The PCF network element sends a UE policy update response message to the UE according to the UE policy update request message. The UE policy update response message includes the updated UE policy.

下述步骤709~步骤711以被允许的业务包括应用1为例。The following steps 709 to 711 take the permitted service including application 1 as an example.

步骤709、UE向(R)AN设备请求用于在PC5接口上传输应用1的数据的直连通信接口资源。Step 709: The UE requests the (R)AN device for direct communication interface resources for transmitting data of application 1 on the PC5 interface.

在一种可能的实现方式中,步骤709可以通过以下方式替换:UE根据应用1的标识,源层2标识、目的层2标识向(R)AN设备请求用于在PC5接口上传输应用1的数据的直连通信接口资源。UE向(R)AN设备提供源层2标识、目的层2标识便于(R)AN设备确定应用1的数据的发送方的地址,以及应用1的数据的接收方的地址。In a possible implementation manner, step 709 can be replaced by the following method: the UE requests the (R)AN device to transmit application 1 on the PC5 interface according to the application 1 identification, source layer 2 identification, and destination layer 2 identification. Data direct communication interface resources. The UE provides the source layer 2 identification and the destination layer 2 identification to the (R)AN device so that the (R)AN device can determine the address of the sender of the application 1 data and the address of the recipient of the application 1 data.

步骤710、(R)AN设备根据优选调度模式,为UE分配SPS资源。Step 710: The (R)AN device allocates SPS resources to the UE according to the preferred scheduling mode.

其中,该SPS资源可以用于在PC5接口上传输应用1的数据。可以理解,SPS资源为直连通信接口资源的一种。Among them, the SPS resource can be used to transmit application 1 data on the PC5 interface. It can be understood that the SPS resource is a type of direct communication interface resource.

步骤711、UE根据PC5接口服务质量流,在PC5接口上使用上述SPS资源发送应用1的数据。Step 711: The UE uses the above-mentioned SPS resource to send data of application 1 on the PC5 interface according to the quality of service flow of the PC5 interface.

作为一种可能的实现方式,本申请实施例中的步骤711可以通过以下方式实现:UE根据PC5接口包过滤器(packet filter)确定应用1的数据,然后UE在PC5接口通信链路上使用上述直连通信接口资源发送应用1的数据。例如,UE根据PC5接口包过滤器(packet filter)确定应用1的数据可以通过以下方式实现:UE确定待发送的数据对应的应用的标识与PC5接口包过滤器中携带的应用1的标识相同,则UE确定待发送的数据为应用1的数据。As a possible implementation, step 711 in the embodiment of this application can be implemented in the following way: the UE determines the data of application 1 according to the PC5 interface packet filter, and then the UE uses the above-mentioned data on the PC5 interface communication link. The direct communication interface resource sends application 1 data. For example, the UE determining the data of application 1 according to the PC5 interface packet filter can be achieved in the following way: the UE determines that the identifier of the application corresponding to the data to be sent is the same as the identifier of the application 1 carried in the PC5 interface packet filter. Then the UE determines that the data to be sent is application 1 data.

如果UE中具有的其他PC5接口包过滤器与PCF网元为UE提供的PC5接口包过滤器不一致,则PCF网元为UE提供的PC5接口包过滤器的优先级高于UE中具有的其他PC5接口包过滤器的优先级。换言之,步骤711中的PC5接口包过滤器一方面可以为UE中具有的其他PC5接口包过滤器,也可以为PCF网元为UE提供的PC5接口包过滤器。当二者不一致时,步骤711中的PC5接口包过滤器为PCF网元为UE提供的PC5接口包过滤器。If the other PC5 interface packet filter in the UE is inconsistent with the PC5 interface packet filter provided by the PCF network element for the UE, the priority of the PC5 interface packet filter provided by the PCF network element for the UE is higher than the other PC5 interface packet filters in the UE. The priority of the interface packet filter. In other words, the PC5 interface packet filter in step 711 may be, on the one hand, other PC5 interface packet filters in the UE, or it may be a PC5 interface packet filter provided by the PCF network element for the UE. When the two are inconsistent, the PC5 interface packet filter in step 711 is the PC5 interface packet filter provided by the PCF network element for the UE.

需要说明的是,当UE在PC5接口上使用(R)AN设备为UE配置的直连通信接口资源发送应用1的数据时,(R)AN设备根据模式指示1,配置UE在空口(例如,Uu接口)没有数据传输的情况下,保持Uu接口连接。具体的,UE在Uu接口上保持RRC-Connected状态,需要使用省电的技术,例如,Long DRX。可以理解的是,当UE在Uu接口上保持RRC-Connected状态且采用省电的技术时,(R)AN设备可以向UE指示,UE可以继续使用(R)AN设备为UE配置的上述资源传输应用1的数据。It should be noted that when the UE uses the direct communication interface resources configured by the (R)AN device for the UE to send application 1 data on the PC5 interface, the (R)AN device configures the UE on the air interface according to the mode indication 1 (for example, Uu interface) When there is no data transmission, keep the Uu interface connection. Specifically, the UE maintains the RRC-Connected state on the Uu interface and needs to use power-saving technologies, such as Long DRX. It is understandable that when the UE maintains the RRC-Connected state on the Uu interface and adopts power saving technology, the (R)AN device can indicate to the UE, and the UE can continue to use the above resource transmission configured by the (R)AN device for the UE. Apply the data of 1.

处于RRC connected状态下的终端测量的内容比处于空闲(Idle)态的终端测量的内容多,处于RRC connected状态的终端其实比处于Idle状态的终端更加耗电。The content measured by the terminal in the RRC connected state is more than the content measured by the terminal in the idle state, and the terminal in the RRC connected state actually consumes more power than the terminal in the idle state.

在图7所示的实施例中,如果UE与(R)AN设备之间在Uu接口上没有数据传输,但是UE还需要在PC5接口上进行数据传输,在这种情况下:虽然UE可以保持与(R)AN设备之间的RRC连接,但是,UE需要采用省电模式,这时UE能够继续使用(R)AN设备为UE配置的直连通信接口资源发送被允许业务的数据,以降低UE的功耗。另一方面该方案中后续待UE和(R)AN设备之间需要在Uu接口进行数据传输时,UE无需重新通过随机接入流程与(R)AN设备之间重新建立RRC连接,以传输数据。且对于下行传输,(R)AN设备也可以省略重新寻呼终端的过程。In the embodiment shown in Figure 7, if there is no data transmission on the Uu interface between the UE and the (R)AN device, the UE also needs to perform data transmission on the PC5 interface. In this case: Although the UE can keep RRC connection with the (R)AN device, but the UE needs to adopt a power saving mode. At this time, the UE can continue to use the direct communication interface resources configured by the (R)AN device for the UE to send data of allowed services to reduce UE power consumption. On the other hand, in this solution, when data transmission between the UE and the (R)AN device needs to be performed on the Uu interface, the UE does not need to re-establish an RRC connection with the (R)AN device through the random access process to transmit data. . And for downlink transmission, the (R)AN device can also omit the process of re-paging the terminal.

在图7所示的实施例中服务请求消息(Service Request message)对应上述实施例 中的第一消息。应用1的标识对应上述实施例中的第一应用的标识,终端请求在PC5接口上传输数据的服务质量参数(requested PC5 QoS parameters)1对应上述实施例中的第一服务质量参数,源层2标识(source L2 ID)以及目的层2标识(destination L2 ID)对应第一链路标识。authorized PC5 QoS parameters2对应上述实施例中的授权的服务质量参数,下述实施例但凡涉及到相关名称可以参考此处的描述。In the embodiment shown in FIG. 7, the service request message (Service Request message) corresponds to the first message in the foregoing embodiment. The identification of application 1 corresponds to the identification of the first application in the above-mentioned embodiment, and the terminal requests the quality of service parameters (requested PC5 QoS parameters) of data transmission on the PC5 interface 1 corresponds to the first quality of service parameter in the above-mentioned embodiment, source layer 2 The identifier (source L2 ID) and the destination layer 2 identifier (destination L2 ID) correspond to the first link identifier. authorized PC5 QoS parameters2 corresponds to the authorized quality of service parameters in the foregoing embodiment. For the following embodiments, if relevant names are involved, please refer to the description here.

在图7所示的实施例中描述了UE在服务请求流程中获取authorized PC5 QoSparameters2以及PC5接口包过滤器的过程,以及在UE需要在PC5接口上传输应用1的数据时,当UE在Uu接口上与(R)AN设备不具有数据传输时,UE保持与(R)AN设备在Uu接口上的RRC-Connected状态,且采用省电的技术,这时UE能够继续使用(R)AN设备为基于网络调度模式为UE配置的直连通信接口资源资源在PC5接口上传输应用1的数据。The embodiment shown in FIG. 7 describes the process in which the UE obtains authorized PC5 QoSparameters2 and the PC5 interface packet filter in the service request process, and when the UE needs to transmit application 1 data on the PC5 interface, when the UE is on the Uu interface When the upper and (R)AN device does not have data transmission, the UE maintains the RRC-Connected state on the Uu interface with the (R)AN device and adopts power-saving technology. At this time, the UE can continue to use the (R)AN device as The direct communication interface resource resource configured for the UE based on the network scheduling mode transmits the data of the application 1 on the PC5 interface.

参考图8,图8给出了本申请实施例的另一种通信方法,该方法与图7所示的实施例的区别在于:UE在分组数据单元(packet data unit,PDU)会话(session)流程中从PCF网元处获取authorized PC5 QoS parameters2以及PC5接口包过滤器。该方法包括:Referring to FIG. 8, FIG. 8 shows another communication method of an embodiment of the present application. The difference between this method and the embodiment shown in FIG. 7 is that the UE is in a packet data unit (PDU) session (session). In the process, the authorized PC5 QoS parameters2 and PC5 interface packet filter are obtained from the PCF network element. The method includes:

步骤801、UE向AMF网元发送PDU会话建立请求(PDU session establishment request)消息。Step 801: The UE sends a PDU session establishment request (PDU session establishment request) message to the AMF network element.

相应的,AMF网元接收来自UE的PDU会话建立请求消息。Correspondingly, the AMF network element receives the PDU session establishment request message from the UE.

其中,PDU会话建立请求消息中可以包括:数据网络名称(data network name,DNN),PC5业务的指示,至少一个业务的标识以及UE请求的在PC5接口上传输数据的服务质量参数(requested PC5 QoS parameters)1。其中,服务质量参数1中包括至少一个业务的标识。服务质量参数1中包括至少一个业务的标识表示该服务质量参数1为传输至少一个业务的数据时使用的服务质量参数。其中,PC5业务的指示用于表示UE具有在PC5接口上传输PC5业务的能力。Among them, the PDU session establishment request message may include: data network name (data network name, DNN), PC5 service indication, at least one service identifier, and the UE requested quality of service parameters (requested PC5 QoS) for data transmission on the PC5 interface. parameters)1. Wherein, the service quality parameter 1 includes at least one service identifier. The identification of at least one service included in the service quality parameter 1 indicates that the service quality parameter 1 is a service quality parameter used when transmitting data of at least one service. Among them, the indication of the PC5 service is used to indicate that the UE has the ability to transmit the PC5 service on the PC5 interface.

步骤802、AMF网元为UE选择建立上述PDU会话的SMF网元。Step 802: The AMF network element selects the SMF network element that establishes the aforementioned PDU session for the UE.

步骤803、AMF网元触发到SMF网元的PDU会话建立会话管理上下文请求(Nsmf_PDU session_CreateSMContext request)服务操作。相应的,SMF网元接收来自AMF网元的Nsmf_PDU session_CreateSMContext request服务操作。Step 803: The AMF network element triggers the PDU session establishment session management context request (Nsmf_PDU session_CreateSMContext request) service operation to the SMF network element. Correspondingly, the SMF network element receives the Nsmf_PDU session_CreateSMContext request service operation from the AMF network element.

其中,Nsmf_PDU session_CreateSMContext request服务中包括PC5业务的指示,至少一个业务的标识以及requested PC5 QoS parameters 1。Among them, the Nsmf_PDU session_CreateSMContext request service includes the indication of the PC5 service, the identifier of at least one service, and the requested PC5 QoS parameters 1.

可以理解的是,在步骤803之后UE与核心网中的其他网元继续执行PDU会话建立过程中的其他流程。It can be understood that after step 803, the UE and other network elements in the core network continue to perform other procedures in the PDU session establishment process.

步骤804、SMF网元向PCF网元发送会话管理策略连接修改(SM Policy Association Modification)请求消息。Step 804: The SMF network element sends a session management policy connection modification (SM Policy Association Modification) request message to the PCF network element.

相应的,PCF网元接收来自SMF网元的SM Policy Association Modification请求消息。Correspondingly, the PCF network element receives the SM Policy Association Modification request message from the SMF network element.

其中,SM Policy Association Modification请求消息中可以携带至少一个业务的标识,和requested PC5 QoS parameters 1。Among them, the SM Policy Association Modification request message can carry at least one service identifier and requested PC5 QoS parameters 1.

步骤805、PCF网元向SMF网元发送会话管理策略连接修改(SM Policy Association  Modification)响应消息。Step 805: The PCF network element sends a session management policy connection modification (SM Policy Association Modification) response message to the SMF network element.

相应的,SMF网元接收来自PCF网元的SM Policy Association Modification响应消息。其中,SM Policy Association Modification响应消息中可以包括:authorized PC5 QoS parameters2。Correspondingly, the SMF network element receives the SM Policy Association Modification response message from the PCF network element. Among them, the SM Policy Association Modification response message may include: authorized PC5 QoS parameters2.

其中,authorized PC5 QoS parameters2中可以包括authorized PC5 QoS parameters2对应的优选调度模式为网络调度模式。Among them, authorized PC5 QoS parameters2 may include authorized PC5 QoS parameters2. The preferred scheduling mode corresponding to authorized PC5 QoS parameters2 is the network scheduling mode.

可以理解的是,在步骤805之后UE与核心网中的其他网元继续执行PDU会话建立过程中的其他流程。It can be understood that after step 805, the UE and other network elements in the core network continue to perform other procedures in the PDU session establishment process.

步骤806、SMF网元向AMF网元发送N1容器(container)以及N2容器。Step 806: The SMF network element sends an N1 container and an N2 container to the AMF network element.

相应的,AMF网元接收来自SMF网元的N1容器以及N2容器。Correspondingly, the AMF network element receives the N1 container and the N2 container from the SMF network element.

其中,N1容器可以包括被允许业务的标识,authorized PC5 QoS parameters2,PC5接口包过滤器。其中,PC5接口包过滤器可以包括被允许业务的标识。Among them, the N1 container can include the identifier of the allowed service, authorized PC5 QoS parameters2, and the PC5 interface packet filter. Among them, the PC5 interface packet filter may include the identifier of the allowed service.

其中,N2容器中可以包括authorized PC5 QoS parameters2以及被允许业务的标识。Among them, the N2 container may include authorized PC5 QoS parameters2 and the identification of allowed services.

其中,被允许业务为至少一个业务中的应用。Among them, the permitted service is an application in at least one service.

步骤807、AMF网元向(R)AN设备发送N2容器。Step 807: The AMF network element sends the N2 container to the (R)AN device.

步骤808、AMF网元向UE发送N1容器。Step 808: The AMF network element sends the N1 container to the UE.

相应的,UE接收来自AMF网元的N1容器。这样便于UE及时获知经PCF网元授权UE在PC5接口上传输被允许业务的数据使用的authorized PC5 QoS parameters2以及PC5接口包过滤器。Correspondingly, the UE receives the N1 container from the AMF network element. In this way, it is convenient for the UE to know in time the authorized PC5 QoS parameters2 and the PC5 interface packet filter used by the PCF network element to authorize the UE to transmit the data of the allowed service on the PC5 interface.

在图8所示的实施例中,UE可以通过PDU会话建立流程获取经过网络侧授权的被允许业务的标识,以及确定被允许业务的数据可以采用UE以网络调度模式获取的直连通信接口资源传输。此外,UE还可以通过PDU会话建立流程获取authorized PC5 QoS parameters2以及PC5接口包过滤器,以便于在后续UE需要传输被允许业务的数据时可以直接采用authorized PC5 QoS parameters2以及PC5接口包过滤器。In the embodiment shown in FIG. 8, the UE can obtain the identifier of the allowed service authorized by the network side through the PDU session establishment process, and the data for determining the allowed service can use the direct communication interface resource obtained by the UE in the network scheduling mode. transmission. In addition, the UE can also obtain the authorized PC5 QoS parameters2 and the PC5 interface packet filter through the PDU session establishment process, so that the authorized PC5 QoS parameters2 and the PC5 interface packet filter can be directly used when the UE needs to transmit the data of the allowed service in the subsequent.

应理解,图8所示的实施例以PDU会话建立流程为例,上述PDU会话建立流程也可以由PDU会话修改/更新流程替换。上述PDU会话建立请求消息可以对应第一消息。此外,图8所示的实施例,以UE在PDU会话建立流程中获取authorized PC5 QoS parameters2。It should be understood that the embodiment shown in FIG. 8 takes the PDU session establishment process as an example, and the foregoing PDU session establishment process may also be replaced by a PDU session modification/update process. The foregoing PDU session establishment request message may correspond to the first message. In addition, the embodiment shown in FIG. 8 uses the UE to obtain authorized PC5 QoS parameters 2 in the PDU session establishment process.

参考图9为本申请实施例提供的另一种通信方法,该方法包括:Refer to FIG. 9 for another communication method provided by an embodiment of this application, and the method includes:

步骤901、UE通过(R)AN设备向AMF网元发送服务请求消息,相应的,AMF网元通过(R)AN设备接收来自UE的服务请求消息。Step 901: The UE sends a service request message to the AMF network element through the (R)AN device, and correspondingly, the AMF network element receives the service request message from the UE through the (R)AN device.

其中,服务请求消息中包括PDU会话的标识、至少一个业务的标识以及PC5业务的请求。其中,PC5业务的请求用于表示UE请求在PC5接口上传输PC5业务的数据。Wherein, the service request message includes the identifier of the PDU session, the identifier of at least one service, and the request of the PC5 service. Among them, the PC5 service request is used to indicate that the UE requests to transmit PC5 service data on the PC5 interface.

步骤902、AMF网元触发到SMF网元的PDU会话更新会话管理上下文请求(Nsmf_PDUSession_Update SM context request)服务操作。相应的,SMF网元接收来自AMF网元的PDU会话更新会话管理上下文请求服务。其中,PDU会话更新会话管理上下文请求服务操作中包括至少一个业务的标识以及PC5业务的请求。Step 902: The AMF network element triggers a PDU session update session management context request (Nsmf_PDUSession_Update SM context request) service operation to the SMF network element. Correspondingly, the SMF network element receives the PDU session update session management context request service from the AMF network element. Wherein, the PDU session update session management context request service operation includes at least one service identifier and a PC5 service request.

步骤903、SMF网元触发到AMF网元的PDU会话更新会话管理上下文响应 (Nsmf_PDUSession_Update SM context response)服务操作,相应的,AMF网元接收来自SMF网元的服务化的PDU会话更新会话管理上下文响应服务操作。Step 903: The SMF network element triggers a PDU session update session management context response (Nsmf_PDUSession_Update SM context response) service operation to the AMF network element, and accordingly, the AMF network element receives a serviced PDU session update session management context response from the SMF network element Service operation.

其中,PDU会话更新会话管理上下文响应服务操作中包括被允许业务的标识、authorized PC5 QoS parameters2、authorized PC5 QoS parameters2对应的优选调度模式以及第二模式指示。其中,authorized PC5 QoS parameters2对应的优选调度模式为网络调度模式。该被允许业务可以为至少一个业务中的业务。其中,第二模式指示用于指示(R)AN设备当终端处于RRC-非激活状态时仍然能够使用以网络调度模式获取的直连通信接口资源传输PC5业务的数据。Among them, the PDU session update session management context response service operation includes the identifier of the allowed service, the authorized PC5 QoS parameters2, the authorized PC5 QoS parameters2 corresponding preferred scheduling mode, and the second mode indication. Among them, the preferred scheduling mode corresponding to authorized PC5 QoS parameters2 is the network scheduling mode. The permitted service may be a service in at least one service. The second mode indication is used to indicate that the (R)AN device can still use the direct communication interface resource acquired in the network scheduling mode to transmit data of the PC5 service when the terminal is in the RRC-inactive state.

图9中的PDU会话更新会话管理上下文请求服务操作可以对应上述第一消息。The PDU session update session management context request service operation in FIG. 9 may correspond to the above-mentioned first message.

步骤904、AMF网元向(R)AN设备发送N2容器,相应的(R)AN设备接收来自AMF网元的N2容器。Step 904: The AMF network element sends the N2 container to the (R)AN device, and the corresponding (R)AN device receives the N2 container from the AMF network element.

其中,N2容器中包括authorized PC5 QoS parameters2、authorized PC5 QoS parameters2对应的优选调度模式以及第二模式指示。通过该第二模式指示(R)AN设备便可以配置终端处于RRC-非激活状态时仍然使用网络调度模式获取的直连通信接口资源传输PC5业务的数据。Among them, the N2 container includes authorized PC5 QoS parameters2, authorized PC5 QoS parameters2 corresponding to the preferred scheduling mode and the second mode indication. Through the second mode indication (R)AN device, it is possible to configure the terminal to still use the direct communication interface resources obtained in the network scheduling mode to transmit the data of the PC5 service when the terminal is in the RRC-inactive state.

步骤905、SMF网元向UE发送N1容器,相应的,UE接收来自SMF网元的N1容器。Step 905: The SMF network element sends the N1 container to the UE, and correspondingly, the UE receives the N1 container from the SMF network element.

其中,N1容器中包括被允许业务的标识、authorized PC5 QoS parameters2以及PC5接口包过滤器。Among them, the N1 container includes the identifier of the allowed service, authorized PC5 QoS parameters2, and the PC5 interface packet filter.

下述步骤906~步骤911以被允许业务包括应用1为例,换言之,后续步骤906~步骤911以UE在PC5接口上使用直连通信接口资源传输应用1的数据为例。The following steps 906 to 911 take the permitted service including application 1 as an example. In other words, the subsequent steps 906 to 911 take the UE using the direct communication interface resource to transmit data of the application 1 on the PC5 interface as an example.

步骤906、UE向(R)AN设备请求用于传输应用1的数据的直连通信接口资源。Step 906: The UE requests the (R)AN device for direct connection communication interface resources for transmitting application 1 data.

可以理解的是,步骤906~步骤911为可选的步骤,该步骤906~步骤911可以在当UE需要发送被允许业务的数据时执行。It can be understood that step 906 to step 911 are optional steps, and step 906 to step 911 can be executed when the UE needs to send data of an allowed service.

步骤907、(R)AN设备基于UE的优选调度模式为UE配置用于传输应用1的数据的直连通信接口资源,相应的,UE接收来自(R)AN设备的用于传输应用1的数据的直连通信接口资源。Step 907: The (R)AN device configures the direct communication interface resource for transmitting application 1 data for the UE based on the preferred scheduling mode of the UE, and correspondingly, the UE receives the data for transmitting application 1 from the (R)AN device Directly connected communication interface resources.

步骤908、UE根据PC5接口包过滤器,使用(R)AN设备为该UE配置的上述直连通信接口资源在PC5接口上发送被应用1的数据。Step 908: According to the PC5 interface packet filter, the UE uses the direct communication interface resource configured by the (R)AN device for the UE to send the data of the application 1 on the PC5 interface.

步骤909、(R)AN设备根据第二模式指示,向UE发送第一通知消息,相应的,UE接收来自(R)AN设备的第一通知消息。其中,第一通知消息用于指示UE从RRC-激活状态进入RRC-非激活状态。Step 909: The (R)AN device sends a first notification message to the UE according to the second mode indication, and correspondingly, the UE receives the first notification message from the (R)AN device. The first notification message is used to instruct the UE to enter the RRC-inactive state from the RRC-active state.

可以理解的是,在步骤909之前,还包括:(R)AN设备确定与UE之间在Uu接口上不具有数据传输。It can be understood that, before step 909, it further includes: the (R)AN device determines that there is no data transmission on the Uu interface between the (R)AN device and the UE.

步骤910、(R)AN设备向UE发送第一指示信息,该第一指示信息用于指示当UE进入RRC-非激活状态允许UE继续使用(R)AN设备为该UE配置的上述直连通信接口资源在PC5接口上发送应用1的数据。Step 910: The (R)AN device sends first indication information to the UE, where the first indication information is used to indicate that when the UE enters the RRC-inactive state, the UE is allowed to continue to use the aforementioned direct communication configured by the (R)AN device for the UE. The interface resource sends application 1 data on the PC5 interface.

步骤911、UE根据第一指示信息,在UE进入RRC-非激活状态的情况下,继续使用(R)AN设备为该UE配置的上述直连通信接口资源在PC5接口上发送应用1的 数据。Step 911: According to the first indication information, the UE continues to use the direct communication interface resources configured by the (R)AN device for the UE to send application 1 data on the PC5 interface when the UE enters the RRC-inactive state.

图7和图8以及图9所示的实施例中服务请求消息(Service Request message)对应上述实施例中的第一消息。应用1的标识对应上述实施例中的第一应用的标识,终端请求在PC5接口上传输数据的服务质量参数(requested PC5 QoS parameters)1对应上述实施例中的第一服务质量参数。源层2标识(source L2 ID)以及目的层2标识(destination L2 ID)对应第一链路标识。authorized PC5 QoS parameters2对应上述实施例中的授权的服务质量参数。The service request message (Service Request message) in the embodiments shown in FIG. 7 and FIG. 8 and FIG. 9 corresponds to the first message in the foregoing embodiment. The identification of application 1 corresponds to the identification of the first application in the foregoing embodiment, and the QoS parameter (requested PC5 QoS parameters) 1 for which the terminal requests to transmit data on the PC5 interface corresponds to the first quality of service parameter in the foregoing embodiment. The source layer 2 identifier (source L2 ID) and the destination layer 2 identifier (destination L2 ID) correspond to the first link identifier. authorized PC5 QoS parameters2 corresponds to the authorized quality of service parameters in the foregoing embodiment.

参考图10为本申请实施例提供的另一种通信方法,该方法包括:Refer to FIG. 10 for another communication method provided by an embodiment of this application, and the method includes:

步骤1001、UE通过(R)AN向AMF网元发送注册请求消息。Step 1001: The UE sends a registration request message to the AMF network element through the (R)AN.

相应的,AMF网元通过(R)AN接收来自UE的注册请求消息。Correspondingly, the AMF network element receives the registration request message from the UE through the (R)AN.

其中,该注册请求消息可以包括requested PC5 QoS parameters1、至少一个业务的标识。Wherein, the registration request message may include requested PC5 QoS parameters1, at least one service identifier.

可选的,该注册请求消息还可以包括PC5通信标识(communication ID),其中,PC5 communication ID用于表征UE在PC5接口上传输至少一个业务的数据的PC5通信链路。例如,PC5通信链路可以由源地址和目的地址。该源地址为源层2标识,例如,UE的层2地址(source L2 ID),目的地址为目的层2标识(destination L2 ID),例如,接收该PC5业务的数据的UE的层2地址。Optionally, the registration request message may further include a PC5 communication ID (communication ID), where the PC5 communication ID is used to characterize the PC5 communication link through which the UE transmits data of at least one service on the PC5 interface. For example, the PC5 communication link can consist of a source address and a destination address. The source address is the source layer 2 identifier, for example, the layer 2 address (source L2 ID) of the UE, and the destination address is the destination layer 2 identifier (destination L2 ID), for example, the layer 2 address of the UE that receives the data of the PC5 service.

可选的,该注册请求消息还可以包括第一模式指示,第一模式指示用于指示该UE请求在PC5接口上以网络调度模式传输PC5业务的数据,或者第一模式指示用于表示该UE具有在PC5接口上传输PC5业务的数据的能力。Optionally, the registration request message may also include a first mode indication, the first mode indication is used to indicate that the UE requests to transmit PC5 service data in the network scheduling mode on the PC5 interface, or the first mode indication is used to indicate that the UE It has the ability to transmit PC5 service data on the PC5 interface.

步骤1002、AMF网元触发到PCF网元的终端策略控制更新(Npcf_UEPolicyControl_Update)消息。Step 1002: The AMF network element triggers a terminal policy control update (Npcf_UEPolicyControl_Update) message to the PCF network element.

相应的,PCF网元接收来自AMF网元的服务化的终端策略控制更新消息。Correspondingly, the PCF network element receives a service-oriented terminal policy control update message from the AMF network element.

其中,终端策略控制更新消息中携带步骤1001中UE请求的requested PC5 QoS parameters1、至少一个业务的标识。可选的,该终端策略控制更新消息中还可以包括第一模式指示以及PC5通信标识。Wherein, the terminal policy control update message carries the requested PC5 QoS parameters1 requested by the UE in step 1001, and the identifier of at least one service. Optionally, the terminal policy control update message may also include the first mode indication and the PC5 communication identifier.

步骤1003、PCF网元更新该UE的策略。Step 1003: The PCF network element updates the UE's policy.

其中,该UE的策略包含用于传输被允许业务的数据的PC5 communication ID,被允许业务的标识,以及被允许业务的标识对应的PC5接口服务质量流。其中,PC5接口服务质量流中包括PC5接口Packet filter set。PC5接口Packet filter set中包括被允许业务的标识。Among them, the UE's policy includes the PC5 communication ID used to transmit the data of the permitted service, the ID of the permitted service, and the PC5 interface quality of service flow corresponding to the ID of the permitted service. Among them, the PC5 interface quality of service flow includes the PC5 interface Packet filter set. The Packet filter set of the PC5 interface includes the identifier of the allowed service.

步骤1004、PCF网元向AMF网元发送N1N2通信消息传输服务Step 1004: The PCF network element sends the N1N2 communication message transmission service to the AMF network element

(Namf_Communication_N1N2Message Transfer)。(Namf_Communication_N1N2Message Transfer).

相应的,AMF网元接收来自PCF网元的Namf_Communication_N1N2Message Transfer。其中,Namf_Communication_N1N2Message Transfer中包括PC5接口Packet filter set。可选的,Namf_Communication_N1N2Message Transfer中还可以包括PC5通信标识。Correspondingly, the AMF network element receives Namf_Communication_N1N2Message Transfer from the PCF network element. Among them, Namf_Communication_N1N2Message Transfer includes the PC5 interface Packet filter set. Optionally, the Namf_Communication_N1N2Message Transfer may also include the PC5 communication identifier.

步骤1005、AMF网元向UE传输该UE的策略。Step 1005: The AMF network element transmits the UE's strategy to the UE.

相应的,UE接收来自AMF网元的该UE的策略。Correspondingly, the UE receives the UE's policy from the AMF network element.

其中,该UE的策略可以包含用于传输被允许业务的数据的PC5 communication ID,被允许业务的标识,以及被允许业务的标识对应的PC5接口服务质量流。Among them, the UE's policy may include the PC5 communication ID used to transmit the data of the permitted service, the ID of the permitted service, and the PC5 interface quality of service flow corresponding to the ID of the permitted service.

图10所示的实施例主要描述了UE通过注册流程从PCF网元处获取PC5接口Packet filter set以及经过网络侧授权的PC5 communication ID、以及被允许业务的标识。The embodiment shown in FIG. 10 mainly describes that the UE obtains the PC5 interface Packet filter set, the PC5 communication ID authorized by the network side, and the identifier of the allowed service from the PCF network element through the registration process.

参考图11为本申请实施例提供的另一种通信方法,该方法包括:Refer to FIG. 11 for another communication method provided by an embodiment of this application, and the method includes:

步骤1101、UE向AMF网元发送服务请求消息(Service Request message)。Step 1101, the UE sends a service request message (Service Request message) to the AMF network element.

相应的,该AMF网元接收来自UE的服务请求消息。Correspondingly, the AMF network element receives the service request message from the UE.

其中,服务请求消息可以用于UE请求在PC5接口上传输至少一个业务的数据,进一步地,该服务请求消息可以用于UE请求以网络调度模式(network scheduled mode)在PC5接口上传输至少一个业务的数据。Among them, the service request message can be used for the UE to request the transmission of at least one service data on the PC5 interface. Further, the service request message can be used for the UE to request the transmission of at least one service on the PC5 interface in network scheduled mode (network scheduled mode). The data.

示例性的,服务请求消息中可以携带至少一个业务的标识。该业务可以参考前述相关描述。Exemplarily, the service request message may carry the identifier of at least one service. For this service, please refer to the aforementioned related description.

可选的,该服务请求消息中还携带PC5 communication ID和/或操作(Operation)指示。Optionally, the service request message also carries PC5 communication ID and/or operation (Operation) indication.

其中,PC5 communication ID用于表征UE在PC5接口上传输至少一个业务的PC5通信链路。例如,PC5通信链路可以由源地址和目的地址。该源地址为UE的层2地址,目的地址为接收该至少一个业务的数据的UE的层2地址。Among them, the PC5 communication ID is used to characterize the PC5 communication link through which the UE transmits at least one service on the PC5 interface. For example, the PC5 communication link can consist of a source address and a destination address. The source address is the layer 2 address of the UE, and the destination address is the layer 2 address of the UE that receives the data of the at least one service.

其中,操作指示用于表征激活PC5业务。所谓PC5业务是指:UE在PC5接口上传输的业务。PC5业务可以包括上述至少一个业务。本申请实施例中的PC5业务也可以称为VRU业务。Among them, the operation instruction is used to characterize the activation of the PC5 service. The so-called PC5 service refers to the service transmitted by the UE on the PC5 interface. The PC5 service may include at least one service described above. The PC5 service in the embodiment of the present application may also be referred to as a VRU service.

示例性的,Operation指示设置为“激活(activate)”,表示UE请求以网络调度模式在PC5接口上传输上述至少一个业务的数据。或者Operation设置为“激活Exemplarily, the Operation indication is set to "activate", which means that the UE requests to transmit data of the aforementioned at least one service on the PC5 interface in the network scheduling mode. Or Operation is set to "Activate

(activate)”,表示UE请求激活以网络调度模式在PC5接口上传输上述至少一个业务的数据。其中,“激活(activate)”可以采用预设的值表示,例如,用预设的二进制“1”表示。(activate)" means that the UE requests activation to transmit the data of the above at least one service on the PC5 interface in the network scheduling mode. Among them, "activate" can be represented by a preset value, for example, a preset binary "1" "Express.

作为一种可能的实现,步骤1101可以通过以下方式实现:UE向(R)AN设备发送服务请求消息。相应的,(R)AN设备向AMF网元发送NAS消息,该NAS消息中包括服务请求消息。As a possible implementation, step 1101 can be implemented in the following manner: the UE sends a service request message to the (R)AN device. Correspondingly, the (R)AN device sends a NAS message to the AMF network element, and the NAS message includes a service request message.

步骤1102、当AMF网元处不具有该UE的PC5 communication ID对应的上下文时,AMF网元向PCF网元发送消息1。Step 1102, when the AMF network element does not have the context corresponding to the PC5 communication ID of the UE, the AMF network element sends a message 1 to the PCF network element.

相应的,PCF网元接收来自AMF网元的消息1。Correspondingly, the PCF network element receives the message 1 from the AMF network element.

其中,消息1中可以携带PC5 communication ID、至少一个业务的标识。例如消息1可以为AM策略请求(AM policy request)。Among them, the message 1 may carry the PC5 communication ID and the identification of at least one service. For example, message 1 may be an AM policy request (AM policy request).

PC5 communication ID对应的上下文可以指:PC5 communication ID关联的PC5通信链路的上下文,PC5通信链路的上下文至少包括在该PC5通信链路上传输的业务的授权PC5 QoS参数等。The context corresponding to the PC5 communication ID may refer to: the context of the PC5 communication link associated with the PC5 communication ID, and the context of the PC5 communication link includes at least the authorized PC5 QoS parameters of the service transmitted on the PC5 communication link.

需要指出的是,步骤1102-步骤1103为可选步骤,可以不执行。It should be pointed out that steps 1102 to 1103 are optional steps and may not be executed.

步骤1103、PCF网元向AMF网元发送响应消息1。Step 1103: The PCF network element sends a response message 1 to the AMF network element.

相应的,AMF网元接收来自PCF网元的响应消息1。Correspondingly, the AMF network element receives the response message 1 from the PCF network element.

其中,该响应消息1可以包括授权PC5 QoS参数(Authorized PC5 QoS parameters)、被允许业务的标识,以及PC5业务的优选调度模式。Wherein, the response message 1 may include authorized PC5 QoS parameters (Authorized PC5 QoS parameters), the identifier of the allowed service, and the preferred scheduling mode of the PC5 service.

其中,被允许业务可以为至少一个业务中的全部或者部分业务,或者被允许业务的标识可以AMF网元从该UE的签约信息中得到的。例如,PC5业务的优选调度模式可以为网络调度模式。例如,PC5业务的优选调度模式可以携带在RRC非激活辅助信息(RRC Inactive Assistance Information中。The permitted service may be all or part of the at least one service, or the identifier of the permitted service may be obtained by the AMF network element from the subscription information of the UE. For example, the preferred scheduling mode of the PC5 service may be the network scheduling mode. For example, the preferred scheduling mode of the PC5 service may be carried in RRC Inactive Assistance Information (RRC Inactive Assistance Information).

假设PC5业务的优选调度模式为网络调度模式,那么通过步骤1103中的响应消息1,AMF网元便可以确定网络侧授权UE使用网络调度模式在PC5接口传输被允许业务的数据。Assuming that the preferred scheduling mode of the PC5 service is the network scheduling mode, then through the response message 1 in step 1103, the AMF network element can determine that the network side authorizes the UE to use the network scheduling mode to transmit data of allowed services on the PC5 interface.

步骤1104、AMF网元向(R)AN设备发送N2消息。Step 1104: The AMF network element sends an N2 message to the (R)AN device.

相应的,(R)AN设备接收来自AMF网元的N2消息。其中,该N2消息中可以包括PC5 communication ID、PC5业务的优选调度模式、被允许业务的标识以及Authorized PC5 QoS parameters。Correspondingly, the (R)AN device receives the N2 message from the AMF network element. Among them, the N2 message may include the PC5 communication ID, the preferred scheduling mode of the PC5 service, the identifier of the allowed service, and the Authorized PC5 QoS parameters.

其中,PC5业务的优选调度模式可以携带在RRC非激活辅助信息(RRC Inactive Assistance Information中),或者,Authorized PC5 QoS parameters中包括该PC5业务的优选调度模式。The preferred scheduling mode of the PC5 service may be carried in RRC Inactive Assistance Information (RRC Inactive Assistance Information), or the Authorized PC5 QoS parameters include the preferred scheduling mode of the PC5 service.

上述PC5 communication ID、PC5业务的优选调度模式、被允许业务的标识以及Authorized PC5 QoS parameters可以携带在该UE的上下文中。The aforementioned PC5 communication ID, the preferred scheduling mode of the PC5 service, the identifier of the allowed service, and the Authorized PC5 QoS parameters can be carried in the context of the UE.

以PC5业务的优选调度模式为网络调度模式为例,则PC5业务的优选调度模式可以用于向(R)AN设备指示,当(R)AN设备与该UE之间的Uu在预设时间(例如,30s)没有数据后,(R)AN设备需要配置UE进入RRC-非激活(inactive)状态,并且当UE处于RRC-非激活(inactive)状态下,UE可以PC5接口上继续使用以网络调度模式获取的直连通信接口资源发送被允许业务的数据。Taking the preferred scheduling mode of the PC5 service as the network scheduling mode as an example, the preferred scheduling mode of the PC5 service can be used to indicate to the (R)AN device, when the Uu between the (R)AN device and the UE is at a preset time ( For example, after 30s) there is no data, the (R)AN device needs to configure the UE to enter the RRC-inactive state, and when the UE is in the RRC-inactive state, the UE can continue to use the PC5 interface for network scheduling The direct communication interface resource acquired by the mode sends the data of the allowed service.

可以理解的是,(R)AN设备通过PC5业务的优选调度模式便可以确定当UE处于RRC-非激活(inactive)状态下,UE能够PC5接口上继续使用以网络调度模式获取的直连通信接口资源发送被允许业务的数据。It is understandable that the (R)AN device can determine through the preferred scheduling mode of the PC5 service that when the UE is in the RRC-inactive state, the UE can continue to use the direct communication interface obtained in the network scheduling mode on the PC5 interface The resource sends the data of the allowed service.

在一种可能的实现方式中,N2消息中还可以包括PC5业务模式指示,该PC5业务模式指示当UE和(R)AN设备之间在Uu接口上不具有数据传输的情况下,(R)AN设备配置终端从RRC-激活(active)状态进入RRC-非激活状态。In a possible implementation, the N2 message may also include a PC5 service mode indication. The PC5 service mode indication is that when there is no data transmission between the UE and the (R)AN device on the Uu interface, (R) The AN device configures the terminal to enter the RRC-inactive state from the RRC-active (active) state.

在一种可能的实现方式中,该N2消息中还可以包括AMF网元向UE发送的服务接受消息(service accept message),该服务接受消息(service accept message)中包括被允许业务的标识。可选的,该服务接受消息中还可以包括PCF网元提供的PC5接口服务质量流。In a possible implementation manner, the N2 message may also include a service acceptance message (service accept message) sent by the AMF network element to the UE, and the service acceptance message (service accept message) includes an identifier of an allowed service. Optionally, the service acceptance message may also include the PC5 interface quality of service flow provided by the PCF network element.

当然,该被允许业务的标识还可以携带在AMF网元通过(R)AN设备向UE发送的N1容器中。Of course, the identifier of the allowed service can also be carried in the N1 container sent by the AMF network element to the UE through the (R)AN device.

步骤1105、(R)AN设备向UE发送RRC连接重配置消息。Step 1105: The (R)AN device sends an RRC connection reconfiguration message to the UE.

相应的,UE接收来自(R)AN设备的RRC连接重配置消息。该RRC连接重配置消息中包括AMF网元向UE发送的被允许业务的标识。可选的,该RRC连接重配置消息中包括AMF网元向UE发送的PCF网元提供的PC5接口服务质量流。Correspondingly, the UE receives the RRC connection reconfiguration message from the (R)AN device. The RRC connection reconfiguration message includes the identifier of the allowed service sent by the AMF network element to the UE. Optionally, the RRC connection reconfiguration message includes the PC5 interface quality of service flow provided by the PCF network element sent by the AMF network element to the UE.

以被允许业务包括第一应用为例,则本申请实施例提供的方法还可以包括:步骤1106。Taking the permitted service including the first application as an example, the method provided in this embodiment of the present application may further include: step 1106.

步骤1106、UE确定第一应用的PC5接口服务质量流。Step 1106: The UE determines the PC5 interface quality of service flow of the first application.

具体的,步骤1106可以通过以下方式实现:UE根据PCF网元提供的PC5接口服务质量流确定第一应用的PC5接口服务质量流,或者,UE根据预配置参数确定第一应用的PC5接口服务质量流。Specifically, step 1106 can be implemented in the following manner: the UE determines the PC5 interface quality of service flow of the first application according to the PC5 interface quality of service flow provided by the PCF network element, or the UE determines the PC5 interface quality of service of the first application according to pre-configured parameters flow.

可以理解的是,在Service Request流程之后,如果UE打算传输第一应用的数据,该方法还可以包括步骤1107~步骤1112:It is understandable that after the Service Request process, if the UE intends to transmit data of the first application, the method may further include steps 1107 to 1112:

步骤1107、UE向(R)AN设备请求用于传输第一应用的数据的直连通信接口资源。Step 1107: The UE requests the (R)AN device for direct connection communication interface resources for transmitting data of the first application.

步骤1108、(R)AN设备为终端配置用于传输第一应用的数据的直连通信接口资源。Step 1108: The (R)AN device configures a direct communication interface resource for transmitting data of the first application for the terminal.

相应的,UE接收来自(R)AN设备的用于传输第一应用的数据的直连通信接口资源。Correspondingly, the UE receives the direct communication interface resource used to transmit the data of the first application from the (R)AN device.

步骤1109、UE根据第一应用的PC5接口服务质量流,使用(R)AN设备为UE配置的直连通信接口资源在PC5接口上传输第一应用的数据。Step 1109: The UE uses the direct communication interface resources configured by the (R)AN device for the UE to transmit the data of the first application on the PC5 interface according to the quality of service flow of the PC5 interface of the first application.

具体的,PC5接口服务质量流中的一个参数为第一应用的标识,如果UE确定待传输的数据对应的应用标识与第一应用的标识相同,则确定该待传输的数据为第一应用的数据,然后使用(R)AN设备为UE配置的直连通信接口资源在PC5接口上传输第一应用的数据。Specifically, a parameter in the quality of service flow of the PC5 interface is the identity of the first application. If the UE determines that the application identity corresponding to the data to be transmitted is the same as the identity of the first application, it is determined that the data to be transmitted is the identity of the first application. Data, and then use the direct communication interface resources configured by the (R)AN device for the UE to transmit the data of the first application on the PC5 interface.

可以理解的是,步骤1109为UE处于RRC-激活(active)状态时UE在直连通信接口资源上传输第一应用的数据的过程。当然,该步骤1109可以省略。It is understandable that step 1109 is a process in which the UE transmits the data of the first application on the directly connected communication interface resource when the UE is in the RRC-active (active) state. Of course, this step 1109 can be omitted.

步骤1110、(R)AN设备根据PC5业务模式指示,向UE发送第一通知消息。Step 1110: The (R)AN device sends a first notification message to the UE according to the PC5 service mode indication.

其中,该第一通知消息用于通知UE从RRC-激活(active)状态进入RRC-inactive状态。The first notification message is used to notify the UE to enter the RRC-inactive state from the RRC-active (active) state.

例如,当UE和(R)AN设备之间在Uu接口上不具有数据传输的情况下,(R)AN设备配置终端从RRC-激活(active)状态进入RRC-非激活状态,在RRC-非激活状态,UE与(R)AN设备之间的RRC连接被释放。For example, when there is no data transmission between the UE and the (R)AN device on the Uu interface, the (R)AN device configures the terminal to enter the RRC-inactive state from the RRC-active (active) state. In the active state, the RRC connection between the UE and the (R)AN device is released.

步骤1111、(R)AN设备向UE发送第一指示信息。Step 1111, the (R)AN device sends first indication information to the UE.

相应的,UE接收来自(R)AN设备的第一指示信息。该第一指示信息用于指示当UE处于RRC-inactive状态下,UE能够继续使用上述(R)AN设备为该UE配置的直连通信接口资源在PC5接口上传输被允许业务的数据。Correspondingly, the UE receives the first indication information from the (R)AN device. The first indication information is used to indicate that when the UE is in the RRC-inactive state, the UE can continue to use the direct communication interface resources configured by the (R)AN device for the UE to transmit data of allowed services on the PC5 interface.

步骤1112、当UE处于RRC-inactive状态时,UE根据第一指示信息,使用上述(R)AN设备为该UE配置的直连通信接口资源在PC5接口上传输第一应用的数据。Step 1112, when the UE is in the RRC-inactive state, the UE uses the direct communication interface resources configured by the (R)AN device for the UE to transmit the data of the first application on the PC5 interface according to the first indication information.

需要说明的是,步骤1111为可选步骤,相应地,步骤1112可以替换为:当UE处于RRC-inactive状态时,UE使用上述(R)AN设备为该UE配置的直连通信接口资源在PC5接口上传输第一应用的数据。It should be noted that step 1111 is an optional step. Accordingly, step 1112 can be replaced with: when the UE is in the RRC-inactive state, the UE uses the direct communication interface resources configured by the (R)AN device for the UE in the PC5 The data of the first application is transmitted on the interface.

可以理解的是,在图11所示的实施例中,Authorized PC5 QoS parameters2对应上述授权的服务质量参数。服务接受消息可以对应上述第四消息。服务请求消息可以 对应上述实施例中的第一消息。It can be understood that, in the embodiment shown in FIG. 11, Authorized PC5 QoS parameters2 corresponds to the above-mentioned authorized quality of service parameters. The service acceptance message may correspond to the foregoing fourth message. The service request message may correspond to the first message in the foregoing embodiment.

参考图12为本申请实施例提供的另一种通信方法,该方法包括:Refer to FIG. 12 for another communication method provided by an embodiment of this application, and the method includes:

步骤1201、UE向AMF网元发送服务请求消息(Service Request message)。Step 1201: The UE sends a service request message (Service Request message) to the AMF network element.

相应的,该AMF网元接收来自UE的服务请求消息。Correspondingly, the AMF network element receives the service request message from the UE.

其中,服务请求消息可以用于UE请求在PC5接口上传PC5业务的数据,进一步地,该服务请求消息可以用于UE请求以网络调度模式(network scheduled mode)在PC5接口上传输PC5业务的数据。The service request message can be used for the UE to request to upload PC5 service data on the PC5 interface, and further, the service request message can be used for the UE to request to transmit the PC5 service data on the PC5 interface in a network scheduled mode (network scheduled mode).

示例性的,服务请求消息中可以携带PC5业务的标识和/或操作(Operation)指示。该业务可以参考前述相关描述。PC5业务还可以称为VRU业务。Exemplarily, the service request message may carry the identification and/or operation (Operation) indication of the PC5 service. For this service, please refer to the aforementioned related description. The PC5 service can also be referred to as the VRU service.

其中,操作指示用于表征UE请求激活该PC5业务,或者UE请求激活以网络调度模式传输该PC5业务。The operation indication is used to indicate that the UE requests to activate the PC5 service, or the UE requests activation to transmit the PC5 service in the network scheduling mode.

示例性的,Operation指示设置为“激活(activate)”,表示UE请求以网络调度模式在PC5接口上传输上述PC5业务的数据。或者Operation设置为“激活(activate)”,表示UE请求激活以网络调度模式在PC5接口上传输上述PC5业务的数据。其中,“激活(activate)”可以采用预设的值表示,例如,用预设的二进制“1”表示。Exemplarily, the Operation indication is set to "activate", which means that the UE requests to transmit the above-mentioned PC5 service data on the PC5 interface in the network scheduling mode. Or the Operation is set to "activate", which means that the UE requests activation to transmit the above-mentioned PC5 service data on the PC5 interface in the network scheduling mode. Among them, "activate" can be represented by a preset value, for example, represented by a preset binary "1".

作为一种可能的实现,步骤1201可以通过以下方式实现:UE向(R)AN设备发送服务请求消息。相应的,(R)AN设备向AMF网元发送NAS消息,该NAS消息中包括服务请求消息。As a possible implementation, step 1201 can be implemented in the following manner: the UE sends a service request message to the (R)AN device. Correspondingly, the (R)AN device sends a NAS message to the AMF network element, and the NAS message includes a service request message.

值得说明的是,在步骤1201~步骤1202之间还可以包括其他过程。例如,UE打算向(R)AN设备发送上行数据(the UE intends to send uplink data at the same time)。It is worth noting that other processes may also be included between step 1201 and step 1202. For example, the UE intends to send uplink data to the (R)AN device (the UE intends to send uplink data at the same time).

步骤1202、AMF网元向(R)AN设备发送N2消息。Step 1202, the AMF network element sends an N2 message to the (R)AN device.

相应的,(R)AN设备接收来自AMF网元的N2消息。其中,该N2消息中可以包括该PC5业务的优选调度模式(The Preferred Scheduled Mode for PC5 Service)以及该UE的被允许业务的标识。该被允许业务属于PC5业务中的业务。Correspondingly, the (R)AN device receives the N2 message from the AMF network element. Wherein, the N2 message may include the preferred scheduling mode (The Preferred Scheduled Mode for PC5 Service) of the PC5 service and the identifier of the allowed service of the UE. The permitted business belongs to the business in the PC5 business.

在一种可能的实现方式中,该N2消息中还可以包括AMF网元向UE发送的服务接受消息(service accept message)。其中,服务接受消息中包括UE的被允许业务的标识。In a possible implementation manner, the N2 message may also include a service accept message sent by the AMF network element to the UE. Wherein, the service acceptance message includes the identifier of the allowed service of the UE.

可以理解的是,(R)AN设备通过N2消息便可以确定UE的被允许业务的优选调度模式。It is understandable that the (R)AN device can determine the preferred scheduling mode of the allowed service of the UE through the N2 message.

步骤1203、(R)AN设备向UE发送RRC连接重配置消息。Step 1203: The (R)AN device sends an RRC connection reconfiguration message to the UE.

相应的,UE接收来自(R)AN设备的RRC连接重配置消息。Correspondingly, the UE receives the RRC connection reconfiguration message from the (R)AN device.

其中,RRC连接重配置消息中包括服务接受消息。Among them, the RRC connection reconfiguration message includes a service acceptance message.

上述步骤1201~步骤1203可以称为服务请求过程(service request procedure),在service request procedure之后,本申请实施例提供的方法还可以包括:UE请求传输上述PC5业务的数据的无线资源,且UE以节能的方式传输该PC5业务的数据。例如,UE以节能的方式传输该PC5业务的数据可以为UE以网络调度模式获取的直连通信接口资源传输PC5业务的数据。例如,图11中的步骤1107~步骤1112。The foregoing steps 1201 to 1203 may be referred to as a service request procedure. After the service request procedure, the method provided in this embodiment of the present application may further include: the UE requests the radio resource for transmitting the data of the PC5 service, and the UE uses The data of the PC5 service is transmitted in an energy-saving manner. For example, the UE transmitting the data of the PC5 service in an energy-saving manner may be the direct communication interface resource obtained by the UE in the network scheduling mode to transmit the data of the PC5 service. For example, step 1107 to step 1112 in FIG. 11.

图13示出了本申请实施例提供的另一个实施例,该实施例包括:FIG. 13 shows another embodiment provided by an embodiment of the present application, and this embodiment includes:

步骤1301、UE向(R)AN设备发送服务请求(service request)消息。Step 1301: The UE sends a service request (service request) message to the (R)AN device.

相应的,(R)AN设备接收来自UE的service request消息。Correspondingly, the (R)AN device receives the service request message from the UE.

该service request消息用于表示UE希望停止在PC5接口上传输数据,或者用于表示停止在PC5接口上使用网络调度模式传输数据。或者,如果service request消息中还携带第一应用的标识,则service request消息用于表示UE希望停止在PC5接口上传输第一应用的数据。第一应用属于UE的被允许业务。The service request message is used to indicate that the UE wishes to stop transmitting data on the PC5 interface, or used to indicate that it stops transmitting data on the PC5 interface using the network scheduling mode. Or, if the service request message also carries the identifier of the first application, the service request message is used to indicate that the UE wishes to stop transmitting the data of the first application on the PC5 interface. The first application belongs to the allowed service of the UE.

其中,service request消息包含Operation指示。Operation指示设置为“去激活Among them, the service request message contains an Operation indication. Operation instruction is set to "deactivate

(deactivate)”,表示UE希望停止在PC5接口上传输数据。或者Operation设置为“去激活(deactivate)”表示UE请求去激活以网络调度模式在PC5接口上传输数据。或者Operation设置为“去激活(deactivate)”表示UE希望停止在PC5接口上传输第一应用的数据。其中,“去激活(deactivate)”可以采用预设的值表示,例如,用预设的二进制“0”表示。(deactivate)" means that the UE wants to stop transmitting data on the PC5 interface. Or Operation is set to "deactivate" means that the UE requests deactivation to transmit data on the PC5 interface in network scheduling mode. Or Operation is set to "deactivate" (deactivate)” means that the UE wishes to stop transmitting the data of the first application on the PC5 interface. Among them, “deactivate” can be represented by a preset value, for example, represented by a preset binary “0”.

步骤1302、(R)AN设备向AMF网元发送NAS消息。Step 1302: The (R)AN device sends a NAS message to the AMF network element.

相应的,AMF网元接收来自(R)AN设备的NAS消息。Correspondingly, the AMF network element receives the NAS message from the (R)AN device.

其中,该NAS消息中包括service request消息。Among them, the NAS message includes a service request message.

步骤1303、AMF网元向(R)AN设备发送N2消息。Step 1303: The AMF network element sends an N2 message to the (R)AN device.

相应的,(R)AN接收来自AMF网元的N2消息。Correspondingly, (R)AN receives the N2 message from the AMF network element.

作为一种示例,N2消息中不包括PC5业务的优选调度模式。如果N2消息中不包括PC5业务的优选调度模式,则通过N2消息,(R)AN设备便可以确定释放为该PC5业务配置的直连通信接口资源。例如,N2消息中包括RRC非激活连接辅助信息(RRC Inactive Assistance Information),该RRC非激活连接辅助信息(RRC Inactive Assistance Information)中不包括PC5业务的优选调度模式。As an example, the N2 message does not include the preferred scheduling mode of the PC5 service. If the N2 message does not include the preferred scheduling mode of the PC5 service, the (R)AN device can determine to release the direct communication interface resources configured for the PC5 service through the N2 message. For example, the N2 message includes RRC Inactive Assistance Information (RRC Inactive Assistance Information), and the RRC Inactive Assistance Information (RRC Inactive Assistance Information) does not include the preferred scheduling mode of the PC5 service.

作为一种示例,N2消息中可以携带辅助信息,该辅助信息用于(R)AN设备确定释放为该PC5业务配置的直连通信接口资源。As an example, the N2 message may carry auxiliary information, which is used by the (R)AN device to determine to release the direct communication interface resources configured for the PC5 service.

步骤1304、(R)AN设备根据N2消息,释放为UE配置的用于传输PC5业务的数据的直连通信接口资源。Step 1304: According to the N2 message, the (R)AN device releases the direct communication interface resource configured for the UE for transmitting the data of the PC5 service.

值得说明的是,如果步骤1301中UE希望停止在PC5接口上传输第一应用的数据,则AMF网元向(R)AN设备发送的N2消息中还可以携带第一应用的标识,这样便于(R)AN设备释放为UE配置的用于传输第一应用的数据的直连通信接口资源,换言之,(R)AN设备可以不释放对于PC5业务中为非第一应用的数据配置的直连通信接口资源。It is worth noting that if the UE wishes to stop transmitting the data of the first application on the PC5 interface in step 1301, the N2 message sent by the AMF network element to the (R)AN device can also carry the identity of the first application, which is convenient ( R) The AN device releases the direct communication interface resources configured for the UE to transmit the data of the first application. In other words, the (R) AN device may not release the direct communication configured for the data of the non-first application in the PC5 service. Interface resources.

可以理解的是,在该实施例中,在Service Request流程(procedure)后,当(R)AN设备确定与UE在预设时间内在Uu接口上不存在数据传输,则(R)AN设备配置UE进入RRC_IDLE and CM_IDLE。It is understandable that in this embodiment, after the Service Request procedure, when the (R)AN device determines that there is no data transmission on the Uu interface with the UE within a preset time, the (R)AN device configures the UE Enter RRC_IDLE and CM_IDLE.

图13所示的实施例中的Service Request消息对应上述实施例中的第四消息。The Service Request message in the embodiment shown in FIG. 13 corresponds to the fourth message in the foregoing embodiment.

本申请实施例的图4~图13所描述的实施例之间的各个步骤,相关名词之间可以相互借鉴。For the various steps between the embodiments described in FIG. 4 to FIG. 13 in the embodiments of the present application, related terms can be used for reference from each other.

上述主要从各个网元之间交互的角度对本申请实施例的方案进行了介绍。可以理解的是,各个网元,例如接入网设备、终端、接入管理网元等为了实现上述功能,其包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到, 结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of interaction between various network elements. It can be understood that each network element, such as an access network device, a terminal, an access management network element, etc., includes hardware structures and/or software modules corresponding to each function in order to realize the above-mentioned functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.

本申请实施例可以根据上述方法示例接入网设备、终端、接入管理网元进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of this application can divide functional units according to the above-mentioned method examples, access network equipment, terminals, and access management network elements. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated. In a processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.

上面结合图4至图13,对本申请实施例的方法进行了说明,下面对本申请实施例提供的执行上述方法的通信装置进行描述。本领域技术人员可以理解,方法和装置可以相互结合和引用,本申请实施例提供的通信装置可以执行上述通信方法中由接入网设备、终端、接入管理网元执行的步骤。The method of the embodiment of the present application is described above in conjunction with FIG. 4 to FIG. 13, and the communication device provided by the embodiment of the present application for performing the foregoing method is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the communication device provided in the embodiment of the present application can execute the steps performed by the access network equipment, the terminal, and the access management network element in the foregoing communication method.

在采用集成的单元的情况下,图14示出了上述实施例中所涉及的通信装置,该通信装置可以包括:通信单元102和处理单元101。In the case of using an integrated unit, FIG. 14 shows the communication device involved in the foregoing embodiment, and the communication device may include: a communication unit 102 and a processing unit 101.

一种示例,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信单元102用于支持该通信装置执行上述实施例的图4的步骤401中由终端执行的接收动作。处理单元101,用于支持该通信装置执行图4的步骤402中由终端执行的处理动作。通信单元102,还用于支持通信装置执行上述实施例中步骤402中由终端执行的发送动作。In an example, the communication device is a terminal or a chip applied in the terminal. In this case, the communication unit 102 is used to support the communication device to perform the receiving action performed by the terminal in step 401 of FIG. 4 in the above-mentioned embodiment. The processing unit 101 is configured to support the communication device to execute the processing actions executed by the terminal in step 402 of FIG. 4. The communication unit 102 is also configured to support the communication device to execute the sending action performed by the terminal in step 402 in the foregoing embodiment.

在一种可能的实施例中,通信单元102,还用于支持通信装置执行上述实施例中的步骤501、步骤503、步骤504、步骤506、步骤509、步骤510中由终端执行的发送动作,通信单元102,还用于支持通信装置执行上述实施例中的步骤502、步骤505、步骤508中由终端执行的接收动作。In a possible embodiment, the communication unit 102 is further configured to support the communication device to execute the sending actions performed by the terminal in step 501, step 503, step 504, step 506, step 509, and step 510 in the foregoing embodiment, The communication unit 102 is also configured to support the communication device to execute the receiving actions performed by the terminal in step 502, step 505, and step 508 in the foregoing embodiment.

另一种示例,该通信装置为接入网设备,或者为应用于接入网设备中的芯片。在这种情况下,通信单元102,用于支持该通信装置执行上述实施例中的步骤401中由接入网设备执行的发送的动作。处理单元101,用于支持该通信装置执行上述实施例中确定为终端分配用于传输第一应用的数据的资源。In another example, the communication device is an access network device or a chip applied to the access network device. In this case, the communication unit 102 is configured to support the communication device to perform the sending action performed by the access network device in step 401 in the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute the resources determined in the foregoing embodiment to allocate the terminal for transmitting the data of the first application.

在一种可能的实现方式中,通信单元102还用于支持该通信装置执行上述实施例中的步骤508中由接入网设备执行的发送动作。通信单元102还用于支持该通信装置执行上述实施例中的步骤511中由接入网设备执行的接收动作。处理单元101,用于支持该通信装置执行上述实施例的步骤512中由接入网设备执行的处理动作。In a possible implementation manner, the communication unit 102 is further configured to support the communication device to execute the sending action performed by the access network device in step 508 in the foregoing embodiment. The communication unit 102 is further configured to support the communication device to execute the receiving action performed by the access network device in step 511 in the foregoing embodiment. The processing unit 101 is configured to support the communication device to execute the processing action performed by the access network device in step 512 of the foregoing embodiment.

再一种示例,该通信装置为接入管理网元,或者为应用于接入管理网元中的芯片。在这种情况下,通信单元102用于支持该通信装置执行上述实施例的图5的步骤502中由接入管理网元执行的发送动作。处理单元101,还用于支持通信装置执行上述实施例的确定一个或多个应用的标识的动作。In another example, the communication device is an access management network element, or a chip applied to an access management network element. In this case, the communication unit 102 is configured to support the communication device to perform the sending action performed by the access management network element in step 502 of FIG. 5 in the foregoing embodiment. The processing unit 101 is further configured to support the communication device to execute the action of determining the identity of one or more applications in the foregoing embodiment.

在一种可能的实施例中,通信单元102,还用于支持通信装置执行上述实施例中的步骤503、步骤504、步骤510中由接入管理网元执行的接收动作。通信单元102,还用 于支持通信装置执行上述实施例中步骤505、步骤511中由接入管理网元执行的发送动作。In a possible embodiment, the communication unit 102 is further configured to support the communication device to perform the receiving actions performed by the access management network element in step 503, step 504, and step 510 in the foregoing embodiment. The communication unit 102 is also used to support the communication device to execute the sending action performed by the access management network element in step 505 and step 511 in the foregoing embodiment.

在采用集成的单元的情况下,图15示出了上述实施例中所涉及的通信装置的一种可能的逻辑结构示意图。该通信装置包括:处理模块112和通信模块113。处理模块112用于对通信装置的动作进行控制管理,例如,处理模块112用于执行在通信装置进行信息/数据处理的步骤。通信模块113用于支持通信装置进行信息/数据发送或者接收的步骤。In the case of using an integrated unit, FIG. 15 shows a schematic diagram of a possible logical structure of the communication device involved in the foregoing embodiment. The communication device includes: a processing module 112 and a communication module 113. The processing module 112 is used to control and manage the actions of the communication device. For example, the processing module 112 is used to perform information/data processing steps on the communication device. The communication module 113 is used to support the communication device to send or receive information/data.

在一种可能的实施例中,通信装置还可以包括存储模块111,用于存储通信装置可的程序代码和数据。In a possible embodiment, the communication device may further include a storage module 111 for storing program codes and data that can be used by the communication device.

一种示例,该通信装置为终端,或者为应用于终端中的芯片。在这种情况下,通信模块113用于支持该通信装置执行上述实施例的图4的步骤401中由终端执行的接收动作。处理模块112,用于支持该通信装置执行图4的步骤402中由终端执行的处理动作。通信模块113,还用于支持通信装置执行上述实施例中步骤402中由终端执行的发送动作。In an example, the communication device is a terminal or a chip applied in the terminal. In this case, the communication module 113 is used to support the communication device to perform the receiving action performed by the terminal in step 401 of FIG. 4 of the above-mentioned embodiment. The processing module 112 is configured to support the communication device to execute the processing actions executed by the terminal in step 402 of FIG. 4. The communication module 113 is also used to support the communication device to execute the sending action performed by the terminal in step 402 in the foregoing embodiment.

在一种可能的实施例中,通信模块113,还用于支持通信装置执行上述实施例中的步骤501、步骤503、步骤504、步骤506、步骤509、步骤510中由终端执行的发送动作,通信模块113,还用于支持通信装置执行上述实施例中的步骤502、步骤505、步骤508中由终端执行的接收动作。In a possible embodiment, the communication module 113 is also used to support the communication device to execute the sending actions performed by the terminal in step 501, step 503, step 504, step 506, step 509, and step 510 in the foregoing embodiment, The communication module 113 is also used to support the communication device to execute the receiving actions performed by the terminal in step 502, step 505, and step 508 in the foregoing embodiment.

另一种示例,该通信装置为接入网设备,或者为应用于接入网设备中的芯片。在这种情况下,通信模块113,用于支持该通信装置执行上述实施例中的步骤401中由接入网设备执行的发送的动作。处理模块112,用于支持该通信装置执行上述实施例中确定为终端分配用于传输第一应用的数据的资源。In another example, the communication device is an access network device or a chip applied to the access network device. In this case, the communication module 113 is used to support the communication device to execute the sending action performed by the access network device in step 401 in the foregoing embodiment. The processing module 112 is configured to support the communication device to execute the resources determined in the foregoing embodiment to allocate the terminal for transmitting the data of the first application.

在一种可能的实现方式中,通信模块113还用于支持该通信装置执行上述实施例中的步骤508中由接入网设备执行的发送动作。通信模块113还用于支持该通信装置执行上述实施例中的步骤511中由接入网设备执行的接收动作。处理模块112,用于支持该通信装置执行上述实施例的步骤512中由接入网设备执行的处理动作。In a possible implementation manner, the communication module 113 is further configured to support the communication device to perform the sending action performed by the access network device in step 508 in the foregoing embodiment. The communication module 113 is also used to support the communication device to perform the receiving action performed by the access network device in step 511 in the foregoing embodiment. The processing module 112 is configured to support the communication device to perform the processing actions performed by the access network device in step 512 of the foregoing embodiment.

再一种示例,该通信装置为接入管理网元,或者为应用于接入管理网元中的芯片。在这种情况下,通信模块113用于支持该通信装置执行上述实施例的图5的步骤502中由接入管理网元执行的发送动作。处理模块112,还用于支持通信装置执行上述实施例的确定被授权业务的标识的动作。In another example, the communication device is an access management network element, or a chip applied to an access management network element. In this case, the communication module 113 is configured to support the communication device to perform the sending action performed by the access management network element in step 502 of FIG. 5 in the foregoing embodiment. The processing module 112 is also configured to support the communication device to perform the action of determining the identifier of the authorized service in the foregoing embodiment.

在一种可能的实施例中,通信模块113,还用于支持通信装置执行上述实施例中的步骤503、步骤504、步骤510中由接入管理网元执行的接收动作。通信模块113,还用于支持通信装置执行上述实施例中步骤505、步骤511中由接入管理网元执行的发送动作。In a possible embodiment, the communication module 113 is further configured to support the communication device to perform the receiving actions performed by the access management network element in step 503, step 504, and step 510 in the foregoing embodiment. The communication module 113 is also used to support the communication device to execute the sending action performed by the access management network element in step 505 and step 511 in the foregoing embodiment.

其中,处理模块112可以是处理器或控制器,例如可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。通信模 块113可以是收发器、收发电路或通信接口等。存储模块111可以是存储器。The processing module 112 may be a processor or a controller, for example, a central processing unit, a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, Hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. The communication module 113 may be a transceiver, a transceiver circuit, or a communication interface. The storage module 111 may be a memory.

当处理模块112为处理器31或处理器35,通信模块113为收发器33时,存储模块111为存储器32时,本申请所涉及的通信装置可以为图3所示的通信设备。When the processing module 112 is the processor 31 or the processor 35, the communication module 113 is the transceiver 33, and the storage module 111 is the memory 32, the communication device involved in this application may be the communication device shown in FIG. 3.

需要说明的是,如果如图3所示的通信设备为接入管理网元,则图3中的收发器33可以替换为通信接口。It should be noted that if the communication device shown in FIG. 3 is an access management network element, the transceiver 33 in FIG. 3 can be replaced with a communication interface.

一种示例,该通信设备为终端,或者为应用于终端中的芯片。在这种情况下,收发器33用于支持该通信设备执行上述实施例的图4的步骤401中由终端执行的接收动作。处理器31和/或处理器35,用于支持该通信设备执行图4的步骤402中由终端执行的处理动作。收发器33,还用于支持通信设备执行上述实施例中步骤402中由终端执行的发送动作。In an example, the communication device is a terminal or a chip applied in the terminal. In this case, the transceiver 33 is used to support the communication device to perform the receiving action performed by the terminal in step 401 of FIG. 4 of the above-mentioned embodiment. The processor 31 and/or the processor 35 are configured to support the communication device to execute the processing actions executed by the terminal in step 402 of FIG. 4. The transceiver 33 is also used to support the communication device to execute the sending action performed by the terminal in step 402 in the foregoing embodiment.

在一种可能的实施例中,收发器33,还用于支持通信设备执行上述实施例中的步骤501、步骤503、步骤504、步骤506、步骤509、步骤510中由终端执行的发送动作,收发器33,还用于支持通信设备执行上述实施例中的步骤502、步骤505、步骤508中由终端执行的接收动作。处理器31和/或处理器35用于支持通信设备执行上述实施例中的步骤509。In a possible embodiment, the transceiver 33 is also used to support the communication device to execute the sending actions performed by the terminal in step 501, step 503, step 504, step 506, step 509, and step 510 in the foregoing embodiment, The transceiver 33 is also used to support the communication device to perform the receiving actions performed by the terminal in step 502, step 505, and step 508 in the foregoing embodiment. The processor 31 and/or the processor 35 are configured to support the communication device to execute step 509 in the foregoing embodiment.

另一种示例,该通信设备为接入网设备,或者为应用于接入网设备中的芯片。在这种情况下,收发器33,用于支持该通信设备执行上述实施例中的步骤401中由接入网设备执行的发送的动作。处理器31和/或处理器35,用于支持该通信设备执行上述实施例中确定为终端分配用于传输第一应用的数据的资源。In another example, the communication device is an access network device, or a chip applied to the access network device. In this case, the transceiver 33 is used to support the communication device to perform the sending action performed by the access network device in step 401 in the foregoing embodiment. The processor 31 and/or the processor 35 are configured to support the communication device to execute the resources determined in the foregoing embodiment to allocate the terminal for transmitting the data of the first application.

在一种可能的实现方式中,收发器33还用于支持该通信设备执行上述实施例中的步骤508中由接入网设备执行的发送动作。收发器33还用于支持该通信设备执行上述实施例中的步骤511中由接入网设备执行的接收动作。处理器31和/或处理器35,用于支持该通信设备执行上述实施例的步骤512中由接入网设备执行的处理动作。In a possible implementation manner, the transceiver 33 is also used to support the communication device to perform the sending action performed by the access network device in step 508 in the foregoing embodiment. The transceiver 33 is also used to support the communication device to perform the receiving action performed by the access network device in step 511 in the foregoing embodiment. The processor 31 and/or the processor 35 are configured to support the communication device to execute the processing actions performed by the access network device in step 512 of the foregoing embodiment.

再一种示例,该通信设备为接入管理网元,或者为应用于接入管理网元中的芯片。在这种情况下,通信接口用于支持该通信设备执行上述实施例的图5的步骤502中由接入管理网元执行的发送动作。处理器31和/或处理器35,还用于支持通信设备执行上述实施例的确定一个或多个应用的标识的动作。In another example, the communication device is an access management network element, or a chip applied to an access management network element. In this case, the communication interface is used to support the communication device to perform the sending action performed by the access management network element in step 502 of FIG. 5 in the foregoing embodiment. The processor 31 and/or the processor 35 are further configured to support the communication device to perform the action of determining the identity of one or more applications in the foregoing embodiment.

在一种可能的实施例中,通信接口,还用于支持通信设备执行上述实施例中的步骤503、步骤504、步骤510中由接入管理网元执行的接收动作。通信接口,还用于支持通信设备执行上述实施例中步骤505、步骤511中由接入管理网元执行的发送动作。In a possible embodiment, the communication interface is also used to support the communication device to perform the receiving actions performed by the access management network element in step 503, step 504, and step 510 in the foregoing embodiment. The communication interface is also used to support the communication device to execute the sending action performed by the access management network element in step 505 and step 511 in the foregoing embodiment.

图16是本申请实施例提供的芯片150的结构示意图。芯片150包括一个或两个以上(包括两个)处理器1510和通信接口1530。FIG. 16 is a schematic structural diagram of a chip 150 provided by an embodiment of the present application. The chip 150 includes one or more (including two) processors 1510 and a communication interface 1530.

可选的,该芯片150还包括存储器1540,存储器1540可以包括只读存储器和随机存取存储器,并向处理器1510提供操作指令和数据。存储器1540的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。Optionally, the chip 150 further includes a memory 1540. The memory 1540 may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 1510. A part of the memory 1540 may also include a non-volatile random access memory (NVRAM).

在一些实施方式中,存储器1540存储了如下的元素,执行模块或者数据结构,或者他们的子集,或者他们的扩展集。In some embodiments, the memory 1540 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.

在本申请实施例中,通过调用存储器1540存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。In the embodiment of the present application, the corresponding operation is executed by calling the operation instruction stored in the memory 1540 (the operation instruction may be stored in the operating system).

一种可能的实现方式中为:接入网设备、终端、接入管理网元所用的芯片的结构类似,不同的装置可以使用不同的芯片以实现各自的功能。One possible implementation is that the chips used in the access network equipment, terminals, and access management network elements have similar structures, and different devices can use different chips to achieve their respective functions.

处理器1510控制接入网设备、终端、接入管理网元中任一个的处理操作,处理器1510还可以称为中央处理单元(central processing unit,CPU)。The processor 1510 controls processing operations of any one of the access network equipment, the terminal, and the access management network element. The processor 1510 may also be referred to as a central processing unit (CPU).

存储器1540可以包括只读存储器和随机存取存储器,并向处理器1510提供指令和数据。存储器1540的一部分还可以包括NVRAM。例如应用中存储器1540、通信接口1530以及存储器1540通过总线系统1520耦合在一起,其中总线系统1520除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图16中将各种总线都标为总线系统1520。The memory 1540 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1510. A part of the memory 1540 may also include NVRAM. For example, in an application, the memory 1540, the communication interface 1530, and the memory 1540 are coupled together through a bus system 1520, where the bus system 1520 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clear description, various buses are marked as the bus system 1520 in FIG. 16.

上述本申请实施例揭示的方法可以应用于处理器1510中,或者由处理器1510实现。处理器1510可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1510中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1510可以是通用处理器、数字信号处理器(digital signal processing,DSP)、ASIC、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1540,处理器1510读取存储器1540中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present application may be applied to the processor 1510 or implemented by the processor 1510. The processor 1510 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 1510 or instructions in the form of software. The above-mentioned processor 1510 may be a general-purpose processor, a digital signal processing (digital signal processing, DSP), an ASIC, an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistors. Logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory 1540, and the processor 1510 reads the information in the memory 1540, and completes the steps of the foregoing method in combination with its hardware.

一种可能的实现方式中,通信接口1530用于执行图4-图13所示的实施例中的接入网设备、终端、接入管理网元的接收和发送的步骤。处理器1510用于执行图4-图13所示的实施例中的接入网设备、终端、接入管理网元的处理的步骤。In a possible implementation manner, the communication interface 1530 is used to perform the steps of receiving and sending the access network device, terminal, and access management network element in the embodiment shown in FIG. 4 to FIG. 13. The processor 1510 is configured to execute the processing steps of the access network device, the terminal, and the access management network element in the embodiments shown in FIG. 4 to FIG. 13.

以上通信单元可以是该装置的一种通信接口,用于从其它装置接收信号。例如,当该装置以芯片的方式实现时,该收发单元是该芯片用于从其它芯片或装置接收信号或发送信号的通信接口。The above communication unit may be a communication interface of the device for receiving signals from other devices. For example, when the device is implemented in the form of a chip, the transceiver unit is a communication interface for the chip to receive signals or send signals from other chips or devices.

一方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,实现如图4~图5中终端的功能。On the one hand, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium. When the instructions are executed, the functions of the terminal as shown in FIGS. 4 to 5 are realized.

一方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,实现如图4-图5中接入网设备的功能。On the one hand, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium. When the instructions are executed, the functions of the access network device as shown in Figs. 4 to 5 are realized.

一方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令被运行时,实现如图4~图5中接入管理网元的功能。On the one hand, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed, the functions of accessing the management network element as shown in Figs. 4 to 5 are realized.

一方面,提供一种包括指令的计算机程序产品,计算机程序产品中包括指令,当指令被运行时,实现如图4~图5中接入管理网元的功能。On the one hand, a computer program product including instructions is provided. The computer program product includes instructions. When the instructions are executed, the functions of accessing management network elements as shown in Figs. 4 to 5 are realized.

又一方面,提供一种包括指令的计算机程序产品,计算机程序产品中包括指令,当指令被运行时,实现如图4-图5中接入网设备的功能。In yet another aspect, a computer program product including instructions is provided. The computer program product includes instructions. When the instructions are executed, the functions of the access network devices shown in Figs. 4 to 5 are realized.

又一方面,提供一种包括指令的计算机程序产品,计算机程序产品中包括指令,当指令被运行时,实现如图4-图5中终端的功能。In another aspect, a computer program product including instructions is provided. The computer program product includes instructions. When the instructions are executed, the functions of the terminal as shown in Figs. 4 to 5 are realized.

一方面,提供一种芯片,该芯片应用于终端中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以实现如图4~图5中终端的功能。On the one hand, a chip is provided. The chip is applied to a terminal. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. Function.

又一方面,提供一种芯片,该芯片应用于接入网设备中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以实现如图4~图5中接入网设备的功能。In yet another aspect, a chip is provided. The chip is applied to an access network device. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. Figure 5 shows the functions of the access network equipment.

又一方面,提供一种芯片,该芯片应用于接入管理网元中,芯片包括至少一个处理器和通信接口,通信接口和至少一个处理器耦合,处理器用于运行指令,以实现如图4~图5中接入管理网元的功能。In yet another aspect, a chip is provided. The chip is applied to an access management network element. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. ~ The function of access management network element in Figure 5.

本申请实施例提供一种通信系统,该通信系统包括:终端、接入管理网元以及接入网设备。其中,终端用于执行如图4~图5中由终端执行的功能,接入管理网元用于执行4~图5中的任一个中由接入管理网元执行的步骤。接入网设备用于执行如图4~图5中由接入网设备执行的功能。An embodiment of the present application provides a communication system, which includes a terminal, an access management network element, and an access network device. Wherein, the terminal is used to perform the functions performed by the terminal in FIGS. 4 to 5, and the access management network element is used to perform the steps performed by the access management network element in any one of 4 to FIG. 5. The access network equipment is used to perform the functions performed by the access network equipment as shown in Figures 4 to 5.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘(digital video disc,DVD);还可以是半导体介质,例如,固态硬盘(solid state drive,SSD)。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on the computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, or other programmable devices. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction may be transmitted from a website, a computer, or The server or data center transmits to another website site, computer, server or data center through wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that integrates one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, a hard disk, and a magnetic tape; it may also be an optical medium, such as a digital video disc (digital video disc, DVD); and it may also be a semiconductor medium, such as a solid state drive (solid state drive). , SSD).

尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application is described in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and realize the disclosure by looking at the drawings, the disclosure, and the appended claims. Other changes to the embodiment. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit may implement several functions listed in the claims. Certain measures are described in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Correspondingly, the specification and drawings are merely exemplary descriptions of the application as defined by the appended claims, and are deemed to cover any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (41)

一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises: 终端接收来自接入网设备的资源信息,所述资源信息用于表征直连通信接口资源;The terminal receives resource information from the access network device, where the resource information is used to characterize the resources of the directly connected communication interface; 所述终端通过所述直连通信接口资源传输数据,所述终端处于无线资源控制RRC-非激活状态。The terminal transmits data through the direct communication interface resource, and the terminal is in a radio resource control RRC-inactive state. 根据权利要求1所述的方法,其特征在于,所述直连通信接口资源为基于网络调度模式的直连通信接口资源。The method according to claim 1, wherein the direct communication interface resource is a direct communication interface resource based on a network scheduling mode. 根据权利要求1或2所述的方法,在所述终端接收来自接入网设备的资源信息之前,所述方法还包括:The method according to claim 1 or 2, before the terminal receives the resource information from the access network device, the method further comprises: 所述终端向所述接入网设备请求所述直连通信接口资源。The terminal requests the direct communication interface resource from the access network device. 根据权利要求1~3任一项所述的方法,其特征在于,所述数据为所述终端的第一应用的数据,所述直连通信接口资源用于传输所述第一应用的数据。The method according to any one of claims 1 to 3, wherein the data is data of a first application of the terminal, and the direct communication interface resource is used to transmit the data of the first application. 根据权利要求4所述的方法,其特征在于,所述第一应用属于所述终端的被允许业务,所述方法还包括:The method according to claim 4, wherein the first application belongs to an allowed service of the terminal, and the method further comprises: 所述终端接收来自接入管理网元的所述终端的所述被允许业务的标识。The terminal receives the identifier of the permitted service from the terminal that accesses the management network element. 根据权利要求5所述的方法,其特征在于,所述终端接收来自接入管理网元的所述终端的所述被允许业务的标识之前,所述方法还包括:The method according to claim 5, characterized in that, before the terminal receives the identifier of the permitted service from the terminal of the access management network element, the method further comprises: 所述终端向所述接入管理网元发送至少一个业务的标识,所述至少一个业务的标识用于指示所述终端请求的业务。The terminal sends an identifier of at least one service to the access management network element, where the identifier of the at least one service is used to indicate the service requested by the terminal. 根据权利要求6所述的方法,其特征在于,所述至少一个业务的标识携带在第一消息中,所述第一消息还包含第一参数,所述第一参数用于表征所述终端请求在直连通信接口上使用网络调度模式传输数据。The method according to claim 6, wherein the identifier of the at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize the terminal request Use the network scheduling mode to transmit data on the direct communication interface. 根据权利要求7所述的方法,其特征在于,所述方法包括:The method according to claim 7, wherein the method comprises: 所述终端接收第一指示信息,所述第一指示信息用于指示允许所述终端在处于所述RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输所述第一应用的数据;The terminal receives first indication information, where the first indication information is used to indicate that the terminal is allowed to use the direct communication interface resource based on the network scheduling mode to transmit the data of the first application while in the RRC-inactive state ; 所述终端通过所述直连通信接口资源传输数据,包括:The transmission of data by the terminal through the direct communication interface resource includes: 所述终端根据所述第一指示信息,通过所述直连通信接口资源传输所述第一应用的数据。The terminal transmits the data of the first application through the direct communication interface resource according to the first indication information. 根据权利要求7或8所述的方法,其特征在于,所述第一消息还包含第一链路标识,所述第一链路标识指示用于所述终端在直连通信接口上传输数据的通信链路。The method according to claim 7 or 8, wherein the first message further includes a first link identifier, and the first link identifier indicates a data transmission method used by the terminal on the directly connected communication interface. Communication link. 根据权利要求5~9任一项所述的方法,其特征在于,所述被允许业务为所述终端的被允许通过直连通信接口传输的业务。The method according to any one of claims 5 to 9, wherein the allowed service is a service of the terminal that is allowed to be transmitted through a direct communication interface. 根据权利要求1~10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-10, wherein the method further comprises: 所述终端向接入管理网元发送第一服务质量参数,所述第一服务质量参数为所述终端请求在直连通信接口上传输数据所使用的服务质量参数。The terminal sends a first quality of service parameter to the access management network element, where the first quality of service parameter is a quality of service parameter used by the terminal to request data transmission on the directly connected communication interface. 根据权利要求1~11任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 11, wherein the method further comprises: 所述终端接收来自接入管理网元的授权的服务质量参数,所述授权的服务质量参数用于所述终端在直连通信接口上传输数据。The terminal receives an authorized quality of service parameter from an access management network element, and the authorized quality of service parameter is used for the terminal to transmit data on a direct communication interface. 根据权利要求1~12任一项所述的方法,其特征在于,所述数据为第一应用的数据,所述直连通信接口为PC5接口,所述方法还包括:The method according to any one of claims 1-12, wherein the data is data of a first application, the direct communication interface is a PC5 interface, and the method further comprises: 所述终端生成所述第一应用对应的PC5接口服务质量流;Generating, by the terminal, a PC5 interface quality of service flow corresponding to the first application; 所述终端将所述第一应用的数据,关联到所述PC5接口服务质量流。The terminal associates the data of the first application with the PC5 interface quality of service flow. 根据权利要求13所述的方法,其特征在于,所述终端生成所述第一应用对应的PC5接口服务质量流,包括:The method according to claim 13, wherein the terminal generating the PC5 interface quality of service flow corresponding to the first application comprises: 所述终端接收来自策略控制网元的配置信息,所述终端根据所述配置信息生成所述第一应用对应的PC5接口服务质量流;或者,The terminal receives the configuration information from the policy control network element, and the terminal generates the PC5 interface quality of service flow corresponding to the first application according to the configuration information; or, 所述终端根据预配置的参数,生成所述第一应用对应的PC5接口服务质量流。The terminal generates the PC5 interface quality of service flow corresponding to the first application according to the pre-configured parameters. 根据权利要求1~14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises: 所述终端向接入管理网元发送第二参数,所述第二参数用于表征所述终端停止在直连通信接口上传输数据。The terminal sends a second parameter to the access management network element, where the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface. 根据权利要求1~15任一项所述的方法,其特征在于,在所述终端通过所述直连通信接口资源传输数据之前,所述方法还包括:The method according to any one of claims 1 to 15, wherein before the terminal transmits data through the direct communication interface resource, the method further comprises: 所述终端进入RRC-非激活状态。The terminal enters the RRC-inactive state. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method according to claim 16, wherein the method further comprises: 所述终端接收来自所述接入网设备的第一通知消息,所述第一通知消息用于通知所述终端进入RRC-非激活状态;Receiving, by the terminal, a first notification message from the access network device, where the first notification message is used to notify the terminal to enter the RRC-inactive state; 所述终端进入RRC-非激活状态,包括:The terminal entering the RRC-inactive state includes: 所述终端根据所述第一通知消息,进入RRC-非激活状态。The terminal enters the RRC-inactive state according to the first notification message. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises: 接入网设备向终端发送资源信息,所述资源信息用于表征直连通信接口资源,所述直连通信接口资源用于所述终端在处于无线资源控制RRC-非激活状态时传输数据。The access network device sends resource information to the terminal, where the resource information is used to characterize direct communication interface resources, and the direct communication interface resources are used to transmit data when the terminal is in a radio resource control RRC-inactive state. 根据权利要求18所述的方法,其特征在于,所述直连通信接口资源为基于网络调度模式的直连通信接口资源。The method according to claim 18, wherein the direct communication interface resource is a direct communication interface resource based on a network scheduling mode. 根据权利要求18或16所述的方法,其特征在于,所述方法还包括:The method according to claim 18 or 16, wherein the method further comprises: 所述接入网设备接收来自接入管理网元的所述终端的优选调度模式;Receiving, by the access network device, the preferred scheduling mode of the terminal from the access management network element; 所述接入网设备向终端发送资源信息,包括:The sending of resource information by the access network device to the terminal includes: 所述接入网设备根据所述终端的优选调度模式,向所述终端发送所述资源信息。The access network device sends the resource information to the terminal according to the preferred scheduling mode of the terminal. 根据权利要求20所述的方法,其特征在于,所述数据为第一应用的数据,所述优选调度模式为所述第一应用对应的优选调度模式。The method according to claim 20, wherein the data is data of a first application, and the preferred scheduling mode is a preferred scheduling mode corresponding to the first application. 根据权利要求21所述的方法,其特征在于,所述第一应用属于所述终端的被允许业务。The method according to claim 21, wherein the first application belongs to an allowed service of the terminal. 根据权利要求22所述的方法,其特征在于,所述被允许业务为所述终端的被允许通过直连通信接口传输的业务。The method according to claim 22, wherein the allowed service is a service of the terminal that is allowed to be transmitted through a direct communication interface. 根据权利要求18~23任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 23, wherein the method further comprises: 所述接入网设备向所述终端发送第一指示信息,所述第一指示信息用于指示允许所述终端在处于所述RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据。The access network device sends first indication information to the terminal, where the first indication information is used to indicate that the terminal is allowed to use the direct communication interface resource transmission based on the network scheduling mode in the RRC-inactive state The data of the first application. 根据权利要求18~24任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 24, wherein the method further comprises: 所述接入网设备向所述终端发送第一通知消息,所述第一通知消息用于通知所述终端进入RRC-非激活状态。The access network device sends a first notification message to the terminal, where the first notification message is used to notify the terminal to enter the RRC-inactive state. 根据权利要求18~25任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 25, wherein the method further comprises: 当所述终端停止通过所述直连通信接口资源传输数据时,所述接入网设备释放所述直连通信接口资源。When the terminal stops transmitting data through the direct communication interface resource, the access network device releases the direct communication interface resource. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises: 接入管理网元获得终端的签约信息;Access management network element to obtain terminal contract information; 所述接入管理网元根据所述签约信息,向所述终端发送所述终端的被允许业务的标识。The access management network element sends the identifier of the allowed service of the terminal to the terminal according to the subscription information. 根据权利要求27所述的方法,其特征在于,在所述向所述终端发送所述终端的被允许业务的标识之前,所述方法还包括:The method according to claim 27, characterized in that, before said sending an identifier of the permitted service of the terminal to the terminal, the method further comprises: 所述接入管理网元接收来自所述终端的至少一个业务的标识,所述至少一个业务的标识用于指示所述终端请求的业务。The access management network element receives an identifier of at least one service from the terminal, and the identifier of the at least one service is used to indicate the service requested by the terminal. 根据权利要求28所述的方法,其特征在于,所述至少一个业务的标识携带在第一消息中,所述第一消息还包含第一参数,所述第一参数用于表征所述终端请求在直连通信接口上使用网络调度模式传输数据;The method according to claim 28, wherein the identifier of the at least one service is carried in a first message, and the first message further includes a first parameter, and the first parameter is used to characterize the terminal request Use the network scheduling mode to transmit data on the direct communication interface; 所述方法还包括:The method also includes: 所述接入管理网元根据所述第一参数向接入网设备或者所述终端发送第一指示信息,所述第一指示信息用于指示允许所述终端在处于RRC-非激活状态使用基于网络调度模式的直连通信接口资源传输第一应用的数据,所述第一应用属于所述至少一个业务。The access management network element sends first indication information to the access network device or the terminal according to the first parameter, where the first indication information is used to indicate that the terminal is allowed to use The direct communication interface resource in the network scheduling mode transmits data of the first application, and the first application belongs to the at least one service. 根据权利要求29所述的方法,其特征在于,所述第一消息还包含第一链路标识,所述第一链路标识指示用于所述终端在直连通信接口上传输数据的通信链路。The method according to claim 29, wherein the first message further includes a first link identifier, and the first link identifier indicates a communication link used for the terminal to transmit data on the directly connected communication interface road. 根据权利要求27~30任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 27-30, wherein the method further comprises: 所述接入管理网元向所述终端向发送授权的服务质量参数,所述授权的服务质量参数用于所述终端在直连通信接口上传输数据。The access management network element sends an authorized quality of service parameter to the terminal, where the authorized quality of service parameter is used for the terminal to transmit data on a direct communication interface. 根据权利要求31所述的方法,其特征在于,所述方法还包括:The method according to claim 31, wherein the method further comprises: 所述接入管理网元接收来自所述终端的第一服务质量参数,所述第一服务质量参数为所述终端请求在直连通信接口上传输数据所使用的服务质量参数。The access management network element receives a first quality of service parameter from the terminal, where the first quality of service parameter is a quality of service parameter used by the terminal to request data transmission on a directly connected communication interface. 根据权利要求27~32任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 27 to 32, wherein the method further comprises: 所述接入管理网元接收来自所述终端的第二参数,所述第二参数用于表征所述终端停止在直连通信接口上传输数据;The access management network element receives a second parameter from the terminal, where the second parameter is used to characterize that the terminal stops transmitting data on the directly connected communication interface; 所述接入管理网元根据所述第二参数,指示接入网设备释放所述终端的直连通信接口资源。The access management network element instructs the access network device to release the direct communication interface resource of the terminal according to the second parameter. 根据权利要求27~33任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 27 to 33, wherein the method further comprises: 所述接入管理网元向接入网设备发送所述终端的优选调度模式。The access management network element sends the preferred scheduling mode of the terminal to the access network device. 根据权利要求27~34任一项所述的方法,其特征在于,所述被允许业务为所述终端的被允许通过直连通信接口传输的业务。The method according to any one of claims 27 to 34, wherein the allowed service is a service of the terminal that is allowed to be transmitted through a direct communication interface. 一种通信装置,其特征在于,包括:至少一个处理器,所述至少一个处理器与存储器耦合,所述存储器中存储有指令,所述处理器运行所述指令,以实现权利要求1~17任一项所述的方法。A communication device, characterized by comprising: at least one processor, the at least one processor is coupled with a memory, and instructions are stored in the memory, and the processor runs the instructions to implement claims 1-17 Any of the methods. 一种通信装置,其特征在于,包括:至少一个处理器,所述至少一个处理器与存储器耦合,所述存储器中存储有指令,所述处理器运行所述指令,以实现权利要求18~26任一项所述的方法。A communication device, comprising: at least one processor, the at least one processor is coupled to a memory, the memory stores instructions, and the processor runs the instructions to implement claims 18 to 26 Any of the methods. 一种通信装置,其特征在于,包括:至少一个处理器,所述至少一个处理器与存储器耦合,所述存储器中存储有指令,所述处理器运行所述指令,以实现权利要求27~35任一项所述的方法。A communication device, comprising: at least one processor, the at least one processor is coupled to a memory, the memory stores instructions, and the processor runs the instructions to implement claims 27 to 35 Any of the methods. 一种通信系统,其特征在于,包括:接入网设备以及接入管理网元,其中,所述接入网设备用于执行如权利要求18~26任一项所述的方法,所述接入管理网元用于执行如权利要求27~35任一项所述的方法。A communication system, characterized by comprising: an access network device and an access management network element, wherein the access network device is used to execute the method according to any one of claims 18 to 26, and the connection The incoming management network element is used to execute the method according to any one of claims 27 to 35. 根据权利要求39所述的系统,其特征在于,还包括终端,所述终端用于执行如权利要求1~17任一项所述的方法。The system according to claim 39, further comprising a terminal configured to execute the method according to any one of claims 1-17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令被运行时,以实现上述权利要求1~17任一项所述的方法,或者,以实现权利要求18~26任一项所述的方法,或者,以实现权利要求27~35任一项所述的方法。A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are executed, the method according to any one of claims 1 to 17 is realized, or, To implement the method according to any one of claims 18 to 26, or to implement the method according to any one of claims 27 to 35.
PCT/CN2020/087332 2020-04-27 2020-04-27 Communication method, apparatus and system WO2021217376A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080073459.8A CN114586394B (en) 2020-04-27 2020-04-27 A communication method, device and system
PCT/CN2020/087332 WO2021217376A1 (en) 2020-04-27 2020-04-27 Communication method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087332 WO2021217376A1 (en) 2020-04-27 2020-04-27 Communication method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2021217376A1 true WO2021217376A1 (en) 2021-11-04

Family

ID=78373880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087332 WO2021217376A1 (en) 2020-04-27 2020-04-27 Communication method, apparatus and system

Country Status (2)

Country Link
CN (1) CN114586394B (en)
WO (1) WO2021217376A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025020150A1 (en) * 2023-07-26 2025-01-30 北京小米移动软件有限公司 Information transmission method and apparatus, communication device, communication system, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019096705A1 (en) * 2017-11-16 2019-05-23 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Resource allocation for sidelink communications in a wireless communication network
WO2019149182A1 (en) * 2018-01-30 2019-08-08 Huawei Technologies Co., Ltd. System and method for supporting urllc in advanced v2x communications
WO2020006366A1 (en) * 2018-06-28 2020-01-02 Convida Wireless, Llc Prioritization procedures for nr v2x sidelink shared channel data transmission
WO2020030793A1 (en) * 2018-08-10 2020-02-13 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for controlling sidelink qos

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110583075B (en) * 2017-05-05 2023-07-21 瑞典爱立信有限公司 Method and device for data transmission
CN112088514B (en) * 2018-04-05 2024-06-11 交互数字专利控股公司 Configuration and signaling for UL NOMA operation
WO2019216641A1 (en) * 2018-05-08 2019-11-14 엘지전자 주식회사 Method for transmitting v2x data in wireless communication system, and device therefor
CN110769377B (en) * 2018-07-25 2021-10-01 华为技术有限公司 Communication method and device
CN110891314B (en) * 2018-09-11 2022-08-19 华为技术有限公司 Communication method, resource allocation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019096705A1 (en) * 2017-11-16 2019-05-23 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Resource allocation for sidelink communications in a wireless communication network
WO2019149182A1 (en) * 2018-01-30 2019-08-08 Huawei Technologies Co., Ltd. System and method for supporting urllc in advanced v2x communications
WO2020006366A1 (en) * 2018-06-28 2020-01-02 Convida Wireless, Llc Prioritization procedures for nr v2x sidelink shared channel data transmission
WO2020030793A1 (en) * 2018-08-10 2020-02-13 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for controlling sidelink qos

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL CORPORATION: "Simultaneous operation of mode1 and mode2", 3GPP DRAFT; R2-1906299_NR_V2X_SIMULTANEOUSMODESUPPORT_INTEL, vol. RAN WG2, 3 May 2019 (2019-05-03), Reno, USA, pages 1 - 3, XP051710616 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025020150A1 (en) * 2023-07-26 2025-01-30 北京小米移动软件有限公司 Information transmission method and apparatus, communication device, communication system, and storage medium

Also Published As

Publication number Publication date
CN114586394A (en) 2022-06-03
CN114586394B (en) 2025-01-17

Similar Documents

Publication Publication Date Title
US11770873B2 (en) Method for keeping mobile initiated connection only mode user equipment in connected mode
US12256364B2 (en) Method and UE for managing paging procedure in wireless communication network
US20220191778A1 (en) Method and system of ue for switching between plurality of sim networks
WO2018205351A1 (en) Method and device for moving between communication systems
US20230403602A1 (en) Flow control for uplink traffic in an integrated access and backhaul network
WO2019153234A1 (en) Data transmission method and apparatus
KR102476193B1 (en) Rate control method, apparatus, and system
TWI698138B (en) Device and method of performing an access control
US20230134762A1 (en) Apparatus, Method, and Computer Program
CN113796133A (en) Method and system for receiving incoming service notifications of a second SIM network using a first SIM network
KR20230021114A (en) Communication method and related device
US12101838B2 (en) Communications method, apparatus, and system
JP2023040160A (en) Latency management for integrated radio access and backhaul
JP2015516723A (en) A technique for managing paging cycles for machine-to-machine equipment
CN114698151A (en) Positioning data sending method, receiving method, terminal and network side device
WO2022236533A1 (en) Method and apparatus for sidelink relay communication
WO2021233321A1 (en) Communication method and communication apparatus
CN114586394B (en) A communication method, device and system
CN113950146B (en) Paging method and communication device
CN114503649B (en) Communication method and communication device
WO2021239128A1 (en) Communication method and apparatus
WO2021138784A1 (en) Network access method, apparatus and system
WO2021088061A1 (en) Communication method and apparatus
US12200809B2 (en) Method and apparatus for optimal user equipment (UE) power consumption in new radio (NR) connected discontinuous reception (C-DRX) mode
WO2022226795A1 (en) Qos control method and apparatus, devices, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933328

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20933328

Country of ref document: EP

Kind code of ref document: A1