[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2017132991A1 - 通信资源分配方法及装置、终端设备、基站和通信系统 - Google Patents

通信资源分配方法及装置、终端设备、基站和通信系统 Download PDF

Info

Publication number
WO2017132991A1
WO2017132991A1 PCT/CN2016/073663 CN2016073663W WO2017132991A1 WO 2017132991 A1 WO2017132991 A1 WO 2017132991A1 CN 2016073663 W CN2016073663 W CN 2016073663W WO 2017132991 A1 WO2017132991 A1 WO 2017132991A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
resource
network device
relay
communication
Prior art date
Application number
PCT/CN2016/073663
Other languages
English (en)
French (fr)
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 PCT/CN2016/073663 priority Critical patent/WO2017132991A1/zh
Priority to KR1020187025681A priority patent/KR102215258B1/ko
Priority to EP16888816.2A priority patent/EP3402246B1/en
Priority to CN201680003913.6A priority patent/CN107431969B/zh
Priority to JP2018541135A priority patent/JP6907221B2/ja
Publication of WO2017132991A1 publication Critical patent/WO2017132991A1/zh
Priority to US16/054,345 priority patent/US10917778B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/26Resource reservation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/51Allocation or scheduling criteria for wireless resources based on terminal or device properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a communication resource allocation method and apparatus, a terminal device, a base station, and a communication system.
  • a device-to-device (D2D) communication technology is a technology for direct communication between a terminal device and a terminal device.
  • the data of the terminal device does not need to be transmitted through the base station, but directly through the terminal device and the terminal.
  • the air interface between the devices is transmitted, thereby reducing the dependence of the terminal device on the network, and reducing the delay of the network forwarding to a certain extent.
  • the first terminal device can establish a data transmission channel with the base station by using the second terminal device, that is, the second terminal device is used as the relay terminal device to obtain the service provided by the base station.
  • the first terminal device needs to discover the second terminal device through the direct discovery process of the D2D communication technology, and then perform the direct communication process according to the D2D communication technology. Communication.
  • the terminal device (including the first terminal device and the second terminal device) needs to acquire the direct discovery resource from the base station, and in the direct communication process, the terminal device needs to acquire the direct communication resource from the base station.
  • the direct discovery resource There are two ways to obtain the direct discovery resource and obtain the direct communication resource. One is to obtain the corresponding resource by acquiring the broadcast message of the base station, and the other is to send the corresponding resource request message to the base station, and the base station passes the dedicated signaling.
  • the terminal device is allocated corresponding resources to obtain corresponding resources.
  • the second terminal device When the first terminal device uses the second terminal device as the relay terminal device to obtain the service provided by the base station, the second terminal device needs to be searched through the direct discovery process to perform a direct communication process with the second terminal device. If the terminal device uses the method of sending a resource request message to the base station to obtain the resource, the base station determines whether to allocate resources for the terminal device according to its own load condition, and does not consider other factors, so that the resource scheduling is not flexible and accurate; Obtaining resources from resources broadcast by the base station may conflict with other types of resources used for direct communication, affecting communication quality and efficiency.
  • the embodiment of the present invention provides a resource scheduling method and apparatus.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a communication resource allocation method, where the method includes: a first network device sends a resource request message to a second network device, where the resource request message is used to request a first communication resource, where a communication resource, wherein the first network device sends a resource of a relay message to a third network device, where the relay message includes at least one of a first message and a second message, where the first message is used by the A close distance between the first network device and the third network device is found, the second message is used for short-range communication between the first network device and the third network device, and the resource request message includes a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type performed by the first network device by using the first communication resource;
  • the first network device receives the resource configuration message sent by the second network device, where the resource configuration message includes the first communication resource allocated by the second network device to the first network device according to the resource request message.
  • the first message is referred to as a direct discovery message and the second message is referred to as a direct communication message.
  • the sending, by the first network device, the resource request message to the second network device may include:
  • the first network device receives a broadcast message sent by the base station, where the broadcast message includes capability information of the base station, and the capability information of the second network device includes indication information of whether to support the relay service, indication information of the supported relay service type, and support At least one of frequency information for transmitting a direct discovery message and/or transmitting a direct communication message;
  • the first network device sends a resource request message to the base station according to the capability information of the second network device.
  • the first network device sends the resource request message to the second network device according to the broadcast message, including:
  • the first network device sends a resource request message including the first relay service type indication information to the second network device.
  • the first network device does not send a resource request message to the second network device.
  • the resource request message sent by the first network device to the second network device may not include the first relay service type indication information, and may also include the first relay service type indication information.
  • the relay service type indication information supported by the second network device is included in the broadcast message, which can reduce unnecessary resource request messages sent by the first network device to the second network device, reduce the burden on the first network device, and save the network. Resources.
  • an embodiment of the present invention provides a communication resource allocation method, where the method includes:
  • the relay message includes at least one of a first message and a second message, where the first message is used for close-range discovery between the first network device and the third network device, The second message is used for short-range communication between the first network device and the third network device, where the resource request message includes first relay service type indication information, and the first relay service type indication The information is used to indicate a type of relay service performed by the first network device by using the first communication resource;
  • the second network device allocates a first communication resource to the first network device according to the resource request message
  • the second network device sends a resource configuration message to the first network device, where the resource configuration message includes the first communication resource.
  • the second network device may display the information according to the load condition and the first relay service type.
  • the indicated relay service type determines whether to allocate communication resources to the remote terminal device, and not only considers its own load situation, for example, when the load of the second network device is high, for the relay service that consumes less resources.
  • a type for example, a multicast relay service
  • the first communication resource includes at least one of a direct discovery resource and a direct communication resource, where the direct discovery resource is used to send a direct discovery message, and the direct communication The letter resource is used to send a direct communication message.
  • the first network device may be a remote terminal device or a relay terminal device
  • the second network device is a base station
  • the third network device may be a relay terminal device or a remote terminal device.
  • the third network device is a relay terminal device.
  • the relay message includes a direct discovery message requesting relay, a unicast relay connection establishment request message, or a multicast relay. Service request message.
  • the third network device is a remote terminal device.
  • the relay message includes a response message requesting the direct discovery message of the relay, a relay available notification message, and a unicast relay.
  • the first relay service type indication information may be in a display indication manner or an implicit indication manner.
  • the display indication manner indicates that the first relay service type indication information directly indicates the foregoing three situations, that is, the first relay service type indication information may be indication information indicating the unicast relay service, and indicating the multicast relay service. Indication information, indication information indicating unicast relay service and multicast relay service.
  • the implicit indication mode indicates that the first relay service type indication information is an indication of the relay service type implicitly by the terminal device transmitting information related to the relay service type to the base station.
  • the first relay service type indication information indicated by the implicit indication manner may be a type of the communication address included in the resource request message sent by the terminal device to the base station.
  • the resource request message sent by the terminal device to the base station includes the unicast communication address, indicating that the unicast relay service is indicated; when the resource request message sent by the terminal device to the base station includes the multicast communication address, indicating that the multicast relay service is indicated.
  • the resource request message sent by the terminal device to the base station includes the unicast communication address and the multicast communication address respectively, it indicates that the unicast relay service and the multicast relay service are correspondingly indicated.
  • the unicast communication address includes the device identifier of the terminal device, and may be a device identifier (ProSe UE ID) of the remote terminal device or a device identifier (ProSe Relay UE ID) of the relay terminal device; the multicast communication address includes The identity of the communication group (Group ID).
  • the relay service type indicated by the first relay service type indication information may include the following three conditions: 1) unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service .
  • the resource configuration message may further include second relay service type indication information, where the second service type indication information is used to indicate a relay service type that can use the first communication resource. .
  • the second service type indication information is used to indicate a relay service type that can use the first communication resource.
  • the resource configuration message further includes data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, the data Types include control signaling and user data.
  • an embodiment of the present invention provides a communication resource allocation method, where the method includes:
  • the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate that the The type of relay service of the communication resource;
  • the first network device acquires a first communication resource according to the resource configuration message, where the first communication resource is a resource for sending a relay message to a third network device, where the relay message includes a first message and a At least one of the two messages, the first message is used for close-range discovery between the first network device and the third network device, and the second message is used by the first network device and The short-range communication between the third network devices.
  • the acquiring, by the first network device, the first communication resource according to the resource configuration message includes:
  • the type of the relay service indicated by the first relay service type indication information in the resource configuration message includes the relay service type currently requested by the first network device, obtain the communication resource configured by the resource configuration message.
  • the relay service type indicated by the first relay service type indication information in the resource configuration message does not include the relay service type currently requested by the first network device, send a resource request message to the second network device.
  • the resource request message is used to request the first communication resource.
  • an embodiment of the present invention provides a communication resource allocation method, where the method includes:
  • the second network device generates a resource configuration message, where the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate a relay service that can use the communication resource Types of;
  • the second network device broadcasts the resource configuration message.
  • the communication resource includes at least one of a direct discovery resource and a direct communication resource, where the direct discovery resource is used to send a direct discovery message, and the direct communication resource The source is used to send direct communication messages.
  • the direct discovery message includes at least one of the following: a direct discovery message requesting relay, a response message requesting direct relay of the relay, and a relay available notification message;
  • the direct communication message includes the following message At least one of the following: a unicast relay connection establishment request message, a response message of a unicast relay connection establishment request message, a multicast relay service request message, and a response message of a multicast relay service request message.
  • the resource configuration message further includes data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, the data Types include control signaling and user data.
  • the embodiment of the present invention further provides a communication resource allocation method, where the method includes:
  • the first network device sends a second resource request message to the second network device,
  • the second resource request message includes the third frequency information, where the third frequency information is frequency information used by the first network device itself to send a communication message, and the third frequency information is included in the In the first frequency information, the first resource request message is sent before the second resource request message;
  • the first network device sends a third resource request to the second network device.
  • the message, the third resource request message includes fourth frequency information, where the fourth frequency information is included in the first frequency information, and the first resource request message is sent before the third resource request message.
  • Detecting whether the second frequency information carried in the first resource request message sent by the first network device matches the third frequency information configured by the first network device that is, detecting the frequency of the resource that the first network device is currently requesting Whether a change has occurred compared to the frequency of the last requested resource, and if a change occurs, sending a second resource request message to the second network device to request the resource on the new frequency; by detecting the first network device Whether the second frequency information carried in the first resource request message is matched with the first frequency information supported by the current second network device, that is, determining the second network Whether the network device can provide the resource of the frequency requested by the first network device last time, and if the second network device cannot provide the resource of the frequency requested by the first network device, send the third resource request message to the second network device To request resources on the new frequency to ensure the communication quality of the terminal device.
  • the second frequency information carried in the first resource request message sent by the first network device does not match the third frequency information, and includes at least one of the following situations:
  • the second frequency information is different from the third frequency information
  • the first data structure used by the first network device to send the first resource request message is different from the second data structure used by the first network device to send the second resource request message.
  • the second frequency information carried in the first resource request message sent by the first network device does not match the first frequency information, and includes at least one of the following situations:
  • the second frequency information is not included in the first frequency information
  • the partial information of the second frequency information is not included in the first frequency information.
  • an embodiment of the present invention further provides a communication resource allocation apparatus, where the apparatus includes a unit, such as a sending unit and a receiving unit, for implementing the method according to the above first aspect.
  • the embodiment of the present invention further provides a communication resource allocation apparatus, where the apparatus includes a unit for implementing the method described in the second aspect, such as a receiving unit, an allocating unit, and a sending unit.
  • an embodiment of the present invention further provides a communication resource allocation apparatus, where the apparatus includes a unit, such as a receiving unit and an obtaining unit, for implementing the method described in the foregoing third aspect.
  • the embodiment of the present invention further provides a communication resource allocation apparatus, where the apparatus includes a unit, such as a generating unit and a sending unit, for implementing the method described in the foregoing fourth aspect.
  • an embodiment of the present invention further provides a communication resource allocation apparatus, where the apparatus includes a unit, such as a receiving unit and a sending unit, for implementing the method described in the foregoing fifth aspect.
  • an embodiment of the present invention further provides a terminal device, where the terminal device includes: a processor and a memory, where the memory is used to store a software program, where the processor runs or executes storage in the memory
  • the method of the first aspect, the fourth aspect or the fifth aspect may be performed when the software program is inside.
  • the embodiment of the present invention further provides a base station, where the base station includes: a processor and a memory, where the memory is used to store a software program, when the processor runs or executes the storage in the memory.
  • the base station includes: a processor and a memory, where the memory is used to store a software program, when the processor runs or executes the storage in the memory.
  • the method described in the second aspect or the third aspect may be performed.
  • the embodiment of the present invention further provides a computer readable medium, configured to store program code for execution by a base station, the program code comprising the method of the first aspect, the fourth aspect, or the fifth aspect. Instructions.
  • the embodiment of the present invention further provides a computer readable medium for storing program code for execution by a base station, the program code comprising instructions for performing the method of the second aspect or the third aspect.
  • the embodiment of the present invention further provides a communication system, including a first network device, a second network device, and a third network device,
  • the first network device is configured to send a resource request message to the second network device, where the resource request message is used to request the first communication resource, where the first communication resource is sent by the first network device to the third network device a resource of the relay message, the relay message including at least one of a first message and a second message, the first message being used for a close distance between the first network device and the third network device It is found that the second message is used for short-range communication between the first network device and the third network device, and the resource request message includes first relay service type indication information, the first relay The service type indication information is used to indicate a relay service type performed by the first network device by using the first communication resource;
  • the second network device is configured to receive the resource request message sent by the first network device, allocate a first communication resource to the first network device according to the resource request message, and send a resource configuration to the first network device a message, the resource configuration message includes the first communication resource;
  • the first network device is further configured to receive the resource configuration message sent by the second network device.
  • the embodiment of the present invention further provides a communication system, including a first network device, a second network device, and a third network device, where the second network device is configured to generate a resource configuration message, where the resource configuration
  • the message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type that can use the communication resource; and the resource configuration message is broadcasted;
  • the first network device is configured to receive a resource configuration message sent by the second network device, and acquire the first communication resource according to the resource configuration message, where the first communication resource is used to send a relay message to the third network device.
  • the resource, the relay message includes at least one of a first message and a second message, where the first message is used for close-range discovery between the first network device and the third network device, The second message is used for short-range communication between the first network device and the third network device.
  • the embodiment of the present invention further provides a communication system, including a first network device and a second network device,
  • the second network device is configured to broadcast a resource configuration message, where the resource configuration message includes first frequency information supported by the second network device;
  • a first network device configured to receive a resource configuration message sent by the second network device, where the second frequency information carried in the first resource request message sent by the first network device does not match the third frequency information
  • the first network device sends a second resource request message to the second network device, where the second resource request message includes the third frequency information
  • the third frequency information is frequency information used by the first network device to be configured to send a communication message; or a second frequency carried in a first resource request message sent by the first network device at a time
  • the first network device sends a third resource request message to the second network device, where the third resource request message includes fourth frequency information, the fourth frequency Information is included in the first frequency information.
  • 1a is a schematic diagram of an application scenario of relay communication using D2D communication technology in an embodiment of the present invention
  • 1b is a schematic diagram of another application scenario for performing relay communication by using a D2D communication technology in an embodiment of the present invention
  • FIG. 1c is a schematic diagram of a unicast communication scenario in a D2D communication technology
  • FIG. 1d is a schematic diagram of a multicast communication scenario in a D2D communication technology
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a base station according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for allocating communication resources according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of another communication resource allocation method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of interaction of a relay communication method according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of still another communication resource allocation method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of still another communication resource allocation method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of interaction of another relay communication method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of another communication resource allocation method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of another communication resource allocation method according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a communication resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another communication resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of still another communication resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of still another communication resource allocation apparatus according to an embodiment of the present invention.
  • 16 is a schematic structural diagram of a communication resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • the terminal device communicates with the base station for which the network service is provided through the air interface, and the user data is forwarded to the destination node in the network through the base station.
  • the terminal device 11 when the terminal device 11 is located in the edge region of the coverage of the base station 10, its signal quality may not meet the communication requirements, and may even leave the network without obtaining network services.
  • the terminal device 12 with better signal quality in the coverage area can be used as the relay terminal device, and the network device is continuously provided for the terminal device 11 located at the edge of the coverage to improve the communication of the terminal device 11 located in the edge region of the coverage. quality.
  • FIG. 1a when the terminal device 11 is located in the edge region of the coverage of the base station 10, its signal quality may not meet the communication requirements, and may even leave the network without obtaining network services.
  • the terminal device 12 with better signal quality in the coverage area can be used as the relay terminal device, and the network device is continuously provided for the terminal device 11 located at the edge of the coverage to improve the communication of the terminal device 11 located in the edge region of
  • the terminal device 12 located in the coverage of the base station 10 may be located as a relay terminal device.
  • the terminal device 11 outside the coverage of the base station 10 provides network services, so that the terminal device 11 located outside the coverage of the base station 10 can accept the network service provided by the base station 10.
  • the terminal that obtains the network service provided by the base station by using the relay terminal device is referred to as the remote terminal device, and the terminal device 11 located at the edge of the coverage as shown in FIG. 1a and the overlay device shown in FIG. 1b are located. Terminal device 11 outside the range.
  • the terminal device that will provide the relay service for the remote terminal device and the base station is called a relay terminal device, such as the terminal device 12 located in the middle of the coverage of the base station in FIG. 1a and FIG. 1b.
  • the providing the relay service refers to receiving the data sent by the remote terminal device to the base station and forwarding it to the base station, and receiving the data sent by the base station to the remote terminal device and forwarding the data to the remote device.
  • the terminal device may also be referred to as a user equipment (User Equipment, UE for short), and the remote terminal device may also be referred to as a remote user equipment (Remote UE), and the relay terminal device may also be referred to as a relay user. Equipment (Relay UE).
  • UE User Equipment
  • Remote UE remote user equipment
  • Relay UE relay user equipment
  • the base station 10 and the relay terminal device 12 communicate by using a cellular communication technology
  • the cellular communication technologies include, but are not limited to, Long Term Evolution (LTE) UMTS system, global mobile Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, general packet General Packet Radio Service (GPRS), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, etc.
  • LTE Long Term Evolution
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • the relay terminal device 12 and the remote terminal device 11 communicate using D2D communication technology.
  • the D2D communication technology is a technology for direct communication between the terminal device and the terminal device.
  • the data of the terminal device does not need to be transmitted through the base station, but is directly transmitted through the air interface between the terminal device and the terminal device.
  • D2D communication technology includes direct discovery (also known as Sidelink discovery, ProSe discovery, or ProSe Direct discovery) and direct communication (Sidelink communication), or ProSe communication, or ProSe Direct communication.
  • the direct discovery of D2D communication technology includes two modes: a first mode and a second mode.
  • the direct discovery process of the first mode is as follows: the first terminal device uses the direct discovery resource allocated or pre-configured by the base station to send a direct discovery message to the second terminal device in the vicinity, and the second terminal device receives the direct discovery message.
  • the direct discovery resource allocated or pre-configured by the base station is used to send a response message of the direct discovery message to the first terminal device.
  • the first terminal device finds the first The second terminal device; the direct discovery process of the second mode is as follows: the second terminal device uses the direct discovery resource allocated or pre-configured by the base station, and sends a direct discovery notification message to the second terminal device in the vicinity, and the first terminal device receives the When the notification message is directly found, the second terminal device is discovered by the first terminal device.
  • Direct communication of D2D communication technology includes two types, one-to-one communication (unicast communication) or one-to-many communication (or one-to-many communication). Called multicast communication or multicast communication, group cast communication or group communication).
  • One-to-one direct communication that is, one terminal device 11b can transmit data to another terminal device 12b, as shown in FIG. 1d;
  • one-to-many direct communication that is, one terminal device 11a can transmit data to a plurality of terminal devices in a certain communication group. 12a, as shown in Figure 1c.
  • the first terminal device and the second terminal device communicate using direct communication resources allocated or provisioned by the base station.
  • the relay direct communication method of the D2D communication technology is adopted between the relay terminal device and the remote terminal device, that is, the remote terminal device establishes data transmission with the base station through the relay terminal device. aisle.
  • the relay direct communication also includes two types: a unicast relay service (ie, one-to-one relaying service) and a multicast relay service (ie, a group relaying service, also called one-to -many Relaying service, where the multicast relay service may include, but is not limited to, Multimedia Broadcast/Multicast Service (MBMS) Relaying service, Enhanced Multimedia Broadcast/Multicast Service (Enhanced Multimedia Broadcast/Multicast Service) , referred to as eMBMS) Relaying service and single cell point to multi-point transmission service (Single Cell Point To Multi-point transmission, referred to as SC-PTM) Relaying service.
  • MBMS Multimedia Broadcast/Multicast Service
  • eMBMS Enhanced Multimedia Broadcast/Multicast Service
  • SC-PTM Single Cell Point To Multi-point transmission
  • the remote terminal device uses the relay terminal device to obtain the service provided by the base station, it is necessary to first find the relay terminal device through the direct discovery process to perform a direct communication process with the relay terminal device.
  • the direct communication process consumes different time-frequency resources of different types of direct communication, for example, for the multicast relay service, the remote terminal device does not need to consume too much resources, but for the unicast communication service. It is said that the remote terminal device will need the base station to allocate resources continuously, and the resource consumption is large. If the terminal device uses the method of sending a resource request message to the base station to obtain the resource, the terminal device does not indicate the type of the direct communication in the prior art, and the base station determines whether it is the terminal according to its own load condition.
  • the device allocates resources and does not consider the type of direct communication. It is likely that all remote terminal devices will reject requests, making resource scheduling less flexible and accurate, and affecting communication efficiency. Furthermore, considering the service characteristics of different direct communication types, For example, urgency, if the terminal device obtains resources from the resources broadcast by the base station, it may conflict with other types of resources used for direct communication, affecting communication quality and efficiency.
  • the present invention provides a resource allocation method, which is configured for a terminal according to a request of a terminal device.
  • the type of the direct communication of the terminal device is comprehensively considered, and the flexibility and accuracy of the resource scheduling are improved.
  • the embodiment of the present invention further provides a resource allocation method, which is specified in the resource configuration message broadcasted by the base station.
  • the type of direct communication service capable of using broadcast communication resources can avoid conflicts with resources used for other types of direct communication, thereby providing communication quality and efficiency.
  • the terminal device includes but is not limited to a mobile phone, a smart terminal, a multimedia device, a streaming media device, and the like.
  • the base station may be an Evolved Node B (eNB) in the LTE system.
  • the eNB is a bridge between the UE in the LTE system and the Evolved Packet Core (EPC).
  • the eNB passes the X2.
  • the interface is connected.
  • the main functions of the eNB include radio resource management, network protocol (IP) header compression and user data stream encryption, and Mobility Management Entity (MME) selection and routing user plane when the UE is attached.
  • Data-to-service gateway (Serving GateWay, S-GW for short), organization and transmission of paging messages, organization and transmission of broadcast messages, measurement for mobility or scheduling, and measurement report configuration, of course, the base station can also Access network entities in other communication systems.
  • the terminal device in FIGS. 1a and 1b can adopt the structure shown in FIG. 2.
  • the terminal device 200 includes a memory 210, a processor 220, a communication interface 230, and a communication bus 240.
  • the communication bus 240 is used to implement the memory. 210. Connection communication between the processor 220 and the communication interface 230.
  • the structure of the terminal device 200 shown in FIG. 3 does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the communication interface 230 can be used to implement a communication connection between the terminal 200 and at least one other network element, and can use a cellular communication network, the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the processor 220 is a control center of the terminal device 200, and connects various parts of the entire base station by using various interfaces and lines, and executes the terminal 200 by running or executing a software program stored in the memory 210 and calling data stored in the memory 210.
  • the various functions and processing data provide overall control of the base station.
  • processor 220 can include one or more processing cores.
  • the memory 210 can be used to store various data, such as various configuration parameters, as well as to store software programs.
  • the processor 220 executes various functional applications and data processing by running a software program stored in the memory 210.
  • the memory 210 may mainly include a program storage area and a data storage area, wherein the program storage area may store the operating system 211, the transmitting module 212, and the receiving module 213, etc.; the storage data area may store data created according to the use of the terminal 200.
  • the memory 210 can be of any type Lossless or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (referred to as Electrically Erasable Programmable Read-Only Memory) EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Memory (ROM), Magnetic memory, flash memory, disk or optical disk. Accordingly, memory 210 may also include a memory controller to provide processor 220 access to memory 210.
  • SRAM Static Random Access Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read-Only Memory
  • ROM Read Only Memory
  • magnetic memory flash memory
  • flash memory disk or optical disk.
  • memory 210 may also include a memory controller to provide processor 220 access to memory 210.
  • the processor 220 can send a resource request to the second network device through the communication interface 230 by running or executing the sending module 212 in the memory 210.
  • a message the resource request message is used to request a first communication resource, where the first communication resource is a resource for the first network device to send a relay message to a third network device, where the relay message includes a first message and At least one of the second message, the first message is used for close-range discovery between the first network device and the third network device, and the second message is used by the first network device and The short-range communication between the third network device, the resource request message includes a first relay service type indication information, where the first relay service type indication information is used to indicate that the first network device uses the The relay service type performed by the first communication resource; the processor 220 can receive the information sent by the second network device through the communication interface 230 by running or executing the receiving module 213 in the memory 210.
  • Configuration message the message comprising a resource
  • the processor 220 can receive the second network through the communication interface 230 by running or executing a receiving module (not shown) in the memory 210.
  • a resource configuration message sent by the device where the resource configuration message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type that can use the communication resource;
  • the processor 220 can obtain the first communication resource according to the resource configuration message by running or executing an acquisition module (not shown) in the memory 210, where the first communication resource is used to send a relay to the third network device.
  • the relay message comprising at least one of a first message and a second message, the first message being used for close-range discovery between the first network device and the third network device,
  • the second message is used for short-range communication between the first network device and the third network device.
  • the processor 220 can pass through the communication interface 230 by running or executing a receiving module (not shown) in the memory 210. Receiving a resource configuration message sent by the second network device, where the resource configuration message includes first frequency information supported by the second network device; and the processor 220 can execute or execute a sending module (not shown) in the memory 210.
  • the second resource request message When the second frequency information carried in the first resource request message that is sent by the first network device does not match the third frequency information, the second resource request message is sent to the second network device,
  • the second resource request message includes the third frequency information, where the third frequency information is frequency information used by the first network device itself to send a communication message, and the third frequency information is included in the In the first frequency information; or, when the second frequency information carried in the first resource request message sent by the first network device does not match the first frequency information, the second network device is sent to the second network device.
  • the base station in FIG. 1c and 1d can adopt the structure shown in FIG. 3.
  • the base station 300 includes a memory 310, a processor 320, a communication interface 330, and a communication bus 340.
  • the communication bus 340 is used to implement the memory 310 and process.
  • the connection between the device 320 and the communication interface 330 is communicated.
  • the structure of the base station 300 shown in FIG. 3 does not constitute a limitation to the base station, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the communication interface 330 can be used to implement a communication connection between the base station 300 and at least one other network element, and can use a cellular communication network, the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the processor 320 is a control center of the base station 300, and connects various parts of the entire base station by using various interfaces and lines, and executes the base station 300 by running or executing a software program stored in the memory 310 and calling data stored in the memory 310. Various functions and processing data to provide overall control of the base station. Alternatively, processor 320 can include one or more processing cores.
  • the memory 310 can be used to store various data, such as various configuration parameters, as well as to store software programs.
  • the processor 320 executes various functional applications and data processing by running a software program stored in the memory 310.
  • the memory 310 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system 311, a receiving module 312, an allocating module 313, and a transmitting module 314, etc.; the storage data area may be stored according to the use of the base station 300. Data, such as frequency information.
  • the memory 310 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory.
  • SRAM static random access memory
  • memory 310 may also include a memory controller to provide processor 320 access to memory 310.
  • the processor 320 can receive the resource request sent by the first network device through the communication interface 230 by running or executing the receiving module 312 in the memory 310.
  • a message the resource request message is used to request a first communication resource, where the first communication resource is a resource for the first network device to send a relay message to a third network device, where the relay message includes a first message and At least one of the second message, the first message is used for close-range discovery between the first network device and the third network device, and the second message is used by the first network device and The short-range communication between the third network device, the resource request message includes a first relay service type indication information, where the first relay service type indication information is used to indicate that the first network device uses the The relay service type performed by the first communication resource; the processor 320 may implement, according to the resource request message, the first network device, by running or executing the allocation module 313 in the memory 310. Configuring a first communication resource; the processor 320
  • the processor 320 may implement a resource configuration message by running or executing a generating module (not shown) in the memory 310.
  • the configuration message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type that can use the communication resource; and the processor 320 runs or executes the memory 310.
  • the sending module (not shown) can implement the broadcast resource configuration message through the communication interface 330.
  • FIG. 4 is a flowchart of a communication resource allocation method according to an embodiment of the present invention. Referring to Figure 4, the method includes:
  • Step 401 The first network device sends a resource request message to the second network device.
  • the resource request message is used to request a first communication resource, where the first communication resource is a resource for the first network device to send a relay message to a third network device, where the relay message includes the relay message includes a first At least one of a message and a second message, the first message being used by the first network device and
  • the close distance between the third network devices is that the second message is used for short-range communication between the first network device and the third network device.
  • the first message is referred to as a direct discovery message and the second message is referred to as a direct communication message.
  • the resource request message includes a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type performed by the first network device by using the first communication resource.
  • the relay service type indicated by the first relay service type indication information may include the following three conditions: 1) unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service .
  • Step 402 The first network device receives a resource configuration message sent by the second network device.
  • the resource configuration message includes a first communication resource allocated by the second network device to the first network device according to the resource request message.
  • the resource configuration message may further include second relay service type indication information, where the second service type indication information is used to indicate a relay service type that can use the first communication resource.
  • the first network service type indication information is carried in the resource request message sent by the first network device to the second network device, so that the second network device can determine the relay service performed by the first network device by using the first communication resource.
  • the type may further determine whether to allocate resources to the first network device according to the type of the relay service performed by the first network device by using the first communication resource, so that resources may be allocated more flexibly, thereby improving resource utilization.
  • FIG. 5 is a flowchart of a communication resource allocation method according to an embodiment of the present invention. Referring to Figure 5, the method includes:
  • Step 501 The second network device receives the resource request message sent by the first network device.
  • the resource request message is used to request a first communication resource, where the first communication resource is a resource that the first network device sends a relay message to a third network device, where the relay message includes a direct discovery message and a direct communication. At least one of the messages, the resource request message includes first relay service type indication information, where the first relay service type indication information is used to indicate that the first network device uses the first communication resource Relay service type.
  • Step 502 The second network device allocates the first communication resource to the first network device according to the resource request message.
  • Step 503 The second network device sends a resource configuration message to the first network device, where the resource configuration message includes the first communication resource.
  • the first network service type indication information is carried in the resource request message sent by the first network device to the second network device, so that the second network device can determine the relay service performed by the first network device by using the first communication resource.
  • the type may further determine whether to allocate resources to the first network device according to the type of the relay service performed by the first network device by using the first communication resource, so that resources may be allocated more flexibly, thereby improving resource utilization.
  • the second network device can be a base station.
  • the third network device may be a relay terminal device; when the first network device is a relay terminal device, the third network device may be a remote terminal device.
  • the remote terminal device may be the remote terminal device shown in FIG. 1a, and the relay terminal device may be the relay terminal device shown in FIG. 1a and FIG. 1b.
  • FIG. 6 is a schematic diagram of interaction of a relay communication method according to an embodiment of the present invention.
  • the relay communication method uses a communication resource allocation method provided by an embodiment of the present invention.
  • the relay communication method includes:
  • Step 601 The remote terminal device sends a resource request message to the base station, where the resource request message is used to request direct discovery of the resource.
  • the direct discovery resource is used by the remote terminal device to send a direct discovery message requesting relay to the relay terminal device, for example, a request discovery message.
  • the resource request message may be a message containing sideline UE information (Sidelink UEInformation).
  • the resource request message includes the first relay service type indication information, where the first relay service type indication information is used to indicate the type of the relay service performed by the remote terminal by using the requested direct discovery resource.
  • the relay service type indicated by the first relay service type indication information may include three cases: 1) unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service.
  • the first relay service type indication information may be in a display indication manner or an implicit indication manner.
  • the display indication manner indicates that the first relay service type indication information directly indicates the foregoing three situations, that is, the first relay service type indication information may be indication information indicating the unicast relay service, and indicating the multicast relay service. Indication information, indication information indicating unicast relay service and multicast relay service.
  • the implicit indication mode indicates that the first relay service type indication information is an indication of the relay service type implicitly by the terminal device transmitting information related to the relay service type to the base station.
  • the first relay service type indication information indicated by the implicit indication manner may be a resource request message sent by the terminal device to the base station. The type of communication address contained in it.
  • the resource request message sent by the terminal device to the base station includes the unicast communication address, indicating that the unicast relay service is indicated; when the resource request message sent by the terminal device to the base station includes the multicast communication address, indicating that the multicast relay service is indicated.
  • the resource request message sent by the terminal device to the base station includes the unicast communication address and the multicast communication address respectively, it indicates that the unicast relay service and the multicast relay service are correspondingly indicated.
  • the unicast communication address includes the device identifier of the terminal device, and may be a device identifier (ProSe UE ID) of the remote terminal device or a device identifier (ProSe Relay UE ID) of the relay terminal device; the multicast communication address includes The identity of the communication group (Group ID).
  • the remote terminal device can measure the signal quality of the signal transmitted by the base station in real time. When the signal quality is lower than the set value, it is determined that the relay terminal device needs to provide the network service and enter the relay terminal device discovery process.
  • the relay terminal device discovery process first determine the state of the remote terminal device, when the remote terminal device is in the connected state (RRC_CONNECTED) (that is, connected to the base station), or when the remote terminal device is in the idle state (RRC_IDLE) (Step 601) (ie, not connected to the base station) and the base station does not broadcast a resource for transmitting a direct discovery message.
  • the signal quality may be represented by a remote terminal device that measures a reference signal received by the base station (Reference Signal Received Power, RSRP for short) or a reference signal received by the base station (Reference Signal Received Quality, referred to as RSRQ).
  • RSRP Reference Signal Received Power
  • RSRQ Reference Signal Received Quality
  • the step 601 includes:
  • the remote terminal device receives a broadcast message sent by the base station, where the broadcast message includes capability information of the base station;
  • the remote terminal device sends a resource request message to the base station according to the broadcast message.
  • the capability information of the base station includes, but is not limited to, indication information of whether the base station supports the relay service, indication information of the relay service type supported by the base station, frequency information supported by the base station for transmitting the direct discovery message, and/or transmitting the direct communication message. .
  • One or more of the capability information of the base station may be included in the broadcast message.
  • the remote terminal device sends the resource request message to the base station according to the broadcast message, including:
  • the remote terminal device When the relay service type supported by the base station includes the unicast relay service and the multicast relay service, the remote terminal device sends a resource request message including the first relay service type indication information to the base station.
  • the remote terminal device does not send the resource request message to the base station.
  • the resource request message sent by the terminal device to the base station may not include the first relay service type indication information, and may also include the first relay service type indication information.
  • the broadcast message includes the relay service type indication information supported by the base station, which can reduce unnecessary resource request messages sent by the remote terminal device to the base station, reduce the burden on the remote terminal device, and save network resources.
  • the broadcast message may not include the relay service type indication information supported by the base station.
  • the remote terminal device may directly send a resource request message to the base station, and the base station determines whether it is a remote terminal device. Allocate resources that send direct discovery messages.
  • Step 602 The base station receives the resource request message sent by the remote terminal device, and allocates a direct discovery resource to the remote terminal device according to the first relay service type indication information in the received resource request message.
  • the capabilities of a base station may include the following four conditions:
  • the base station determines, by the base station, the direct discovery resource for the remote terminal device according to the first relay service type indication information in the resource request message, including:
  • the remote terminal device is not allocated the direct discovery resource
  • the remote terminal device is allocated a direct discovery resource.
  • the base station may determine, according to its own load condition and the type of the relay service indicated by the first relay service type indication information, whether to allocate the direct discovery resource to the remote terminal device.
  • the load status of the base station includes, but is not limited to, the load condition of the base station on the Uu port, and the base station allocates resources to the D2D terminal device.
  • the base station indicates, according to its own load condition and the first relay service type indication information.
  • the trunk service type determines whether to allocate resources to the remote terminal device. The following methods can be used (not limited to the following methods):
  • the remote terminal device is not allocated resources for performing any relay service type communication
  • the load of the base station on the Uu port is lower than the first threshold and the resource allocated for the D2D terminal device is not lower than the second threshold, or when the load of the base station on the Uu port is not lower than the first threshold and allocated for the D2D terminal device
  • the resource is lower than the second threshold, only the remote terminal device allocates resources for multicast relay communication
  • the remote terminal device is allocated resources for performing any relay service type communication.
  • the first threshold may be the number of resources allocated by the base station for the terminal device on the Uu interface
  • the second threshold may be the number of resources allocated by the base station for the D2D communication of the terminal device
  • the values of the first threshold and the second threshold may be according to actual needs. Settings, no restrictions here.
  • Step 603 The base station sends a resource configuration message to the remote terminal device.
  • the base station allocates a direct discovery resource to the remote terminal device, where the resource configuration message includes a direct discovery resource allocated to the remote terminal device.
  • the resource configuration message may further include second relay service type indication information, where the second relay service type indication information is used to indicate a relay service type that can use the allocated direct discovery resource.
  • the resource configuration message may include indication information, where the indication information is used to notify the remote terminal device that the resource is not allocated or the remote terminal is notified.
  • the device base station does not support the currently requested trunk service type.
  • the base station device may not send the resource configuration message to the remote terminal device, and the remote terminal device does not receive the base station transmission within the set time.
  • the resource configuration message is considered to be that the base station does not support the relay service type indicated by the first relay service type indication information.
  • Step 604 The remote terminal device uses the obtained direct discovery resource to send a direct discovery message requesting relay to the relay terminal device.
  • the remote terminal device sends a direct discovery message requesting relaying in a broadcast manner, so that multiple relay terminal devices may receive the direct discovery message of the request relay.
  • the remote terminal device is the first network device
  • the relay terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is the direct discovery resource.
  • the source, relay message is a direct discovery message requesting relay.
  • Step 605 The relay terminal device receives the direct discovery message requesting the relay, and returns a response message requesting the relayed direct discovery message to the remote terminal device.
  • the resource used by the relay terminal device to return the response message requesting the relayed direct discovery message to the remote terminal may be a direct discovery resource broadcast by the base station, or may be directly requested by the relay terminal device to the base station.
  • the manner in which the relay terminal device requests the base station to directly discover the resource is the same as the method in which the remote terminal device requests the base station to directly discover the resource. For details, refer to steps 601-603, and detailed description is omitted here.
  • Step 606 The remote terminal device receives a response message that is sent by the relay terminal device and requests a direct discovery message of the relay.
  • the relay terminal device is the first network device
  • the remote terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct discovery resource
  • the relay message is a request relay. The response message of the direct discovery message.
  • the remote terminal device uses the direct discovery process of the first mode to discover the relay terminal device.
  • the remote terminal device may also adopt the foregoing second type.
  • the direct discovery process of the pattern discovers the relay terminal device.
  • steps 601 to 606 can be replaced by the following steps:
  • the relay terminal device sends a resource request message for requesting direct discovery of resources to the base station, where the resource request message includes first relay service type indication information;
  • the base station allocates a direct discovery resource to the relay terminal device according to the received resource request message, and sends a resource configuration message to the relay terminal device, where the resource configuration message includes the first communication resource;
  • the relay terminal device receives the resource configuration message sent by the base station, and sends the relay available notification message to the remote terminal device by using the first communication resource. After receiving the relay available notification message, the remote terminal device discovers the relay terminal device.
  • Step 607 The remote terminal device selects one relay terminal device as the service relay terminal device from the sender (ie, the relay terminal device) of the received response message of the direct discovery message requesting the relay.
  • the service relay terminal device refers to a relay terminal device that actually provides network services for the remote terminal device.
  • the response message replied by the multiple relay terminal devices may be measured, and the relay terminal device corresponding to the strongest response message is selected as the service relay terminal device.
  • Step 608 The remote terminal device sends a resource request message to the base station, where the resource request message is used to request a direct communication resource.
  • the direct communication resource is used by the remote terminal device to send a unicast relay connection setup request message or a multicast relay service request message to the relay terminal device.
  • the resource request message may be a message containing sideline UE information (Sidelink UEInformation).
  • the resource request message may include first relay service type indication information.
  • first relay service type indication information For details of the first relay service type indication information in the step 608, refer to step 601, and details are not described herein again.
  • the step 608 may also include:
  • the remote terminal device receives a broadcast message sent by the base station, where the broadcast message includes capability information of the base station;
  • the remote terminal device sends a resource request message to the base station according to the broadcast message.
  • step 601 For details about the capability information of the base station and the remote terminal device transmitting the resource request message to the base station according to the broadcast message, refer to step 601, and details are not described herein again.
  • Step 609 The base station receives the resource request message sent by the remote terminal device, and allocates a direct communication resource to the remote terminal according to the first relay service type indication information in the received resource request message.
  • step 609 The specific implementation of the step 609 is similar to the manner in which the step 602 allocates the direct discovery resource, and thus the detailed description is omitted here.
  • Step 610 The base station sends a resource configuration message to the remote terminal device, where the resource configuration message includes a direct communication resource.
  • the resource configuration message includes a direct communication resource allocated to the remote terminal device.
  • the resource configuration message may further include second relay service type indication information, where the second relay service type indication information is used to indicate a relay service type that can use the allocated direct communication resource.
  • the resource configuration message may include indication information, where the indication information is used to notify the remote terminal device that the resource is not allocated or the remote terminal is notified.
  • the device base station does not support the currently requested trunk service type.
  • the base station device may not send the resource configuration message to the remote terminal device, and the remote terminal device does not receive the base station transmission within the set time.
  • the resource configuration message is considered to be that the base station does not support the relay service type indicated by the first relay service type indication information.
  • the resource configuration message may further include data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, and the data type includes control signaling and user data.
  • the remote terminal device is the first network device
  • the relay terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct communication resource.
  • the message is a direct communication message.
  • Step 611 The remote terminal device sends the unicast relay connection establishment request message or the multicast relay service request message to the service relay terminal device by using the obtained direct communication resource.
  • Step 612 The service relay terminal device receives the request message of the unicast relay service connection establishment request message or the multicast relay service, and determines whether to respond to the remote terminal device. If it is determined to respond to the remote terminal device, step 613 is performed; if it is determined that the remote terminal device is not responded, the operation is not performed.
  • the service relay terminal device may determine whether to respond to the remote terminal device according to its own conditions, including but not limited to the number of connected remote terminal devices for unicast communication, whether to support multicast relay service, and whether to support eMBMS. Relay service, whether to support SC-PTM trunk service, etc.
  • Step 613 The serving relay terminal device acquires a direct communication resource, and sends a response message of the unicast relay connection establishment request message or a response message of the multicast relay service request message to the remote terminal device.
  • the direct communication resource acquired by the serving relay terminal device may be a direct communication resource broadcasted by the base station, or may be a direct communication resource requested by the service relay terminal device to the base station, and the service relay terminal device requests the base station directly
  • the manner of the communication resource is the same as the manner in which the remote terminal device requests the direct communication resource from the base station. For details, refer to steps 608-610, and detailed description is omitted here.
  • the resource request message sent to the base station includes the first relay service type indication information.
  • the serving relay terminal device may return to the idle state and use the resources broadcast by the base station.
  • the service relay terminal device is the first network device
  • the remote terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct communication resource
  • the relay message is a unicast relay.
  • the serving relay terminal device and the remote terminal device establish a D2D connection, after which the service relay terminal device can provide the remote terminal device with the relay service requested by the remote terminal device.
  • the remote terminal device When the remote terminal device requests the unicast relay service, the remote terminal device acquires the direct communication resource allocated by the base station, and sends the prepared resource to the service relay terminal device to be sent to the base station. Data, the service relay terminal device receives the data sent by the remote terminal device to the base station, and forwards the received data to the base station; or the relay terminal device receives the data sent by the base station to the remote terminal device, and uses the acquired data.
  • the direct communication resource forwards the received data to the remote terminal device.
  • one relay terminal device may perform unicast communication with multiple remote terminal devices, and the content that the relay terminal device communicates with the multiple remote terminal devices may be different.
  • the service relay terminal device forwards the broadcast service data sent by the base station to the remote terminal device. At this time, the remote terminal device does not need to send data again, and only needs to receive the service. The data transmitted by the terminal device is relayed, thereby acquiring the service data broadcast by the base station.
  • the remote terminal device in the connected state, after the remote terminal device reports the multicast relay service type indication information to the base station, if the remote terminal device does not have other connected state services, it can be switched to the idle state receiving multicast. Following the business.
  • the remote terminal device is switched to the idle state by triggering the base station to send a connection release message to the remote terminal device.
  • the present invention is described by taking the remote terminal device to obtain the direct discovery resource and the direct communication resource to send the resource request to the base station.
  • the remote terminal device obtains the direct At least one of the discovery resource and the direct communication resource may be obtained from a broadcasted message of the base station.
  • the first network service type indication information is carried in the resource request message sent by the first network device to the second network device, so that the second network device can determine the relay service performed by the first network device by using the first communication resource.
  • the type may further determine whether to allocate resources to the first network device according to the type of the relay service performed by the first network device by using the first communication resource, so that resources may be allocated more flexibly, thereby improving resource utilization.
  • FIG. 7 is a flowchart of a communication resource allocation method according to an embodiment of the present invention. Referring to Figure 7, the method includes:
  • Step 701 The first network device receives a resource configuration message sent by the second network device, where the resource configuration message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate that The type of relay service that uses the communication resource.
  • the relay service type indicated by the first relay service type indication information may include three cases: 1) unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service.
  • Step 702 The first network device acquires a first communication resource according to the resource configuration message, where the first communication resource is a resource used to send a relay message to the third network device, where the relay message includes Directly discovering at least one of a message and a direct communication message.
  • the first communication resource acquired by the first network device may be a direct communication resource, or may be a direct discovery resource, or may be a direct communication resource and a direct discovery resource.
  • FIG. 8 is a flowchart of a communication resource allocation method according to an embodiment of the present invention. Referring to Figure 8, the method includes:
  • Step 801 The second network device generates a resource configuration message, where the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate that the communication resource can be used.
  • Relay service type the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate that the communication resource can be used.
  • the relay service type indicated by the first relay service type indication information may include three cases: 1) unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service.
  • Step 802 The second network device broadcasts the resource configuration message.
  • the second network device can be a base station.
  • the third network device may be a relay terminal device; when the first network device is a relay terminal device, the third network device may be a remote terminal device.
  • the remote terminal device may be the remote terminal device shown in FIG. 1a, and the relay terminal device may be the relay terminal device shown in FIG. 1a and FIG. 1b.
  • FIG. 9 is a schematic diagram of interaction of a relay communication method according to an embodiment of the present invention.
  • the relay communication method uses a communication resource allocation method provided by an embodiment of the present invention.
  • the relay communication method includes:
  • Step 901 The base station generates a resource configuration message.
  • the resource configuration message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate a relay service type that can use the communication resource.
  • the relay service type indicated by the first relay service type indication information includes three cases: 1) a unicast relay service; 2) multicast relay service; 3) unicast relay service and multicast relay service.
  • the communication resource includes at least one of a direct discovery resource for transmitting a direct discovery message, and a direct communication resource for transmitting a direct communication message.
  • the direct discovery message includes at least one of the following: a direct discovery message requesting relay, a response message requesting direct relay of the relay, and a relay available notification message; the direct communication message includes at least one of the following messages A unicast relay connection establishment request message, a response message of a unicast relay connection establishment request message, a multicast relay service request message, and a response message of a multicast relay service request message.
  • the resource configuration message further includes data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, and the data type includes control signaling and user data.
  • Step 902 The base station broadcasts a resource configuration message.
  • a resource configuration message including a direct discovery resource may be carried in system information block 19 (SystemInformationBlockType 19, SIB19).
  • Resource configuration messages including direct communication resources may be carried in the SIB 18.
  • the broadcast message may further include capability information of the base station, where the capability information of the base station includes, but is not limited to, indication information of whether to support the relay service, indication information of the supported relay service type, and indication information of the supported frequency.
  • the capability information of the base station may be included in the broadcast message.
  • the resource configuration message in SIB19 can be expressed in the following four forms:
  • the third type is the third type.
  • the value of the GroupRelayingAllowed in the first type is true, indicating that the relay service type can be used as the multicast relay service.
  • the value of the UCRlayingAllowed in the second type is true, indicating that the relay service type can be used as the unicast.
  • the relay service if the value corresponding to the GroupUCRelaying in the third type is true, it indicates that the relay service type can be used as the unicast relay service and the multicast relay service.
  • the Group is used to indicate multicast mode communication or one-to-many mode communication
  • the UC is used to indicate one-to-one mode communication or unicast mode communication. This is just an example, and the implementation is not limited thereto.
  • the resource configuration message of the direct communication resource in the SIB 18 may also be in the same manner, and a detailed description is omitted here.
  • Step 903 The remote terminal device receives the resource configuration message sent by the base station, and obtains the direct discovery resource according to the resource configuration message.
  • the direct discovery resource is used by the remote terminal device to send a direct discovery message requesting relay to the relay terminal device, such as a Solicitation message.
  • the resource request message may be a message containing sideline UE information (Sidelink UEInformation).
  • the remote terminal device listens to the broadcast message of the base station while in the idle state (RRC_IDLE).
  • the obtaining the direct discovery resource according to the resource configuration message broadcasted by the base station may include:
  • the direct discovery resource is obtained from the resource configuration message broadcasted by the base station;
  • the resource configuration message broadcasted by the base station does not include the foregoing resource, or the type of the relay service indicated by the first relay service type indication information in the resource configuration message broadcasted by the base station does not include the current preparation of the remote terminal device.
  • a resource request message is sent to the base station, and the resource request is used to request direct discovery of the resource.
  • the type of the relay service indicated by the first relay service type indication information in the resource configuration message broadcasted by the base station is a unicast relay service
  • the type of the relay service indicated by the first relay service type indication information in the resource configuration message broadcasted by the base station includes the relay currently prepared by the remote terminal device.
  • the remote terminal device can directly use the resources broadcast by the base station; if the base station is currently requesting the multicast relay service, the first relay service type indication information in the resource configuration message broadcasted by the base station is indicated.
  • the remote terminal device sends a resource request message to the base station.
  • the type of service currently being prepared can be understood as the type of service that the terminal device is interested in.
  • the remote terminal device when the type of the relay service indicated by the first relay service type indication information in the resource configuration message broadcasted by the base station is a multicast relay service, if the remote terminal device is currently preparing for the multicast relay service, The remote terminal device can directly use the resources broadcast by the base station; if the remote terminal device currently requests the unicast relay service, the remote terminal device sends a resource request message to the base station.
  • the remote terminal device can directly use the resource broadcast by the base station.
  • Step 904 The remote terminal device sends a direct discovery message requesting relay to the relay terminal device by using the obtained direct discovery resource.
  • the remote terminal device is the first network device
  • the relay terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct discovery resource
  • the relay message is a request relay. Direct discovery of the message.
  • Step 905 The relay terminal device receives the direct discovery message requesting the relay, and returns a response message requesting the relayed direct discovery message to the remote terminal device.
  • the resource used by the relay terminal device to return the response message requesting the relayed direct discovery message to the remote terminal may be a direct discovery resource broadcast by the base station, or may be directly requested by the relay terminal device to the base station.
  • Discovering resources, the relay terminal device according to the resource configuration message broadcasted by the base station The method for obtaining the direct discovery resource is the same as the method for the remote terminal device to obtain the direct discovery resource according to the resource configuration message broadcasted by the base station. For details, refer to steps 903 to 904, and detailed description is omitted here.
  • Step 906 The remote terminal device receives the direct discovery message response message of the request relay sent by the relay terminal device.
  • the relay terminal device is the first network device
  • the remote terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct discovery resource
  • the relay message is a request relay. The response message of the direct discovery message.
  • step 901 to step 906 the remote terminal device uses the direct discovery process of the first mode to discover the relay terminal device.
  • the remote terminal device may also adopt the foregoing second type.
  • the direct discovery process of the pattern discovers the relay terminal device.
  • steps 901 to 906 can be replaced by the following steps:
  • the relay terminal device acquires a direct discovery resource according to the resource request message sent by the base station, where the resource request message includes the first relay service type indication information;
  • the relay terminal device sends the relay available notification message, such as an Announcement message, to the remote terminal device by using the obtained direct discovery resource. After receiving the relay available notification message, the remote terminal device discovers the relay terminal device.
  • the relay available notification message such as an Announcement message
  • Step 907 The remote terminal device selects one relay terminal device as the service relay terminal device from the sender (ie, the relay terminal device) of the received response message requesting the direct discovery message of the relay.
  • the service relay terminal device refers to a relay terminal device that actually provides network services for the remote terminal device.
  • the response message replied by the multiple relay terminal devices may be measured, and the relay terminal device corresponding to the strongest response message is selected as the service relay terminal device.
  • Step 908 The remote terminal device receives the resource configuration message sent by the base station, and acquires the direct communication resource according to the resource configuration message.
  • the direct communication resource is used by the remote terminal device to send a unicast relay connection setup request message or a multicast relay service request message to the relay terminal device.
  • the resource request may be a message containing sideline UE information (Sidelink UEInformation).
  • the manner in which the remote terminal device obtains the direct communication resource according to the resource configuration message is similar to the method in which the remote terminal device obtains the direct discovery resource according to the resource configuration message in step 903, and a detailed description is omitted herein.
  • Step 909 The remote terminal device sends the unicast relay connection establishment request message or the multicast relay service request message to the service relay terminal device by using the obtained direct communication resource.
  • Step 910 The serving relay terminal device receives the request message of the unicast relay service connection establishment request message or the multicast relay service, and determines whether to respond to the remote terminal device. If it is determined to respond to the remote terminal device, step 911 is performed; if it is determined that the remote terminal device is not responded, no operation is performed.
  • the service relay terminal device may determine whether to respond to the remote terminal device according to its own conditions, including but not limited to the number of connected remote terminal devices for unicast communication, whether to support multicast relay service, and whether to support eMBMS. Relay service, whether to support SC-PTM trunk service, etc.
  • Step 911 The service relay terminal device acquires direct communication resources.
  • the direct communication resource acquired by the serving relay terminal device may be a direct communication resource broadcasted by the base station, or may be a direct communication resource requested by the service relay terminal device to the base station, and the service relay terminal device acquires the direct communication resource.
  • the manner of obtaining the direct communication resource is similar to that of the remote terminal device. For details, refer to step 908, and detailed description is omitted here.
  • Step 912 The serving relay terminal device sends a response message to the remote terminal device by acquiring the direct communication resource.
  • the serving relay terminal device and the remote terminal device establish a D2D connection, after which the service relay terminal can provide the remote terminal with the relay service requested by the remote terminal.
  • the service relay terminal device is the first network device
  • the remote terminal device is the third network device
  • the base station is the second network device
  • the first communication resource is a direct communication resource
  • the relay message is unicast.
  • FIG. 10 is a flowchart of a communication resource allocation method according to an embodiment of the present invention. Referring to Figure 10, the method includes:
  • Step 1001 The first network device receives a resource configuration message sent by the second network device, where the resource configuration message includes first frequency information supported by the second network device.
  • Step 1002 The second carried in the first resource request message sent by the first network device at the last time When the frequency information does not match the third frequency information, the second resource request message is sent to the second network device, where the second resource request message includes the third frequency information, where the third frequency information is configured by the first network device to send the communication message. Frequency information used and third frequency information is included in the first frequency information; or
  • the fourth frequency information is included in the first frequency information.
  • the third frequency information is determined by an upper layer application in the terminal device, and when the upper layer application is started, the terminal device is triggered to request resources from the eNB.
  • the first network device may be a terminal device, and the second network device may be a base station.
  • the first resource request message is a resource request message sent to the serving eNB (ie, the source eNB) before the handover; the second request message and the third resource request message are sent to the switched serving eNB (ie, the target) Resource request message of the eNB).
  • the communication message includes a direct communication message and/or a direct discovery message.
  • the embodiment of the present invention detects whether the second frequency information carried in the first resource request message sent by the first network device is matched with the third frequency information configured by the first network device, that is, the first network device is currently detected. Whether the frequency of the requested resource is changed compared with the frequency of the last requested resource, and if a change occurs, sending a second resource request message to the second network device to request the resource on the new frequency; Determining whether the second network device can provide the first network by detecting whether the second frequency information carried in the first resource request message sent by the first network device matches the first frequency information supported by the current second network device The resource of the last requested frequency of the device, if the second network device cannot provide the resource of the frequency requested by the first network device, sending a third resource request message to the second network device to request the new frequency. Resources to ensure the communication quality of the terminal equipment.
  • FIG. 11 is a flowchart of a communication resource allocation method according to an embodiment of the present invention.
  • the first network device is used as the terminal device, and the second network device is the eNB as an example.
  • the method includes:
  • Step 1101 The terminal device receives a resource configuration message sent by the eNB, where the resource configuration message includes first frequency information supported by the eNB.
  • the first frequency information includes at least one of the following: a frequency list, a frequency index list, and a frequency.
  • the list contains at least one frequency value
  • the frequency index list contains at least one frequency index value.
  • terminal devices usually switch between different eNBs.
  • Different eNBs can support different frequencies. Supporting different frequencies means that the frequency parts that can be used to allocate resources are different or completely different.
  • the different eNBs may be different versions of eNBs, or may be the same version of eNBs.
  • a Rel-12 (one version) eNB supports resources requesting to send a direct discovery message on one frequency
  • a Rel-13 (enhanced version) eNB supports a resource requesting to send a direct discovery message on multiple frequencies.
  • multiple frequencies supported by two Rel-13 eNBs may be partially identical, partially different, or completely different.
  • Step 1102 The terminal device detects whether the second frequency information carried in the first resource request message sent last time matches the third frequency information, and detects whether the second frequency information in the first resource request message sent last time is The first frequency information matches.
  • step 1103 When the second frequency information carried in the first resource request message sent by the terminal device does not match the third frequency information and the third frequency information is included in the first frequency information, step 1103 is performed; when the terminal device sends the last time When the second frequency information carried in the first resource request message does not match the first frequency information, step 1104 is performed.
  • the third frequency information is frequency information that the terminal device itself uses to transmit the communication message (it may also be said that the third frequency information is a frequency that the terminal device is interested in sending the communication message).
  • the third frequency information is determined by an upper layer application in the terminal device. When the upper layer application is started, the terminal device is triggered to request resources from the eNB.
  • the second frequency information includes at least one of the following: a frequency list and a frequency index list;
  • the third frequency information includes at least one of the following: a frequency list and a frequency index list;
  • the frequency list includes at least one frequency value, and at least one of the frequency index lists Contains a frequency index value.
  • the second frequency information carried in the first resource request message that is sent last time does not match the third frequency information, and includes at least one of the following:
  • the second frequency information is different from the third frequency information
  • the first data structure used by the terminal device to send the first resource request message is different from the second data structure used by the terminal device to send the second resource request message.
  • the data structure of the resource request message supported by the different versions of the base station is usually different.
  • the data structure includes, but is not limited to, the data structure indicating the second frequency information in the first resource request message and the third frequency indicated in the second resource request message.
  • the data structure of the information is different.
  • the indication frequency is:
  • the data structure indicating the frequency information is:
  • the Rel-12 eNB will not be able to resolve the resource request message forwarded by the Rel-13 eNB.
  • the terminal device needs to resend the resource request message to the Rel-12 eNB.
  • the resource request message is forwarded between the Rel-13 eNB->Rel-12 eNB->Rel-13 eNB, if the UE does not
  • the Rel-12eNB requests the resource of the frequency supported by the Rel-12 eNB
  • the Rel-12 eNB cannot parse the information of other frequencies, so The resource request message will not be forwarded to the subsequent Rel-13 eNB, so that the terminal device needs to resend the resource request message to the subsequent Rel-13 eNB.
  • the second frequency information carried in the first resource request message that is sent last time does not match the first frequency information, and includes at least one of the following:
  • the second frequency information is not included in the first frequency information
  • Part of the information of the second frequency information is not included in the first frequency information.
  • Step 1103 The terminal device sends a second resource request message to the eNB, where the second resource request message includes the third frequency information.
  • Step 1104 Send a third resource request message to the eNB, where the third resource request message includes fourth frequency information, where the fourth frequency information is included in the first frequency information.
  • the fourth frequency information includes at least one of the following: a frequency list and a frequency index list.
  • the first resource request message is a resource request message sent to the serving eNB (ie, the source eNB) before the handover; the second request message and the third resource request message are sent to the switched serving eNB (ie, the target) Resource request message of the eNB).
  • the source eNB forwards the first resource request message sent by the UE to the target eNB. If the frequency supported by the source eNB and the target eNB support different frequencies, the terminal device cannot obtain the target eNB from the target eNB. Access to resources. Therefore, when the frequency supported by the second frequency information target eNB carried in the first resource request message is different, the terminal device selects one or more frequencies from the frequencies supported by the target eNB, and sends a third resource request message to the target eNB. Third The resource request message includes fourth frequency information indicating the selected frequency. If the frequency indicated by the second frequency information carried in the first resource request message is included in the frequency supported by the target eNB, the resource request message may not be sent to the target eNB.
  • the resource request message in this embodiment may be a message including Sidelink UEInformation.
  • the following describes the case where the terminal device switches between different versions of the eNB and the same version of the eNB.
  • the terminal device switches between different versions of the eNB.
  • the terminal device After the terminal device sends the first resource request message to the Rel-13 eNB, the terminal device switches to the Rel-12 eNB. If the Rel-13 eNB and the Rel-12 eNB support the frequency of providing the communication resource and the frequency of the resource requested by the terminal device, as shown in Table 1 :
  • the service frequency refers to the frequency at which the eNB communicates with the terminal device
  • the frequency supported by the eNB refers to the frequency at which the eNB can allocate communication resources for the terminal device.
  • the serving frequency of the eNB is included in the frequency supported by the eNB. That is, the eNB can allocate resources on the frequency of the serving frequency to the terminal device, and can allocate resources on the frequency other than the serving frequency to the terminal device.
  • the terminal device needs to send a resource request message to the Rel-12 eNB.
  • the terminal device is switched by the Rel-12 eNB to the Rel-13 eNB, and the resource request message forwarded by the Rel-12 eNB to the Rel-13 eNB cannot be parsed by the Rel-13 eNB. In this case, the terminal device needs to send the resource to the Rel-13 eNB. Source request message.
  • Case 2 If the original terminal device requests the resource on the F2 frequency from the Rel-13 (that is, the second frequency information carried in the first resource request includes the F2 frequency), since the Rel-12 eNB does not support the F2 frequency after the handover, the terminal device needs The third resource request message is sent to the Rel-12 eNB to request the resource on the F1 frequency supported by the Rel-12 eNB, that is, the fourth frequency information carried in the third resource request message includes the F1 frequency.
  • the terminal device switches between the same version of the base station
  • the terminal equipment performs handover between Rel-13 eNBs (assuming handover from eNB1 to eNB2), but multiple frequencies supported by different eNBs may not be exactly the same, as shown in Table 2:
  • the frequency of resources requested by the terminal device is F1 frequency before and after the handover of the terminal device.
  • F1 is the service frequency of eNB1 and eNB2 or the location of F1 in the frequency list broadcast by eNB1 and eNB2 The same, and both the eNB1 and the eNB2 before and after the handover support the F1 frequency, so the terminal device does not need to send the resource request message to the eNB2;
  • F1 is the serving frequency of eNB1, not the serving frequency of eNB2, or F1 is not the serving frequency of eNB1 and eNB2, but the location of F1 in the frequency list broadcast by eNB1 and eNB2 is different, and eNB1 before and after handover Both the eNB and the eNB2 support the F1 frequency.
  • the terminal device needs to send a resource request message to the eNB2 because the data structure or content of the resource request message carrying the F1 information is changed.
  • Tables 3 and 4 below illustrate the case where the above F1 positions are the same or different in the frequency list broadcast by eNB1 and eNB2:
  • the terminal device When the terminal device reports the frequency information to the base station, if the index value is used, the same frequency is reported but the index value is different. In this case, the resource request message sent by the reporting frequency is different, and the terminal device needs to resend the resource request message.
  • the index values of Table F1 above are all "2", that is, F1 is in the same position in the list (ie, starting from the top of the list), and the index value of F2 is different, that is, F2 is in different positions in different lists.
  • Case 2 The frequency of the resource requested by the eNB1 before the handover of the terminal device is the frequency of the F4, and the frequency is not included in the frequency supported by the eNB after the handover.
  • the terminal device needs to send the second resource request message to the eNB, and replace the frequency. .
  • the embodiment of the present invention detects whether the second frequency information carried in the first resource request message that is sent last time matches the third frequency information that is configured by the first network device, that is, the resource that the first network device is currently requesting is detected. Whether the frequency is changed compared to the frequency of the last requested resource, and if a change occurs, sending a second resource request message to the second network device to request the resource on the new frequency; Whether the second frequency information carried in the first resource request message sent by the network device matches the first frequency information supported by the current second network device, that is, whether the second network device can provide the first network device.
  • the resource of the requested frequency if the second network device cannot provide the resource of the frequency requested by the first network device, send a third resource request message to the second network device to request the resource on the new frequency, thereby ensuring The communication quality of the terminal device.
  • FIG. 12 is a block diagram showing a communication resource allocation apparatus according to an embodiment of the present invention.
  • the communication resource allocation means can be implemented as all or part of the first network device in the embodiment shown in FIG. 4 to FIG. 6 by software, hardware or a combination of both.
  • the communication resource allocation apparatus may include a transmitting unit 1210 and a receiving unit 1220.
  • the sending unit 1210 is configured to send a resource request message to the second network device, where the resource request message is used to request the first communication resource, where the first communication resource is sent by the first network device to the third network device.
  • the relay message includes at least one of a direct discovery message and a direct communication message, where the resource request message includes first relay service type indication information, and the first relay service type indication information is used by And indicating a type of relay service performed by the first network device by using the first communication resource.
  • the receiving unit 1220 is configured to receive a resource configuration message sent by the second network device, where the resource configuration message includes the second network device setting the first network according to the resource request message.
  • the first communication resource to be allocated is configured to allocate.
  • the receiving unit 1220 is further configured to receive a broadcast message sent by the second network device, where the broadcast message includes capability information of the second network device.
  • the capability information of the second network device includes at least one of indication information supporting a relay service and indication information of a supported relay service type;
  • the sending unit 1210 is configured to send the resource request message to the second network device according to the capability information of the second network device.
  • FIG. 13 is a block diagram showing a communication resource allocation apparatus according to an embodiment of the present invention.
  • the communication resource allocation means can be implemented as all or part of the second network device in FIG. 4-6 by software, hardware or a combination of both.
  • the communication resource allocation apparatus may include a receiving unit 1310, an allocating unit 1320, and a transmitting unit 1330.
  • the receiving unit 1310 is configured to receive a resource request message sent by the first network device, where the resource request message is used to request the first communication resource, where the first communication resource is sent by the first network device to the third network device.
  • a resource of the relay message the relay message includes at least one of a direct discovery message and a direct communication message
  • the resource request message includes first relay service type indication information
  • the first relay service type indication information And indicating a relay service type performed by the first network device by using the first communication resource.
  • the allocating unit 1320 is configured to allocate the first communication resource to the first network device according to the resource request message.
  • the sending unit 1330 is configured to send a resource configuration message to the first network device, where the resource configuration message includes the first communication resource.
  • the first communication resource includes at least one of a direct discovery resource and a direct communication resource, where the direct discovery resource is used to send a direct discovery message, and the direct communication resource Used to send direct communication messages.
  • the direct discovery message includes at least one of the following: a direct discovery message requesting a relay, a response message requesting a direct discovery message of the relay, and a relay available notification message; the direct communication message includes the following message At least one of the following: a unicast relay connection establishment request message, a response message of a unicast relay connection establishment request message, a multicast relay service request message, and a response message of a multicast relay service request message.
  • the first relay service type indication information adopts a display indication manner and/or an implicit indication manner
  • the first relay service type indication information includes at least one of the following: indication information indicating a unicast relay service, indication information indicating a multicast relay service, and indication unicast relay Instructions for service and multicast relay services;
  • the first relay service type indication information includes at least one of the following:
  • a unicast address for transmitting unicast relay data, a multicast address for transmitting multicast relay data, and a unicast address for transmitting unicast relay data and a multicast address for transmitting multicast relay data is a unicast address for transmitting unicast relay data, a multicast address for transmitting multicast relay data, and a multicast address for transmitting multicast relay data.
  • the resource configuration message further includes second relay service type indication information, where the second relay service type indication information is used to indicate a relay service type that can use the first communication resource.
  • the resource configuration message further includes data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, the data Types include control signaling and user data.
  • FIG. 14 is a block diagram showing a communication resource allocation apparatus according to an embodiment of the present invention.
  • the communication resource allocation means may be implemented as all or part of the first network device in FIGS. 7-9 by software, hardware or a combination of both.
  • the communication resource allocation apparatus may include:
  • the receiving unit 1410 is configured to receive a resource configuration message that is sent by the second network device, where the resource configuration message includes a communication resource and a first relay service type indication information, where the first relay service type indication information is used to indicate that the information can be used. a type of relay service of the communication resource;
  • the obtaining unit 1420 is configured to acquire, according to the resource configuration message received by the receiving unit, a first communication resource, where the first communication resource is a resource for sending a relay message to a third network device, where the relay The message includes at least one of a direct discovery message and a direct communication message.
  • the acquiring unit 1420 is configured to: when the relay service type indicated by the first relay service type indication information in the resource configuration message received by the receiving unit 1410 includes the relay service type currently requested by the first network device, Obtaining the first communication resource from the communication resource configured by the resource configuration message; the relay service type indicated by the first relay service type indication information in the resource configuration message received by the receiving unit 1410 does not include the And when the first network device currently requests the relay service type, sending a resource request message to the second network device, where the resource request message is used to request the first communication resource.
  • FIG. 15 is a block diagram showing a communication resource allocation apparatus according to an embodiment of the present invention.
  • the communication resource allocation device can be implemented as all or part of the second network device in the embodiment shown in FIGS. 7-9 by software, hardware or a combination of both.
  • the communication resource allocation apparatus may include:
  • the generating unit 1510 is configured to generate a resource configuration message, where the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate that the communication resource can be used. Following the type of business;
  • the sending unit 1520 is configured to broadcast a resource configuration message generated by the generating unit.
  • the communication resource includes at least one of a direct discovery resource and a direct communication resource, where the direct discovery resource is used to send a direct discovery message, and the direct communication resource is used for Send a direct communication message.
  • the direct discovery message includes at least one of the following: a direct discovery message requesting a relay, a response message requesting a direct discovery message of the relay, and a relay available notification message; the direct communication message includes the following message At least one of the following: a unicast relay connection establishment request message, a response message of a unicast relay connection establishment request message, a multicast relay service request message, and a response message of a multicast relay service request message.
  • the resource configuration message further includes data type indication information, where the data type indication information is used to indicate a data type that the resource can bear, the data Types include control signaling and user data.
  • FIG. 16 is a block diagram showing a communication resource allocation apparatus according to an embodiment of the present invention.
  • the communication resource allocation device can be implemented as all or part of the first network device in the embodiment shown in FIG. 10 to FIG. 11 by software, hardware or a combination of both.
  • the communication resource allocation apparatus may include:
  • the receiving unit 1610 is configured to receive a resource configuration message sent by the second network device, where the resource configuration message includes first frequency information supported by the second network device.
  • the sending unit 1620 is configured to: when the second frequency information carried in the first resource request message sent by the first network device does not match the third frequency information, and the third frequency information is included in the first frequency
  • the first network device sends a second resource request to the second network device a message, the second resource request message includes the third frequency information, where the third frequency information is frequency information used by the first network device itself to send a communication message; or, when the first When the second frequency information carried in the first resource request message sent by the network device does not match the first frequency information, the first network device sends a third resource request message to the second network device, where The third resource request message includes fourth frequency information, and the fourth frequency information is included in the first frequency information.
  • the second frequency information carried in the first resource request message sent by the first network device does not match the third frequency information, and includes at least one of the following:
  • the second frequency information is different from the third frequency information
  • the first data structure used by the first network device to send the first resource request message is different from the second data structure used by the first network device to send the second resource request message.
  • the second frequency information carried in the first resource request message sent by the first network device does not match the first frequency information, and includes at least one of the following:
  • the second frequency information is not included in the first frequency information
  • the partial information of the second frequency information is not included in the first frequency information.
  • the first frequency information includes at least one of the following: a frequency list, a frequency index list;
  • the second frequency information includes at least one of the following: a frequency list, a frequency index list;
  • the third frequency information includes at least one of the following: a frequency list, a frequency index list;
  • the fourth frequency information includes at least one of the following: a frequency list, a frequency index list;
  • the frequency list includes at least one frequency value, and the frequency index list includes at least one frequency index value.
  • Figure 17 shows a block diagram of a communication system provided by an embodiment of the present invention.
  • the communication system includes a first network device 1710, a second network device 1720, and a third network device 1730.
  • the first network device 1710 is configured to send a resource request message to the second network device 1720, where the resource request message is used to request the first communication resource, where the first communication resource is the first network device 1710 to the third network device.
  • the 1730 sends a resource of the relay message, where the relay message includes at least one of a direct discovery message and a direct communication message, where the resource request message includes first relay service type indication information, and the first relay service type
  • the indication information is used to indicate a type of relay service performed by the first network device 1710 by using the first communication resource;
  • the second network device 1720 is configured to receive the resource request sent by the first network device 1710. Allocating a first communication resource to the first network device 1710 according to the resource request message; sending a resource configuration message to the first network device 1710, where the resource configuration message includes the first communication resource;
  • the first network device 1710 is further configured to receive the resource configuration message sent by the second network device 1720.
  • Figure 18 is a block diagram showing a communication system provided by an embodiment of the present invention.
  • the communication system includes a first network device 1810, a second network device 1820, and a third network device 1830.
  • the second network device 1820 is configured to generate a resource configuration message, where the resource configuration message includes a communication resource and first relay service type indication information, where the first relay service type indication information is used to indicate that the communication can be used. a relay service type of the resource; broadcasting the resource configuration message;
  • the first network device 1810 is configured to receive a resource configuration message sent by the second network device 1820, and acquire a first communication resource according to the resource configuration message, where the first communication resource is used for sending to the third network device.
  • the relay message includes at least one of a direct discovery message and a direct communication message.
  • Figure 19 is a block diagram of a communication system provided by an embodiment of the present invention.
  • the communication system includes a first network device 1910 and a second network device 1920.
  • the second network device 1920 is configured to broadcast a resource configuration message, where the resource configuration message includes first frequency information supported by the second network device 1920;
  • the first network device 1910 is configured to receive the resource configuration message sent by the second network device 1920.
  • the second frequency information and the third frequency information that are carried in the first resource request message sent by the first network device 1910 are not When the third frequency information is matched and the third frequency information is included in the first frequency information, the first network device sends a second resource request message to the second network device 1920, where the second resource request message includes the first Three frequency information, the third frequency information is frequency information used by the first network device 1910 to transmit a communication message; or, when the first network device 1910 sends a first resource request message Second frequency information carried in the same When the frequency information does not match, the first network device 1910 sends a third resource request message to the second network device 1920, where the third resource request message includes fourth frequency information, where the fourth frequency information is included in The first frequency information.
  • the communication resource allocation apparatus when the communication resource allocation apparatus provided by the foregoing embodiment performs communication resource allocation, only the division of each functional module described above is used as an example. In an actual application, the foregoing function may be allocated by different functional modules as needed. Completion, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

