Resource request method, resource configuration method, and related products
By enabling terminal nodes to send resource request messages carrying physical layer identifiers to control nodes and receive resource request messages carrying physical layer identifiers from second electronic devices in vehicle-mounted short-range communication, flexibility and agility in resource request and configuration between devices are achieved.
Patent Information
- Application Number
- CN202011010973.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-23
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2040-09-23
AI Technical Summary
In vehicular short-range communication, when terminal nodes lack wireless resources, existing technologies struggle to efficiently address resource requests and allocation issues.
By sending resource request messages carrying physical layer identifiers to both the first and second electronic devices, and receiving resource response messages from the second electronic device, flexibility in resource requests and corresponding resource configurations between devices is achieved.
It improves the flexibility and agility of resource requests and allocation between devices.
Smart Images

Figure CN114257989B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronic devices, in particular to a resource request method, a resource configuration method and related products. BACKGROUND
[0002] In vehicle short-range communication, a control node (C-node) and a terminal node (T-node) can be included. When new data arrives in the terminal node, but the terminal node lacks wireless resources for reporting the data link layer data size, the terminal node can initiate a resource request to the control node, and the control node allocates wireless resources for the terminal node. SUMMARY
[0003] Embodiments of the present application provide a resource request method, a resource configuration method and related products, so as to improve the flexibility of resource request and corresponding resource configuration between devices.
[0004] In a first aspect, embodiments of the present application provide a resource request method applied to a first electronic device, and the method comprises:
[0005] sending a resource request message carrying a first physical layer identifier to a second electronic device;
[0006] receiving a resource response message from the second electronic device.
[0007] In a second aspect, embodiments of the present application provide a resource configuration method applied to a second electronic device, and the method comprises:
[0008] receiving a resource request message carrying a first physical layer identifier sent by a first electronic device;
[0009] sending a resource response message to the first electronic device.
[0010] In a third aspect, embodiments of the present application provide a resource request device applied to a first electronic device, and the device comprises:
[0011] a sending unit configured to send a resource request message carrying a first physical layer identifier to a second electronic device;
[0012] a receiving unit configured to receive a resource response message from the second electronic device.
[0013] In a fourth aspect, embodiments of the present application provide a resource configuration device applied to a second electronic device, and the device comprises:
[0014] a receiving unit configured to receive a resource request message carrying a first physical layer identifier sent by a first electronic device;
[0015] a sending unit, configured to send a resource response message to the first electronic device.
[0016] In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the first aspect of the present application.
[0017] In a sixth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the second aspect of the present application.
[0018] In a seventh aspect, an embodiment of the present application provides a computer storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect or the second aspect of the present application.
[0019] In an eighth aspect, an embodiment of the present application provides a computer program product, wherein the above computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect or the second aspect of the present application. The computer program product can be a software installation package.
[0020] In the embodiments of the present application, the first electronic device sends a resource request message carrying a first physical layer identifier to the second electronic device, and then receives a resource response message from the second electronic device. It can be seen that, since the resource request message sent by the first electronic device includes the first physical layer identifier, the second electronic device can obtain the physical layer identifier when receiving the resource request message, and accordingly allocate wireless resources for the first electronic device and send a resource response message, and then the first electronic device can receive the resource response message corresponding to the first physical layer identifier from the second electronic device. This is beneficial to improving the flexibility of resource request and corresponding resource allocation between devices. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0022] Figure 1A is a schematic diagram of an architecture of a vehicle-mounted short-range communication system provided by an embodiment of the present application;
[0023] Figure 1B is a schematic diagram of a component structure of an electronic device provided by an embodiment of the present application;
[0024] Figure 2 is a flowchart of a resource request method provided by an embodiment of the present application;
[0025] Figure 3 is a flowchart of a resource configuration method provided by an embodiment of the present application;
[0026] Figure 4 is a block diagram of functional units of a resource request apparatus provided by an embodiment of the present application;
[0027] Figure 5 is a block diagram of functional units of another resource request apparatus provided by an embodiment of the present application;
[0028] Figure 6 is a block diagram of functional units of a resource configuration apparatus provided by an embodiment of the present application;
[0029] Figure 7 is a block diagram of functional units of another resource configuration apparatus provided by an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative work fall within the scope of protection of the present application.
[0031] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or device.
[0032] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. As will be apparent to those of ordinary skill in the art, embodiments described herein can be combined with other embodiments.
[0033] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0034] Please refer to Figure 1A , Figure 1A is a schematic diagram of an architecture of a vehicle short-range communication system provided by an embodiment of the present application. As shown in the diagram, the vehicle short-range communication system 10 can include at least one control node 100 (for example, C-node, only one control node is shown in the diagram, and in actual applications, there can be multiple control nodes) and at least one terminal node 200 (for example, Terminal node). The first electronic device in the embodiments of the present application includes any terminal node 200 in the vehicle short-range communication system, and the second electronic device includes any control node 100 in the vehicle short-range communication system. In the vehicle short-range communication system, when a terminal node lacks wireless resources, it can send a resource request message to a control node, and the control node allocates wireless resources for it, wherein the resources that can be scheduled and configured by the control node include C-link resources (communication link from the control node to the terminal node) and T-link resources (communication link from the terminal node to the control node).
[0035] Please refer to Figure 1B , Figure 1B is a schematic diagram of the composition structure of an electronic device 300 provided by an embodiment of the present application. The electronic device can be Figure 1A any control node 100 or any terminal node 200 in the vehicle short-range communication system, and the electronic device 300 can include a core processing unit 301, a communication unit 302, and a power supply unit 303. The communication unit 302 can specifically include but is not limited to one or more of Bluetooth, Wi-Fi, and cellular communication modules. The power supply unit 303 can include but is not limited to, for example, a battery, a direct-current-to-direct-current DC-DC module, a filter circuit, an under-voltage detection circuit, and the like.
[0036] The core processing unit 301 can include a processor and a memory. The processor can include one or more processing cores. The processor connects various parts within the electronic device 300 by various interfaces and lines, performs various functions of the electronic device 300 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. The processor can include one or more processing units, for example: the processor can include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. The controller can be the nerve center and command center of the electronic device 300. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of fetching instructions and executing instructions. The programs stored in the memory are used to execute the steps in any resource request method applied to the first electronic device described in the embodiments of the present application, or to execute the steps in any resource configuration method applied to the second electronic device described in the embodiments of the present application.
[0037] The memory can include a random access memory (RAM) and can also include a read-only memory (ROM). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory can be used to store instructions, programs, codes, code sets or instruction sets. The memory can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, etc. The operating system can be an Android system (including a system developed based on the Android system), an IOS system developed by Apple Inc. (including a system developed based on the IOS system) or other systems. The data storage area can also store data created by the electronic device 300 in use, etc.
[0038] It should be noted that the structural schematic diagram of the electronic device 300 is merely an example, and the specific devices contained can be more or less, which is not uniquely limited here.
[0039] Please refer to Figure 2 , Figure 2 is a flowchart of a resource request method provided by an embodiment of the present application, as shown in the figure, the resource request method comprises:
[0040] S201, the first electronic device sends a resource request message carrying a first physical layer identifier to the second electronic device;
[0041] In a specific implementation, when the first electronic device lacks wireless resources, for example, when new data arrives in the first electronic device, or according to a preset data link control layer data volume reporting period, reporting is required, but the first electronic device lacks wireless resources for reporting the data link layer data volume size, the first electronic device can send a resource request message to the second electronic device. Specifically, the first electronic device can randomly select an access resource from the contention access resource indicated by the information element Contention Access Resource (contention access resource), and send a resource request message carrying a first physical layer identifier to the second electronic device on the access resource.
[0042] S202, the first electronic device receives a resource response message from the second electronic device.
[0043] In a specific implementation, after the first electronic device sends the resource request message, if it does not receive the resource response message from the second electronic device within a preset waiting time interval after sending the resource request message, it can be considered that this resource request fails, and the first electronic device can send a resource request message to the second electronic device again after a preset backoff time interval.
[0044] In the embodiment of the present application, the first electronic device sends a resource request message carrying a first physical layer identifier to the second electronic device, and then receives a resource response message from the second electronic device. As can be seen, since the resource request message sent by the first electronic device includes the first physical layer identifier, when the second electronic device receives the resource request message, it can obtain the physical layer identifier and correspondingly allocate wireless resources to the first electronic device, and send a resource response message, and then the first electronic device can receive the resource response message corresponding to the first physical layer identifier from the second electronic device. This is conducive to improving the flexibility of resource request and corresponding resource allocation between devices.
[0045] In a possible example, before the sending of the resource request message carrying the first physical layer identifier to the second electronic device, the method further includes: receiving, from the second electronic device, a first quantity of physical layer identifiers allocated to the first electronic device, and a mapping relationship between a second quantity of physical layer identifiers and logical channels, the first quantity of physical layer identifiers including the first physical layer identifier, and the first quantity of physical layer identifiers including the second quantity of physical layer identifiers.
[0046] In a specific implementation, the first quantity of physical layer identifiers can be one or more physical layer identifiers, and the second quantity of physical layer identifiers can be all or part of the physical layer identifiers in the first quantity of physical layer identifiers. That is, all or part of the physical layer identifiers in the first quantity of physical layer identifiers allocated to the first electronic device by the second electronic device have a mapping relationship with the logical channels.
[0047] In actual application, considering that the data to be transmitted by the first electronic device can belong to different services, and different services are carried through different logical channels, the mapping relationship between the physical layer identifiers and the logical channels can be preset, and on the basis of the mapping relationship between the second quantity of physical layer identifiers and the logical channels, the first electronic device can determine the first physical layer identifier according to the logical channel corresponding to the service type to which the data to be transmitted belongs when sending the resource request information, and after sending the resource request message carrying the first physical layer identifier to the second electronic device, the second electronic device can also determine the service type to which the data to be transmitted by the first electronic device belongs according to the first physical layer identifier, and further perform fine resource configuration and response control according to the service type, and finally send a resource response message to the first electronic device.
[0048] It can be seen that in the example, the first electronic device receives, from the second electronic device, the first quantity of physical layer identifiers allocated to the first electronic device, and the mapping relationship between the second quantity of physical layer identifiers and the logical channels in advance, based on the mapping relationship, after the first electronic device sends the resource request message, the second electronic device can determine the service type to which the data to be transmitted by the first electronic device belongs, and further determine the resource response message sent to the first electronic device, which is beneficial to improve the flexibility of resource request and corresponding resource configuration between devices.
[0049] In a possible example, the first physical layer identifier is any one of the following: a physical layer identifier in the mapping relationship, and any physical layer identifier in the first quantity of physical layer identifiers except the physical layer identifier in the mapping relationship.
[0050] In a specific implementation, the first physical layer identifier sent by the first electronic device can be a physical layer identifier in the mapping relationship, or an arbitrary physical layer identifier outside the mapping relationship. The first physical layer identifier can be determined according to the needs of the first electronic device. For example, if the logical channel corresponding to the service type of the data to be transmitted in the first electronic device is in the mapping relationship, the first physical layer identifier carried when the resource request is sent can be a physical layer identifier in the mapping relationship. If the logical channel is not in the mapping relationship, the first physical layer identifier can be an arbitrary physical layer identifier outside the mapping relationship. That is, the physical layer identifier in the mapping relationship is used to represent the logical channel corresponding thereto in the mapping relationship, and the physical layer identifier outside the mapping relationship is used to represent an arbitrary logical channel.
[0051] Alternatively, if the logical channel is in the mapping relationship, the first physical layer identifier can be an arbitrary physical layer identifier in the mapping relationship or outside the mapping relationship, that is, the first physical layer identifier can be an arbitrary physical layer identifier in the first quantity of physical layer identifiers. That is, the physical layer identifier in the mapping relationship is used to represent the logical channel corresponding thereto in the mapping relationship, and the physical layer identifier outside the mapping relationship is used to represent an arbitrary logical channel.
[0052] It can be seen that, in the present example, the first physical layer identifier is any one of the following: a physical layer identifier in the mapping relationship, or an arbitrary physical layer identifier in the first quantity of physical layer identifiers other than the physical layer identifier in the mapping relationship, which is beneficial to improve the flexibility of resource requests and corresponding resource configurations between devices.
[0053] In one possible example, the correspondence between the physical layer identifier and the logical channel in the mapping relationship includes any one of the following: a correspondence between the physical layer identifier and a logical channel identifier of the logical channel; or a correspondence between the physical layer identifier and the low N bits of the logical channel identifier, N being a positive integer.
[0054] In a specific implementation, since different logical channels have different logical channel identifiers, when establishing the relationship between the physical layer identifier and the logical channel, the mapping relationship between the physical layer identifier and the corresponding logical channel can be established by establishing a correspondence between the physical layer identifier and the logical channel identifier, or by establishing a correspondence between the physical layer identifier and the low N bits of the corresponding logical channel identifier.
[0055] It can be seen that, in the present example, the correspondence between the physical layer identifier and the logical channel includes a correspondence between the physical layer identifier and a logical channel identifier of the logical channel, or a correspondence between the physical layer identifier and the low N bits of the logical channel identifier, which is beneficial to improve the flexibility of resource requests and corresponding resource configurations between devices.
[0056] In one possible example, the first physical layer identifier is determined by: determining that there is a logical channel with resource configuration requirement in the first electronic device; determining whether the logical channel with resource configuration requirement is configured with a corresponding physical layer identifier according to the mapping relationship; if the logical channel is configured with a corresponding second physical layer identifier, determining the second physical layer identifier as the first physical layer identifier; or determining a third physical layer identifier as the first physical layer identifier, the third physical layer identifier being any physical layer identifier in the first quantity of physical layer identifiers except the physical layer identifier in the mapping relationship; and if the logical channel is not configured with a corresponding physical layer identifier, determining the third physical layer identifier as the first physical layer identifier.
[0057] In a specific implementation, the third physical layer identifier, i.e., the physical layer identifier outside the mapping relationship, can represent any logical channel, i.e., any logical channel with resource configuration requirement can carry the third physical layer identifier in the resource request message. When the logical channel in the mapping relationship has resource configuration requirement, in addition to the third physical layer identifier, the corresponding physical layer identifier in the mapping relationship can also be carried. However, when the logical channel outside the mapping relationship has resource configuration, only the third physical layer identifier can be carried.
[0058] For example, the physical layer identifiers allocated by the second electronic device to the first electronic device include identifier 1, identifier 2, and identifier 3, the mapping relationship includes that identifier 1 corresponds to channel 1 and identifier 2 corresponds to channel 2, and identifier 3 is not in the mapping relationship, and identifier 3 is the third physical layer identifier. If channel 1 has resource configuration requirement, the first physical layer identifier can be identifier 1 or identifier 3. If a logical channel (expressed as channel 3) outside the mapping relationship has resource configuration requirement, the first physical layer identifier can only be identifier 3.
[0059] In addition, in other embodiments, the third physical layer identifier, i.e., the physical layer identifier outside the mapping relationship, can also represent only any logical channel outside the mapping relationship, i.e., when any logical channel outside the mapping relationship has resource configuration requirement, the third physical layer identifier is carried in the resource request message.
[0060] For example, still taking the example that the physical layer identifiers allocated by the second electronic device to the first electronic device include identifier 1, identifier 2, and identifier 3, the mapping relationship includes that identifier 1 corresponds to channel 1 and identifier 2 corresponds to channel 2, and identifier 3 is not in the mapping relationship, and identifier 3 is the third physical layer identifier. If channel 1 has resource configuration requirement, the first physical layer identifier can only be identifier 1. If channel 3 outside the mapping relationship has resource configuration requirement, the first physical layer identifier can only be identifier 3.
[0061] It can be seen that, in the example, the first electronic device determines the first physical layer identifier carried in the resource request information according to the logical channel with resource configuration requirement and the mapping relationship between the logical channel and the physical layer identifier, the logical channel is associated with the service type of the data to be transmitted by the first electronic device, the second electronic device can determine the service type of the data to be transmitted by the first electronic device according to the first physical layer identifier and the mapping relationship after receiving the resource request information, and can perform fine resource configuration and response control according to the service type, which is beneficial to improve the flexibility of resource request and corresponding resource configuration between devices.
[0062] Please refer to Figure 3 , Figure 3 is a flowchart of a resource configuration method provided by the embodiment of the application, as shown in the figure, the resource request method comprises the following steps:
[0063] S301, the second electronic device receives the resource request message carrying the first physical layer identifier sent by the first electronic device;
[0064] In the specific implementation, when the first electronic device lacks wireless resources, for example, when new data arrives in the first electronic device, or the data link control layer data volume reporting period needs to be reported according to the preset data link control layer data volume reporting period, but the first electronic device lacks wireless resources for reporting the data link layer data volume, the first electronic device can send a resource request message to the second electronic device.
[0065] S302, the second electronic device sends a resource response message to the first electronic device.
[0066] In the specific implementation, after the second electronic device receives the resource request message sent by the first electronic device, the second electronic device can allocate wireless resources to the first electronic device according to the first physical layer identifier carried in the resource request message, and respond to the resource request of the first electronic device through the resource response message.
[0067] It can be seen that, in the embodiment of the application, the second electronic device receives the resource request message carrying the first physical layer identifier sent by the first electronic device, and sends a resource response message to the first electronic device, it can be seen that, since the resource request message sent by the first electronic device includes the first physical layer identifier, the second electronic device can obtain the physical layer identifier when receiving the resource request message, and accordingly allocate wireless resources to the first electronic device, and send a resource response message to respond to the resource request of the first electronic device. It is beneficial to improve the flexibility of resource request and corresponding resource configuration between devices.
[0068] In one possible example, before receiving the resource request message carrying the first physical layer identifier sent by the first electronic device, the method further includes: sending, to the first electronic device, a first number of physical layer identifiers allocated to the first electronic device, and a mapping relationship between a second number of physical layer identifiers and logical channels, the first number of physical layer identifiers including the first physical layer identifier, and the first number of physical layer identifiers including the second number of physical layer identifiers.
[0069] In a specific implementation, the second electronic device can allocate one or more physical layer identifiers (i.e., a first number of physical layer identifiers) to the first electronic device, and the second number of physical layer identifiers in the mapping relationship can be all or part of the first number of physical layer identifiers. That is, all or part of the first number of physical layer identifiers allocated by the second electronic device to the first electronic device have a mapping relationship with the logical channels.
[0070] In actual application, considering that the data to be transmitted by the first electronic device can belong to different services, different services are carried through different logical channels, and therefore the mapping relationship between the physical layer identifiers and the logical channels can be preset, on the basis of the mapping relationship between the second number of physical layer identifiers and the logical channels, the first electronic device can determine the first physical layer identifier based on the mapping relationship and the logical channel having a resource configuration requirement, and after receiving the resource request message carrying the first physical layer identifier, the second electronic device can determine the type of service to which the data to be transmitted by the first electronic device belongs according to the first physical layer identifier and the preset mapping relationship, and determine the wireless resource allocated to the first electronic device according to the type of service, which can be any unoccupied wireless resource in the wireless resource pre-configured for the first electronic device.
[0071] Specifically, the second electronic device can also perform more refined resource configuration and response control according to the type of service. For example, in the dimension of resource configuration, resource configuration can be performed according to the priority of the service, if the service is a high-priority service, corresponding wireless resources can be configured in real time, if the service is a low-priority service, the wireless resources can be configured with a delay, and the resource response message can carry the first physical layer identifier or any physical layer identifier allocated to the first electronic device; in the dimension of response control, the response time can be controlled according to the priority of the service, for example, high-priority services are responded to in real time, and low-priority services are responded to with a delay.
[0072] It can be seen that in the example, the second electronic device pre-transmits the first number of physical layer identifiers allocated to the first electronic device and the mapping relationship between the second number of physical layer identifiers and the logical channel to the first electronic device. Based on the mapping relationship, after receiving the resource request message from the first electronic device, the second electronic device can determine the service type to which the data to be transmitted by the first electronic device belongs according to the first physical layer identifier carried, and further determine the resource response message sent to the first electronic device, which is beneficial to improve the flexibility of resource request and corresponding resource configuration between devices.
[0073] In a possible example, the first physical layer identifier is any one of the following: a physical layer identifier in the mapping relationship, or any physical layer identifier other than the physical layer identifier in the mapping relationship in the first number of physical layer identifiers.
[0074] In specific implementation, the first physical layer identifier from the first electronic device can be a physical layer identifier in the mapping relationship or any physical layer identifier outside the mapping relationship. Specifically, it can be determined according to the needs of the first electronic device. For example, if the logical channel corresponding to the service type of the data to be transmitted in the first electronic device is in the mapping relationship, the first physical layer identifier carried when sending the resource request can be a physical layer identifier in the mapping relationship. If the logical channel is not in the mapping relationship, the first physical layer identifier can be any physical layer identifier outside the mapping relationship. That is, the physical layer identifier in the mapping relationship is used to represent the logical channel corresponding thereto in the mapping relationship, and the physical layer identifier outside the mapping relationship is used to represent any logical channel.
[0075] Alternatively, if the logical channel is in the mapping relationship, the first physical layer identifier can be any physical layer identifier in or outside the mapping relationship, that is, the first physical layer identifier can be any physical layer identifier in the first number of physical layer identifiers. That is, the physical layer identifier in the mapping relationship is used to represent the logical channel corresponding thereto in the mapping relationship, and the physical layer identifier outside the mapping relationship is used to represent any logical channel.
[0076] It can be seen that in the example, the first physical layer identifier is any one of the following: a physical layer identifier in the mapping relationship, or any physical layer identifier other than the physical layer identifier in the mapping relationship in the first number of physical layer identifiers, which is beneficial to improve the flexibility of resource request and corresponding resource configuration between devices.
[0077] In a possible example, the correspondence between the physical layer identifier and the logical channel in the mapping relationship includes any one of the following: a correspondence between the physical layer identifier and a logical channel identifier of the logical channel; or a correspondence between the physical layer identifier and the low N bits of the logical channel identifier of the logical channel, where N is a positive integer.
[0078] In a specific implementation, since different logical channels have different logical channel identifiers, when establishing the relationship between the physical layer identifier and the logical channel, the mapping relationship between the physical layer identifier and the corresponding logical channel can be established by establishing the corresponding relationship between the physical layer identifier and the logical channel identifier, or by establishing the corresponding relationship between the physical layer identifier and the low N bits of the corresponding logical channel identifier.
[0079] It can be seen that, in this example, the corresponding relationship between the physical layer identifier and the logical channel includes the corresponding relationship between the physical layer identifier and the logical channel identifier of the logical channel, or the corresponding relationship between the physical layer identifier and the low N bits of the logical channel identifier of the logical channel, which is beneficial to improve the flexibility of inter-device resource request and corresponding resource configuration.
[0080] In one possible example, the first physical layer identifier is determined by: determining a logical channel with a resource configuration requirement in the first electronic device; determining whether the logical channel with the resource configuration requirement is configured with a corresponding physical layer identifier according to the mapping relationship; if the logical channel is configured with a corresponding second physical layer identifier, determining the second physical layer identifier as the first physical layer identifier; or determining a third physical layer identifier as the first physical layer identifier, the third physical layer identifier being any physical layer identifier in the first number of physical layer identifiers except the physical layer identifier in the mapping relationship; and if the logical channel is not configured with a corresponding physical layer identifier, determining the third physical layer identifier as the first physical layer identifier.
[0081] In a specific implementation, the third physical layer identifier, that is, the physical layer identifier outside the mapping relationship, can represent any logical channel, that is, any logical channel with a resource configuration requirement can carry the third physical layer identifier in the resource request message. When the logical channel in the mapping relationship has a resource configuration requirement, in addition to the third physical layer identifier, the corresponding physical layer identifier in the mapping relationship can also be carried; but when the logical channel outside the mapping relationship has a resource configuration requirement, only the third physical layer identifier can be carried.
[0082] In addition, in other embodiments, the third physical layer identifier, that is, the physical layer identifier outside the mapping relationship, can also represent only any logical channel outside the mapping relationship, that is, when any logical channel outside the mapping relationship has a resource configuration requirement, the third physical layer identifier is carried in the resource request message.
[0083] It can be seen that, in the example, the first physical layer identifier carried in the resource request information is determined according to the logical channel that has a resource configuration requirement and the mapping relationship between the logical channel and the physical layer identifier, the logical channel is associated with the service type of the data to be transmitted by the first electronic device, and the second electronic device can determine the service type of the data to be transmitted by the first electronic device according to the first physical layer identifier and the mapping relationship after receiving the resource request information, and can perform fine resource configuration and response control according to the service type, which is beneficial to improving the flexibility of resource request and corresponding resource configuration between devices.
[0084] The above mainly introduces the scheme of the embodiments of the present application from the perspective of the execution process of the method. It can be understood that, in order to implement the above functions, the electronic device comprises a hardware structure and / or a software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the description of each step in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0085] The embodiments of the present application can divide the functional units of the electronic device according to the above method examples. For example, each functional unit can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be realized in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division. When actually implemented, there can be another division method.
[0086] Figure 4 is a functional unit composition block diagram of a resource request device provided by the embodiments of the present application. The resource request device 40 is applied to a first electronic device, and the resource request device 40 comprises:
[0087] The sending unit 401 is configured to send a resource request message carrying a first physical layer identifier to a second electronic device;
[0088] The receiving unit 402 is configured to receive a resource response message from the second electronic device.
[0089] In a possible example, the receiving unit 402 is further configured to: before the sending of the resource request message carrying the first physical layer identifier to the second electronic device, receive a first quantity of physical layer identifiers allocated by the second electronic device for the first electronic device, and a mapping relationship between a second quantity of physical layer identifiers and logical channels, the first quantity of physical layer identifiers including the first physical layer identifier, and the first quantity of physical layer identifiers including the second quantity of physical layer identifiers.
[0090] In a possible example, the first physical layer identifier is any one of: a physical layer identifier in the mapping relationship, or any physical layer identifier in the first quantity of physical layer identifiers except the physical layer identifier in the mapping relationship.
[0091] In a possible example, the correspondence between the physical layer identifier and the logical channel in the mapping relationship includes any one of: a correspondence between the physical layer identifier and a logical channel identifier of the logical channel, or a correspondence between the physical layer identifier and a low N-bit of the logical channel identifier, N being a positive integer.
[0092] In a possible example, the first physical layer identifier is determined by: determining a logical channel with a resource configuration requirement in the first electronic device; determining, according to the mapping relationship, whether the logical channel with the resource configuration requirement is configured with a corresponding physical layer identifier; if configured with a corresponding second physical layer identifier, determining the second physical layer identifier as the first physical layer identifier; or determining a third physical layer identifier as the first physical layer identifier, the third physical layer identifier being any physical layer identifier in the first quantity of physical layer identifiers except the physical layer identifier in the mapping relationship; if not configured with a corresponding physical layer identifier, determining the third physical layer identifier as the first physical layer identifier.
[0093] In the case of integrated units, a functional unit block diagram of the resource request apparatus provided by the embodiments of the present application is shown in Figure 5 In Figure 5 particular, the resource request apparatus includes a processing module 50 and a communication module 51. The processing module 50 is configured to control and manage the actions of the resource request apparatus, for example, the steps performed by the sending unit 401 and the receiving unit 402, and / or other processes for executing the techniques described herein. The communication module 51 is configured to support the interaction between the resource request apparatus and other devices. As Figure 5 shown, the resource request apparatus can further include a storage module 52, which is configured to store the program code and data of the resource request apparatus.
[0094] The processing module 50 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processing module 50 can implement or execute various example logical blocks, modules, and circuits described in connection with the disclosure. The processing module 50 can also be a combination of components implementing computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 51 can be a transceiver, an RF circuit, a communication interface, or the like. The storage module 52 can be a memory.
[0095] The above method embodiments are related to all relevant contents of the corresponding functional modules, and thus will not be described herein. The above resource request device can perform the above Figure 2 The resource request method shown in the above embodiment.
[0096] Figure 6 is a functional unit composition block diagram of a resource configuration device provided by the embodiment of the present application. The resource configuration device 60 is applied to a second electronic device, and the resource configuration device 60 includes:
[0097] The receiving unit 601 is configured to receive a resource request message carrying a first physical layer identifier sent by a first electronic device.
[0098] The sending unit 602 is configured to send a resource response message to the first electronic device.
[0099] In one possible example, the sending unit 602 is further configured to, before receiving the resource request message carrying the first physical layer identifier sent by the first electronic device, send, to the first electronic device, a first number of physical layer identifiers allocated to the first electronic device, and a mapping relationship between a second number of physical layer identifiers and a logical channel, the first number of physical layer identifiers including the first physical layer identifier, and the first number of physical layer identifiers including the second number of physical layer identifiers.
[0100] In one possible example, the first physical layer identifier is any one of the following: a physical layer identifier in the mapping relationship, or any physical layer identifier in the first number of physical layer identifiers except the physical layer identifier in the mapping relationship.
[0101] In a possible example, the correspondence between the physical layer identifier and the logical channel in the mapping relationship includes any one of the following: a correspondence between the physical layer identifier and a logical channel identifier of the logical channel; or a correspondence between the physical layer identifier and a low N-bit of a logical channel identifier of the logical channel, where N is a positive integer.
[0102] In a possible example, the first physical layer identifier is determined by: determining a logical channel with a resource configuration requirement in the first electronic device; determining whether the logical channel with the resource configuration requirement is configured with a corresponding physical layer identifier according to the mapping relationship; if the logical channel with the resource configuration requirement is configured with a corresponding second physical layer identifier, determining the second physical layer identifier as the first physical layer identifier; or determining a third physical layer identifier as the first physical layer identifier, where the third physical layer identifier is any physical layer identifier in the first quantity of physical layer identifiers except the physical layer identifier in the mapping relationship; and if the logical channel with the resource configuration requirement is not configured with a corresponding physical layer identifier, determining the third physical layer identifier as the first physical layer identifier.
[0103] In the case of an integrated unit, a function unit composition block diagram of the resource configuration apparatus provided by the embodiments of the present application is shown in Figure 7 In Figure 7 particular, the resource configuration apparatus 7 includes a processing module 70 and a communication module 71. The processing module 70 is configured to control and manage actions of the resource configuration apparatus, for example, steps performed by the receiving unit 601 and the sending unit 602, and / or other processes for implementing the techniques described herein. The communication module 71 is configured to support interactions between the resource configuration apparatus and other devices. As Figure 7 shown, the resource configuration apparatus can further include a storage module 72, which is configured to store program codes and data of the resource configuration apparatus.
[0104] The processing module 70 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic device, transistor logic device, hardware component, or any combination thereof. The processing module 70 can implement or execute various example logical blocks, modules, and circuits described in connection with the disclosure. The processing module 70 can also be a combination of components implementing computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 71 can be a transceiver, an RF circuit, a communication interface, or the like. The storage module 72 can be a memory.
[0105] All the related content of each scenario involved in the method embodiments can be cited to the function description of the corresponding function module, and will not be repeated here. The above resource configuration apparatus can perform the above Figure 3 The steps performed by the second electronic device in the resource configuration method shown in the above embodiment.
[0106] The embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute part or all of the steps of any method described in the above method embodiments. The computer includes an electronic device.
[0107] The embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. The computer program is operable to cause a computer to execute part or all of the steps of any method described in the above method embodiments. The computer program product can be a software installation package, and the computer includes an electronic device.
[0108] It should be noted that, for the above-mentioned method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, some steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.
[0109] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0110] In several embodiments provided by the present application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are only schematic. The division of the above units is only a logical function division. There can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical or other forms.
[0111] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed to multiple network units. Part or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0112] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0113] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable memory. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the above-mentioned method of each embodiment of the present application. The aforementioned memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0114] Those skilled in the art can understand that all or part of the steps of the various methods of the above embodiments can be completed by programs instructing relevant hardware, and the programs can be stored in a computer readable memory, and the memory can include: a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0115] The embodiments of the present application are described in detail above, and the principles and implementation modes of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; in view of the above, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A resource request method, characterized by, The method applied to a first electronic device comprises: receiving a first number of physical layer identifiers allocated by a second electronic device for the first electronic device, and a mapping relationship between a second number of physical layer identifiers and logical channels, wherein the first number of physical layer identifiers comprises a first physical layer identifier, and the first number of physical layer identifiers comprises the second number of physical layer identifiers; when lacking wireless resources for reporting a data link layer data amount size, randomly selecting an access resource from contention access resources, and sending a resource request message carrying the first physical layer identifier to the second electronic device on the access resource; receiving a resource response message from the second electronic device.
2. The method of claim 1, wherein, The first physical layer identifier is any one of the following: Any physical layer identifier in the mapping relationship and any physical layer identifier in the first number of physical layer identifiers except the physical layer identifier in the mapping relationship.
3. The method according to claim 1 or 2, characterized in that, The corresponding relationship between the physical layer identifier and the logical channel in the mapping relationship comprises any one of the following: The corresponding relationship between the physical layer identifier and a logical channel identifier of the logical channel; Or, The corresponding relationship between the physical layer identifier and the low N bits of the logical channel identifier, N being a positive integer.
4. The method according to claim 1 or 2, characterized in that, The first physical layer identifier is determined by the following operations: determining a logical channel with a resource configuration requirement in the first electronic device; determining whether the logical channel with the resource configuration requirement is configured with a corresponding physical layer identifier according to the mapping relationship; if configured with a corresponding second physical layer identifier, determining the second physical layer identifier as the first physical layer identifier; or, determining a third physical layer identifier as the first physical layer identifier, the third physical layer identifier being any physical layer identifier in the first number of physical layer identifiers except the physical layer identifier in the mapping relationship; if not configured with a corresponding physical layer identifier, determining the third physical layer identifier as the first physical layer identifier.
5. A resource configuration method, comprising: The method applied to a second electronic device comprises: receiving a resource request message carrying a first physical layer identifier sent by a first electronic device, wherein the resource request message is sent by the first electronic device when the first electronic device receives a first number of physical layer identifiers allocated by the second electronic device for the first electronic device, and a mapping relationship between a second number of physical layer identifiers and logical channels, wherein the first number of physical layer identifiers comprises a first physical layer identifier, and the first number of physical layer identifiers comprises the second number of physical layer identifiers; and when lacking wireless resources for reporting a data link layer data amount size, randomly selecting an access resource from contention access resources, and sending the resource request message to the second electronic device on the access resource; sending a resource response message to the first electronic device.
6. The method of claim 5, wherein, Before the receiving the resource request message carrying the first physical layer identifier sent by the first electronic device, the method further comprises: sending, to the first electronic device, a first number of physical layer identifications allocated to the first electronic device, and a mapping relationship between a second number of physical layer identifications and logical channels, the first number of physical layer identifications including the first physical layer identification, and the first number of physical layer identifications including the second number of physical layer identifications.
7. The method of claim 6, wherein, The first physical layer identification is any one of the following: Any physical layer identification in the mapping relationship, and any physical layer identification in the first number of physical layer identifications other than the physical layer identification in the mapping relationship.
8. The method according to claim 6 or 7, characterized in that, The correspondence between the physical layer identification and the logical channel in the mapping relationship includes any one of the following: The correspondence between the physical layer identification and the logical channel identification of the logical channel; Or, The correspondence between the physical layer identification and the low N bits of the logical channel identification of the logical channel, N being a positive integer.
9. The method according to claim 6 or 7, characterized in that, The first physical layer identification is determined by the following operations: Determining a logical channel with resource configuration requirements in the first electronic device; Determining whether the logical channel with resource configuration requirements is configured with a corresponding physical layer identification according to the mapping relationship; If a corresponding second physical layer identification is configured, the second physical layer identification is determined as the first physical layer identification; Or, a third physical layer identification is determined as the first physical layer identification, the third physical layer identification being any physical layer identification in the first number of physical layer identifications other than the physical layer identification in the mapping relationship; If no corresponding physical layer identification is configured, the third physical layer identification is determined as the first physical layer identification.
10. A resource request apparatus characterized by comprising: Applied to a first electronic device, the apparatus comprises: A sending unit configured to, when lacking wireless resources for reporting data link layer data size, randomly select an access resource from contending access resources, and send, to a second electronic device, a resource request message carrying a first physical layer identification on the access resource; A receiving unit configured to receive a resource response message from the second electronic device; The apparatus is further configured to, before the sending, to the second electronic device, of the resource request message carrying the first physical layer identification, receive, from the second electronic device, a first number of physical layer identifications allocated to the first electronic device, and a mapping relationship between a second number of physical layer identifications and logical channels, the first number of physical layer identifications including the first physical layer identification, and the first number of physical layer identifications including the second number of physical layer identifications.
11. A resource configuration apparatus, characterized by comprising: Applied to a second electronic device, the apparatus comprises: a receiving unit, configured to receive a resource request message carrying a first physical layer identifier sent by a first electronic device, the resource request message being sent when the first electronic device performs the following steps: receiving a first number of physical layer identifiers allocated by a second electronic device for the first electronic device, the first number of physical layer identifiers including the first physical layer identifier, and a mapping relationship between a second number of physical layer identifiers and a logical channel; and when lacking wireless resources for reporting a data link layer data size, randomly selecting an access resource from contending access resources, and sending the resource request message to the second electronic device on the access resource; a sending unit, configured to send a resource response message to the first electronic device.
12. An electronic device, comprising: A computer program product comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method according to any one of claims 1-4.
13. An electronic device, comprising: A computer program product comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method according to any one of claims 5-9.
14. A computer-readable storage medium, characterized in that, A computer program product for electronic data exchange, wherein the computer program product causes a computer to perform the method according to any one of claims 1-4 or 5-9.
Citation Information
Patent Citations
Resource request method and device and resource request processing method and device
CN109803385A