Resource configuration method, communication method and apparatus
By acquiring resource parameters and allocating time-frequency resources, the problems of difficult wiring and low resource allocation efficiency in short-distance communication are solved, and efficient communication between terminal devices is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2020-03-31
- Publication Date
- 2026-07-21
Smart Images

Figure CN115413037B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202080008728.2 and the original application date is March 31, 2020. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communications, and more particularly to short-range communications, such as short-range communications in the fields of autonomous driving and smart cockpits. Specifically, this application relates to a resource allocation method, a communication method, and an apparatus. Background Technology
[0003] Currently, in short-range communication in the field of communications, terminal devices can communicate using either wired or wireless communication.
[0004] For example, in short-range communication within the fields of autonomous driving and smart cockpits, terminal devices participating in short-range communication in a smart cockpit can include a cockpit domain controller (CDC), often simply referred to as the vehicle infotainment system, in-vehicle audio-visual equipment (such as speakers, microphones, and screens), smart terminals (such as mobile phones), and other smart wearable devices (such as headphones). Communication between the vehicle infotainment system and smart terminals, as well as between smart terminals and smart wearable devices, is conducted wirelessly (e.g., via Bluetooth), while communication between the vehicle infotainment system and in-vehicle audio-visual equipment typically uses wired communication.
[0005] When the number of terminal devices using wired communication increases in short-range communication, the amount of wiring increases, leading to wiring difficulties. For example, when the number of in-vehicle audio-visual devices in a smart cockpit increases, the wiring between the vehicle's infotainment system and these devices also increases, causing wiring difficulties within the vehicle.
[0006] If all terminal devices participating in short-range communication use wireless communication, the problem of wiring difficulties can be solved. However, how to allocate resources to ensure efficient communication between these terminal devices becomes a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0007] This application provides a resource allocation method, a communication method, and an apparatus to solve the problem of how to allocate resources in wireless communication to ensure efficient communication between terminal devices participating in short-range communication.
[0008] In a first aspect, this application provides a resource configuration method, the method comprising: acquiring at least one resource parameter; determining a first time-frequency resource based on the at least one resource parameter; and sending at least one resource configuration information to at least one second terminal device, the at least one resource configuration information being used to configure at least one second time-frequency resource for the at least one second terminal device, the at least one second time-frequency resource belonging to the first time-frequency resource.
[0009] In this implementation, the first terminal device can acquire at least one resource parameter, then determine a first time-frequency resource based on the at least one resource parameter, and can also send at least one resource configuration information to at least one second terminal device. This at least one resource configuration information can be used to configure at least one second time-frequency resource, which can be used by the at least one second terminal device, and the at least one second time-frequency resource belongs to the first time-frequency resource. Therefore, when this method is applied to short-range communication, such as in the fields of autonomous driving and smart cockpits, terminal devices with resource allocation capabilities participating in short-range communication can acquire time-frequency resources based on their acquired resource parameters and allocate these resources to connected terminal devices, thereby ensuring efficient communication between the participating terminal devices.
[0010] In conjunction with the first aspect, in a first possible implementation of the first aspect, the at least one resource parameter is pre-configured.
[0011] In this implementation, at least one resource parameter is pre-configured for each terminal device, and the first terminal device can quickly obtain at least one resource parameter it needs, which is a relatively simple process.
[0012] In conjunction with the first aspect, in the second possible implementation of the first aspect, the at least one resource parameter corresponds to the capability information of the first terminal device, and / or the at least one resource parameter corresponds to the device type of the first terminal device.
[0013] In this implementation, the device type and / or capability information of the first terminal device corresponds to at least one resource parameter acquired by the first terminal device. In this way, the correspondence between the device type and / or capability information of the terminal device and the resource parameter can be pre-configured or defined, eliminating the need to pre-configure resource parameters for each terminal device. This improves applicability and allows for the configuration of different resource parameters for different device types and / or capability information. This enables differentiated management of the time and frequency resources acquired by terminal devices with different device types and / or capability information, making the utilization of time and frequency resources more rational and efficient.
[0014] In conjunction with the first aspect, in a third possible implementation of the first aspect, obtaining at least one resource parameter includes: obtaining the at least one resource parameter from a first resource parameter set; the first resource parameter set contains multiple resource parameters corresponding to multiple capability information and / or device types.
[0015] In this implementation, the first terminal device can obtain at least one resource parameter from the first resource parameter set based on its device type and / or capability information, making the resource parameter acquisition method more flexible.
[0016] In conjunction with the first aspect, in the fourth possible implementation of the first aspect, the capability information of the first terminal device includes at least one of the following: the identity information of the first terminal device; the identity information is used to indicate that the first terminal device has resource allocation or scheduling capabilities; the communication domain type information of the first terminal device; the communication domain priority information of the first terminal device; the communication domain priority information is used to indicate the priority of the communication domain of the first terminal device.
[0017] In this implementation, more suitable capability information can be selected according to the needs of the actual application scenario. The setting of capability information is more flexible and has better applicability.
[0018] In conjunction with the first aspect, in the fifth possible implementation of the first aspect, the at least one resource parameter includes at least one of the following: channel occupancy information, modulation and coding scheme information, resource period information, and resource duration information.
[0019] In this implementation, more suitable resource parameters can be selected according to the needs of the actual application scenario, making the setting of resource parameters more flexible and applicable.
[0020] In conjunction with the first aspect, in a sixth possible implementation of the first aspect, the method further includes: sending first resource indication information, and / or at least one of capability information and device type information of the first terminal device, wherein the first resource indication information is used to indicate the first time-frequency resource.
[0021] In this implementation, the first terminal device can send at least one of the first resource indication information for indicating the first time-frequency resource, and / or the capability information and device type information of the first terminal device to other terminal devices. This can inform other terminal devices of the time-frequency resource information they have acquired, thereby avoiding communication conflicts between other terminal devices and the first terminal device.
[0022] Secondly, this application provides a communication method, which includes: receiving first resource configuration information from a second terminal device; obtaining second resource configuration information corresponding to a first resource pool; and initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information, or disconnecting the connection with the second terminal device.
[0023] In this implementation, the first terminal device can receive first resource configuration information sent from the second terminal device and obtain second resource configuration information corresponding to the first resource pool. Then, based on the first and second resource configuration information, it can initiate a connection establishment request to the second terminal device or disconnect from the second terminal device. Based on this, applying this method to short-range communication allows each terminal device participating in short-range communication to compare different resource configuration information and choose whether to have resources scheduled or allocated by other terminal devices with resource allocation capabilities, thereby obtaining better or more time-frequency resources to better meet its own communication needs or improve its communication performance.
[0024] In conjunction with the second aspect, in the first possible implementation of the second aspect, the first resource configuration information includes at least one of the following: first channel busy rate information, first modulation and coding scheme information, and first resource quantity information; the second resource configuration information includes at least one of the following: second channel busy rate information, second modulation and coding scheme information, and second resource quantity information.
[0025] In this implementation, the more suitable first resource configuration information and second resource configuration information can be selected according to the needs of the actual application scenario. The setting of the first resource configuration information and the second resource configuration information is more flexible and has better applicability.
[0026] In conjunction with the second aspect, in a second possible implementation of the second aspect, disconnecting the connection with the second terminal device based on the first resource configuration information and the second resource configuration information includes: the first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or equal to a first threshold value; disconnecting the connection with the second terminal device.
[0027] In this implementation, by comparing the channel load rate, if it is determined that better or more time-frequency resources can be obtained from the first resource pool, the connection with the second terminal device can be disconnected to obtain better or more time-frequency resources.
[0028] In conjunction with the second aspect, in a third possible implementation of the second aspect, disconnecting the connection with the second terminal device based on the first resource configuration information and the second resource configuration information includes: disconnecting the connection with the second terminal device when the resource quantity indicated by the first resource quantity information is less than or equal to the resource quantity indicated by the second resource quantity information.
[0029] In this implementation, by comparing the resource quantities, if it is determined that better or more time-frequency resources can be obtained from the first resource pool, the connection with the second terminal device is disconnected to obtain better or more time-frequency resources.
[0030] In conjunction with the second aspect, in a fourth possible implementation of the second aspect, disconnecting the connection with the second terminal device based on the first resource configuration information and the second resource configuration information includes: the first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, the distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than or greater than or equal to a second threshold value; disconnecting the connection with the second terminal device.
[0031] In this implementation, by comparing the modulation and coding conditions, if it is determined that better or more time-frequency resources can be obtained from the first resource pool, the connection with the second terminal device is disconnected to obtain better or more time-frequency resources.
[0032] In conjunction with the second aspect, in the fifth possible implementation of the second aspect, the step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: the first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or equal to a third threshold value; and initiating a connection establishment request to the second terminal device.
[0033] In this implementation, by comparing the channel load rate, a connection establishment request can be initiated to the second terminal device, and the resource scheduling or allocation of the second terminal device can be accepted to obtain better or more time and frequency resources, so as to better meet its own communication needs or improve its own communication performance.
[0034] In conjunction with the second aspect, in the sixth possible implementation of the second aspect, the step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: if the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, then initiating a connection establishment request to the second terminal device.
[0035] In this implementation, by comparing the resource availability, a connection establishment request is initiated to the second terminal device, and the resource scheduling or allocation of the second terminal device is accepted to obtain better or more time-frequency resources, so as to better meet its own communication needs or improve its own communication performance.
[0036] In conjunction with the second aspect, in the seventh possible implementation of the second aspect, the step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: the first modulation code indicated by the first modulation coding scheme information is greater than or greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, the distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than or greater than or equal to a fourth threshold value; and initiating a connection establishment request to the second terminal device.
[0037] In this implementation, by comparing the modulation and coding conditions, a connection establishment request can be initiated to the second terminal device, and the resource scheduling or allocation of the second terminal device can be accepted to obtain better or more time and frequency resources, so as to better meet its own communication needs or improve its own communication performance.
[0038] In conjunction with the second aspect, in the eighth possible implementation of the second aspect, the second resource configuration information corresponding to the first resource pool is pre-configured.
[0039] In this implementation, the configuration information of the second resource corresponding to the first resource pool is pre-configured, which can be obtained more easily and quickly when used.
[0040] In conjunction with the second aspect, in the ninth possible implementation of the second aspect, obtaining the second resource configuration information corresponding to the first resource pool includes: obtaining the second resource configuration information corresponding to the first resource pool configured by the second terminal device through signaling.
[0041] In this implementation, the second resource configuration information corresponding to the first resource pool can be obtained from the signaling sent by the second terminal device, thereby enabling more flexible acquisition of the second resource configuration information.
[0042] In conjunction with the second aspect, in the tenth possible implementation of the second aspect, the first resource configuration information corresponds to the second resource pool; or, the first resource configuration information is included in the first semi-static scheduling message.
[0043] In this implementation, in addition to obtaining the first resource configuration information, information about the second resource pool can also be obtained. The second resource pool is a resource pool in which the second terminal device schedules time-frequency resources for other terminal devices connected to it, making the reference information for adjusting the connection status with the second terminal device richer and more applicable.
[0044] Thirdly, this application provides a communication method, which includes: receiving first resource configuration information from a second terminal device; obtaining second resource configuration information corresponding to a first resource pool, wherein the first resource pool allows at least one first terminal device to share and use it; and initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information, or disconnecting the connection with the second terminal device.
[0045] In this implementation, the first terminal device can receive first resource configuration information sent from the second terminal device and obtain second resource configuration information corresponding to the first resource pool. Then, based on the first and second resource configuration information, it can initiate a connection establishment request to the second terminal device or disconnect from the second terminal device. Based on this, applying this method to short-range communication allows each terminal device participating in short-range communication to compare different resource configuration information and choose whether to have resources scheduled or allocated by other terminal devices with resource allocation capabilities, thereby obtaining better or more time-frequency resources to better meet its own communication needs or improve its communication performance.
[0046] Fourthly, this application provides a resource configuration apparatus, which includes a processing module and a sending module; the processing module is configured to: acquire at least one resource parameter; determine a first time-frequency resource based on the at least one resource parameter; the sending module is configured to: send at least one resource configuration information to at least one second terminal device, the at least one resource configuration information being used to configure at least one second time-frequency resource for the at least one second terminal device, the at least one second time-frequency resource belonging to the first time-frequency resource.
[0047] The apparatus of this implementation can acquire at least one resource parameter, then determine a first time-frequency resource based on the at least one resource parameter, and can also send at least one resource configuration information to at least one second terminal device. This at least one resource configuration information can be used to configure at least one second time-frequency resource, which can be used by the at least one second terminal device, and the at least one second time-frequency resource belongs to the first time-frequency resource. Therefore, when this apparatus is applied to short-range communication, such as in the fields of autonomous driving and smart cockpits, terminal devices with resource allocation capabilities participating in short-range communication can acquire time-frequency resources based on their acquired resource parameters and allocate these resources to connected terminal devices, thereby ensuring efficient communication between the participating terminal devices.
[0048] In conjunction with the fourth aspect, in the first possible implementation of the fourth aspect, the at least one resource parameter is pre-configured.
[0049] The device of this implementation can pre-configure at least one resource parameter in its own system, and can quickly obtain at least one resource parameter required by itself when in use, and the acquisition process is relatively simple.
[0050] In conjunction with the fourth aspect, in the second possible implementation of the fourth aspect, the at least one resource parameter corresponds to the capability information of the first terminal device, and / or the at least one resource parameter corresponds to the device type of the first terminal device.
[0051] In the apparatus of this implementation, the at least one resource parameter corresponds to the device type and / or capability information of the first terminal device. In this way, different resource parameters can be configured for different device types and / or capability information, thereby enabling differentiated management of the time and frequency resources acquired by terminal devices with different device types and / or capability information, making the utilization of time and frequency resources more reasonable and efficient.
[0052] In conjunction with the fourth aspect, in the third possible implementation of the fourth aspect, the processing module is specifically used to: obtain the at least one resource parameter from the first resource parameter set; the first resource parameter set includes multiple resource parameters corresponding to multiple capability information and / or device types.
[0053] The apparatus of this implementation can obtain at least one resource parameter from the first resource parameter set based on the device type and / or capability information of the first terminal device, making the resource parameter acquisition method more flexible.
[0054] In conjunction with the fourth aspect, in the fourth possible implementation of the fourth aspect, the capability information of the first terminal device includes at least one of the following: the identity information of the first terminal device; the identity information is used to indicate that the first terminal device has resource allocation or scheduling capabilities; the communication domain type information of the first terminal device; the communication domain priority information of the first terminal device; the communication domain priority information is used to indicate the priority of the communication domain of the first terminal device.
[0055] The device implemented in this way can select more suitable capability information according to the needs of actual application scenarios, and the setting of capability information is more flexible and has better applicability.
[0056] In conjunction with the fourth aspect, in the fifth possible implementation of the fourth aspect, the at least one resource parameter includes at least one of the following: channel occupancy information, modulation and coding scheme information, resource period information, and resource duration information.
[0057] The device implemented in this way can select more suitable resource parameters according to the needs of actual application scenarios, and the setting of resource parameters is more flexible and has better applicability.
[0058] In conjunction with the fourth aspect, in the sixth possible implementation of the fourth aspect, the sending module is further configured to: send first resource indication information, and / or at least one of the capability information and device type information of the first terminal device, wherein the first resource indication information is used to indicate the first time-frequency resource.
[0059] The apparatus of this implementation can send at least one of first resource indication information for indicating the first time-frequency resource, and / or capability information and device type information of the first terminal device to other terminal devices. This can inform other terminal devices of the time-frequency resource information they have acquired, thereby avoiding communication conflicts between other terminal devices and the apparatus.
[0060] Fifthly, this application provides a communication device, which includes: a receiving module and a processing module; the receiving module is configured to receive first resource configuration information from a second terminal device; the processing module is configured to: obtain second resource configuration information corresponding to a first resource pool; and, based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device.
[0061] The communication device of this implementation can receive first resource configuration information sent from a second terminal device, and obtain second resource configuration information corresponding to a first resource pool. Then, based on the first and second resource configuration information, it can initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device. When this device is applied to short-range communication, such as in the fields of autonomous driving and smart cockpits, each terminal device participating in short-range communication can compare different resource configuration information and choose whether to have resources scheduled or allocated by other terminal devices with resource allocation capabilities, thereby obtaining better or more time-frequency resources, better meeting its own communication needs, or improving its own communication performance.
[0062] In conjunction with the fifth aspect, in the first possible implementation of the fifth aspect, the first resource configuration information includes at least one of the first channel busy rate information, the first modulation and coding scheme information, and the first resource quantity information; the second resource configuration information includes at least one of the second channel busy rate information, the second modulation and coding scheme information, and the second resource quantity information.
[0063] The communication device of this implementation can select more suitable first resource configuration information and second resource configuration information according to the needs of actual application scenarios. The setting of the first resource configuration information and the second resource configuration information is more flexible and has better applicability.
[0064] In conjunction with the fifth aspect, in the second possible implementation of the fifth aspect, the processing module is specifically configured to: the first channel load rate indicated by the first channel busy rate information is greater than or greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or greater than or equal to a first threshold value; disconnect the connection with the second terminal device.
[0065] The communication device of this implementation can disconnect from the second terminal device and obtain better or more time-frequency resources by comparing the channel load rate and determining that it can obtain better or more time-frequency resources from the first resource pool.
[0066] In conjunction with the fifth aspect, in the third possible implementation of the fifth aspect, the processing module is specifically used to: disconnect the connection with the second terminal device when the resource quantity indicated by the first resource quantity information is less than or equal to the resource quantity indicated by the second resource quantity information.
[0067] The communication device of this implementation can disconnect from the second terminal device and obtain better or more time-frequency resources by comparing the resource quantity.
[0068] In conjunction with the fifth aspect, in the fourth possible implementation of the fifth aspect, the processing module is specifically used for: the first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, the distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than or greater than or equal to a second threshold value; disconnecting the connection with the second terminal device.
[0069] The communication device of this implementation can disconnect from the second terminal device and obtain better or more time-frequency resources by comparing the modulation and coding conditions and determining that it can obtain better or more time-frequency resources from the first resource pool.
[0070] In conjunction with the fifth aspect, in the fifth possible implementation of the fifth aspect, the processing module is specifically used to: indicate that the first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or greater than or equal to a third threshold value; and initiate a connection establishment request to the second terminal device.
[0071] The communication device of this implementation can initiate a connection establishment request to the second terminal device by comparing the channel load rate, and accept the resource scheduling or allocation of the second terminal device to obtain better or more time and frequency resources, so as to better meet its own communication needs or improve its own communication performance.
[0072] In conjunction with the fifth aspect, in the sixth possible implementation of the fifth aspect, the processing module is specifically used to: if the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, initiate a connection establishment request to the second terminal device.
[0073] The communication device in this implementation initiates a connection establishment request to the second terminal device by comparing the resource availability, and accepts resource scheduling or allocation from the second terminal device to obtain better or more time-frequency resources, thereby better meeting its own communication needs or improving its own communication performance.
[0074] In conjunction with the fifth aspect, in the seventh possible implementation of the fifth aspect, the processing module is specifically used to: the first modulation code indicated by the first modulation coding scheme information is greater than or greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, the distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than or greater than or equal to a fourth threshold value; and initiate a connection establishment request to the second terminal device.
[0075] The communication device of this implementation can initiate a connection establishment request to the second terminal device by comparing the modulation and coding conditions, accept resource scheduling or allocation from the second terminal device, and obtain better or more time and frequency resources to better meet its own communication needs or improve its own communication performance.
[0076] In conjunction with the fifth aspect, in the eighth possible implementation of the fifth aspect, the second resource configuration information corresponding to the first resource pool is pre-configured.
[0077] In this implementation of the communication device, the second resource configuration information corresponding to the first resource pool is pre-configured, which can be obtained more easily and quickly during use.
[0078] In conjunction with the fifth aspect, in the ninth possible implementation of the fifth aspect, the processing module is specifically used to: obtain the second resource configuration information corresponding to the first resource pool configured by the second terminal device through signaling.
[0079] The communication device of this implementation can obtain the second resource configuration information corresponding to the first resource pool from the signaling sent by the second terminal device, thereby obtaining the second resource configuration information more flexibly.
[0080] In conjunction with the fifth aspect, in the tenth possible implementation of the fifth aspect, the first resource configuration information corresponds to the second resource pool; or, the first resource configuration information is included in the first semi-static scheduling message.
[0081] In this implementation, the communication device can obtain information about a second resource pool in addition to the first resource configuration information. The second resource pool is a resource pool in which the second terminal device schedules time and frequency resources for other terminal devices connected to it, making the reference information for adjusting the connection status with the second terminal device richer and more applicable.
[0082] Sixthly, this application provides a communication device, which includes: a receiving module and a processing module; the receiving module is configured to receive first resource configuration information from a second terminal device; the processing module is configured to: obtain second resource configuration information corresponding to a first resource pool, wherein the first resource pool allows at least one first terminal device to share and use it; and, based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device.
[0083] The communication device of this implementation can receive first resource configuration information sent from a second terminal device, and obtain second resource configuration information corresponding to a first resource pool. Then, based on the first and second resource configuration information, it can initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device. When this device is applied to short-range communication, such as in the fields of autonomous driving and smart cockpits, each terminal device participating in short-range communication can compare different resource configuration information and choose whether to have resources scheduled or allocated by other terminal devices with resource allocation capabilities, thereby obtaining better or more time-frequency resources, better meeting its own communication needs, or improving its own communication performance.
[0084] In a seventh aspect, embodiments of this application provide a communication device, the communication device including at least one processor, wherein the method described in the first aspect is executed when the at least one processor executes a computer program or instructions in at least one memory.
[0085] Eighthly, embodiments of this application provide a communication device, the communication device including at least one processor, wherein the method described in the second aspect is executed when the at least one processor executes a computer program or instructions in at least one memory.
[0086] Ninthly, embodiments of this application provide a communication device, the communication device including at least one processor, wherein the method described in the third aspect is executed when the at least one processor executes a computer program or instructions in at least one memory.
[0087] In a tenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor and at least one memory, the at least one memory being used to store computer programs or instructions; the at least one processor being used to execute the computer programs or instructions stored in the at least one memory to cause the communication device to perform the corresponding methods as shown in the first aspect.
[0088] Eleventhly, embodiments of this application provide a communication device, the communication device including at least one processor and at least one memory, the at least one memory being used to store computer programs or instructions; the at least one processor being used to execute the computer programs or instructions stored in the at least one memory to cause the communication device to perform the corresponding methods as shown in the second aspect.
[0089] In a twelfth aspect, embodiments of this application provide a communication device, the communication device including at least one processor and at least one memory, the at least one memory being used to store computer programs or instructions; the at least one processor being used to execute the computer programs or instructions stored in the at least one memory to cause the communication device to perform the corresponding methods as shown in the third aspect.
[0090] In a thirteenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor, at least one memory, and at least one transceiver; the at least one transceiver is used to receive or transmit signals; the at least one memory is used to store computer programs or instructions; the at least one processor is used to invoke the computer program or instructions from the at least one memory to execute the method as described in the first aspect.
[0091] In a fourteenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor, at least one memory, and at least one transceiver; the at least one transceiver is used to receive or transmit signals; the at least one memory is used to store computer programs or instructions; the at least one processor is used to invoke the computer program or instructions from the at least one memory to execute the method as described in the second aspect.
[0092] In a fifteenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor, at least one memory, and at least one transceiver; the at least one transceiver is used to receive or transmit signals; the at least one memory is used to store computer programs or instructions; the at least one processor is used to invoke the computer program or instructions from the at least one memory to execute the method as described in the third aspect.
[0093] In a sixteenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor and at least one interface circuit; the at least one interface circuit is configured to receive a computer program or instructions and transmit them to the at least one processor; the at least one processor executes the computer program or instructions to perform the corresponding method as shown in the first aspect.
[0094] In a seventeenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor and at least one interface circuit; the at least one interface circuit is configured to receive a computer program or instructions and transmit them to the at least one processor; the at least one processor executes the computer program or instructions to perform the corresponding method as shown in the second aspect.
[0095] In an eighteenth aspect, embodiments of this application provide a communication device, the communication device including at least one processor and at least one interface circuit; the at least one interface circuit is configured to receive a computer program or instructions and transmit them to the at least one processor; the at least one processor executes the computer program or instructions to perform the corresponding method as shown in the third aspect.
[0096] In a nineteenth aspect, embodiments of this application provide a computer storage medium for storing computer programs or instructions that, when executed, cause the method described in the first aspect to be implemented.
[0097] In a twentieth aspect, embodiments of this application provide a computer storage medium for storing computer programs or instructions that, when executed, cause the method described in the second aspect to be implemented.
[0098] In a twentieth aspect, embodiments of this application provide a computer storage medium for storing computer programs or instructions that, when executed, cause the method described in the third aspect to be implemented.
[0099] In a twentieth aspect, embodiments of this application provide a computer program product including a computer program or instructions, which, when executed, causes the method described in the first aspect to be implemented.
[0100] In a twentieth aspect, embodiments of this application provide a computer program product including a computer program or instructions, which, when executed, causes the method described in the second aspect to be implemented.
[0101] In a twentieth aspect, embodiments of this application provide a computer program product including a computer program or instructions, which, when executed, causes the method described in the third aspect to be implemented.
[0102] In a twentieth aspect, embodiments of this application provide a terminal device, which may be a transportation vehicle or an intelligent device, including drones, unmanned transport vehicles, automobiles, or robots, etc. The transportation vehicle or intelligent device includes the aforementioned resource allocation device and / or communication device.
[0103] To address the challenge of resource allocation in wireless communication to ensure efficient communication among terminal devices participating in short-range communication, this application provides a resource allocation method, a communication method, and an apparatus. In this method, a first terminal device can acquire at least one resource parameter, determine a first time-frequency resource based on the at least one resource parameter, and send at least one resource configuration information to at least one second terminal device. This at least one resource configuration information can be used to configure at least one second time-frequency resource, which can be used by the at least one second terminal device and is a subset of the first time-frequency resource. Therefore, when applied to short-range communication, such as in autonomous driving and smart cockpits, terminal devices with resource allocation capabilities can acquire time-frequency resources based on their acquired resource parameters and allocate these resources to connected terminal devices, thereby ensuring efficient communication among the participating terminal devices. Attached Figure Description
[0104] Figure 1 A flowchart illustrating one implementation of the resource allocation method provided in this application;
[0105] Figure 2 A flowchart illustrating one implementation of the communication method provided in this application;
[0106] Figure 3 A structural block diagram of one embodiment of the resource allocation device provided in this application;
[0107] Figure 4 A structural block diagram of one embodiment of the communication device provided in this application;
[0108] Figure 5 This is a structural block diagram of one embodiment of the chip provided in this application. Detailed Implementation
[0109] The technical solution of this application will now be described with reference to the accompanying drawings.
[0110] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.
[0111] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0112] To facilitate understanding of the technical solution of this application, the technical terms involved in this application will be briefly introduced below.
[0113] (1) Cockpit Domain Controller
[0114] The cockpit domain controller (CDC), or vehicle infotainment system for short, can communicate with other in-vehicle devices to provide functions including, but not limited to, traditional radio, music and video playback, and navigation announcements. In addition, it can also feature cellular communication capabilities, such as 3G and 4G technologies, as well as telematics services, enabling communication between people and the vehicle, and between the vehicle and the outside world, thus enhancing user experience and providing services and safety-related functions.
[0115] (2) Master node, slave node
[0116] Master nodes and slave nodes are two types of nodes distinguished by their logical functions. Master nodes manage slave nodes, possessing resource allocation or scheduling capabilities, and are responsible for allocating time-frequency resources to slave nodes. Slave nodes obey the master node's allocations and use the allocated time-frequency resources for communication. It's important to note that the attributes of master and slave nodes can change. For example, when a smart terminal communicates with headphones, the smart terminal is the master node and the headphones are the slave node; however, when the smart terminal connects to a higher-priority device, such as a CDC (Digital Control Center), and follows the CDC's scheduling, the smart terminal's role changes to that of a slave node.
[0117] There are two scenarios for the allocation of time-frequency resources. One is that the master node establishes a connection with the slave node, dynamically or semi-dynamically allocating or scheduling time-frequency resources for the slave node. The other scenario is that the master node establishes a connection with the slave node, but the master node only allocates a resource pool for the slave node, and the slave node directly obtains time-frequency resources from this resource pool for communication. The connection mentioned here refers to the existence of a connection establishment process between the slave node and the master node, and the existence of the slave node is known to the master node.
[0118] (3) Isolated nodes
[0119] An isolated node is a node that does not establish a connection with the master node and directly obtains time-frequency resources from a pre-configured resource pool or other resource pools (e.g., the resource pool configured for isolated nodes included in the master node's system broadcast message) to communicate with other terminal devices. Typically, communication between isolated nodes is unknown to the master node.
[0120] (4) Communication domain
[0121] The communication domain includes a master node and at least one slave node. The at least one slave node establishes a communication connection with the master node. The master node allocates or schedules time-frequency resources for the at least one slave node. Each slave node uses the scheduled or allocated time-frequency resources to communicate with the master node.
[0122] (5) Communication Domain Type
[0123] In a smart cockpit environment, multiple communication domains may exist, each containing different node types, capabilities, attributes, and services. For example, a CDC (Controlled Center) can act as a master node to schedule in-vehicle audio-visual equipment. In this case, the CDC is the master node, and the in-vehicle audio-visual equipment is the slave node. The CDC and at least one in-vehicle audio-visual device can form a communication domain called the CDC domain or vehicle-to-machine domain. Similarly, a mobile phone can act as a master node to schedule smart wearable devices. In this case, the smart wearable devices are the slave nodes, and the mobile phone and smart wearable devices can form a communication domain called the mobile phone domain. The CDC domain and the mobile phone domain correspond to two different communication domain types.
[0124] (6) Communication domain priority
[0125] Different communication domains may have different priorities, thus ensuring that higher-priority communication domains can obtain time and frequency resources first, and consequently prioritize service transmission within that domain. For example, compared to the mobile phone domain, the CDC domain primarily protects in-vehicle equipment services; therefore, the CDC domain can have a higher communication domain priority than the mobile phone domain.
[0126] (7) Time and frequency resources
[0127] Time-frequency resources, also known as radio resources, are wireless physical layer resources used for information transmission. Optionally, the time-frequency resources consist of at least one time-domain symbol and at least one frequency-domain subcarrier.
[0128] (8) Resource Pool
[0129] A resource pool refers to a set of resources containing at least one time-frequency resource, wherein the at least one time-frequency resource contained in the resource set may be continuous or discontinuous in the time domain and / or frequency domain.
[0130] (9) Terminal device capability information
[0131] The capability information of a terminal device is used to characterize its wireless communication capabilities. These capabilities may include, but are not limited to, resource allocation or scheduling capabilities, multi-carrier capabilities, multi-antenna capabilities, supported encoding and decoding methods, and link modulation and coding methods.
[0132] (10) Resource parameters
[0133] Resource parameters refer to the collective parameters used by terminal devices to select or acquire wireless resources. Terminal devices, especially master nodes, can obtain available wireless / time-frequency resources for allocation based on resource parameters.
[0134] The application scenarios of the technical solutions provided in this application are illustrated below using the aforementioned technical terms.
[0135] In short-range communication within the field of communications, terminal devices can communicate using either wired or wireless communication.
[0136] For example, in short-range communication within the fields of autonomous driving and smart cockpits, terminal devices participating in short-range communication in a smart cockpit can include the vehicle infotainment system (CDC), as well as smart terminals (such as mobile phones) that can communicate with the CDC, in-vehicle audio-visual equipment (such as speakers, microphones, or screens), and other smart wearable devices (such as headphones). Communication between the CDC and smart terminals, and between smart terminals and smart wearable devices, is conducted wirelessly (e.g., using Bluetooth technology), while communication between the CDC and in-vehicle audio-visual equipment typically uses wired communication.
[0137] When the number of terminal devices using wired communication increases in short-range communication, the amount of wiring increases, leading to wiring difficulties. For example, when the number of in-vehicle audio-visual devices in a smart cockpit increases, the wiring between the vehicle's infotainment system and these devices also increases, causing wiring difficulties within the vehicle.
[0138] To reduce the number of cables and simplify wiring in short-range communication, this application proposes that all terminal devices involved in short-range communication communicate wirelessly. For example, in a smart cockpit, communication can be used between smart terminals and smart wearable devices, between smart terminals and the vehicle's infotainment system, and between in-vehicle audio-visual equipment and the vehicle's infotainment system. This would solve the problem of difficult wiring within the vehicle.
[0139] In wireless communication, terminal devices participating in short-range communication need to share wireless or time-frequency resources. For example, terminal devices in a smart cockpit need to share wireless or time-frequency resources. In this case, logically, the terminal devices participating in short-range communication typically include a master node and slave nodes. The master node has resource allocation capabilities and can allocate or schedule time-frequency resources for the slave nodes connected to it. Slave nodes do not have resource scheduling capabilities and use the time-frequency resources allocated or scheduled for them by the master node, or autonomously obtain a portion of the time-frequency resources from the configured time-frequency resources, to communicate with the master node.
[0140] Additionally, there may be isolated nodes that can autonomously acquire time-frequency resources from a pre-configured resource pool or other resource pools to communicate with other terminal devices (such as other isolated nodes).
[0141] Therefore, how to effectively configure time and frequency resources to ensure efficient communication between various terminal devices participating in short-range communication has become a technical problem that urgently needs to be solved by those skilled in the art.
[0142] To address the aforementioned technical problems, this application provides the following technical solutions, the details of which can be found below.
[0143] It should be noted that the terminal device in this application can be stationary or mobile. The terminal device can include communication terminals, vehicle-mounted devices, mobile devices, user terminals, mobile terminals, wireless communication devices, portable terminals, user agents, user devices, service devices, or user equipment (UE), etc., which are devices located at the outermost edge of a computer network and are mainly used for data input and output or display of processing results. It can also be a software client or application installed on or running on any of the above-mentioned devices. For example, the terminal device can be a mobile phone, cordless phone, smartwatch, wearable device, tablet device, handheld device with wireless communication capabilities, computing device, vehicle-mounted communication module, smart meter, or other processing device connected to a wireless modem.
[0144] The technical solutions provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0145] See Figure 1 , Figure 1 A flowchart illustrating one embodiment of the resource allocation method provided in this application, which can be applied to a first terminal device and may include the following steps:
[0146] Step S101: Obtain at least one resource parameter.
[0147] In this embodiment, the first terminal device can be a master node with resource allocation capabilities. Furthermore, the first terminal device allocates time-frequency resources from a resource pool to other terminal devices within its communication domain. For example, the first terminal device can be an in-vehicle infotainment system (IVS), which can obtain time-frequency resources from the resource pool and allocate them to other terminal devices (such as in-vehicle audio / video equipment) within its VCS domain (CDC domain). Alternatively, the first terminal device can be a smart terminal, such as a mobile phone, which can obtain time-frequency resources from the resource pool and allocate them to other terminal devices (such as smart wearable devices) within its mobile phone domain. Typically, the resource pool is a pre-configured or pre-defined resource pool. Optionally, the resource pool from which the first terminal device obtains time-frequency resources can also be a resource pool configured for it by other terminal devices.
[0148] Before the first terminal device obtains time-frequency resources from the resource pool, it needs to obtain or determine at least one resource parameter. The at least one resource parameter is used to characterize the attribute requirements or feature requirements of the time-frequency resources selected by the first terminal device from the resource pool. The first terminal device can obtain time-frequency resources from the resource pool based on the at least one resource parameter and allocate time-frequency resources to other terminal devices in its communication domain.
[0149] For example, the at least one resource parameter may include at least one of the following: channel occupancy information, modulation and coding scheme (MCS) information, resource period information, resource duration information, etc.
[0150] The channel occupancy information indicates the ratio of the time-frequency resources acquired by the first terminal device to the total resources of the aforementioned resource pool to which those time-frequency resources belong. In other words, the channel occupancy information constrains the size of the time-frequency resources that the first terminal device can acquire. Optionally, the channel occupancy information included in the at least one resource parameter can be maximum channel occupancy information, and the actual size of the time-frequency resources acquired by the first terminal device can be less than or equal to the size of the time-frequency resources indicated by the maximum channel occupancy information.
[0151] For example, assuming that the channel occupancy information included in the at least one resource parameter is 0.1, then the maximum ratio of the time-frequency resources obtained by the first terminal device to the total resources of the resource pool to which the time-frequency resources belong is 0.1, and the first terminal device can only obtain no more than 10% of the time-frequency resources from the resource pool.
[0152] For example, in a time-division system, channel occupancy information can be the duty ratio.
[0153] It is understood that channel occupancy information can be an index or indication used to indicate or characterize the ratio of the time-frequency resources acquired by the first terminal device to the total resources of the resource pool to which those time-frequency resources belong. This application does not limit this.
[0154] The modulation and coding scheme information is used to indicate the available modulation and coding schemes when the first terminal device uses the acquired time and frequency resources. It is understood that the modulation and coding scheme information included in the at least one resource parameter constrains the modulation and coding schemes used by the first terminal device to send data information to the second terminal device.
[0155] Optionally, the modulation coding scheme information may indicate a specific modulation coding scheme, or it may indicate a modulation coding range / modulation coding scheme indication sequence consisting of the minimum modulation code and the maximum modulation code. Optionally, the modulation coding scheme information may also include at least one of the minimum modulation code and the maximum modulation code.
[0156] For example, assuming that the modulation and coding scheme information included in the at least one resource parameter includes a minimum modulation and coding index of 001 and a maximum modulation and coding index of 010, where 001 indicates binary phase shift keying (BPSK) and 010 indicates quadrature phase shift keying (QPSK), then the time and frequency resources selected by the first terminal device can only use BPSK or QPSK modulation.
[0157] For example, assuming that the modulation and coding scheme information included in the at least one resource parameter only includes the minimum modulation and coding index 001, then the time and frequency resources selected by the first terminal device can only use BPSK modulation.
[0158] For example, assuming that the modulation and coding scheme information included in the at least one resource parameter contains a modulation and coding scheme indication sequence {001,010}, then the time and frequency resources selected by the first terminal device use BPSK or QPSK modulation.
[0159] Optionally, the modulation and coding scheme used by the first terminal device to send data information to the second terminal device (downlink) may be the same as or different from the modulation and coding scheme used by the second terminal device to send data information to the first terminal device (uplink).
[0160] Resource periodicity information is used to indicate the period during which the first terminal device is allowed to acquire time-frequency resources. It is understood that the time-frequency resources selected by the first terminal device may have periodicity attributes; in this case, the resource periodicity information constrains the period during which the first terminal device is allowed to acquire the time-frequency resources. For example, assuming the resource periodicity information indicates 1-10, this resource periodicity information indicates that the first terminal device can acquire one or more time-frequency resources with periods of 100ms, 200ms, ..., and 1000ms. Assuming the resource periodicity information indicates 3 and 5, this resource periodicity information indicates that the first terminal device can acquire time-frequency resources with periods of 300ms and / or 500ms from the corresponding resource pool.
[0161] The resource duration information indicates the lifecycle duration of the time-frequency resource acquired by the first terminal device. After acquiring the time-frequency resource, the first terminal device needs to reselect the time-frequency resource after the lifecycle of this acquisition ends. For example, assuming the resource duration information of the first terminal device is 1, then the lifecycle represented by this resource duration information is 10 seconds, and the first terminal device needs to reselect the time-frequency resource after 10 seconds of this acquisition.
[0162] It should be noted that the resource parameters in this embodiment can also be defined as resource selection parameters, resource selection information, resource selection information or other names that can characterize the attribute requirements or feature requirements of the time and frequency resources selected by the first terminal device from the resource pool, etc., and this application does not impose any restrictions on this.
[0163] There are several ways to obtain at least one resource parameter, such as:
[0164] Optionally, the at least one resource parameter can be pre-configured in the factory settings of the first terminal device. Based on this, obtaining the at least one resource parameter can be achieved as follows: based on the factory settings, obtain the pre-configured at least one resource parameter. Using this method, the first terminal device can quickly obtain the at least one resource parameter it needs, and the process is relatively simple.
[0165] Optionally, at least one resource parameter can be configured for the first terminal device through other management devices (e.g., roadside units, roadside base stations, or cloud platforms). Based on this, obtaining at least one resource parameter can also be achieved as follows: receiving the at least one resource parameter sent by the management device via system messages, broadcast messages, or other types of signaling, wherein the at least one resource parameter is configured by the management device for the first terminal device. Using this method, the first terminal device can quickly obtain at least one resource parameter it needs, and the process is relatively simple. The aforementioned system messages or broadcast messages can be collectively referred to as system broadcast messages.
[0166] Optionally, the correspondence between the capability information and resource parameters of the terminal device can be pre-configured or defined. Each capability information of the terminal device can correspond to at least one resource parameter. For example, a first resource parameter set can be pre-configured or defined, containing multiple resource parameters corresponding to multiple capability information. Based on this, obtaining at least one resource parameter can also be achieved as follows: Based on the capability information of the first terminal device, the at least one resource parameter is obtained from the first resource parameter set, and this at least one resource parameter corresponds to the capability information of the first terminal device.
[0167] Optionally, the correspondence between device types and resource parameters of the terminal devices can be pre-configured or defined in the system of the first terminal device. Each device type of the terminal device can correspond to at least one resource parameter. For example, a first set of resource parameters can be pre-configured or defined, containing multiple resource parameters corresponding to multiple device types. Based on this, obtaining at least one resource parameter can also be achieved as follows: according to the device type of the first terminal device, the at least one resource parameter is obtained from the first set of resource parameters, and the at least one resource parameter corresponds to the device type of the first terminal device.
[0168] Optionally, the correspondence between channel busy rate information and resource parameters can be pre-configured or defined in the system of the first terminal device. Each channel busy rate information can correspond to at least one resource parameter. For example, a first resource parameter set can be pre-configured or defined, containing multiple resource parameters corresponding to multiple channel busy rate information. Based on this, obtaining at least one resource parameter can also be achieved as follows: Based on the channel busy rate information of the first terminal device, the at least one resource parameter is obtained from the first resource parameter set, and this at least one resource parameter corresponds to the channel busy rate information of the first terminal device. In this embodiment, the channel busy rate information is used to indicate the channel load rate of the resource pool. Generally, when the channel load rate of the resource pool indicated by the channel busy rate information of the first terminal device is low, the first terminal device can select more time-frequency resources. Optionally, the resource pool can be a resource pool from which the first terminal device selects time-frequency resources.
[0169] Optionally, the correspondence between the terminal device's capability information and device type and resource parameters can be pre-configured or defined in the system of the first terminal device. Each terminal device's capability information and device type can correspond to at least one resource parameter. For example, a first resource parameter set can be pre-configured or defined, containing multiple resource parameters corresponding to multiple capability information and device types. Based on this, obtaining at least one resource parameter can also be achieved as follows: Based on the first terminal device's capability information and device type, the at least one resource parameter is obtained from the first resource parameter set, and this at least one resource parameter corresponds to the first terminal device's capability information and device type.
[0170] Optionally, the correspondence between the capability information and resource parameters of the terminal device can be configured or defined in the system of the management device (e.g., roadside unit, roadside base station or cloud platform). Each capability information of the terminal device can correspond to at least one resource parameter. For example, a first set of resource parameters can be configured or defined in the system of the management device. The first set of resource parameters contains multiple resource parameters corresponding to multiple capability information.
[0171] Based on this, obtaining at least one resource parameter can also be achieved in the following manner: receiving a first set of resource parameters sent by the management device through a system broadcast message; obtaining the at least one resource parameter from the first set of resource parameters according to the capability information of the first terminal device, wherein the at least one resource parameter corresponds to the capability information of the first terminal device.
[0172] Optionally, obtaining at least one resource parameter can also be achieved in the following manner: sending a request message to a management device, the request message being used to request the management device to send a first set of resource parameters to the first terminal device; receiving the first set of resource parameters sent by the management device through a response message; and obtaining the at least one resource parameter from the first set of resource parameters according to the capability information of the first terminal device, the at least one resource parameter corresponding to the capability information of the first terminal device.
[0173] Optionally, the system for managing the device can also configure or define the correspondence between the device type and resource parameters of the terminal device. Each device type of the terminal device can correspond to at least one resource parameter. For example, a first set of resource parameters can be configured or defined in the system for managing the device. This first set of resource parameters contains multiple resource parameters corresponding to multiple device types.
[0174] Based on this, obtaining at least one resource parameter can also be achieved in the following manner: receiving a first set of resource parameters sent by the management device through a system broadcast message; obtaining the at least one resource parameter from the first set of resource parameters according to the device type of the first terminal device, wherein the at least one resource parameter corresponds to the device type of the first terminal device.
[0175] Optionally, obtaining at least one resource parameter can also be achieved in the following manner: sending a request message to a management device, the request message being used to request the management device to send a first set of resource parameters to the first terminal device; receiving the first set of resource parameters sent by the management device through a response message; and obtaining the at least one resource parameter from the first set of resource parameters according to the device type of the first terminal device, the at least one resource parameter corresponding to the device type of the first terminal device.
[0176] Optionally, the correspondence between channel busy rate information and resource parameters of terminal devices can be configured or defined in the system of the management device (e.g., roadside unit, roadside base station or cloud platform). Each channel busy rate information can correspond to at least one resource parameter. For example, a first resource parameter set can be configured or defined in the system of the management device. The first resource parameter set contains multiple resource parameters corresponding to multiple channel busy rate information.
[0177] Based on this, obtaining at least one resource parameter can also be achieved in the following manner: receiving a first set of resource parameters sent by the management device through a system broadcast message; obtaining the at least one resource parameter from the first set of resource parameters according to the channel busy rate information of the first terminal device, wherein the at least one resource parameter corresponds to the channel busy rate information of the first terminal device.
[0178] Optionally, obtaining at least one resource parameter can also be achieved in the following manner: sending a request message to a management device, the request message being used to request the management device to send a first set of resource parameters to the first terminal device; receiving the first set of resource parameters sent by the management device through a response message; and obtaining the at least one resource parameter from the first set of resource parameters based on the channel busy rate information of the first terminal device, the at least one resource parameter corresponding to the channel busy rate information of the first terminal device.
[0179] Optionally, the system for managing the device can also configure or define the correspondence between the terminal device's capability information and device type and resource parameters. Each terminal device's capability information and device type can correspond to at least one resource parameter. For example, a first set of resource parameters can be configured or defined in the system for managing the device. This first set of resource parameters contains multiple resource parameters corresponding to multiple capability information and device types.
[0180] Based on this, obtaining at least one resource parameter can also be achieved in the following manner: receiving a first set of resource parameters sent by the management device through a system broadcast message; obtaining the at least one resource parameter from the first set of resource parameters according to the capability information and device type of the first terminal device, wherein the at least one resource parameter corresponds to the capability information and device type of the first terminal device.
[0181] Optionally, obtaining at least one resource parameter can also be achieved in the following manner: sending a request message to a management device, the request message being used to request the management device to send a first set of resource parameters to the first terminal device; receiving the first set of resource parameters sent by the management device through a response message; and obtaining the at least one resource parameter from the first set of resource parameters according to the capability information and device type of the first terminal device, the at least one resource parameter corresponding to the capability information and device type of the first terminal device.
[0182] It should be noted that, typically in a specific application scenario, the content or type of communication differs across communication domains. Terminal devices belonging to different communication domains also obtain different attributes or characteristics of time-frequency resources from the pre-configured resource pool. Furthermore, in different application scenarios, the attributes or characteristics of time-frequency resources obtained by the first terminal device in a particular communication domain from the pre-configured resource pool also differ. Therefore, in any of the above implementations for obtaining at least one resource parameter, the setting of the at least one resource parameter is related to the specific application scenario and the content or type of communication. Optionally, the specific application scenario and the content or type of communication can be associated with the device type, capability information, and / or channel busy rate information of the first terminal device.
[0183] In this embodiment, the capability information of the first terminal device is used to indicate the priority of the time-frequency resources acquired by the first terminal device. That is, the capability information of the first terminal device in different communication domains can be set according to the specific application scenario and the content or type of communication, and this capability information indicates the priority of the time-frequency resources acquired by the first terminal device in different communication domains. For example, the capability information of the first terminal device may include at least one of the following: the identity information of the first terminal device; the communication domain type information of the first terminal device; and the communication domain priority information of the first terminal device.
[0184] The identity information of the first terminal device is used to indicate that the first terminal device has resource allocation or scheduling capabilities, which may include having resource allocation / scheduling capabilities or not having resource allocation / scheduling capabilities, and the identity information of the first terminal device may indicate the priority of the time and frequency resources acquired by the first terminal device.
[0185] For example, the identity information of the first terminal device can be information indicating the type of device with resource allocation capability (such as vehicle-mounted systems, mobile phones, portable terminals, etc.), and it is generally assumed that the time and frequency resources obtained by the vehicle-mounted system have a higher priority than those obtained by the mobile phone, and the time and frequency resources obtained by the mobile phone have a higher priority than those obtained by the portable terminal; or the identity information of the first terminal device can also be an identity identifier that identifies the first terminal device as the master node, and the identity identifier can indicate the priority of the time and frequency resources obtained by the first terminal device.
[0186] For example, the identity information of the first terminal device can also be indicated by a device identification code. Generally, the device identification code encodes the terminal device according to certain encoding rules, where different fields in the device identification code have different meanings. The identity information of the first terminal device can be obtained by parsing some or all of the fields.
[0187] For example, a device identifier can use 2 bits to indicate the device type, such as 00 for a CDC, 01 for a mobile phone, and 10 for a wearable device. Alternatively, identity information can be indicated with 1 bit, such as 0 for a master node (with resource allocation / scheduling functions) and 1 for a slave node (which only obeys the master node's scheduling).
[0188] For example, the identity information of the first terminal device can also be indicated by the media access control address (MAC address) or the physical address, similar to the device identification code, which will not be elaborated here.
[0189] The communication domain type information of the first terminal device is used to indicate the communication domain type to which the first terminal device belongs. For example, the communication domain type of the first terminal device can be a CDC domain or a mobile domain, etc. Generally, by default, the time and frequency resources obtained by the first terminal device in the CDC domain have a higher priority than the time and frequency resources obtained by the first terminal device in the mobile domain.
[0190] The first terminal device may belong to the CDC domain or the mobile phone domain. For example, if the first terminal device is a smart terminal, it belongs to the CDC domain when the smart terminal is scheduled by the CDC, and it belongs to the mobile phone domain when the smart terminal acts as the master node to schedule smart wearable devices.
[0191] The communication domain priority information of the first terminal device is used to indicate the priority of the communication domain to which the first terminal device belongs. For example, the CDC domain can have the highest priority, followed by the mobile phone domain. Terminal devices with higher priority in their communication domains have higher priority in time-frequency resource allocation and can occupy more or better time-frequency resources.
[0192] Step S102: Determine the first time-frequency resource based on the at least one resource parameter.
[0193] After obtaining at least one resource parameter, the first terminal device can acquire a first time-frequency resource based on the at least one resource parameter. Optionally, it can allocate resources to other terminal devices within its communication domain based on the acquired first time-frequency resource. The first time-frequency resource can be a time-frequency resource acquired by the first terminal device from a pre-configured resource pool based on the at least one resource parameter, or a time-frequency resource acquired by the first terminal device from a resource pool configured for it by other terminal devices based on the at least one resource parameter.
[0194] For example, if the first terminal device obtains at least one resource parameter, such as a channel occupancy rate of 0.1, then the resource amount of the first time-frequency resource obtained based on the at least one resource parameter is one-tenth of the total resource amount of the resource pool to which the first time-frequency resource belongs.
[0195] Optionally, the first terminal device may determine the first time-frequency resource based on sensing; that is, the first terminal device listens to the resource pool, measures the power of each sub-channel in the resource pool, and selects the time-frequency resource with a smaller load from the resource pool, that is, selects the time-frequency resource corresponding to the sub-channel with the lowest power among all sub-channels, or selects the time-frequency resource corresponding to the sub-channel with power less than a power threshold value, wherein the power threshold value may be a power threshold value defined by the protocol.
[0196] Optionally, the first terminal device may determine the first time-frequency resource in a random resource selection manner, that is, the first terminal device randomly selects time-frequency resources from the resource pool.
[0197] Step S103: Send at least one resource configuration information to at least one second terminal device, wherein the at least one resource configuration information is used to configure at least one second time-frequency resource for the at least one second terminal device, and the at least one second time-frequency resource belongs to the first time-frequency resource.
[0198] After the first terminal device obtains the first time-frequency resource, it can allocate the second time-frequency resource to the second terminal device in its communication domain. The second time-frequency resource belongs to the first time-frequency resource, that is, the second time-frequency resource is a part of the first time-frequency resource. The second terminal device can use the second time-frequency resource allocated to it by the first terminal device to communicate with the first terminal device.
[0199] For example, within the vehicle-mounted infotainment system (V2X) domain, after acquiring the first time-frequency resource, the V2X system, acting as the first terminal device, can select a second time-frequency resource from the first time-frequency resource and allocate it to the in-vehicle audio / video equipment within the V2X domain. The in-vehicle audio / video equipment can then use the second time-frequency resource allocated by the V2X system to communicate with the V2X system. Similarly, within the mobile phone domain, after acquiring the first time-frequency resource, the mobile phone, acting as the first terminal device, can select a second time-frequency resource from the first time-frequency resource and allocate it to the smart wearable device within the mobile phone domain. The smart wearable device can then use the second time-frequency resource allocated by the mobile phone to communicate with the mobile phone. Typically, in the smart cockpit field, the first time-frequency resource acquired by the V2X system is superior to or more abundant than the first time-frequency resource acquired by the mobile phone.
[0200] In this embodiment, the second terminal device can accept resource scheduling or allocation from the first terminal device. It can be a terminal device with resource scheduling or allocation capabilities, or it can be a terminal device without such capabilities. For example, the second terminal device can be an in-vehicle audio-visual device, which lacks resource scheduling or allocation capabilities and accepts resource scheduling or allocation from the first terminal device's in-vehicle system. A mobile phone, being a terminal device with resource scheduling or allocation capabilities, can join the in-vehicle system domain as a second terminal device and accept resource scheduling or allocation from the in-vehicle system.
[0201] The resource configuration information in this embodiment is also called time-frequency resource configuration information or wireless resource configuration information. It refers to the information sent by the first terminal device to the second terminal device in this embodiment to configure wireless resources for the second terminal device. After receiving the resource configuration information, the second terminal device can obtain the wireless resources or time-frequency resources configured for it by parsing the resource configuration information, that is, the second time-frequency resources.
[0202] Optionally, resource configuration information can be included in system broadcast messages. For example, it can be included in the master information block (MIB) or the system information block (SIB) of the system broadcast message. The MIB is typically carried on the physical broadcast channel (PBCH), while the SIB is typically carried on radio resource control (RRC) signaling. It is understood that resource configuration can also be called resource allocation or resource scheduling; resource configuration information can also be called resource allocation information or resource scheduling information.
[0203] Optionally, the resource configuration information in this embodiment can also be carried on dedicated radio resource control signaling.
[0204] In some optional embodiments of this application, the first terminal device may further send first resource indication information to other terminal devices, the first resource indication information being used to indicate a first time-frequency resource; or, it may further send at least one of the first terminal device's capability information and device type information to other terminal devices; or, it may further send at least one of the first terminal device's capability information and device type information, along with the first resource indication information, to other terminal devices. This allows the first terminal device to be informed of the time-frequency resource information it has acquired, thereby avoiding communication conflicts with other terminal devices.
[0205] In the resource configuration method provided in this application embodiment, a first terminal device first acquires at least one resource parameter, then determines a first time-frequency resource based on the at least one resource parameter, and finally sends at least one resource configuration information to at least one second terminal device. The at least one resource configuration information is used to configure at least one second time-frequency resource for the at least one second terminal device, and the at least one second time-frequency resource belongs to the first time-frequency resource. Therefore, when this method is applied to short-range communication, such as in the fields of autonomous driving and intelligent cockpits, terminal devices with resource allocation capabilities participating in short-range communication can acquire time-frequency resources based on their acquired resource parameters and allocate these resources to connected terminal devices, i.e., to other terminal devices within their communication domain, thereby ensuring efficient communication between the participating terminal devices.
[0206] See Figure 2 , Figure 2 A flowchart illustrating one embodiment of the communication method provided in this application, which can be applied to a first terminal device, includes the following steps:
[0207] Step S201: Receive the first resource configuration information sent from the second terminal device.
[0208] It should be noted here that... Figure 2 The first terminal device in the illustrated embodiment and Figure 1 The meaning of the first terminal device in the illustrated embodiments is different. Figure 2 The second terminal device in the illustrated embodiment and Figure 1 The meaning of the second terminal device in the illustrated embodiments is also different.
[0209] exist Figure 1In the illustrated embodiment, the first terminal device can be the master node, possessing resource allocation capabilities. For example, the first terminal device can be an in-vehicle system or a mobile phone in a smart cockpit. The second terminal device can accept resource scheduling or allocation from the first terminal device. It can be a terminal device with resource allocation or scheduling capabilities, or it can be a terminal device without such capabilities. The first terminal device and the second terminal device belong to the same communication domain.
[0210] exist Figure 2 In the illustrated embodiment, the first terminal device is a terminal device that can be resource-scheduled or allocated. The first terminal device can establish a connection with the second terminal device, join the communication domain where the second terminal device is located, and accept resource scheduling or allocation from the second terminal device. Alternatively, it can disconnect from the second terminal device, not join the communication domain where the second terminal device is located, and directly obtain time-frequency resources from the first resource pool. For details, please refer to the following embodiments. The second terminal device is a terminal device with resource scheduling or allocation capabilities.
[0211] For example: Figure 2 In the illustrated embodiment, the first terminal device can be a mobile phone, and the second terminal device can be an in-vehicle system. The mobile phone can choose to join the in-vehicle system domain and receive resource scheduling or allocation from the in-vehicle system, or it can choose not to join the in-vehicle system domain and directly obtain time and frequency resources from the first resource pool.
[0212] Figure 2 In the illustrated embodiment, to ensure the communication performance of the communication domain where the second terminal device resides, the second terminal device can divide its time-frequency resource pool into at least two resource pools: a shared resource pool and a scheduled resource pool. The shared resource pool can be shared by terminal devices outside the communication domain of the second terminal device. Typically, the second terminal device can send information about the shared resource pool to terminal devices outside its communication domain via system broadcast messages; that is, terminal devices outside the communication domain of the second terminal device can determine the resources through system broadcast messages sent by the second terminal device. The scheduled resource pool is a dedicated resource pool for the communication domain of the second terminal device, meaning it is exclusively for communication use within that domain. It ensures the communication performance of the communication domain, and the time-frequency resources allocated by the second terminal device to other terminal devices within its communication domain come from the scheduled resource pool. The shared resource pool, however, can be used by all terminal devices outside the communication domain of the second terminal device, and its communication performance is typically not guaranteed.
[0213] For example, the vehicle-mounted infotainment system and in-vehicle audio / video equipment constitute the vehicle-mounted domain, while mobile phones and smart wearable devices constitute the mobile phone domain. To ensure the communication performance of the vehicle-mounted domain, the vehicle-mounted infotainment system can divide its time-frequency resource pool into a shared resource pool and a scheduled resource pool. The scheduled resource pool is dedicated to communication within the vehicle-mounted domain, and communication between the vehicle-mounted infotainment system and in-vehicle audio / video equipment uses the time-frequency resources in the scheduled resource pool. For communication between terminal devices outside the vehicle-mounted domain, such as mobile phones and smart wearable devices, the time-frequency resources in the shared resource pool can be used. Furthermore, the shared resource pool can also be shared by terminal devices outside the vehicle-mounted domain, excluding mobile phones and smart wearable devices.
[0214] It should be noted that the time-frequency resources of the shared resource pool and the scheduling resource pool are generally completely orthogonal (non-overlapping), but there may be some overlap, which depends entirely on the implementation, and this invention does not impose any restrictions on this.
[0215] The first resource configuration information sent by the second terminal device corresponds to the second resource pool, and the scheduling resource pool in the above embodiment can be used as the second resource pool. The correspondence between the first resource configuration information and the second resource pool can be explicit or implicit. When the second terminal device sends the first resource configuration information to the first terminal device, it can send only the first resource configuration information, or it can send both the information of the second resource pool and the first resource configuration information simultaneously. The information of the second resource pool can be pre-configured for the second terminal device.
[0216] The first resource configuration information in this embodiment is used to configure time-frequency resources for the first terminal device, or to characterize the attributes of the time-frequency resources configured for the first terminal device, or to characterize the attributes of the time-frequency resources that can be configured for the first terminal device. For example, the first resource configuration information may include at least one of first channel busy rate information, first modulation and coding scheme information, and first resource quantity information.
[0217] The first channel busy rate information is used to indicate the channel load rate status of the second resource pool. The channel busy ratio (CBR) describes the busyness or load level of the time-frequency resources in the second resource pool. For example, the CBR can be the proportion of the number of sub-channels in the second resource pool whose power exceeds a preset threshold within a certain period, relative to the total number of sub-channels in the second resource pool. A smaller CBR indicates a lower load on the second resource pool. The time period and the preset threshold can be defined by the protocol.
[0218] Optionally, the first channel busy rate information can be a channel load rate. For example, the first channel busy rate information could be: a channel load rate of 20%, used to indicate that the channel load rate of the second resource pool is 20%. As another example, the first channel busy rate information can be a channel load level indicator, for example, channel load level indicators are 1, 2, and 3, where 1 indicates a high channel load level, corresponding to a load rate greater than 50%; 2 indicates a medium channel load level, corresponding to a load rate of [20%, 50%]; and 3 indicates a low channel load level, corresponding to a load rate less than 20%.
[0219] Optionally, the first channel busy rate information can also be obtained by the first terminal device by measuring the second resource pool.
[0220] The information on the first modulation and coding scheme can be found in the above embodiments and will not be described in detail here.
[0221] The first resource quantity information is used to indicate the amount of time-frequency resources that the second terminal device schedules or configures for the first terminal device, or to indicate the amount of time-frequency resources that the second terminal device can schedule or configure for the first terminal device. It is understood that the first resource quantity information can indicate the resource quantity for a single scheduling or the resource quantity for multiple schedulings. Optionally, the resource quantity for a single scheduling can be the average or maximum resource quantity for each scheduling. The first resource quantity information may be implicit; for example, the first terminal device can calculate or statistically obtain this first resource quantity information by acquiring the time-frequency resources configured for it by the second terminal device.
[0222] Understandably, if the first terminal device chooses to join the communication domain of the second terminal device and accepts resource scheduling or allocation from the second terminal device, the second terminal device can schedule time-frequency resources for the first terminal device through dynamic scheduling or semi-static scheduling. Dynamic scheduling refers to the second terminal device scheduling time-frequency resources for the first terminal device, which can be time-frequency resources scheduled for a single information transmission. Semi-static scheduling refers to the second terminal device scheduling time-frequency resources for the first terminal device, which can be time-frequency resources scheduled for periodic transmissions.
[0223] If the second terminal device schedules time and frequency resources for the first terminal device using dynamic scheduling, the second terminal device will send a dynamic scheduling message to the first terminal device to inform it that the time and frequency resources are being scheduled dynamically. If the second terminal device schedules time and frequency resources for the first terminal device using semi-static scheduling, the second terminal device will send a semi-static scheduling message to the first terminal device to inform it that the time and frequency resources are being scheduled semi-statically.
[0224] When the second terminal device sends a semi-static scheduling message to the first terminal device, it can include the first resource configuration information in the semi-static scheduling message, which can be defined as the first semi-static scheduling message. Optionally, the first semi-static scheduling message can be carried on RRC signaling.
[0225] Optionally, the first resource configuration information in this embodiment may also be included in system information, broadcast messages, or RRC messages sent by the second terminal device. For example, it may be included in the MIB or the SIB. The MIB is typically carried on the PBCH, while the SIB is typically carried on RRC signaling.
[0226] Optionally, the first resource configuration information in this embodiment can also be carried on dedicated radio resource control signaling.
[0227] Step S202: Obtain the second resource configuration information corresponding to the first resource pool.
[0228] As can be seen from the above embodiments, the second terminal device can divide its time and frequency resource pool into a shared resource pool and a scheduling resource pool. The shared resource pool can be shared by terminal devices outside the communication domain where the second terminal device is located, while the scheduling resource pool is dedicated to communication use within the communication domain where the second terminal device is located.
[0229] When the first terminal device does not accept the resource scheduling or allocation of the second terminal device, it can directly obtain time and frequency resources from the first resource pool.
[0230] Optionally, the aforementioned shared resource pool can be used as the first resource pool.
[0231] Optionally, a pre-configured resource pool can be used as the first resource pool, which can be pre-configured for the first terminal device.
[0232] Optionally, the first resource pool may further include a shared resource pool and a pre-configured resource pool. The pre-configured resource pool is different from the shared resource pool.
[0233] Optionally, in this embodiment, the second resource configuration information corresponding to the first resource pool can be included in the system broadcast message sent by the second terminal device. For example, it can be included in the MIB of the system broadcast message or in the SIB of the system broadcast message. The MIB is usually carried on the PBCH, and the SIB is usually carried on the RRC signaling.
[0234] Optionally, the second resource configuration information in this embodiment can also be carried on dedicated radio resource control signaling.
[0235] Optionally, the second resource configuration information in this embodiment can also be pre-configured to the first terminal device.
[0236] The second resource configuration information in this embodiment may include at least one of the following: second channel busy rate information, second modulation and coding scheme information, and second resource quantity information.
[0237] The second channel busy rate information and the second modulation and coding scheme information can be found in the above embodiments, and will not be described in detail here.
[0238] The second resource quantity information is used to indicate the amount of time-frequency resources that the first terminal device can obtain from the first resource pool. Optionally, the second resource quantity information can indicate the resource quantity of a single resource selection or the resource quantity of multiple resource selections. Optionally, the resource quantity of a single resource selection can be the average resource quantity or the maximum resource quantity of each resource selection.
[0239] It is understandable that the first terminal device can obtain time-frequency resources from the first resource pool by means of random resource selection or by means of resource selection based on a sensing resource selection mechanism.
[0240] There are several ways to obtain the configuration information of the second resource corresponding to the first resource pool, such as:
[0241] Optionally, the second resource configuration information corresponding to the first resource pool can be pre-configured in the first terminal device. Based on this, obtaining the second resource configuration information corresponding to the first resource pool can be achieved in the following way: obtaining the pre-configured second resource configuration information corresponding to the first resource pool.
[0242] Optionally, the second resource configuration information corresponding to the first resource pool can also be pre-configured in the second terminal device. Based on this, obtaining the second resource configuration information corresponding to the first resource pool can also be achieved in the following way: obtaining the second resource configuration information corresponding to the first resource pool sent by the second terminal device through a system broadcast message or configured through dedicated radio resource control signaling.
[0243] Step S203: Based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device.
[0244] After obtaining the first resource configuration information and the second resource configuration information, the first terminal device can determine the attributes of the time-frequency resources in the first resource pool and the second resource pool based on the first and second resource configuration information. This allows it to determine the quality of the time-frequency resources in the first and second resource pools, and further determine whether to join the communication domain of the second terminal device and have the second terminal device schedule time-frequency resources for it, or to choose not to accept the scheduling of the second terminal device and obtain time-frequency resources from the first resource pool, thereby obtaining better or more time-frequency resources to better meet its own communication needs or improve its own communication performance.
[0245] Optionally, if the first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, if the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or equal to a first threshold value; disconnect the connection with the second terminal device.
[0246] Optionally, if the resource quantity indicated by the first resource quantity information is less than or equal to the resource quantity indicated by the second resource quantity information, the connection with the second terminal device is disconnected.
[0247] Optionally, if the first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than or equal to a second threshold value; disconnect the connection with the second terminal device.
[0248] For example, modulation and coding schemes are typically represented using 2^N, such as BPSK (2^1), QPSK (2^2), and 64QAM (2^6). It's understandable that QPSK is greater than BPSK. Assuming two modulation codes are 2^N1 (the first modulation code) and 2^N2 (the second modulation code), the distance between the first and second modulation codes is N1 - N2.
[0249] Optionally, if the first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, if the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or equal to a third threshold value; a connection establishment request is initiated to the second terminal device.
[0250] Optionally, if the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, a connection establishment request is initiated to the second terminal device.
[0251] Optionally, if the first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the first modulation code indicated by the first modulation code scheme information and the second modulation code indicated by the second modulation code scheme information is greater than or equal to a fourth threshold value; a connection establishment request is initiated to the second terminal device.
[0252] Optionally, if the first channel load rate indicated by the first channel busy rate information is greater than the second channel load rate indicated by the second channel busy rate information; or, if the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than a first threshold value; disconnect the connection with the second terminal device.
[0253] Optionally, if the resource quantity indicated by the first resource quantity information is less than the resource quantity indicated by the second resource quantity information, the connection with the second terminal device is disconnected.
[0254] Optionally, if the first modulation code indicated by the first modulation coding scheme information is less than or equal to the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than a second threshold value; disconnect the connection with the second terminal device.
[0255] Optionally, if the first channel load rate indicated by the first channel busy rate information is less than or equal to the second channel load rate indicated by the second channel busy rate information; or if the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than a third threshold value; a connection establishment request is initiated to the second terminal device.
[0256] Optionally, if the resource quantity indicated by the first resource quantity information is greater than or equal to the resource quantity indicated by the second resource quantity information, a connection establishment request is initiated to the second terminal device.
[0257] Optionally, if the first modulation code indicated by the first modulation coding scheme information is greater than the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than a fourth threshold value; a connection establishment request is initiated to the second terminal device.
[0258] Optionally, the conditions corresponding to the two or more parameters that initiate the connection establishment request to the second terminal device can be combined into one condition. Similarly, the conditions corresponding to the two or more parameters that disconnect from the second terminal device can be combined into one condition. For example:
[0259] Optionally, if the first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information, and the first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information, the connection with the second terminal device is disconnected.
[0260] Optionally, if the first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information, and the first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second modulation code indicated by the second modulation coding scheme information, a connection establishment request is initiated to the second terminal device.
[0261] In the communication method provided in this embodiment, the first terminal device can receive first resource configuration information sent from the second terminal device and obtain second resource configuration information corresponding to the first resource pool. Then, based on the first resource configuration information and the second resource configuration information, it can initiate a connection establishment request to the second terminal device or disconnect from the second terminal device. Based on this, applying this method to short-range communication, such as in the fields of autonomous driving and intelligent cockpits, allows each terminal device participating in short-range communication to compare different resource configuration information and choose whether to have resources scheduled or allocated by other terminal devices with resource allocation capabilities. This allows them to obtain better or more time-frequency resources, better meet their own communication needs, or improve their own communication performance.
[0262] The various method embodiments described herein can be independent solutions or combinations based on internal logic, and all such solutions fall within the protection scope of this application.
[0263] It is understood that the methods and operations implemented by the terminal device in the above-described method embodiments can also be implemented by components (such as chips or circuits) that can be used in the terminal device.
[0264] The above mainly describes the solution provided by the embodiments of this application from the perspective of interaction between each network element. It is understood that each network element, such as the first terminal device and the second terminal device, includes a hardware structure or software module, or a combination of both, to implement the above functions. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0265] This application embodiment can divide the terminal device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The following description uses the example of dividing each functional module according to each function.
[0266] The above, combined with Figure 1 and Figure 2 The methods provided in the embodiments of this application are described in detail below. Figures 3 to 5 The apparatus provided in the embodiments of this application is described in detail. It should be understood that the description of the apparatus embodiments corresponds to the description of the method embodiments. Therefore, for content not described in detail, please refer to the method embodiments above. For the sake of brevity, it will not be repeated here.
[0267] See Figure 3 , Figure 3 This is a structural block diagram of one embodiment of the resource allocation device provided in this application. The resource allocation device can be the terminal device itself participating in short-range communication, such as in-vehicle systems or mobile phones used in short-range communication in the fields of autonomous driving and smart cockpits. The resource allocation device can also be a chip or component within the terminal device participating in short-range communication. The resource allocation device can also be in other product forms. The following describes... Figure 3 The resource allocation device is described from a logical functional perspective.
[0268] like Figure 3 As shown, the resource configuration device 300 may include a processing module 301 and a sending module 302. The resource configuration device 300 can be used to perform the above-described... Figure 1The actions performed by the first terminal device in the method embodiment shown.
[0269] For example, the processing module 301 can be used to acquire at least one resource parameter; determine a first time-frequency resource based on the at least one resource parameter; the sending module 302 can be used to send at least one resource configuration information to at least one second terminal device, the at least one resource configuration information being used to configure at least one second time-frequency resource for the at least one second terminal device, the at least one second time-frequency resource belonging to the first time-frequency resource.
[0270] Optionally, the at least one resource parameter is pre-configured.
[0271] Optionally, the at least one resource parameter corresponds to the capability information of the first terminal device, and / or the at least one resource parameter corresponds to the device type of the first terminal device.
[0272] Optionally, the processing module 301 is specifically used to: obtain the at least one resource parameter from a first resource parameter set; the first resource parameter set includes multiple resource parameters corresponding to multiple capability information and / or device types.
[0273] Optionally, the capability information of the first terminal device includes at least one of the following:
[0274] The identity information of the first terminal device; the identity information is used to indicate that the first terminal device has the ability to allocate or schedule time-frequency resources.
[0275] The communication domain type information of the first terminal device;
[0276] The communication domain priority information of the first terminal device; the communication domain priority information is used to indicate the priority of the communication domain of the first terminal device.
[0277] Optionally, the at least one resource parameter includes at least one of the following: channel occupancy information, modulation and coding scheme information, resource period information, and resource duration information.
[0278] Optionally, the sending module 302 is further configured to: send first resource indication information, and / or at least one of the capability information and device type information of the first terminal device, wherein the first resource indication information is used to indicate the first time-frequency resource.
[0279] In other words, the resource allocation device 300 can realize the corresponding implementation according to the embodiments of this application. Figure 1 The steps or processes executed by the first terminal device in the method shown, the resource configuration device 300 may include methods for executing... Figure 1The module of the method executed by the first terminal device in the illustrated method. Furthermore, each module in the resource configuration device 300 and the aforementioned other operations and / or functions are respectively for implementing... Figure 1 The corresponding steps of the method shown. For example, the processing module 301 in the resource allocation device 300 can be used to execute... Figure 1 In steps S101 and S102 of the method shown, the sending module 302 can be used to perform... Figure 1 Step S103 in the method shown.
[0280] It should be understood that the specific process of each module performing the above-mentioned steps has been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0281] See Figure 4 , Figure 4 This is a structural block diagram of one embodiment of the communication device provided in this application. The communication device can be the terminal device itself participating in short-range communication, such as a mobile phone, a terminal device in short-range communication in the fields of autonomous driving and smart cockpits. The communication device can also be a chip or component in a terminal device participating in short-range communication. The communication device can also be in other product forms. The following describes... Figure 4 The communication device is described from a logical functional perspective.
[0282] like Figure 4 As shown, the communication device 400 may include a receiving module 401 and a processing module 402. The communication device 400 can be used to perform the above-described... Figure 2 The actions performed by the first terminal device in the method embodiment shown.
[0283] For example, the receiving module 401 can be used to receive first resource configuration information sent from the second terminal device; the processing module 402 can be used to obtain second resource configuration information corresponding to the first resource pool; and based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect the connection with the second terminal device.
[0284] Optionally, the first resource configuration information includes at least one of the following: first channel busy rate information, first modulation and coding scheme information, and first resource quantity information; the second resource configuration information includes at least one of the following: second channel busy rate information, second modulation and coding scheme information, and second resource quantity information.
[0285] Optionally, the processing module 402 is specifically configured to: disconnect the connection with the second terminal device if the first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, if the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or equal to a first threshold value.
[0286] Optionally, the processing module 402 is specifically configured to: disconnect the connection with the second terminal device if the resource quantity indicated by the first resource quantity information is less than or equal to the resource quantity indicated by the second resource quantity information.
[0287] Optionally, the processing module 402 is specifically configured to: disconnect the connection with the second terminal device if the first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the second modulation code indicated by the second modulation code scheme information and the first modulation code indicated by the first modulation code scheme information is greater than or equal to a second threshold value.
[0288] Optionally, the processing module 402 is specifically configured to: if the first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, if the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or equal to a third threshold value; initiate a connection establishment request to the second terminal device.
[0289] Optionally, the processing module 402 is specifically used to: if the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, initiate a connection establishment request to the second terminal device.
[0290] Optionally, the processing module 402 is specifically used to: if the first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than or equal to a fourth threshold value; initiate a connection establishment request to the second terminal device.
[0291] Optionally, the processing module 402 is specifically configured to: disconnect the connection with the second terminal device if the first channel load rate indicated by the first channel busy rate information is greater than the second channel load rate indicated by the second channel busy rate information; or, if the difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than a first threshold value.
[0292] Optionally, the processing module 402 is specifically used to: disconnect the connection with the second terminal device if the resource quantity indicated by the first resource quantity information is less than the resource quantity indicated by the second resource quantity information.
[0293] Optionally, the processing module 402 is specifically configured to: disconnect the connection with the second terminal device if the first modulation code indicated by the first modulation coding scheme information is less than or equal to the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than a second threshold value.
[0294] Optionally, the processing module 402 is specifically configured to: if the first channel load rate indicated by the first channel busy rate information is less than or equal to the second channel load rate indicated by the second channel busy rate information; or, if the difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than a third threshold value; initiate a connection establishment request to the second terminal device.
[0295] Optionally, the processing module 402 is specifically used to: if the resource quantity indicated by the first resource quantity information is greater than or equal to the resource quantity indicated by the second resource quantity information, initiate a connection establishment request to the second terminal device.
[0296] Optionally, the processing module 402 is specifically used to: if the first modulation code indicated by the first modulation coding scheme information is greater than the second modulation code indicated by the second modulation coding scheme information; or, if the distance between the first modulation code indicated by the first modulation code scheme information and the second modulation code indicated by the second modulation code scheme information is greater than a fourth threshold value; initiate a connection establishment request to the second terminal device.
[0297] Optionally, the second resource configuration information corresponding to the first resource pool is pre-configured.
[0298] Optionally, the processing module 402 is specifically used to: obtain the second resource configuration information corresponding to the first resource pool configured by the second terminal device through signaling.
[0299] Optionally, the first resource configuration information corresponds to the second resource pool; or, the first resource configuration information is included in the first semi-static scheduling message.
[0300] In other words, the communication device 400 can realize the functionality corresponding to the embodiments of this application. Figure 2 The steps or processes executed by the first terminal device in the method shown may include the communication device 400 for performing... Figure 2 The first terminal device in the illustrated method executes a module of the method. Furthermore, each module in the communication device 400 and the aforementioned other operations and / or functions are respectively for implementing... Figure 2 The corresponding steps of the method shown. For example, the receiving module 401 in the communication device 400 can be used to perform... Figure 2 In step S201 of the method shown, the processing module 402 can be used to execute... Figure 2 Steps S202 and S203 in the method shown.
[0301] It should be understood that the specific process of each module performing the above-mentioned steps has been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0302] This application also provides a processing apparatus, including at least one processor and a communication interface. The communication interface is used to provide information input and / or output to the at least one processor, which is used to execute the methods described in the above method embodiments.
[0303] It should be understood that the aforementioned processing device can be a chip. For example, see Figure 5 , Figure 5 This is a structural block diagram of one embodiment of the chip provided in this application. Figure 5 The chip shown can be a general-purpose processor or a special-purpose processor. The chip 500 includes at least one processor 501. The at least one processor 501 can be used to support... Figure 3 The device shown performs Figure 1 The technical solution shown, or, used to support Figure 4 The communication device shown performs Figure 2 The technical solution shown.
[0304] Optionally, the chip 500 may also include a transceiver 502, which is used to receive control from the processor 501 for supporting... Figure 3 The device shown performs Figure 1 The technical solution shown, or, used to support Figure 4 The communication device shown performs Figure 2 The technical solution shown is optional. Figure 5The chip shown may also include a storage medium 503. Specifically, the transceiver may be replaced by a communication interface that provides information input and / or output to the at least one processor.
[0305] It should be noted that, Figure 5 The chip shown can be implemented using the following circuits or devices: one or more field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), application-specific integrated circuits (ASICs), system-on-chips (SoCs), central processors (CPUs), network processors (NPs), digital signal processors (DSPs), microcontrollers (MCUs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0306] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0307] It should be noted that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuitry in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above methods.
[0308] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0309] According to the method provided in the embodiments of this application, the embodiments of this application also provide a computer program product, which includes: a computer program or instructions, which, when executed on a computer, cause the computer to perform... Figure 1 or Figure 2 The method of any one of the embodiments shown.
[0310] According to the method provided in the embodiments of this application, the embodiments of this application also provide a computer storage medium storing a computer program or instructions, which, when executed on a computer, cause the computer to perform... Figure 1 or Figure 2 The method of any one of the embodiments shown.
[0311] According to the method provided in the embodiments of this application, the embodiments of this application also provide a communication system, which may include one or more terminal devices, wherein each terminal device can be used to perform... Figure 1 or Figure 2 The technical solution shown.
[0312] According to the method provided in the embodiments of this application, the embodiments of this application also provide a terminal device, which is a transportation vehicle or intelligent device, including drones, unmanned transport vehicles, automobiles or robots, etc., and the transportation vehicle or intelligent device includes the above-mentioned resource configuration device and / or communication device.
[0313] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0314] The terminal devices in the above-described device embodiments correspond to the terminal devices in the method embodiments, with corresponding modules or units executing the corresponding steps. For example, the communication module (transceiver) executes the receiving or sending steps in the method embodiments, while other steps besides sending and receiving can be executed by the processing module (processor). The specific functions of the modules can be found in the corresponding method embodiments. There can be one or more processors.
[0315] The terms “component,” “module,” “system,” etc., used in this specification are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0316] Those skilled in the art will recognize that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0317] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0318] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0319] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0320] In addition, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit.
[0321] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0322] The resource configuration device, communication device, communication system, terminal equipment, computer storage medium, computer program product, and chip provided in the above embodiments of this application are all used to execute the methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects corresponding to the methods provided above, and will not be repeated here.
[0323] It should be understood that in the various embodiments of this application, the execution order of each step should be determined by its function and internal logic, and the size of the step number does not mean the order of execution, and does not constitute a limitation on the implementation process of the embodiments.
[0324] The various parts of this specification are described in a progressive manner. Similar or identical parts between the various embodiments can be referred to mutually. Each embodiment focuses on the differences from other embodiments. In particular, the embodiments of the resource allocation device, communication device, communication system, terminal equipment, computer storage medium, computer program product, and chip are basically similar to the method embodiments, so the descriptions are relatively simple, and relevant details can be found in the descriptions within the method embodiments.
[0325] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0326] The embodiments described above do not constitute a limitation on the scope of protection of this application.
Claims
1. A resource allocation method, characterized in that, The method is applied to a first terminal device within a communication domain, the first terminal device being a master node within the communication domain, and is used to allocate time-frequency resources from a resource pool to at least one second terminal device within the communication domain, the at least one second terminal device being a slave node within the communication domain. The method includes: Obtain at least one resource parameter, wherein the at least one resource parameter is used to characterize the attribute requirements or feature requirements for the first terminal device to select time-frequency resources from the resource pool; The first time-frequency resource is determined based on the at least one resource parameter; Send at least one resource configuration information to at least one second terminal device, the at least one resource configuration information being used to configure at least one second time-frequency resource for the at least one second terminal device, the at least one second time-frequency resource being a subset of the first time-frequency resource.
2. The resource allocation method according to claim 1, characterized in that, The at least one resource parameter is pre-configured.
3. The resource allocation method according to claim 1, characterized in that, The at least one resource parameter corresponds to the capability information of the first terminal device, and / or the at least one resource parameter corresponds to the device type of the first terminal device.
4. The resource allocation method according to claim 3, characterized in that, The acquisition of at least one resource parameter includes: Obtain the at least one resource parameter from the first set of resource parameters; The first resource parameter set contains multiple resource parameters corresponding to multiple capability information and / or device types.
5. The resource allocation method according to claim 3 or 4, characterized in that, The capability information of the first terminal device includes at least one of the following: The identity information of the first terminal device; the identity information is used to indicate that the first terminal device has resource allocation or scheduling capabilities; The communication domain type information of the first terminal device; The communication domain priority information of the first terminal device; the communication domain priority information is used to indicate the priority of the communication domain of the first terminal device.
6. The resource allocation method according to claim 1, characterized in that, The at least one resource parameter includes at least one of the following: channel occupancy information, modulation and coding scheme information, resource period information, and resource duration information.
7. The resource allocation method according to claim 1, characterized in that, The method further includes: sending first resource indication information, and / or at least one of capability information and device type information of the first terminal device, wherein the first resource indication information is used to indicate the first time-frequency resource.
8. A communication method, characterized in that, The method is applied to a first terminal device, and the method includes: Receive first resource configuration information from the second terminal device; the first resource configuration information is used to configure time and frequency resources for the first terminal device, or to characterize the attributes of the time and frequency resources configured for the first terminal device, or to characterize the attributes of the time and frequency resources that can be configured for the first terminal device. Obtain the configuration information of the second resource corresponding to the first resource pool; Based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device.
9. The communication method according to claim 8, characterized in that, The first resource configuration information includes at least one of the following: first channel busy rate information, first modulation and coding scheme information, and first resource quantity information; The second resource configuration information includes at least one of the following: second channel busy rate information, second modulation and coding scheme information, and second resource quantity information.
10. The communication method according to claim 9, characterized in that, Disconnecting from the second terminal device based on the first resource configuration information and the second resource configuration information includes: The first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, The difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or equal to a first threshold value. Disconnect from the second terminal device.
11. The communication method according to claim 9, characterized in that, Disconnecting from the second terminal device based on the first resource configuration information and the second resource configuration information includes: If the resource quantity indicated by the first resource quantity information is less than or equal to, or less than, the resource quantity indicated by the second resource quantity information, the connection with the second terminal device is disconnected.
12. The communication method according to claim 9, characterized in that, Disconnecting from the second terminal device based on the first resource configuration information and the second resource configuration information includes: The first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, The distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second threshold value; Disconnect from the second terminal device.
13. The communication method according to claim 9, characterized in that, The step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: The first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, The difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or equal to a third threshold value. Initiate a connection establishment request to the second terminal device.
14. The communication method according to claim 9, characterized in that, The step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: If the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, a connection establishment request is initiated to the second terminal device.
15. The communication method according to claim 9, characterized in that, The step of initiating a connection establishment request to the second terminal device based on the first resource configuration information and the second resource configuration information includes: The first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, The distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than or equal to the fourth threshold value; Initiate a connection establishment request to the second terminal device.
16. The communication method according to any one of claims 8-15, characterized in that, The second resource configuration information corresponding to the first resource pool is pre-configured.
17. The communication method according to any one of claims 8-15, characterized in that, The step of obtaining the second resource configuration information corresponding to the first resource pool includes: Obtain the second resource configuration information corresponding to the first resource pool, configured by the second terminal device via signaling.
18. The communication method according to any one of claims 8-15, characterized in that, The first resource configuration information corresponds to the second resource pool; or, The first resource configuration information is included in the first semi-static scheduling message.
19. A resource allocation device, characterized in that, The device is applied to a first terminal device in a communication domain, the first terminal device being a master node in the communication domain, and is used to allocate time-frequency resources from a resource pool to at least one second terminal device in the communication domain, the at least one second terminal device being a slave node in the communication domain. The device includes: a processing module and a sending module. The processing module is configured to: acquire at least one resource parameter, wherein the at least one resource parameter is used to characterize the attribute requirements or feature requirements for the first terminal device to select time-frequency resources from the resource pool; and determine the first time-frequency resource based on the at least one resource parameter; The sending module is configured to: send at least one resource configuration information to at least one second terminal device, wherein the at least one resource configuration information is used to configure at least one second time-frequency resource for the at least one second terminal device, and the at least one second time-frequency resource belongs to the first time-frequency resource.
20. The resource allocation device according to claim 19, characterized in that, The at least one resource parameter is pre-configured.
21. The resource allocation device according to claim 19, characterized in that, The at least one resource parameter corresponds to the capability information of the first terminal device, and / or the at least one resource parameter corresponds to the device type of the first terminal device.
22. The resource allocation device according to claim 21, characterized in that, The processing module is specifically used for: Obtain the at least one resource parameter from the first set of resource parameters; The first resource parameter set contains multiple resource parameters corresponding to multiple capability information and / or device types.
23. The resource allocation device according to claim 21 or 22, characterized in that, The capability information of the first terminal device includes at least one of the following: The identity information of the first terminal device; the identity information is used to indicate that the first terminal device has resource allocation or scheduling capabilities; The communication domain type information of the first terminal device; The communication domain priority information of the first terminal device; the communication domain priority information is used to indicate the priority of the communication domain of the first terminal device.
24. The resource allocation device according to claim 19, characterized in that, The at least one resource parameter includes at least one of the following: channel occupancy information, modulation and coding scheme information, resource period information, and resource duration information.
25. The resource allocation device according to claim 19, characterized in that, The sending module is also used for: Sending first resource indication information, and / or at least one of the capability information and device type information of the first terminal device, wherein the first resource indication information is used to indicate the first time-frequency resource.
26. A communication device, characterized in that, The device is applied to a first terminal device, and the device includes: a receiving module and a processing module; The receiving module is used to receive first resource configuration information from the second terminal device; the first resource configuration information is used to configure time and frequency resources for the first terminal device, or to characterize the attributes of the time and frequency resources configured for the first terminal device, or to characterize the attributes of the time and frequency resources that can be configured for the first terminal device. The processing module is used to: obtain second resource configuration information corresponding to the first resource pool; and, based on the first resource configuration information and the second resource configuration information, initiate a connection establishment request to the second terminal device, or disconnect from the second terminal device.
27. The communication device according to claim 26, characterized in that, The first resource configuration information includes at least one of the following: first channel busy rate information, first modulation and coding scheme information, and first resource quantity information; The second resource configuration information includes at least one of the following: second channel busy rate information, second modulation and coding scheme information, and second resource quantity information.
28. The communication device according to claim 27, characterized in that, The processing module is specifically used for: The first channel load rate indicated by the first channel busy rate information is greater than or equal to the second channel load rate indicated by the second channel busy rate information; or, The difference between the first channel load rate indicated by the first channel busy rate information and the second channel load rate indicated by the second channel busy rate information is greater than or equal to a first threshold value. Disconnect from the second terminal device.
29. The communication device according to claim 27, characterized in that, The processing module is specifically used for: If the resource quantity indicated by the first resource quantity information is less than or equal to the resource quantity indicated by the second resource quantity information, the connection with the second terminal device is disconnected.
30. The communication device according to claim 27, characterized in that, The processing module is specifically used for: The first modulation code indicated by the first modulation coding scheme information is less than the second modulation code indicated by the second modulation coding scheme information; or, The distance between the second modulation code indicated by the second modulation coding scheme information and the first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second threshold value; Disconnect from the second terminal device.
31. The communication device according to claim 27, characterized in that, The processing module is specifically used for: The first channel load rate indicated by the first channel busy rate information is less than the second channel load rate indicated by the second channel busy rate information; or, The difference between the second channel load rate indicated by the second channel busy rate information and the first channel load rate indicated by the first channel busy rate information is greater than or equal to a third threshold value. Initiate a connection establishment request to the second terminal device.
32. The communication device according to claim 27, characterized in that, The processing module is specifically used for: If the resource quantity indicated by the first resource quantity information is greater than the resource quantity indicated by the second resource quantity information, a connection establishment request is initiated to the second terminal device.
33. The communication device according to claim 27, characterized in that, The processing module is specifically used for: The first modulation code indicated by the first modulation coding scheme information is greater than or equal to the second modulation code indicated by the second modulation coding scheme information; or, The distance between the first modulation code indicated by the first modulation coding scheme information and the second modulation code indicated by the second modulation coding scheme information is greater than or equal to the fourth threshold value; Initiate a connection establishment request to the second terminal device.
34. The communication device according to any one of claims 26-33, characterized in that, The second resource configuration information corresponding to the first resource pool is pre-configured.
35. The communication device according to any one of claims 26-33, characterized in that, The processing module is specifically used for: Obtain the second resource configuration information corresponding to the first resource pool, configured by the second terminal device via signaling.
36. The communication device according to any one of claims 26-33, characterized in that, The first resource configuration information corresponds to the second resource pool; or, The first resource configuration information is included in the first semi-static scheduling message.
37. A communication device, characterized in that, Includes at least one processor and at least one memory; The at least one processor is configured to execute a computer program or instructions stored in the at least one memory, wherein when the computer program or instructions are executed, the method described in any one of claims 1 to 7 or 8 to 18 is performed.
38. A communication device, characterized in that, It includes at least one processor, at least one transceiver, and at least one memory; The at least one transceiver is used to receive or transmit signals; the at least one processor is used to execute a computer program or instructions stored in the at least one memory, such that when the computer program or instructions are executed, the communication device implements the method according to any one of claims 1 to 7 or 8 to 18.
39. A computer storage medium, characterized in that, It includes a computer program or instructions, which, when executed, perform the method as described in any one of claims 1 to 7 or 8 to 18.
40. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 7 or 8 to 18.
41. A chip, characterized in that, The method includes at least one processor coupled to at least one memory for executing a computer program or instructions stored in the at least one memory, wherein when the computer program or instructions are executed, the method described in any one of claims 1 to 7 or 8 to 18 is performed.