本发明实施例提供了一种通信资源分配方法及装置、终端设备、基站和通信系统,涉及通信技术领域。该方法包括:第一网络设备向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;所述第一网络设备接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设备分配的第一通信资源。本发明实施例能够提高终端设备的通信质量。

Description

通信资源分配方法及装置、终端设备、基站和通信系统 技术领域
本发明实施例涉及通信技术领域,特别涉及一种通信资源分配方法及装置、终端设备、基站和通信系统。
背景技术
终端设备到终端设备(Device-to-Device,简称D2D)通信技术是一种终端设备与终端设备之间直接通信的技术,终端设备的数据不需要经过基站传输,而是直接通过终端设备和终端设备之间的空口进行传输,从而减少了终端设备对网络的依赖,在一定程度上减少了网络转发的延时。
利用D2D通信技术,第一终端设备可以通过第二终端设备与基站建立起数据传输通道,即采用第二终端设备作为中继终端设备,获取基站提供的服务。在第一终端设备通过第二终端设备与基站进行数据传输的过程中,第一终端设备需要先通过D2D通信技术的直接发现过程发现第二终端设备,然后再根据D2D通信技术的直接通信过程进行通信。
在直接发现过程中,终端设备(包括第一终端设备和第二终端设备)需要从基站获取直接发现资源,而在直接通信过程中,终端设备需要从基站获取直接通信资源。获取直接发现资源和获取直接通信资源均可以有两种方式,一种为通过获取基站的广播消息来获取相应的资源,另一种为通过向基站发送相应的资源请求消息,基站通过专用信令为终端设备分配相应的资源来获取相应的资源。
当第一终端设备采用第二终端设备作为中继终端设备,获取基站提供的服务时,需要先通过上述直接发现过程寻找第二终端设备,以便与第二终端设备进行直接通信过程。若终端设备采用向基站发送资源请求消息的方式来获取资源,此时基站仅根据自身的负载情况,确定是否为终端设备分配资源,并没有考虑其他因素,致使资源调度不够灵活准确;若终端设备从基站广播的资源中获取资源,则可能与其他类型的直接通信所用的资源相冲突,影响通信质量和效率。
发明内容
为了解决现有技术中由于资源分配不够准确而影响通信质量和效率的问题,本发明实施例提供了一种资源调度方法和装置。所述技术方案如下:
第一方面,本发明实施例提供了一种通信资源分配方法,所述方法包括:第一网络设备向第二网络设备发送资源请求消息,该资源请求消息用于请求第一通信资源,该第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,该资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
第一网络设备接收第二网络设备发送的资源配置消息,资源配置消息包括第二网络设备根据资源请求消息为第一网络设备分配的第一通信资源。
为了便于区分,下文中,将第一消息称为直接发现消息,将二消息称为直接通信消息。
在本发明实施例的一种实现方式中,第一网络设备向第二网络设备发送资源请求消息,可以包括:
第一网络设备接收基站发送的广播消息,该广播消息包括基站的能力信息,所述第二网络设备的能力信息包括是否支持中继业务的指示信息、支持的中继业务类型的指示信息和支持的用于发送直接发现消息和/或发送直接通信消息的频率信息中的至少一种;
第一网络设备根据该第二网络设备的能力信息,向基站发送资源请求消息。
当广播消息中的第二网络设备的能力信息包括第二网络设备支持的中继业务类型的指示信息时,第一网络设备根据该广播消息,向第二网络设备发送资源请求消息,包括:
当第二网络设备支持的中继业务类型包括单播中继业务和组播中继业务时,第一网络设备向第二网络设备发送包含第一中继业务类型指示信息的资源请求消息。
当第二网络设备不支持中继业务,或者,第二网络设备支持的中继业务类 型不包括第一网络设备当前所请求的中继业务类型时,第一网络设备不向第二网络设备发送资源请求消息。
当第二网络设备仅支持一种中继业务类型(即支持单播中继业务或组播中继业务)、且第一网络设备当前所请求的中继业务类型是第二网络设备支持的中继业务类型时,第一网络设备向第二网络设备发送的资源请求消息中可以不包括第一中继业务类型指示信息,也可以包括第一中继业务类型指示信息。
可见,在广播消息中包括第二网络设备支持的中继业务类型指示信息,可以减少不必要的第一网络设备向第二网络设备发送的资源请求消息,减轻第一网络设备的负担,节省网络资源。
第二方面,本发明实施例提供了一种通信资源分配方法,所述方法包括:
第二网络设备接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
所述第二网络设备根据所述资源请求消息为所述第一网络设备分配第一通信资源;
所述第二网络设备向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
在第一方面和第二方面中,第二网络设备接收到包括第一中继业务类型指示信息的资源请求消息后,第二网络设备可以根据自身的负载情况和第一中继业务类型指示信息指示的中继业务类型确定是否为远端终端设备分配通信资源,而不仅仅考虑自身的负载情况,比如,在第二网络设备的负载较高的情况下,对于消耗资源较少的中继业务类型(例如组播中继业务),可以分配资源,而对于消耗资源较多的中继业务类型(例如单播中继业务),不分配资源,从而可以更为灵活的分配资源,进而提高资源的利用率。
在第一方面和第二方面中,所述第一通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送直接发现消息,所述直接通 信资源用于发送直接通信消息。
在第一方面和第二方面中,第一网络设备可以为远端终端设备或中继终端设备,第二网络设备为基站,第三网络设备可以为中继终端设备或远端终端设备。
当第一网络设备为远端终端设备时,第三网络设备为中继终端设备,此时,中继消息包括请求中继的直接发现消息、单播中继连接建立请求消息或组播中继服务请求消息。
当第一网络设备为中继终端设备时,第三网络设备为远端终端设备,此时,中继消息包括请求中继的直接发现消息的响应消息、中继可用通知消息、单播中继连接建立请求消息的响应消息或组播中继服务请求消息的响应消息。
其中,第一中继业务类型指示信息可以采用显示指示方式,也可以采用隐式指示方式。
具体地,显示指示方式表示第一中继业务类型指示信息直接指示上述三种情况,即第一中继业务类型指示信息可以为指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息。
隐式指示方式表示第一中继业务类型指示信息是通过终端设备向基站发送与中继业务类型相关的信息来隐含的指示出中继业务类型。隐式指示方式表示的第一中继业务类型指示信息可以为终端设备向基站发送的资源请求消息中包含的通信地址的类型。具体地,终端设备向基站发送的资源请求消息包含单播通信地址时,表示指示单播中继业务;终端设备向基站发送的资源请求消息包含组播通信地址时,表示指示组播中继业务;终端设备向基站发送的资源请求消息分别包含单播通信地址和组播通信地址时,表示对应地指示单播中继业务和组播中继业务。上述单播通信地址包含终端设备的设备标识,可以是远端终端设备的设备标识(ProSe UE ID),也可以是中继终端设备的设备标识(ProSe Relay UE ID);上述组播通信地址包含通信组的标识(Group ID)。
第一中继业务类型指示信息指示的中继业务类型可以包括以下三种情况:1)单播中继业务;2)组播中继业务;3)单播中继业务和组播中继业务。
可选地,在第一方面和第二方面中,资源配置消息中还可以包括第二中继业务类型指示信息,第二业务类型指示信息用于指示能够使用第一通信资源的中继业务类型。以便于第一网络设备能够辨别资源配置消息中的第一通信资源所适用的中继业务类型。
可选地,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
第三方面,本发明实施例提供了一种通信资源分配方法,所述方法包括:
第一网络设备接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
所述第一网络设备根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
在第一方面的一种实现方式中,所述第一网络设备根据所述资源配置消息获取第一通信资源,包括:
当所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括所述第一网络设备当前请求的中继业务类型时,从所述资源配置消息配置的通信资源中获取所述第一通信资源;
当所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括所述第一网络设备当前请求的中继业务类型时,向所述第二网络设备发送资源请求消息,所述资源请求消息用于请求所述第一通信资源。
第四方面,本发明实施例提供了一种通信资源分配方法,所述方法包括:
第二网络设备生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
所述第二网络设备广播所述资源配置消息。
通过在第二网络设备广播的资源配置消息中指明能够使用广播的通信资源的直接通信业务的类型,从而可以避免与其他类型的直接通信所用的资源相冲突,进而可以提供通信质量和效率。
在第三方面和第四方面中,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送直接发现消息,所述直接通信资 源用于发送直接通信消息。
具体地,所述直接发现消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述直接通信消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
可选地,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
第五方面,本发明实施例还提供了一种通信资源分配方法,所述方法包括:
第一网络设备接收第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
当所述第一网络设备发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息且所述第三频率信息包含于所述第一频率信息中,所述第一资源请求消息在所述第二资源请求消息之前发送;
或者,
当所述第一网络设备发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息,所述第一资源请求消息在所述第三资源请求消息之前发送。
通过检测第一网络设备发送的第一资源请求消息中携带的第二频率信息与第一网络设备自身配置的第三频率信息是否相匹配,即检测第一网络设备当前要请求的资源所在的频率与上一次请求的资源所在的频率相比,是否发生了变化,若发生了变化,则向第二网络设备发送第二资源请求消息,以在新的频率上请求资源;通过检测第一网络设备发送的第一资源请求消息中携带的第二频率信息与当前第二网络设备支持的第一频率信息是否相匹配,即判断第二网 络设备是否能提供第一网络设备上一次所请求的频率的资源,若第二网络设备不能提供第一网络设备上一次所请求的频率的资源,则向第二网络设备发送第三资源请求消息,以请求新的频率上的资源,从而保证终端设备的通信质量。
其中,所述第一网络设备发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配,包括以下情况中的至少一种:
所述第二频率信息与所述第三频率信息不相同;
所述第一网络设备发送所述第一资源请求消息所使用的第一数据结构与所述第一网络设备发送所述第二资源请求消息所使用的第二数据结构不相同。
其中,所述第一网络设备发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配,包括以下情况中的至少一种:
所述第二频率信息不包含在所述第一频率信息内;
所述第二频率信息的部分信息不包含在所述第一频率信息内。
第六方面,本发明实施例还提供了一种通信资源分配装置,所述装置包括用于实现上述第一方面所述的方法的单元,例如发送单元和接收单元。
第七方面,本发明实施例还提供了一种通信资源分配装置,所述装置包括用于实现上述第二方面所述的方法的单元,例如接收单元、分配单元和发送单元。
第八方面,本发明实施例还提供了一种通信资源分配装置,所述装置包括用于实现上述第三方面所述的方法的单元,例如接收单元和获取单元。
第九方面,本发明实施例还提供了一种通信资源分配装置,所述装置包括用于实现上述第四方面所述的方法的单元,例如生成单元和发送单元。
第十方面,本发明实施例还提供了一种通信资源分配装置,所述装置包括用于实现上述第五方面所述的方法的单元,例如接收单元和发送单元。
第十一方面,本发明实施例还提供了一种终端设备,所述终端设备包括:处理器和存储器,所述存储器用于存储软件程序,当所述处理器运行或执行存储在所述存储器内的软件程序时,可以执行第一方面、第四方面或第五方面所述的方法。
第十二方面,本发明实施例还提供了一种基站,所述基站包括:处理器和存储器,所述存储器用于存储软件程序,当所述处理器运行或执行存储在所述存储器内的软件程序时,可以执行第二方面或第三方面所述的方法。
第十三方面,本发明实施例还提供了一种计算机可读介质,用于存储供基站执行的程序代码,所述程序代码包括执行第一方面、第四方面或第五方面所述的方法的指令。
第十四方面,本发明实施例还提供了一种计算机可读介质,用于存储供基站执行的程序代码,所述程序代码包括执行第二方面或第三方面所述的方法的指令。
第十五方面,本发明实施例还提供了一种通信系统,包括第一网络设备、第二网络设备和第三网络设备,
所述第一网络设备用于向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
所述第二网络设备用于接收第一网络设备发送的所述资源请求消息;根据所述资源请求消息为所述第一网络设备分配第一通信资源;向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源;
所述第一网络设备还用于接收所述第二网络设备发送的所述资源配置消息。
第十六方面,本发明实施例还提供了一种通信系统,包括第一网络设备、第二网络设备和第三网络设备,所述第二网络设备用于生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;广播所述资源配置消息;
所述第一网络设备,用于接收第二网络设备发送的资源配置消息;根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
第十七方面,本发明实施例还提供了一种通信系统,包括第一网络设备和第二网络设备,
第二网络设备用于广播资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
第一网络设备,用于接收第二网络设备发送的资源配置消息;当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且所述第三频率信息包含于所述第一频率信息时,所述第一网络设备向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息;或者,当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
附图说明
图1a是本发明实施例中利用D2D通信技术进行中继通信的一种应用场景示意图;
图1b是本发明实施例中利用D2D通信技术进行中继通信的另一种应用场景示意图;
图1c是D2D通信技术中单播通信场景的示意图;
图1d是D2D通信技术中组播通信场景的示意图;
图2是本发明实施例提供的终端设备的结构示意图;
图3是本发明实施例提供的基站的结构示意图;
图4是本发明实施例提供的一种通信资源分配方法的流程图;
图5是本发明实施例提供的另一种通信资源分配方法的流程图;
图6是本发明实施例提供的一种中继通信方法的交互示意图;
图7是本发明实施例提供的又一种通信资源分配方法的流程图;
图8是本发明实施例提供的又一种通信资源分配方法的流程图;
图9是本发明实施例提供的另一种中继通信方法的交互示意图;
图10是本发明实施例提供的另一种通信资源分配方法的流程图;
图11是本发明实施例提供的另一种通信资源分配方法的流程图;
图12是本发明实施例提供的一种通信资源分配装置的结构示意图;
图13是本发明实施例提供的另一种通信资源分配装置的结构示意图;
图14是本发明实施例提供的又一种通信资源分配装置的结构示意图;
图15是本发明实施例提供的再一种通信资源分配装置的结构示意图;
图16是本发明实施例提供的一种通信资源分配装置的结构示意图;
图17是本发明实施例提供的一种通信系统的结构示意图;
图18是本发明实施例提供的一种通信系统的结构示意图;
图19是本发明实施例提供的一种通信系统的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
为便于理解本发明实施例,首先简单介绍一下蜂窝通信技术和D2D通信技术。
在蜂窝通信技术中,终端设备通过空口与为其提供网络服务的基站进行通信,通过该基站将用户数据转发到网络中的目的节点。如图1a所示,当终端设备11位于该基站10的覆盖范围的边缘区域时,其信号质量可能会不能满足通信要求,甚至可能脱离网络而得不到网络服务。此时,可以将覆盖范围内的信号质量较好的终端设备12作为中继终端设备,为位于覆盖范围边缘的终端设备11继续提供网络服务,以提高位于覆盖范围边缘区域的终端设备11的通信质量。或者,如图1b所示,当终端设备11位于基站10的覆盖范围外而需要基站10提供的网络服务时,可以将位于基站10的覆盖范围内的终端设备12作为中继终端设备,为位于基站10的覆盖范围外的终端设备11提供网络服务,从而可以使位于基站10的覆盖范围外的终端设备11能接受基站10提供的网络服务。
在本发明实施例中,将通过中继终端设备得到基站提供的网络服务的终端称为远端终端设备,如图1a所示的位于覆盖范围边缘的终端设备11和图1b所示的位于覆盖范围外的终端设备11。而将为远端终端设备和基站提供中继服务的终端设备称为中继终端设备,如图1a和图1b中的位于基站覆盖范围中部的终端设备12。其中,提供中继服务是指接收远端终端设备发送给基站的数据并将其转发给基站、并且接收基站发送给远端终端设备的数据并将其转发给远 端终端设备,从而为远端终端设备提供网络服务。远端终端设备和中继终端设备的名称仅便于区分,并不作为对本发明实施例的限制。本发明实施例中,终端设备也可称为用户设备(User Equipment,简称UE),远端终端设备又可以称为远端用户设备(Remote UE),中继终端设备又可以称为中继用户设备(Relay UE)。
在图1a和图1b所示场景中,基站10与中继终端设备12之间采用蜂窝通信技术进行通信,蜂窝通信技术包括但不限于长期演进(Long Term Evolution,简称LTE)UMTS系统、全球移动通讯(Global System of Mobile communication,简称为GSM)系统、码分多址(Code Division Multiple Access,简称为CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,简称为WCDMA)系统、通用分组无线业务(General Packet Radio Service,简称为GPRS)、通用移动通信系统(Universal Mobile Telecommunication System,简称为UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,简称为WiMAX)通信系统等。
在图1a和1b所示场景中,中继终端设备12和远端终端设备11之间采用D2D通信技术通信。其中,D2D通信技术是一种终端设备与终端设备之间直接通信的技术,终端设备的数据不需要经过基站传输,而是直接通过终端设备和终端设备之间的空口进行传输。D2D通信技术包含直接发现(又称侧行发现(Sidelink discovery),或近距离发现(ProSe discovery),或近距离直接发现(ProSe Direct discovery))和直接通信(侧行通信(Sidelink communication),或近距离通信(ProSe communication),或近距离直接通信(ProSe Direct communicatioin))。
D2D通信技术的直接发现包括两种模式:第一种模式和第二种模式。其中第一种模式的直接发现过程如下:第一终端设备采用基站分配或预配的直接发现资源,向其附近的第二终端设备发送直接发现消息,第二终端设备收到该直接发现消息后,采用基站分配或预配的直接发现资源,向第一终端设备发送直接发现消息的响应消息,当第一终端设备接收到该直接发现消息的响应消息时,即为第一终端设备发现了第二终端设备;第二种模式的直接发现过程如下:第二终端设备采用基站分配或预配的直接发现资源,向其附近的第二终端设备发送直接发现通知消息,第一终端设备收到该直接发现通知消息时,即为第一终端设备发现了第二终端设备。
D2D通信技术的直接通信包括两种类型,即一对一直接通信(one-to-one communication,或称为单播通信,unicast communication)和一对多直接通信(one-to-many communication,或称为多播通信或组播通信,group cast communication或group communication)。一对一直接通信即一个终端设备11b可以发送数据到另一个终端设备12b,如图1d所示;一对多直接通信即一个终端设备11a可以发送数据到某个通信组内的多个终端设备12a,如图1c所示。直接通信过程中,第一终端设备和第二终端设备采用基站分配或预配的直接通信资源进行通信。
在图1a和1b所示场景中,中继终端设备和远端终端设备之间采用的是D2D通信技术的中继直接通信方式,即远端终端设备通过中继终端设备与基站建立起数据传输通道。与普通的直接通信相对应,中继直接通信也包括两种类型:单播中继业务(即one-to-one Relaying业务)和组播中继业务(即group Relaying业务,又称one-to-many Relaying业务),其中,组播中继业务可以包括但不限于多媒体广播多播业务(Multimedia Broadcast/Multicast Service,简称MBMS)Relaying业务、增强型多媒体广播多播业务(Enhanced Multimedia Broadcast/Multicast Service,简称eMBMS)Relaying业务和单小区点对多点传输业务(Single Cell Point To Multi-point transmission,简称SC-PTM)Relaying业务。
当远端终端设备采用中继终端设备,获取基站提供的服务时,需要先通过上述直接发现过程寻找中继终端设备,以便与中继终端设备进行直接通信过程。考虑到直接通信过程中,不同类型的直接通信消耗基站的时频资源不同,例如,对于组播中继业务而言,远端终端设备不需要消耗太多的资源,而对于单播通信业务来说,远端终端设备将需要基站不停地分配资源,资源消耗大。若终端设备采用向基站发送资源请求消息的方式来获取资源,考虑到现有技术中终端设备并不会指示出其进行直接通信的类型,此时基站仅根据自身的负载情况,确定是否为终端设备分配资源,并没有考虑直接通信的类型,很可能会将所有远端终端设备的请求都拒绝,致使资源调度不够灵活准确,影响通信效率;再者,考虑到不同直接通信类型的业务特性,比如紧急性,若终端设备从基站广播的资源中获取资源,则可能与其他类型的直接通信所用的资源相冲突,影响通信质量和效率。
故此,本发明提供了一种资源分配方法,在根据终端设备的请求为终端设 备分配资源时,综合考虑了终端设备的直接通信的类型,提高了资源调度的灵活性和准确性;本发明实施例还提供了一种资源分配方法,通过在基站广播的资源配置消息中指明能够使用广播的通信资源的直接通信业务的类型,从而可以避免与其他类型的直接通信所用的资源相冲突,进而可以提供通信质量和效率。
图1a-1d所示场景中,终端设备包括但不限于手机、智能终端、多媒体设备、流媒体设备等。基站可以为LTE系统中的演进型基站(Evolved Node B,简称eNB),eNB是LTE系统中UE和演进后的分组核心网(Evolved Packet Core,简称EPC)之间的桥梁,eNB之间通过X2接口进行连接,eNB的主要功能包括无线资源管理、网络协议(Internet Protocol,简称IP)头压缩及用户数据流加密、UE附着时移动性管理实体(Mobility Management Entity,简称MME)选择、路由用户面数据至服务网关(Serving GateWay,简称S-GW)、寻呼消息的组织和发送、广播消息的组织和发送、以移动性或调度为目的的测量以及测量报告配置等,当然,基站也可以为其他通信系统中的接入网实体。
图1a和1b中的终端设备可以采用图2所示的结构,如图2所示,终端设备200包括:存储器210、处理器220、通信接口230和通信总线240,通信总线240用于实现存储器210、处理器220、通信接口230之间的连接通信。图3中示出的终端设备200结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
其中,通信接口230可用于实现终端200与至少一个其他网元之间的通信连接,可以使用蜂窝通信网络、互联网、广域网、本地网、城域网等。
处理器220是终端设备200的控制中心,利用各种接口和线路连接整个基站的各个部分,通过运行或执行存储在存储器210内的软件程序,以及调用存储在存储器210内的数据,执行终端200的各种功能和处理数据,从而对基站进行整体控制。可选的,处理器220可包括一个或多个处理核心。
存储器210可用于存储各种数据,例如各种配置参数,以及存储软件程序。处理器220通过运行存储在存储器210的软件程序,从而执行各种功能应用以及数据处理。存储器210可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统211、发送模块212和接收模块213等;存储数据区可存储根据终端200的使用所创建的数据。此外,存储器210可以由任何类型的易 失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。相应地,存储器210还可以包括存储器控制器,以提供处理器220对存储器210的访问。
当终端设备200为图4-图6所示实施例中的第一网络设备时,处理器220通过运行或执行存储器210中的发送模块212,可以通过通信接口230向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;处理器220通过运行或执行存储器210中的接收模块213,可以通过通信接口230接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设备分配的第一通信资源。
当终端设备200为图7-图9所示实施例中的第一网络设备时,处理器220通过运行或执行存储器210中的接收模块(图未示),可以通过通信接口230接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;处理器220通过运行或执行存储器210中的获取模块(图未示),可以实现根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
当终端设备200为图10-图11所示实施例中的第一网络设备时,处理器220通过运行或执行存储器210中的接收模块(图未示),可以通过通信接口230 接收第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;处理器220通过运行或执行存储器210中的发送模块(图未示),可以通过通信接口230在所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配时,向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息且所述第三频率信息包含于所述第一频率信息中;或者,在所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
图1c和1d中的基站可以采用图3所示的结构,如图3所示,基站300包括存储器310、处理器320、通信接口330和通信总线340,通信总线340用于实现存储器310、处理器320、通信接口330之间的连接通信。图3中示出的基站300结构并不构成对基站的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
其中,通信接口330可用于实现基站300与至少一个其他网元之间的通信连接,可以使用蜂窝通信网络、互联网、广域网、本地网、城域网等。
处理器320是基站300的控制中心,利用各种接口和线路连接整个基站的各个部分,通过运行或执行存储在存储器310内的软件程序,以及调用存储在存储器310内的数据,执行基站300的各种功能和处理数据,从而对基站进行整体控制。可选的,处理器320可包括一个或多个处理核心。
存储器310可用于存储各种数据,例如各种配置参数,以及存储软件程序。处理器320通过运行存储在存储器310的软件程序,从而执行各种功能应用以及数据处理。存储器310可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统311、接收模块312、分配模块313和发送模块314等;存储数据区可存储根据基站300的使用所创建的数据,例如频点信息等。此外,存储器310可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only  Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。相应地,存储器310还可以包括存储器控制器,以提供处理器320对存储器310的访问。
当基站300为图4-图6所示实施例中的第二网络设备时,处理器320通过运行或执行存储器310中的接收模块312,可以通过通信接口230接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;处理器320通过运行或执行存储器310中的分配模块313,可以实现根据所述资源请求消息为所述第一网络设备分配第一通信资源;处理器320通过运行或执行存储器310中的分配模块314,可以通过通信接口330向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
当基站300为图7-图9所示实施例中的第二网络设备时,处理器320通过运行或执行存储器310中的生成模块(图未示),可以实现生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;处理器320通过运行或执行存储器310中的发送模块(图未示),可以实现通过通信接口330广播资源配置消息。
图4示出了本发明一个实施例提供的通信资源分配方法的流程图。参见图4,该方法包括:
步骤401:第一网络设备向第二网络设备发送资源请求消息。
该资源请求消息用于请求第一通信资源,该第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和 所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。为了便于描述,在下文中,将第一消息称为直接发现消息,而将第二消息称为直接通信消息。
该资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型。
第一中继业务类型指示信息指示的中继业务类型可以包括以下三种情况:1)单播中继业务;2)组播中继业务;3)单播中继业务和组播中继业务。
步骤402:第一网络设备接收第二网络设备发送的资源配置消息。
所述资源配置消息包括第二网络设备根据资源请求消息为第一网络设备分配的第一通信资源。
可选地,所述资源配置消息中还可以包括第二中继业务类型指示信息,所述第二业务类型指示信息用于指示能够使用第一通信资源的中继业务类型。
通过在第一网络设备向第二网络设备发送的资源请求消息中携带第一中继业务类型指示信息,使得第二网络设备可以确定第一网络设备采用所述第一通信资源进行的中继业务类型,进而可以根据第一网络设备采用所述第一通信资源进行的中继业务类型确定是否为第一网络设备分配资源,从而可以更为灵活的分配资源,进而提高资源的利用率。
图5示出了本发明一个实施例提供的通信资源分配方法的流程图。参见图5,该方法包括:
步骤501:第二网络设备接收第一网络设备发送的资源请求消息。
所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型。
步骤502:第二网络设备根据所述资源请求消息为所述第一网络设备分配第一通信资源。
步骤503:第二网络设备向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
通过在第一网络设备向第二网络设备发送的资源请求消息中携带第一中继业务类型指示信息,使得第二网络设备可以确定第一网络设备采用所述第一通信资源进行的中继业务类型,进而可以根据第一网络设备采用所述第一通信资源进行的中继业务类型确定是否为第一网络设备分配资源,从而可以更为灵活的分配资源,进而提高资源的利用率。
在图4和图5所示的实施例中,第二网络设备可以为基站。当第一网络设备为远端终端设备时,第三网络设备可以为中继终端设备;当第一网络设备为中继终端设备时,第三网络设备可以为远端终端设备。远端终端设备可以为图1a所示的远端终端设备,中继终端设备可以为图1a和图1b所示的中继终端设备。
图6示出了本发明一个实施例提供的中继通信方法的交互示意图,该中继通信方法采用了本发明实施例提供的通信资源分配方法。参见图6,该中继通信方法包括:
步骤601:远端终端设备向基站发送资源请求消息,该资源请求消息用于请求直接发现资源。
其中,直接发现资源用于远端终端设备向中继终端设备发送请求中继的直接发现消息,例如请求发现消息(Solicitation message)。实现时,该资源请求消息可以为包含侧行UE信息(SidelinkUEInformation)的消息。
该资源请求消息包括第一中继业务类型指示信息,第一中继业务类型指示信息用于指示远端终端采用请求的直接发现资源进行的中继业务类型。
第一中继业务类型指示信息指示的中继业务类型可以包括三种情况:1)单播中继业务;2)组播中继业务;3)单播中继业务和组播中继业务。
可选地,第一中继业务类型指示信息可以采用显示指示方式,也可以采用隐式指示方式。
具体地,显示指示方式表示第一中继业务类型指示信息直接指示上述三种情况,即第一中继业务类型指示信息可以为指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息。
隐式指示方式表示第一中继业务类型指示信息是通过终端设备向基站发送与中继业务类型相关的信息来隐含的指示出中继业务类型。隐式指示方式表示的第一中继业务类型指示信息可以为终端设备向基站发送的资源请求消息 中包含的通信地址的类型。具体地,终端设备向基站发送的资源请求消息包含单播通信地址时,表示指示单播中继业务;终端设备向基站发送的资源请求消息包含组播通信地址时,表示指示组播中继业务;终端设备向基站发送的资源请求消息分别包含单播通信地址和组播通信地址时,表示对应地指示单播中继业务和组播中继业务。上述单播通信地址包含终端设备的设备标识,可以是远端终端设备的设备标识(ProSe UE ID),也可以是中继终端设备的设备标识(ProSe Relay UE ID);上述组播通信地址包含通信组的标识(Group ID)。
实现时,远端终端设备可以实时测量基站发送信号的信号质量,当信号质量低于设定值时,确定需要采用中继终端设备提供网络服务,进入中继终端设备发现流程。在中继终端设备发现流程中,首先确定远端终端设备的状态,当远端终端设备处于连接态(RRC_CONNECTED)(即与基站有连接)时,或者,当远端终端设备处于空闲态(RRC_IDLE)(即与基站没有连接)且基站没有广播用于发送直接发现消息的资源时,执行该步骤601。其中,信号质量可以采用远端终端设备测量基站发送的参考信号的接收功率(Reference Signal Received Power,简称RSRP)或测量基站发送的参考信号的接收质量(Reference Signal Received Quality,简称RSRQ)表示。
在本实施例的一种实现方式中,该步骤601包括:
远端终端设备接收基站发送的广播消息,该广播消息包括基站的能力信息;
远端终端设备根据该广播消息,向基站发送资源请求消息。
其中,基站的能力信息包括但不限于基站是否支持中继业务的指示信息、基站支持的中继业务类型的指示信息、基站支持的用于发送直接发现消息和/或发送直接通信消息的频率信息。广播消息中可以包括基站的能力信息中的一种或多种。
当广播消息中的基站的能力信息包括基站支持的中继业务类型的指示信息时,远端终端设备根据该广播消息,向基站发送资源请求消息,包括:
当基站支持的中继业务类型包括单播中继业务和组播中继业务时,远端终端设备向基站发送包含第一中继业务类型指示信息的资源请求消息。
当基站不支持中继业务,或者,基站支持的中继业务类型不包括远端终端设备当前所请求的中继业务类型时,远端终端设备不向基站发送资源请求消息。
当基站仅支持一种中继业务类型(即支持单播中继业务或组播中继业务)、且远端终端设备当前所请求的中继业务类型是基站支持的中继业务类型时,远端终端设备向基站发送的资源请求消息中可以不包括第一中继业务类型指示信息,也可以包括第一中继业务类型指示信息。
可见,在广播消息中包括基站支持的中继业务类型指示信息,可以减少不必要的远端终端设备向基站发送的资源请求消息,减轻远端终端设备的负担,节省网络资源。
需要说明的是,广播消息中也可以不包括基站支持的中继业务类型指示信息,在这种情况下,远端终端设备可以直接向基站发送资源请求消息,由基站判断是否为远端终端设备分配发送直接发现消息的资源。
步骤602:基站接收远端终端设备发送的资源请求消息,并根据接收到的资源请求消息中的第一中继业务类型指示信息,为远端终端设备分配直接发现资源。
如前所述,基站的能力可能包括以下四种情况:
1)不支持中继业务;
2)仅支持单播中继业务;
3)仅支持组播中继业务;
4)支持单播中继业务和组播中继业务。
则基站根据资源请求消息中的第一中继业务类型指示信息,确定是否为远端终端设备分配直接发现资源,包括:
当基站不支持中继业务时,或者,当基站支持的中继业务类型不包括第一中继业务类型指示信息指示的中继业务类型时,不为远端终端设备分配直接发现资源;
当基站支持的中继业务类型包括第一中继业务类型指示信息指示的中继业务类型时,为远端终端设备分配直接发现资源。
在本实施例的一种实现方式中,基站可以根据自身的负载情况和第一中继业务类型指示信息指示的中继业务类型确定是否为远端终端设备分配直接发现资源。
其中,基站的负载情况包括但不限于基站在Uu口上的负载情况,基站为D2D终端设备分配资源的负载情况。
进一步地,基站根据自身的负载情况和第一中继业务类型指示信息指示的 中继业务类型确定是否为远端终端设备分配资源,可以采用如下方式(不限于以下方式):
当基站在Uu口上的负载不低于第一门限且为D2D终端设备分配的资源不低于第二门限时,不为远端终端设备分配进行任何中继业务类型通信的资源;
当基站在Uu口上的负载低于第一门限且为D2D终端设备分配的资源不低于第二门限时,或者,当基站在Uu口上的负载不低于第一门限且为D2D终端设备分配的资源低于第二门限时,仅为远端终端设备分配进行组播中继通信的资源;
当基站在Uu口上的负载低于第一门限且为D2D终端设备分配的资源低于第二门限时,为远端终端设备分配进行任何中继业务类型通信的资源。
上述第一门限可以是基站为终端设备在Uu口上分配的资源数量,上述第二门限可以是基站为终端设备进行D2D通信分配的资源数量,第一门限和第二门限的取值可以根据实际需要设置,在此不做限制。
步骤603:基站向远端终端设备发送资源配置消息。
可选地,当步骤602中,基站为远端终端设备分配了直接发现资源,则该资源配置消息包括分配给远端终端设备的直接发现资源。该资源配置消息还可以包括第二中继业务类型指示信息,第二中继业务类型指示信息用于指示能够使用分配的直接发现资源的中继业务类型。
可选地,若在步骤602中,基站没有为远端终端设备分配直接发现资源,则该资源配置消息可以包括指示信息,该指示信息用于告知远端终端设备未分配资源或告知远端终端设备基站不支持当前请求的中继业务类型。可选地,若在步骤602中,基站没有为远端终端设备分配直接发现资源,也可以不向远端终端设备发送资源配置消息,远端终端设备在设定时间内未收到基站发送的资源配置消息,则认为基站不支持第一中继业务类型指示信息指示的中继业务类型。
步骤604:远端终端设备采用获取到的直接发现资源,向中继终端设备发送请求中继的直接发现消息。
该步骤中,远端终端设备采用广播方式发送请求中继的直接发现消息,从而可能有多个中继终端设备接收到该请求中继的直接发现消息。
需要说明的是,在步骤601~604中,远端终端设备为第一网络设备,中继终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接发现资 源,中继消息为请求中继的直接发现消息。
步骤605:中继终端设备接收请求中继的直接发现消息,并向远端终端设备返回请求中继的直接发现消息的响应消息。
在该步骤605中,中继终端设备向远端终端返回请求中继的直接发现消息的响应消息所使用的资源可以为基站广播的直接发现资源,也可以为中继终端设备向基站请求的直接发现资源,中继终端设备向基站请求直接发现资源的方式与远端终端设备向基站请求直接发现资源的方式相同,可以参见步骤601~603,在此省略详细描述。
步骤606:远端终端设备接收中继终端设备发送的请求中继的直接发现消息的响应消息。
在步骤605~606中,中继终端设备为第一网络设备,远端终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接发现资源,中继消息为请求中继的直接发现消息的响应消息。
需要说明的是,在步骤601~步骤606中,远端终端设备采用前述第一种模式的直接发现过程发现中继终端设备,在其他实施例中,远端终端设备也可以采用前述第二种模式的直接发现过程发现中继终端设备。在这种情况下,步骤601~步骤606可以采用以下步骤替代:
中继终端设备向基站发送用于请求直接发现资源的资源请求消息,该资源请求消息包括第一中继业务类型指示信息;
基站根据接收到的资源请求消息为中继终端设备分配直接发现资源并向中继终端设备发送资源配置消息,该资源配置消息中包括第一通信资源;
中继终端设备接收基站发送的资源配置消息,并采用第一通信资源向远端终端设备发送中继可用通知消息。远端终端设备收到中继可用通知消息后,即发现了中继终端设备。
步骤607:远端终端设备从接收到的请求中继的直接发现消息的响应消息的发送方(即中继终端设备)中,选择一个中继终端设备作为服务中继终端设备。
服务中继终端设备是指后续实际为远端终端设备提供网络服务的中继终端设备。
实现时,可以对多个中继终端设备回复的响应消息进行测量,选择信号最强的响应消息对应的中继终端设备作为服务中继终端设备。
步骤608:远端终端设备向基站发送资源请求消息,该资源请求消息用于请求直接通信资源。
其中,直接通信资源用于远端终端设备向中继终端设备发送单播中继连接建立请求消息或组播中继服务请求消息。实现时,该资源请求消息可以为包含侧行UE信息(SidelinkUEInformation)的消息。
该资源请求消息可以包括第一中继业务类型指示信息。该步骤608中的第一中继业务类型指示信息的具体描述参见步骤601,在此不再赘述。
在本发明实施例的一种实现方式中,该步骤608也可以包括:
远端终端设备接收基站发送的广播消息,该广播消息包括基站的能力信息;
远端终端设备根据该广播消息,向基站发送资源请求消息。
基站的能力信息、以及远端终端设备根据该广播消息,向基站发送资源请求消息的具体描述参见步骤601,在此不再赘述。
步骤609:基站接收远端终端设备发送的资源请求消息,并根据接收到的资源请求消息中的第一中继业务类型指示信息,为远端终端分配直接通信资源。
该步骤609的具体实现方式与步骤602分配直接发现资源的方式相似,故在此省略详细描述。
步骤610:基站向远端终端设备发送资源配置消息,该资源配置消息包括直接通信资源。
可选地,当步骤609中,基站为远端终端设备分配了直接通信资源,则该资源配置消息包括分配给远端终端设备的直接通信资源。该资源配置消息还可以包括第二中继业务类型指示信息,第二中继业务类型指示信息用于指示能够使用分配的直接通信资源的中继业务类型。
可选地,若在步骤609中,基站没有为远端终端设备分配直接通信资源,则该资源配置消息可以包括指示信息,该指示信息用于告知远端终端设备未分配资源或告知远端终端设备基站不支持当前请求的中继业务类型。可选地,若在步骤609中,基站没有为远端终端设备分配直接通信资源,也可以不向远端终端设备发送资源配置消息,远端终端设备在设定时间内未收到基站发送的资源配置消息,则认为基站不支持第一中继业务类型指示信息指示的中继业务类型。
可选地,该资源配置消息中还可以包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包含控制信令和用户数据。
需要说明的是,在步骤608~步骤610中,远端终端设备为第一网络设备,中继终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接通信资源,中继消息为直接通信消息。
步骤611:远端终端设备采用获取到的直接通信资源,向服务中继终端设备发送单播中继连接建立请求消息或组播中继服务请求消息。
步骤612:服务中继终端设备接收单播中继业务连接建立请求消息或组播中继业务的请求消息,确定是否回应远端终端设备。若确定回应远端终端设备,则执行步骤613;若确定不回应远端终端设备,则不执行操作。
其中,服务中继终端设备可以根据自身条件确定是否回应远端终端设备,自身条件包括但不限于连接的进行单播通信的远端终端设备的数量、是否支持组播中继业务、是否支持eMBMS中继业务、是否支持SC-PTM中继业务等。
步骤613:服务中继终端设备获取直接通信资源,并向远端终端设备发送单播中继连接建立请求消息的响应消息或组播中继服务请求消息的响应消息。
在该步骤613中,服务中继终端设备获取的直接通信资源可以为基站广播的直接通信资源,也可以为服务中继终端设备向基站请求的直接通信资源,服务中继终端设备向基站请求直接通信资源的方式与远端终端设备向基站请求直接通信资源的方式相同,可以参见步骤608~610,在此省略详细描述。
可选地,服务中继终端设备在请求直接通信资源时,向基站发送的资源请求消息中包括第一中继业务类型指示信息。可选地,若服务中继终端设备仅进行组播中继业务,可以回到空闲态,使用基站广播的资源。
在步骤613中,服务中继终端设备为第一网络设备,远端终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接通信资源,中继消息为单播中继连接建立请求消息的响应消息或组播中继服务请求消息的响应消息。
在步骤613之后,服务中继终端设备和远端终端设备即建立了D2D连接,在此之后,服务中继终端设备即可为远端终端设备提供远端终端设备所请求的中继业务。
当远端终端设备请求的是单播中继业务时,远端终端设备获取基站分配的直接通信资源,并采用获取到的资源向服务中继终端设备发送准备发送给基站 的数据,服务中继终端设备接收远端终端设备发送给基站的数据,并将接收到的数据转发给基站;或者中继终端设备接收基站发送给远端终端设备的数据,并采用获取到的直接通信资源将接收到的数据转发给远端终端设备。
需要说明的是,一个中继终端设备可以与多个远端终端设备进行单播通信,中继终端设备与这多个远端终端设备通信的内容可以不同。
当远端终端设备请求的是组播中继业务时,服务中继终端设备向远端终端设备转发基站发送的广播业务数据,此时,远端终端设备不需要再发送数据,只需要接收服务中继终端设备发送的数据,从而获取基站广播的业务数据。
此外,对于连接态的远端终端设备,在远端终端设备向基站上报组播中继业务类型指示信息后,若远端终端设备没有其他连接态的业务,可以转为空闲态接收组播中继业务。其中远端终端设备转为空闲态可以通过触发基站向远端终端设备发送连接释放消息实现。
需要说明的是,在本实施例中,以远端终端设备获取直接发现资源和直接通信资源均向基站发送资源请求为例对本发明进行了说明,在其他实施例中,远端终端设备获取直接发现资源和直接通信资源中的至少一个可以从基站的广播的的消息中获取。
通过在第一网络设备向第二网络设备发送的资源请求消息中携带第一中继业务类型指示信息,使得第二网络设备可以确定第一网络设备采用所述第一通信资源进行的中继业务类型,进而可以根据第一网络设备采用所述第一通信资源进行的中继业务类型确定是否为第一网络设备分配资源,从而可以更为灵活的分配资源,进而提高资源的利用率。
图7示出了本发明一个实施例提供的通信资源分配方法的流程图。参见图7,该方法包括:
步骤701:第一网络设备接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型。
第一中继业务类型指示信息指示的中继业务类型可以包括三种情况:1)单播中继业务;2)组播中继业务;3)单播中继业务和组播中继业务。
步骤702:第一网络设备根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括 直接发现消息和直接通信消息中的至少一种。
第一网络设备获取的第一通信资源可以是直接通信资源,也可以是直接发现资源,或者,还可以是直接通信资源和直接发现资源。
通过在第二网络设备广播的资源配置消息中指明能够使用广播的通信资源的直接通信业务的类型,从而可以避免与其他类型的直接通信所用的资源相冲突,进而可以提供通信质量和效率。
图8示出了本发明一个实施例提供的通信资源分配方法的流程图。参见图8,该方法包括:
步骤801:第二网络设备生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型。
第一中继业务类型指示信息指示的中继业务类型可以包括三种情况:1)单播中继业务;2)组播中继业务;3)单播中继业务和组播中继业务。
步骤802:所述第二网络设备广播所述资源配置消息。
通过在第二网络设备广播的资源配置消息中指明能够使用广播的通信资源的直接通信业务的类型,从而可以避免与其他类型的直接通信所用的资源相冲突,进而可以提供通信质量和效率。
在图7和图8所示的实施例中,第二网络设备可以为基站。当第一网络设备为远端终端设备时,第三网络设备可以为中继终端设备;当第一网络设备为中继终端设备时,第三网络设备可以为远端终端设备。远端终端设备可以为图1a所示的远端终端设备,中继终端设备可以为图1a和图1b所示的中继终端设备。
图9示出了本发明一个实施例提供的中继通信方法的交互示意图,该中继通信方法采用了本发明实施例提供的通信资源分配方法。参见图9,该中继通信方法包括:
步骤901:基站生成资源配置消息。
所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型。第一中继业务类型指示信息指示的中继业务类型包括三种情况:1)单播中继业务; 2)组播中继业务;3)单播中继业务和组播中继业务。
所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送直接发现消息,所述直接通信资源用于发送直接通信消息。
所述直接发现消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述直接通信消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
步骤902:基站广播资源配置消息。
实现时,包括直接发现资源的资源配置消息可以携带在系统信息块19(SystemInformationBlockType 19,SIB19)中。而包括直接通信资源的资源配置消息可以携带在SIB18中。
可选地,该广播消息还可以包括基站的能力信息,基站的能力信息包括但不限于是否支持中继业务的指示信息、支持的中继业务类型的指示信息、支持的频率的指示信息。广播消息中可以包括基站的能力信息中的一种或多种。
例如,SIB19中的资源配置消息可以采用以下四种形式表示:
第一种:
Figure PCTCN2016073663-appb-000001
第二种:
Figure PCTCN2016073663-appb-000002
第三种:
Figure PCTCN2016073663-appb-000003
第四种:
Figure PCTCN2016073663-appb-000004
其中,第一种中的GroupRelayingAllowed对应的取值为true表示可使用中继业务类型为组播中继业务;第二种中的UCRelayingAllowed对应的取值为true表示可使用中继业务类型为单播中继业务;第三种中的GroupUCRelaying对应的取值若为true,则表示可使用中继业务类型为单播中继业务和组播中继业务。其中,这里Group用于指示组播方式通信或一对多方式通信,UC用于指示一对一方式通信或单播方式通信,这只是一种示例,实现时并不局限于此。SIB18中的直接通信资源的资源配置消息也可以采用相同的方式,在此省略详细描述。
步骤903:远端终端设备接收基站发送的资源配置消息,并根据所述资源配置消息获取直接发现资源。
直接发现资源用于远端终端设备向中继终端设备发送请求中继的直接发现消息,例如Solicitation message。实现时,该资源请求消息可以为包含侧行UE信息(SidelinkUEInformation)的消息。
实现时,远端终端设备在处于空闲态(RRC_IDLE)时,监听基站的广播消息。
其中,根据基站广播的资源配置消息,获取直接发现资源可以包括:
当基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括远端终端当前准备进行的中继业务类型时,从基站广播的资源配置消息中获取直接发现资源;
当基站广播的资源配置消息中不包括上述资源时,或者,当基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括远端终端设备当前准备进行的中继业务类型时,向基站发送资源请求消息,该资源请求用于请求直接发现资源。
例如,当基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型为单播中继业务时,
若远端终端设备当前准备进行的是单播中继业务(即基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括远端终端设备当前准备进行的中继业务类型),远端终端设备可以直接使用基站广播的资源;若基站当前请求的是组播中继业务时,(即基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括远端终端设备当前准备进行的中继业务类型),远端终端设备向基站发送资源请求消息。
在本文中,所述当前准备进行的业务类型可以理解为终端设备感兴趣的业务类型。
又例如,当基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型为组播中继业务时,若远端终端设备当前准备进行的是组播中继业务,则远端终端设备可以直接使用基站广播的资源;若远端终端设备当前请求的是单播中继业务,则远端终端设备向基站发送资源请求消息。
再例如,当基站广播的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型为单播通信业务和组播通信业务时,远端终端设备可以直接使用基站广播的资源。
步骤904:远端终端设备采用获取到的直接发现资源向中继终端设备发送请求中继的直接发现消息。
在步骤903~904中,远端终端设备为第一网络设备,中继终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接发现资源,中继消息为请求中继的直接发现消息。
步骤905:中继终端设备接收请求中继的直接发现消息,并向远端终端设备返回请求中继的直接发现消息的响应消息。
在该步骤905中,中继终端设备向远端终端返回请求中继的直接发现消息的响应消息所使用的资源可以为基站广播的直接发现资源,也可以为中继终端设备向基站请求的直接发现资源,中继终端设备根据基站广播的资源配置消息 获取直接发现资源的方式与远端终端设备根据基站广播的资源配置消息获取直接发现资源的方式相同,可以参见步骤903~904,在此省略详细描述。
步骤906:远端终端设备接收中继终端设备发送的请求中继的直接发现消息响应消息。
在步骤905~906中,中继终端设备为第一网络设备,远端终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接发现资源,中继消息为请求中继的直接发现消息的响应消息。
需要说明的是,在步骤901~步骤906中,远端终端设备采用前述第一种模式的直接发现过程发现中继终端设备,在其他实施例中,远端终端设备也可以采用前述第二种模式的直接发现过程发现中继终端设备。在这种情况下,步骤901~步骤906可以采用以下步骤替代:
中继终端设备根据基站发送的资源请求消息获取直接发现资源,该资源请求消息包括第一中继业务类型指示信息;
中继终端设备采用获取到的直接发现资源向远端终端设备发送中继可用通知消息,例如Announcement message。远端终端设备收到中继可用通知消息后,即发现了中继终端设备。
步骤907:远端终端设备从接收到的请求中继的直接发现消息的响应消息的发送方(即中继终端设备)中,选择一个中继终端设备作为服务中继终端设备。
服务中继终端设备是指后续实际为远端终端设备提供网络服务的中继终端设备。
实现时,可以对多个中继终端设备回复的响应消息进行测量,选择信号最强的响应消息对应的中继终端设备作为服务中继终端设备。
步骤908:远端终端设备接收基站发送的资源配置消息,并根据所述资源配置消息获取直接通信资源。
其中,直接通信资源用于远端终端设备向中继终端设备发送单播中继连接建立请求消息或组播中继服务请求消息。实现时,该资源请求可以为包含侧行UE信息(SidelinkUEInformation)的消息。
远端终端设备根据所述资源配置消息获取直接通信资源的方式与步骤903中远端终端设备根据所述资源配置消息获取直接发现资源相似,在此省略详细描述。
步骤909:远端终端设备采用获取到的直接通信资源,向服务中继终端设备发送发送单播中继连接建立请求消息或组播中继服务请求消息。
步骤910:服务中继终端设备接收单播中继业务连接建立请求消息或组播中继业务的请求消息,确定是否回应远端终端设备。若确定回应远端终端设备,则执行步骤911;若确定不回应远端终端设备,则不执行操作。
其中,服务中继终端设备可以根据自身条件确定是否回应远端终端设备,自身条件包括但不限于连接的进行单播通信的远端终端设备的数量、是否支持组播中继业务、是否支持eMBMS中继业务、是否支持SC-PTM中继业务等。
步骤911:服务中继终端设备获取直接通信资源。
在该步骤911中,服务中继终端设备获取的直接通信资源可以为基站广播的直接通信资源,也可以为服务中继终端设备向基站请求的直接通信资源,服务中继终端设备获取直接通信资源的方式与远端终端设备获取直接通信资源的方式相似,可以参见步骤908,在此省略详细描述。
步骤912:服务中继终端设备采用获取到直接通信资源,向远端终端设备发送响应消息。
在步骤912之后,服务中继终端设备和远端终端设备即建立了D2D连接,在此之后,服务中继终端即可为远端终端提供远端终端所请求的中继业务。
在步骤911~912中,服务中继终端设备为第一网络设备,远端终端设备为第三网络设备,基站为第二网络设备,第一通信资源为直接通信资源,中继消息为单播中继连接建立请求消息的响应消息或组播中继服务请求消息的响应消息。
通过在第二网络设备广播的资源配置消息中指明能够使用广播的通信资源的直接通信业务的类型,从而可以避免与其他类型的直接通信所用的资源相冲突,进而可以提供通信质量和效率。
图10示出了本发明一个实施例提供的通信资源分配方法的流程图。参见图10,该方法包括:
步骤1001:第一网络设备接收第二网络设备发送的资源配置消息,该资源配置消息包括所述第二网络设备支持的第一频率信息。
步骤1002:当第一网络设备上一次发送的第一资源请求消息中携带的第二 频率信息与第三频率信息不匹配时,向第二网络设备发送第二资源请求消息,第二资源请求消息包括第三频率信息,第三频率信息为第一网络设备自身配置用于发送通信消息所使用的频率信息且第三频率信息包括于第一频率信息中;或者,
当第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第一频率信息不匹配时,向第二网络设备发送第三资源请求消息,第三资源请求消息包括第四频率信息,第四频率信息包含于第一频率信息。
其中,第三频率信息由终端设备内的上层应用决定,上层应用启动时,会触发终端设备向eNB请求资源。
在本实施例中,第一网络设备可以为终端设备,第二网络设备可以为基站。在本实施例中,第一资源请求消息是发送给切换前的服务eNB(即源eNB)的资源请求消息;第二请求消息和第三资源请求消息是发送给切换后的服务eNB(即目标eNB)的资源请求消息。在本实施例中,通信消息包括直接通信消息和/或直接发现消息。
本发明实施例通过检测第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第一网络设备自身配置的第三频率信息是否相匹配,即检测第一网络设备当前要请求的资源所在的频率与上一次请求的资源所在的频率相比,是否发生了变化,若发生了变化,则向第二网络设备发送第二资源请求消息,以在新的频率上请求资源;通过检测第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与当前第二网络设备支持的第一频率信息是否相匹配,即判断第二网络设备是否能提供第一网络设备上一次所请求的频率的资源,若第二网络设备不能提供第一网络设备上一次所请求的频率的资源,则向第二网络设备发送第三资源请求消息,以请求新的频率上的资源,从而保证终端设备的通信质量。
图11示出了本发明一个实施例提供的通信资源分配方法的流程图。在本实施例中,以第一网络设备为终端设备,第二网络设备为eNB为例进行说明。参见图11,该方法包括:
步骤1101:终端设备接收eNB发送的资源配置消息,该资源配置消息包括eNB支持的第一频率信息。
其中,第一频率信息包括以下至少一种:频率列表、频率索引列表,频率 列表中至少包含一个频率值,频率索引列表中至少包含一个频率索引值。
在实际应用中,终端设备通常会在不同的eNB之间切换,不同的eNB可以支持不同的频率,支持不同的频率是指可以用于分配资源的频率部分不同或者完全不同。其中,不同的eNB可以是不同版本的eNB,也可以是相同版本的eNB。
例如,Rel-12(一个版本)eNB支持在一个频率上请求发送直接发现消息的资源,Rel-13(增强版本)eNB支持在多个频率上请求发送直接发现消息的资源。又例如,两个Rel-13eNB支持的多个频率可能部分相同、部分不同,也可能完全不同。
步骤1102:终端设备检测上一次发送的第一资源请求消息中携带的第二频率信息是否与第三频率信息相匹配,且检测上一次发送的第一资源请求消息中的第二频率信息是否与该第一频率信息相匹配。当终端设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且第三频率信息包含于第一频率信息时,执行步骤1103;当终端设备上一次发送的第一资源请求消息中携带的第二频率信息与第一频率信息不匹配时,执行步骤1104。
其中,第三频率信息为终端设备自身配置用于发送通信消息所使用的频率信息(也可以说第三频率信息是终端设备发送通信消息感兴趣的频率)。第三频率信息由终端设备内的上层应用决定,上层应用启动时,会触发终端设备向eNB请求资源。
其中,第二频率信息包括以下至少一种:频率列表、频率索引列表;第三频率信息包括以下至少一种:频率列表、频率索引列表;频率列表中至少包含一个频率值,频率索引列表中至少包含一个频率索引值。
可选地,上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配,包括以下至少一种:
第二频率信息与第三频率信息不相同;
终端设备发送第一资源请求消息所使用的第一数据结构与终端设备发送所述第二资源请求消息所使用的第二数据结构不相同。
其中,不同版本的基站支持的资源请求消息的数据结构通常不同,数据结构不同包括但不限于,第一资源请求消息中指示第二频率信息的数据结构与第二资源请求消息中指示第三频率信息的数据结构不同。
例如,Rel-12eNB支持的资源请求消息(SidelinkUEInformation)中,指示频 率信息的数据结构为:
discTxResourceReq-12 INTEGER(1..63) OPTIONAL,
而Rel-13eNB支持的资源请求消息(SidelinkUEInformation)中,指示频率信息的数据结构为:
carrierFreqDiscTx-r13 INTEGER(1..maxFreq)OPTIONAL,
discTxResourceReq-13 INTEGER(1..63)。
在这种情况下,Rel-12eNB将无法解析Rel-13eNB转发的资源请求消息,此时,终端设备需要重新向Rel-12eNB发送资源请求消息。
进一步地,当UE从Rel-13eNB切换到一个Rel-12eNB,再切换到Rel-13eNB时,资源请求消息会在Rel-13eNB->Rel-12eNB->Rel-13eNB之间转发,若UE没有向Rel-12eNB请求Rel-12eNB支持的频率的资源时,当切换到又一个Rel-13eNB时,若请求的频率与原来的Rel-13eNB的频率一样,由于Rel-12eNB无法解析其他频率的信息,所以不会将资源请求消息转发给后来的Rel-13eNB,这样终端设备需要向后来的Rel-13eNB再发送一次资源请求消息。
可选地,上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配,包括以下至少一种:
第二频率信息不包含在第一频率信息内;
第二频率信息的部分信息不包含在第一频率信息内。
步骤1103:终端设备向eNB发送第二资源请求消息,第二资源请求消息包括该第三频率信息。
步骤1104:向eNB发送第三资源请求消息,该第三资源请求消息包括第四频率信息,该第四频率信息包含于第一频率信息。
其中,第四频率信息包括以下至少一种:频率列表、频率索引列表。
在本实施例中,第一资源请求消息是发送给切换前的服务eNB(即源eNB)的资源请求消息;第二请求消息和第三资源请求消息是发送给切换后的服务eNB(即目标eNB)的资源请求消息。
在终端设备从源eNB切换到目标eNB时,源eNB会将UE发送的第一资源请求消息转发给目标eNB,若源eNB支持的频率和目标eNB支持的频率不同,则终端设备无法从目标eNB获取资源。所以,当第一资源请求消息中携带的第二频率信息目标eNB支持的频率不同时,终端设备会从目标eNB支持的频率中选择出一个或多个频率,向目标eNB发送第三资源请求消息,第三 资源请求消息中包括表示选择出的频率的第四频率信息。若第一资源请求消息中携带的第二频率信息所指示的频率包含于目标eNB支持的频率时,则可以不向该目标eNB发送资源请求消息。
需要说明的是,本实施例中的资源请求消息均可以为包含SidelinkUEInformation的消息。
下面针对终端设备在不同版本的eNB之间切换和相同版本的eNB之间切换的情况分别进行举例说明。
一、终端设备在不同版本的eNB之间切换
当终端设备向Rel-13eNB发送第一资源请求消息后,终端设备切换到Rel-12eNB,如果Rel-13eNB和Rel-12eNB支持提供通信资源的频率以及终端设备请求资源的频率情况如表一所示:
表一
支持/请求的频率 Rel-12eNB Rel-13eNB 资源请求消息
Case 1 F1 F1/F2/F3 F1
Case 2 F1 F1/F2/F3 F2
Case 1:当终端设备向Rel-13eNB请求F1频率上的资源,且切换后请求资源的频率不变,
在这种情况下,若F1是Rel-12eNB和Rel-13eNB的服务频率,则终端设备向两类eNB发送的资源请求消息所使用的数据结构相同,那么Rel-13eNB向Rel-12eNB转发的资源请求消息能够被Rel-12eNB解析出来,终端设备不需要再向Rel-12eNB发送资源请求消息。需要说明的是,在本发明实施例中,服务频率是指eNB与终端设备通信的频率,而eNB支持的频率是指eNB可以在哪些频率上为终端设备分配通信资源。eNB的服务频率包含于eNB支持的频率,即eNB除了可以分配其服务频率上的资源给终端设备,还可以分配其服务频率以外的频率上的资源给终端设备。
在这种情况下,若F1是Rel-12eNB的服务频率,但不是Rel-13eNB的服务频率,则终端设备向两类eNB发送的资源请求消息所使用的数据结构不同,则Rel-13eNB向Rel-12eNB转发的资源请求消息不能够被Rel-12eNB解析出来,这时终端设备需要向Rel-12eNB发送资源请求消息。或者,终端设备由Rel-12eNB切换到Rel-13eNB,Rel-12eNB向Rel-13eNB转发的资源请求消息不能够被Rel-13eNB解析出来,这时,终端设备需要向Rel-13eNB发送资 源请求消息。
Case 2:若原来终端设备向Rel-13请求F2频率上的资源(即第一资源请求中携带的第二频率信息包括F2频率),由于切换后Rel-12eNB不支持F2频率,所以终端设备需要向Rel-12eNB发送第三资源请求消息,请求Rel-12eNB支持的F1频率上的资源,即第三资源请求消息中携带的第四频率信息包括F1频率。
二、终端设备在相同版本的基站之间切换
终端设备在Rel-13eNB之间进行切换(假设由eNB1切换至eNB2),但不同的eNB支持的多个频率可能不完全一样,如表二所示:
表二
支持/请求的频率 Rel-13eNB1 Rel-13eNB2 资源请求消息
Case 1 F1/F4/F5 F1/F2/F3 F1
Case 2 F1/F4/F5 F1/F2/F3 F4
Case 1:由于终端设备切换前后,终端设备请求的资源所在的频率均为F1频率,在这种情况下,若F1是eNB1和eNB2的服务频率或者F1在eNB1和eNB2广播的频率列表中的位置相同,且切换前后的eNB1和eNB2均支持F1频率,所以终端设备不需要向eNB2发送资源请求消息;
在这种情况下,若F1是eNB1的服务频率,不是eNB2的服务频率,或者F1不是eNB1和eNB2的服务频率,但F1在eNB1和eNB2广播的频率列表中的位置不同,且切换前后的eNB1和eNB2均支持F1频率,由于终端设备发送携带F1信息的资源请求消息的数据结构或内容发生变化,所以终端设备需要向eNB2发送资源请求消息。
如下表三和表四举例说明上述F1在eNB1和eNB2广播的频率列表中的位置相同或不同的情况:
Figure PCTCN2016073663-appb-000005
由于终端设备向基站上报频率信息时,如果使用索引值,会出现上报同样的频率但索引值不同,这时会引起上报频率所发送的资源请求消息不同,需要终端设备重新发送资源请求消息。如上表F1的索引值都为“2”,即F1处于列表中相同位置上(即从列表的最上端开始),而F2的索引值不同,即F2处于不同列表中不同位置上。
Case 2:终端设备切换前向eNB1请求的资源所在频率为F4频率,而该频率不包含在切换后的eNB支持的频率中,此时,终端设备需要向eNB发送第二资源请求消息,更换频率。
本发明实施例通过检测上一次发送的第一资源请求消息中携带的第二频率信息与第一网络设备自身配置的第三频率信息是否相匹配,即检测第一网络设备当前要请求的资源所在的频率与上一次请求的资源所在的频率相比,是否发生了变化,若发生了变化,则向第二网络设备发送第二资源请求消息,以在新的频率上请求资源;通过检测第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与当前第二网络设备支持的第一频率信息是否相匹配,即判断第二网络设备是否能提供第一网络设备上一次所请求的频率的资源,若第二网络设备不能提供第一网络设备上一次所请求的频率的资源,则向第二网络设备发送第三资源请求消息,以请求新的频率上的资源,从而保证终端设备的通信质量。
图12示出了本发明一个实施例提供的通信资源分配装置的框图。该通信资源分配装置可以通过软件、硬件或者两者的结合实现成为图4-图6所示实施例中的第一网络设备的全部或者一部分。参见图12,该通信资源分配装置可以包括:发送单元1210和接收单元1220。
其中,发送单元1210用于向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型。
接收单元1220用于接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设 备分配的第一通信资源。
可选地,在本发明实施例的一种实现方式中,所述接收单元1220还用于接收所述第二网络设备发送的广播消息,所述广播消息包括所述第二网络设备的能力信息,所述第二网络设备的能力信息包括是否支持中继业务的指示信息和支持的中继业务类型的指示信息中的至少一种;
则所述发送单元1210用于根据所述第二网络设备的能力信息,向所述第二网络设备发送所述资源请求消息。
图13示出了本发明一个实施例提供的通信资源分配装置的框图。该通信资源分配装置可以通过软件、硬件或者两者的结合实现成为图4-图6中第二网络设备的全部或者一部分。参见图13,该通信资源分配装置可以包括:接收单元1310、分配单元1320和发送单元1330。
其中,接收单元1310用于接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型。
分配单元1320用于根据所述资源请求消息为所述第一网络设备分配第一通信资源。
发送单元1330用于向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
在图12和图13所示的实施例中,所述第一通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送直接发现消息,所述直接通信资源用于发送直接通信消息。
其中,所述直接发现消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述直接通信消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
可选地,所述第一中继业务类型指示信息采用显示指示方式和/或隐式指示方式;
当采用所述显示指示方式时,所述第一中继业务类型指示信息包括以下至少一种:指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息;
当采用所述隐式指示方式时,所述第一中继业务类型指示信息包括以下至少一种:
发送单播中继数据的单播地址、发送组播中继数据的组播地址、以及发送单播中继数据的单播地址和发送组播中继数据的组播地址。
可选地,所述资源配置消息还包括第二中继业务类型指示信息,所述第二中继业务类型指示信息用于指示能够使用所述第一通信资源的中继业务类型。
可选地,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
图14示出了本发明一个实施例提供的通信资源分配装置的框图。该通信资源分配装置可以通过软件、硬件或者两者的结合实现成为图7-图9中的第一网络设备的全部或者一部分。参见图14,该通信资源分配装置可以包括:
接收单元1410,用于接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
获取单元1420,用于根据所述接收单元接收到的所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种。
进一步地,获取单元1420,用于当接收单元1410接收到的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括所述第一网络设备当前请求的中继业务类型时,从所述资源配置消息配置的通信资源中获取所述第一通信资源;当接收单元1410接收到的资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括所述第一网络设备当前请求的中继业务类型时,向所述第二网络设备发送资源请求消息,所述资源请求消息用于请求所述第一通信资源。
图15示出了本发明一个实施例提供的通信资源分配装置的框图。该通信资源分配装置可以通过软件、硬件或者两者的结合实现成为图7-图9所示实施例中的第二网络设备的全部或者一部分。参见图15,该通信资源分配装置可以包括:
生成单元1510,用于生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
发送单元1520,用于广播所述生成单元生成的资源配置消息。
在图14和图15所示的实施例中,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送直接发现消息,所述直接通信资源用于发送直接通信消息。
其中,所述直接发现消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述直接通信消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
可选地,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
图16示出了本发明一个实施例提供的通信资源分配装置的框图。该通信资源分配装置可以通过软件、硬件或者两者的结合实现成为图10-图11所示实施例中第一网络设备的全部或者一部分。参见图16,该通信资源分配装置可以包括:
接收单元1610,用于接收第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
发送单元1620,用于当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且所述第三频率信息包含于所述第一频率信息时,所述第一网络设备向所述第二网络设备发送第二资源请求 消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息;或者,当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
其中,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配,包括以下至少一种:
所述第二频率信息与所述第三频率信息不相同;
所述第一网络设备发送所述第一资源请求消息所使用的第一数据结构与所述第一网络设备发送所述第二资源请求消息所使用的第二数据结构不相同。
其中,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配,包括以下至少一种:
所述第二频率信息不包含在所述第一频率信息内;
所述第二频率信息的部分信息不包含在所述第一频率信息内。
第一频率信息包括以下至少一种:频率列表、频率索引列表;
第二频率信息包括以下至少一种:频率列表、频率索引列表;
第三频率信息包括以下至少一种:频率列表、频率索引列表;
第四频率信息包括以下至少一种:频率列表、频率索引列表;
所述频率列表中至少包含一个频率值,所述频率索引列表中至少包含一个频率索引值。
图17示出了本发明一个实施例提供的通信系统的框图。参见图17,该通信系统包括第一网络设备1710、第二网络设备1720和第三网络设备1730。
第一网络设备1710用于向第二网络设备1720发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备1710向第三网络设备1730发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备1710采用所述第一通信资源进行的中继业务类型;
第二网络设备1720用于接收第一网络设备1710发送的所述资源请求消 息;根据所述资源请求消息为所述第一网络设备1710分配第一通信资源;向所述第一网络设备1710发送资源配置消息,所述资源配置消息包括所述第一通信资源;
所述第一网络设备1710还用于接收所述第二网络设备1720发送的所述资源配置消息。
本实施例中的第一网络设备和第二网络设备的具体动作和功能参见图4-图6所示的方法实施例,在此省略详细描述。
图18示出了本发明一个实施例提供的通信系统的框图。参见图18,该通信系统包括第一网络设备1810、第二网络设备1820和第三网络设备1830。
所述第二网络设备1820用于生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;广播所述资源配置消息;
所述第一网络设备1810,用于接收第二网络设备1820发送的资源配置消息;根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括直接发现消息和直接通信消息中的至少一种。
本实施例中的第一网络设备和第二网络设备的具体动作和功能参见图7-图9所示的方法实施例,在此省略详细描述。
图19示出了本发明一个实施例提供的通信系统的框图。参见图19,该通信系统包括第一网络设备1910和第二网络设备1920。
第二网络设备1920用于广播资源配置消息,所述资源配置消息包括所述第二网络设备1920支持的第一频率信息;
第一网络设备1910,用于接收第二网络设备1920发送的资源配置消息;当所述第一网络设备1910上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且所述第三频率信息包含于所述第一频率信息时,所述第一网络设备向所述第二网络设备1920发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备1910自身配置用于发送通信消息所使用的频率信息;或者,当所述第一网络设备1910上一次发送的第一资源请求消息中携带的第二频率信息与所述第 一频率信息不匹配时,所述第一网络设备1910向所述第二网络设备1920发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
本实施例中的第一网络设备和第二网络设备的具体动作和功能参见图10-图11所示的方法实施例,在此省略详细描述。
需要说明的是,上述实施例提供的通信资源分配装置在进行通信资源分配时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (59)

  1. 一种通信资源分配方法,其特征在于,所述方法包括:
    第一网络设备向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    所述第一网络设备接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设备分配的第一通信资源。
  2. 根据权利要求1所述的方法,其特征在于,所述第一通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一中继业务类型指示信息采用显示指示方式和/或隐式指示方式;
    当采用所述显示指示方式时,所述第一中继业务类型指示信息包括以下至少一种:指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息;
    当采用所述隐式指示方式时,所述第一中继业务类型指示信息包括以下至少一种:
    发送单播中继数据的单播地址、发送组播中继数据的组播地址、以及发送单播中继数据的单播地址和发送组播中继数据的组播地址。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述资源配置消息还包括第二中继业务类型指示信息,所述第二中继业务类型指示信息用于指示能够使用所述第一通信资源的中继业务类型。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一网络设备向第二网络设备发送资源请求消息,包括:
    所述第一网络设备接收所述第二网络设备发送的广播消息,所述广播消息包括所述第二网络设备的能力信息,所述第二网络设备的能力信息包括是否支持中继业务的指示信息和支持的中继业务类型的指示信息中的至少一种;
    所述第一网络设备根据所述第二网络设备的能力信息,向所述第二网络设备发送所述资源请求消息。
  8. 一种通信资源分配方法,其特征在于,所述方法包括:
    第二网络设备接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    所述第二网络设备根据所述资源请求消息为所述第一网络设备分配第一通信资源;
    所述第二网络设备向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
  9. 根据权利要求8所述的方法,其特征在于,所述第一通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  10. 根据权利要求8或9所述的方法,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  11. 根据权利要求8-10任一项所述的方法,其特征在于,所述第一中继业务类型指示信息采用显示指示方式和/或隐式指示方式;
    当采用所述显示指示方式时,所述第一中继业务类型指示信息包括以下至少一种:指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息;
    当采用所述隐式指示方式时,所述第一中继业务类型指示信息包括以下至少一种:
    发送单播中继数据的单播地址、发送组播中继数据的组播地址、以及发送单播中继数据的单播地址和发送组播中继数据的组播地址。
  12. 根据权利要求8-11任一项所述的方法,其特征在于,所述资源配置消息还包括第二中继业务类型指示信息,所述第二中继业务类型指示信息用于指示能够使用所述第一通信资源的中继业务类型。
  13. 根据权利要求8-12任一项所述的方法,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  14. 一种通信资源分配方法,其特征在于,所述方法包括:
    第一网络设备接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    所述第一网络设备根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
  15. 根据权利要求14所述的方法,其特征在于,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  16. 根据权利要求14或15所述的方法,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  17. 根据权利要求14-16任一项所述的方法,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  18. 根据权利要求14-17任一项所述的方法,其特征在于,所述第一网络设备从所述资源配置消息中获取第一通信资源,包括:
    当所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括所述第一网络设备当前请求的中继业务类型时,从所述资源配置消息配置的通信资源中获取所述第一通信资源;
    当所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括所述第一网络设备当前请求的中继业务类型时,向所述第二网络设备发送资源请求消息,所述资源请求消息用于请求所述第一通信资源。
  19. 一种通信资源分配方法,其特征在于,所述方法包括:
    第二网络设备生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    所述第二网络设备广播所述资源配置消息。
  20. 根据权利要求19所述的方法,其特征在于,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  21. 根据权利要求19或20所述的方法,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  22. 根据权利要求19-21任一项所述的方法,其特征在于,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  23. 一种通信资源分配方法,其特征在于,所述方法包括:
    第一网络设备接收第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
    当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息且所述 第三频率信息包含于所述第一频率信息中;或者,
    当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
  24. 根据权利要求23所述的方法,其特征在于,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配,包括以下情况中的至少一种:
    所述第二频率信息与所述第三频率信息不相同;
    所述第一网络设备发送所述第一资源请求消息所使用的第一数据结构与所述第一网络设备发送所述第二资源请求消息所使用的第二数据结构不相同。
  25. 根据权利要求23或24所述的方法,其特征在于,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配,包括以下情况中的至少一种:
    所述第二频率信息不包含在所述第一频率信息内;
    所述第二频率信息的部分信息不包含在所述第一频率信息内。
  26. 根据权利要求23-25任一项所述方法,其特征在于,
    所述第一频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第二频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第三频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第四频率信息包括以下至少一种:频率列表、频率索引列表;
    所述频率列表中至少包含一个频率值,所述频率索引列表中至少包含一个频率索引值。
  27. 一种通信资源分配装置,应用于第一网络设备,其特征在于,所述装置包括:
    发送单元,用于向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备 发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    接收单元,用于接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设备分配的第一通信资源。
  28. 根据权利要求27所述的装置,其特征在于,所述第一通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  29. 根据权利要求27或28所述的装置,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  30. 根据权利要求27-29任一项所述的装置,其特征在于,所述第一中继业务类型指示信息采用显示指示方式和/或隐式指示方式;
    当采用所述显示指示方式时,所述第一中继业务类型指示信息包括以下至少一种:指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息;
    当采用所述隐式指示方式时,所述第一中继业务类型指示信息包括以下至少一种:
    发送单播中继数据的单播地址、发送组播中继数据的组播地址、以及发送单播中继数据的单播地址和发送组播中继数据的组播地址。
  31. 根据权利要求27-30任一项所述的装置,其特征在于,所述资源配置消 息还包括第二中继业务类型指示信息,所述第二中继业务类型指示信息用于指示能够使用所述第一通信资源的中继业务类型。
  32. 根据权利要求27-31任一项所述的装置,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  33. 根据权利要求27-32任一项所述的装置,其特征在于,所述接收单元还用于接收所述第二网络设备发送的广播消息,所述广播消息包括所述第二网络设备的能力信息,所述第二网络设备的能力信息包括是否支持中继业务的指示信息和支持的中继业务类型的指示信息中的至少一种;
    则所述发送单元用于根据所述第二网络设备的能力信息,向所述第二网络设备发送所述资源请求消息。
  34. 一种通信资源分配装置,应用于第二网络设备,其特征在于,所述装置包括:
    接收单元,用于接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    分配单元,用于根据所述接收单元接收到的所述资源请求消息为所述第一网络设备分配第一通信资源;
    发送单元,用于向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述分配单元分配的所述第一通信资源。
  35. 根据权利要求34所述的装置,其特征在于,所述第一通信资源包括直 接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  36. 根据权利要求34或35所述的装置,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  37. 根据权利要求34-36任一项所述的装置,其特征在于,所述第一中继业务类型指示信息采用显示指示方式和/或隐式指示方式;
    当采用所述显示指示方式时,所述第一中继业务类型指示信息包括以下至少一种:指示单播中继业务的指示信息、指示组播中继业务的指示信息、指示单播中继业务和组播中继业务的指示信息;
    当采用所述隐式指示方式时,所述第一中继业务类型指示信息包括以下至少一种:
    发送单播中继数据的单播地址、发送组播中继数据的组播地址、以及发送单播中继数据的单播地址和发送组播中继数据的组播地址。
  38. 根据权利要求34-37任一项所述的装置,其特征在于,所述资源配置消息还包括第二中继业务类型指示信息,所述第二中继业务类型指示信息用于指示能够使用所述第一通信资源的中继业务类型。
  39. 根据权利要求34-38任一项所述的装置,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  40. 一种通信资源分配装置,应用于第一网络设备,其特征在于,所述装置包括:
    接收单元,用于接收第二网络设备发送的资源配置消息,所述资源配置消 息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    获取单元,用于根据所述接收单元接收到的所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
  41. 根据权利要求40所述的装置,其特征在于,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  42. 根据权利要求40或41所述的装置,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  43. 根据权利要求40-42任一项所述的装置,其特征在于,当所述第一通信资源为直接通信资源时,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  44. 根据权利要求40-43任一项所述的方法,其特征在于,所述获取单元,用于:
    当所述接收单元接收到的所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型包括所述第一网络设备当前请求的中继业务类型时,从所述资源配置消息配置的通信资源中获取所述第一通信资源;
    当所述接收单元接收到的所述资源配置消息中的第一中继业务类型指示信息指示的中继业务类型不包括所述第一网络设备当前请求的中继业务类型时,向所述第二网络设备发送资源请求消息,所述资源请求消息用于请求所述第一 通信资源。
  45. 一种通信资源分配装置,应用于第二网络设备,其特征在于,所述装置包括:
    生成单元,用于生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    发送单元,用于广播所述生成单元生成的资源配置消息。
  46. 根据权利要求45所述的装置,其特征在于,所述通信资源包括直接发现资源和直接通信资源中的至少一种,所述直接发现资源用于发送所述第一消息,所述直接通信资源用于发送所述第二消息。
  47. 根据权利要求45或46所述的装置,其特征在于,所述第一消息包括以下消息中的至少一种:请求中继的直接发现消息、请求中继的直接发现消息的响应消息、中继可用通知消息;所述第二消息包括以下消息中的至少一种:单播中继连接建立请求消息、单播中继连接建立请求消息的响应消息、组播中继服务请求消息、组播中继服务请求消息的响应消息。
  48. 根据权利要求45-47任一项所述的装置,其特征在于,所述资源配置消息还包括数据类型指示信息,所述数据类型指示信息用于指示所述资源可承载的数据类型,所述数据类型包括控制信令和用户数据。
  49. 一种通信资源分配装置,应用于第一网络设备,其特征在于,所述装置包括:
    接收单元,用于接收第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
    发送单元,用于当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且所述第三频率信息包含于所述第一频率信息时,所述第一网络设备向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一 网络设备自身配置用于发送通信消息所使用的频率信息;或者,当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
  50. 根据权利要求49所述的装置,其特征在于,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配,包括以下至少一种:
    所述第二频率信息与所述第三频率信息不相同;
    所述第一网络设备发送所述第一资源请求消息所使用的第一数据结构与所述第一网络设备发送所述第二资源请求消息所使用的第二数据结构不相同。
  51. 根据权利要求49或50所述的装置,其特征在于,所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配,包括以下至少一种:
    所述第二频率信息不包含在所述第一频率信息内;
    所述第二频率信息的部分信息不包含在所述第一频率信息内。
  52. 根据权利要求49-51任一项所述装置,其特征在于,
    所述第一频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第二频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第三频率信息包括以下至少一种:频率列表、频率索引列表;
    所述第四频率信息包括以下至少一种:频率列表、频率索引列表;
    所述频率列表中至少包含一个频率值,所述频率索引列表中至少包含一个频率索引值。
  53. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器;所述存储器用于存储软件程序,所述处理器通过运行或执行存储在所述存储器内的软件程序实现:
    向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信 资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    接收所述第二网络设备发送的资源配置消息,所述资源配置消息包括所述第二网络设备根据所述资源请求消息为所述第一网络设备分配的第一通信资源。
  54. 一种基站,其特征在于,所述基站包括处理器和存储器;所述存储器用于存储软件程序,所述处理器通过运行或执行存储在所述存储器内的软件程序实现:
    接收第一网络设备发送的资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    根据所述资源请求消息为所述第一网络设备分配第一通信资源;
    向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源。
  55. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器;所述存储器用于存储软件程序,所述处理器通过运行或执行存储在所述存储器内的软件程序实现:
    接收第二网络设备发送的资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第 三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
  56. 一种基站,其特征在于,所述基站包括处理器和存储器;所述存储器用于存储软件程序,所述处理器通过运行或执行存储在所述存储器内的软件程序实现:
    生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;
    广播所述资源配置消息。
  57. 一种通信系统,其特征在于,包括第一网络设备、第二网络设备和第三网络设备,
    所述第一网络设备用于向第二网络设备发送资源请求消息,所述资源请求消息用于请求第一通信资源,所述第一通信资源为所述第一网络设备向所述第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信,所述资源请求消息包括第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示所述第一网络设备采用所述第一通信资源进行的中继业务类型;
    所述第二网络设备用于接收第一网络设备发送的所述资源请求消息;根据所述资源请求消息为所述第一网络设备分配第一通信资源;向所述第一网络设备发送资源配置消息,所述资源配置消息包括所述第一通信资源;
    所述第一网络设备还用于接收所述第二网络设备发送的所述资源配置消息。
  58. 一种通信系统,其特征在于,包括第一网络设备、第二网络设备和第三网络设备,
    所述第二网络设备用于生成资源配置消息,所述资源配置消息包括通信资源和第一中继业务类型指示信息,所述第一中继业务类型指示信息用于指示能够使用所述通信资源的中继业务类型;广播所述资源配置消息;
    所述第一网络设备,用于接收第二网络设备发送的资源配置消息;根据所述资源配置消息获取第一通信资源,所述第一通信资源为用于向第三网络设备发送中继消息的资源,所述中继消息包括第一消息和第二消息中的至少一种,所述第一消息用于所述第一网络设备和所述第三网络设备之间的近距离发现,所述第二消息用于所述第一网络设备和所述第三网络设备之间的近距离通信。
  59. 一种通信系统,其特征在于,包括:第一网络设备和第二网络设备,
    所述第二网络设备用于广播资源配置消息,所述资源配置消息包括所述第二网络设备支持的第一频率信息;
    所述第一网络设备用于接收第二网络设备发送的资源配置消息;当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与第三频率信息不匹配且所述第三频率信息包含于所述第一频率信息时,所述第一网络设备向所述第二网络设备发送第二资源请求消息,所述第二资源请求消息包括所述第三频率信息,所述第三频率信息为所述第一网络设备自身配置用于发送通信消息所使用的频率信息;或者,当所述第一网络设备上一次发送的第一资源请求消息中携带的第二频率信息与所述第一频率信息不匹配时,所述第一网络设备向所述第二网络设备发送第三资源请求消息,所述第三资源请求消息包括第四频率信息,所述第四频率信息包含于所述第一频率信息。
PCT/CN2016/073663 2016-02-05 2016-02-05 通信资源分配方法及装置、终端设备、基站和通信系统 WO2017132991A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
PCT/CN2016/073663 WO2017132991A1 (zh) 2016-02-05 2016-02-05 通信资源分配方法及装置、终端设备、基站和通信系统
KR1020187025681A KR102215258B1 (ko) 2016-02-05 2016-02-05 통신 리소스 할당을 위한 방법 및 디바이스, 단말 디바이스, 기지국, 및 통신 시스템
EP16888816.2A EP3402246B1 (en) 2016-02-05 2016-02-05 Methods and devices for communication resource allocation
CN201680003913.6A CN107431969B (zh) 2016-02-05 2016-02-05 通信资源分配方法及装置、终端设备、基站和通信系统
JP2018541135A JP6907221B2 (ja) 2016-02-05 2016-02-05 通信リソース割当方法および装置、端末装置、基地局、ならびに通信システム
US16/054,345 US10917778B2 (en) 2016-02-05 2018-08-03 Communication resource allocation method and apparatus, terminal device, base station, and communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/073663 WO2017132991A1 (zh) 2016-02-05 2016-02-05 通信资源分配方法及装置、终端设备、基站和通信系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/054,345 Continuation US10917778B2 (en) 2016-02-05 2018-08-03 Communication resource allocation method and apparatus, terminal device, base station, and communications system

Publications (1)

Publication Number Publication Date
WO2017132991A1 true WO2017132991A1 (zh) 2017-08-10

Family

ID=59499273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073663 WO2017132991A1 (zh) 2016-02-05 2016-02-05 通信资源分配方法及装置、终端设备、基站和通信系统

Country Status (6)

Country Link
US (1) US10917778B2 (zh)
EP (1) EP3402246B1 (zh)
JP (1) JP6907221B2 (zh)
KR (1) KR102215258B1 (zh)
CN (1) CN107431969B (zh)
WO (1) WO2017132991A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112806082A (zh) * 2018-08-17 2021-05-14 大众汽车股份公司 用于移动收发器和用于网络实体的设备、方法以及计算机程序、移动收发器、网络实体、移动通信系统
EP3836580A4 (en) * 2018-08-10 2021-07-14 Datang Mobile Communications Equipment Co., Ltd. SIDELINK UNICAST PHYSICAL CONNECTION METHOD, TERMINAL AND DEVICE
WO2022032672A1 (zh) * 2020-08-14 2022-02-17 Oppo广东移动通信有限公司 无线通信方法和终端
WO2023273876A1 (zh) * 2021-06-29 2023-01-05 华为技术有限公司 一种通信方法、装置及系统
WO2023050286A1 (en) * 2021-09-30 2023-04-06 Qualcomm Incorporated Multicast or broadcast support over user equipment to network relay

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7118092B2 (ja) * 2017-05-05 2022-08-15 京セラ株式会社 中継ueから遠隔ueへのブロードキャスト/マルチキャスト配信の中継
WO2019028918A1 (zh) * 2017-08-11 2019-02-14 华为技术有限公司 一种设备发现方法及相关设备
US10348878B2 (en) * 2017-12-12 2019-07-09 Ronald Snagg Wireless communication headset system
WO2019127283A1 (zh) * 2017-12-28 2019-07-04 Oppo广东移动通信有限公司 无线通信的方法、终端设备和网络设备
US11159935B2 (en) * 2018-05-16 2021-10-26 Qualcomm Incorporated Resource slicing on a sidelink interface
CN109076561B (zh) * 2018-08-07 2023-12-26 北京小米移动软件有限公司 资源配置方法及装置
CN109257152A (zh) * 2018-08-27 2019-01-22 维沃移动通信有限公司 一种资源指示方法、网络侧设备及终端
CN111278165B (zh) * 2019-01-11 2022-01-28 维沃移动通信有限公司 连接建立方法、终端设备及网络设备
CN111510920B (zh) * 2019-01-31 2021-11-19 华为技术有限公司 连接管理的方法和设备
CN111586765B (zh) * 2019-02-15 2023-01-13 华为技术有限公司 中继通信的方法和装置
CN111586847B (zh) * 2019-02-15 2024-04-16 华为技术有限公司 通信方法、装置及存储介质
US10904787B2 (en) * 2019-05-02 2021-01-26 Asustek Computer Inc. Method and apparatus for requesting sidelink radio bearer (SLRB) configuration of unicast transmission in a wireless communication system
CN111800866B (zh) * 2019-08-15 2023-09-19 维沃移动通信有限公司 资源请求方法、资源分配方法、装置、设备及介质
CN112788783B (zh) * 2019-11-07 2023-04-25 维沃移动通信有限公司 一种中继连接建立方法及设备
CN114667767A (zh) * 2019-11-30 2022-06-24 华为技术有限公司 一种同步信号/广播信号块的广播方法及装置
CN111182472B (zh) * 2019-12-30 2021-10-01 深圳市维申斯科技有限公司 一种物联网中广播数据的发送方法
CN111182473B (zh) * 2019-12-30 2021-10-01 深圳市维申斯科技有限公司 一种物联网中组播数据的发送方法
CN113068172B (zh) * 2020-01-02 2022-06-17 维沃移动通信有限公司 触发发现的方法、终端设备及网络设备
CN113973350B (zh) * 2020-07-24 2024-08-27 大唐移动通信设备有限公司 信息传输方法、中继终端及被中继终端
CN116584150A (zh) * 2020-10-22 2023-08-11 华为技术有限公司 一种中继通信方法及装置
US20230097664A1 (en) * 2021-02-18 2023-03-30 Apple Inc. Technologies for user equipment relay discover
CN117223385A (zh) * 2021-04-30 2023-12-12 Lg电子株式会社 无线通信系统中的副链路中的中继ue的操作方法
WO2023035860A1 (en) * 2021-09-10 2023-03-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for paging
WO2023065093A1 (zh) * 2021-10-18 2023-04-27 Oppo广东移动通信有限公司 中继通信的方法及设备
CN116419186A (zh) * 2021-12-22 2023-07-11 大唐移动通信设备有限公司 信息传输、资源配置方法、装置、终端设备及网络设备
TWI846262B (zh) * 2022-01-10 2024-06-21 聯發科技股份有限公司 用於發現進程之方法及其使用者設備
CN114666912B (zh) * 2022-05-25 2022-08-05 广东海洋大学 请求上行资源的方法、装置、计算机设备和系统
WO2024138336A1 (zh) * 2022-12-26 2024-07-04 Oppo广东移动通信有限公司 中继通信方法、装置、设备、存储介质及程序产品

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104105155A (zh) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 接收设备发现信息、发送设备发现信息的方法和用户设备
US20150201452A1 (en) * 2012-08-08 2015-07-16 China Academy Of Telecommunications Technology Terminal control method, device and system
CN104918233A (zh) * 2014-03-14 2015-09-16 北京三星通信技术研究有限公司 一种接近业务中的ue配置方法
CN105191178A (zh) * 2013-05-01 2015-12-23 三星电子株式会社 用于设备到设备通信系统的方法和装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102237199B1 (ko) * 2013-06-28 2021-04-07 삼성전자주식회사 디바이스-투-디바이스 통신 방법 및 장치
EP2833694A3 (en) * 2013-07-29 2015-04-01 HTC Corporation Method of relay discovery and communication in a wireless communications system
US9584985B2 (en) * 2013-07-30 2017-02-28 Qualcomm Incorporated Managing a multimedia broadcast multicast service using an MBMS relay device
JP6371391B2 (ja) * 2013-07-30 2018-08-08 ソニー株式会社 リピータ機能の有効化要求の方法およびユーザ機器
US9445352B2 (en) * 2013-07-30 2016-09-13 Qualcomm Incorporated Power efficient discovery of LTE-direct relay for out-of-coverage devices
US9992783B2 (en) * 2013-12-20 2018-06-05 Kyocera Corporation Handover of device-to-device (D2D) user equipment (UE) devices using D2D subframes with cell identifiers
US10462260B2 (en) * 2014-01-28 2019-10-29 Convida Wireless, Llc Context-aware and proximity-aware service layer connectivity management
EP3108708A1 (en) * 2014-02-20 2016-12-28 Nokia Solutions and Networks Oy Proximity-based service allocation
US9655163B2 (en) * 2014-03-11 2017-05-16 Innovative Sonic Corporation Method and apparatus for implementing a device-to-device (D2D) service in a wireless communication system
KR101925008B1 (ko) * 2014-03-21 2018-12-04 엘지전자 주식회사 무선 통신 시스템에서 단말에 의해 수행되는 d2d(device-to-device) 동작 방법 및 상기 방법을 이용하는 단말
US9578484B2 (en) * 2014-03-24 2017-02-21 Intel IP Corporation Apparatuses, systems, and methods for differentiation of payload size for D2D discovery
EP3651486B1 (en) * 2014-05-09 2024-04-17 Sun Patent Trust Resource allocation for d2d discovery transmission
WO2016035988A1 (en) * 2014-09-03 2016-03-10 Lg Electronics Inc. Method for configuring a new retransmission buffer status reporting timer in a d2d communication system and device therefor
US10045250B2 (en) * 2014-09-04 2018-08-07 Lg Electronics Inc. Method for configuring a new prohibition buffer status reporting timer in a D2D communication system and device therefor
CN107439040A (zh) * 2015-04-08 2017-12-05 Lg 电子株式会社 在无线通信系统中由终端执行的中继终端选择方法和使用其方法的终端
KR102534497B1 (ko) * 2015-10-01 2023-05-22 소니그룹주식회사 원거리 통신 장치들 및 방법들
US10178531B2 (en) * 2016-09-15 2019-01-08 Qualcomm Incorporated Methods and apparatus for efficient sensor data sharing in a vehicle-to-vehicle (V2V) network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150201452A1 (en) * 2012-08-08 2015-07-16 China Academy Of Telecommunications Technology Terminal control method, device and system
CN104105155A (zh) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 接收设备发现信息、发送设备发现信息的方法和用户设备
CN105191178A (zh) * 2013-05-01 2015-12-23 三星电子株式会社 用于设备到设备通信系统的方法和装置
CN104918233A (zh) * 2014-03-14 2015-09-16 北京三星通信技术研究有限公司 一种接近业务中的ue配置方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3402246A4 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3836580A4 (en) * 2018-08-10 2021-07-14 Datang Mobile Communications Equipment Co., Ltd. SIDELINK UNICAST PHYSICAL CONNECTION METHOD, TERMINAL AND DEVICE
US11723091B2 (en) 2018-08-10 2023-08-08 Datang Mobile Communications Equipment Co., Ltd. Unicast connection establishment method for direct link, terminal and device
CN112806082A (zh) * 2018-08-17 2021-05-14 大众汽车股份公司 用于移动收发器和用于网络实体的设备、方法以及计算机程序、移动收发器、网络实体、移动通信系统
US12088332B2 (en) 2018-08-17 2024-09-10 Volkswagen Aktiengesellschaft Apparatuses, methods, and computer programs for a mobile transceiver and for a network entity, mobile transceiver, network entity, mobile communication system
WO2022032672A1 (zh) * 2020-08-14 2022-02-17 Oppo广东移动通信有限公司 无线通信方法和终端
WO2023273876A1 (zh) * 2021-06-29 2023-01-05 华为技术有限公司 一种通信方法、装置及系统
WO2023050286A1 (en) * 2021-09-30 2023-04-06 Qualcomm Incorporated Multicast or broadcast support over user equipment to network relay

Also Published As

Publication number Publication date
CN107431969A (zh) 2017-12-01
EP3402246B1 (en) 2021-08-18
US20180343556A1 (en) 2018-11-29
JP6907221B2 (ja) 2021-07-21
EP3402246A4 (en) 2018-11-14
KR102215258B1 (ko) 2021-02-15
EP3402246A1 (en) 2018-11-14
KR20180112810A (ko) 2018-10-12
CN107431969B (zh) 2020-07-14
US10917778B2 (en) 2021-02-09
JP2019505134A (ja) 2019-02-21

Similar Documents

Publication Publication Date Title
WO2017132991A1 (zh) 通信资源分配方法及装置、终端设备、基站和通信系统
US20230180274A1 (en) Data scheduling method, base station, and system
TWI681687B (zh) 處理尋呼的方法和裝置
US9955409B2 (en) Method and apparatus for device-to-device communication
US20140194115A1 (en) Method for discovery in device-to-device communications and apparatus for the same
WO2017193380A1 (zh) 通信方法和装置
CN109565785B (zh) 一种寻呼方法和寻呼设备
WO2013178158A1 (zh) 多播物理信道的请求方法及系统
US12063586B2 (en) Entity and user equipment for a mobile telecommunications system
US20160219632A1 (en) Network nodes, a user equipment and methods therein for enabling d2d communication
JP2017523732A (ja) デバイスツーデバイスサービス処理方法及び装置
US20180332519A1 (en) Signal Strength Measurement Method And Device
WO2014166439A1 (zh) 集群多播决策方法、集群终端、集群服务器及存储介质
WO2013170425A1 (zh) 上报业务指示消息的方法、装置及系统
CN108781479A (zh) 多播传输方法、基站和用户设备
CN109076328B (zh) 移动性管理方法和装置
US9226210B1 (en) Use of fallback carrier load to manage fallback communication setup latency
WO2012024944A1 (zh) 终端自动邻区关系能力的获知方法及传输系统
WO2022022082A1 (zh) 通信方法和通信装置
CN114930916B (zh) 基于ue组的小区重选
WO2017000591A1 (zh) 一种信息发送的方法和终端
KR20150116041A (ko) 단말 간 직접 통신에서의 기지국의 정보 관리 방법
WO2023008520A1 (ja) コアネットワーク装置及び通信方法
KR20140090103A (ko) 단말 간 직접 통신을 위한 디스커버리 방법 및 장치
WO2024208230A1 (zh) 一种通信方法及装置

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: 16888816

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018541135

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016888816

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016888816

Country of ref document: EP

Effective date: 20180809

ENP Entry into the national phase

Ref document number: 20187025681

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020187025681

Country of ref document: KR