Resource allocation method, apparatus and system

By dynamically allocating asynchronous link resources in Bluetooth Low Energy technology, the problems of resource waste and increased power consumption are solved, achieving more efficient resource utilization and power management.

CN117581492BActive Publication Date: 2025-11-07HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202180099806.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2025-11-07
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

In Bluetooth Low Energy technology, after the asynchronous link and synchronous link are established, the asynchronous link resources are used less frequently, resulting in resource waste and increased system power consumption.

Method used

The master control device dynamically allocates air interface resources for asynchronous links based on the indication information on the synchronous link. It allocates resources to asynchronous links only when needed and allocates resources to other links when not needed.

Benefits of technology

It reduces air interface resource waste, lowers system power consumption, and is suitable for resource allocation needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117581492B_ABST
    Figure CN117581492B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide resource allocation methods, devices and systems, which are used to solve the problem of resource waste in the existing resource allocation method after the establishment of asynchronous link and synchronous link. The method comprises: a master device establishes a first asynchronous link between the master device and a first slave device (S801); the master device establishes a first synchronous link between the master device and the first slave device based on the first asynchronous link (S802); and the master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link (S803), wherein the indication information indicates whether control signaling transmission is required on the first asynchronous link.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication, and in particular to a resource allocation method, device and system. BACKGROUND

[0002] Compared with the traditional Bluetooth technology, the Bluetooth low energy (BLE) technology has the significant advantages of low power consumption and low cost, and therefore the BLE technology can be used for small data transmission between ultra-low power consumption devices.

[0003] At present, when using the BLE technology for service transmission between devices, an asynchronous link and a synchronous link need to be established between a master device and each slave device. The asynchronous link is used for transmitting control signaling, and the synchronous link is used for transmitting real-time data.

[0004] In the prior art, after the establishment of the asynchronous link and the synchronous link, the master device periodically allocates asynchronous link resources for transmitting control signaling and synchronous link resources for transmitting real-time data. However, since the control signaling is less, the frequency of using the asynchronous link resources for transmitting control signaling is low, and therefore there is a large waste of air interface resources. Taking the application of the BLE technology to the transmission of audio in a true wireless stereo (TWS) earphone as an example, the synchronous link is used for transmitting audio data, and the asynchronous link is used for transmitting control signaling. In most cases, there is no signaling transmission on the asynchronous link, and only when the earphone needs to adjust the volume, synchronize the power, turn on the noise reduction, etc., the asynchronous link is used to transmit control signaling. Obviously, in the above case, there is a large waste of air interface resources. SUMMARY

[0005] Embodiments of the present application provide a resource allocation method, device and system, which are used to solve the problem of resource waste in the existing resource allocation method after the establishment of the asynchronous link and the synchronous link.

[0006] To achieve the above object, embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, a resource allocation method is provided. An apparatus performing the resource allocation method can be a master device, a module (e.g., a chip or a chip system) applied in the master device. Hereinafter, the performing subject is taken as the master device for example. The master device establishes a first asynchronous link with a first slave device; the master device establishes a first synchronous link with the first slave device based on the first asynchronous link; and the master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, where the indication information indicates whether control signaling transmission is needed on the first asynchronous link. In the resource allocation method provided in this application, the indication information indicates whether control signaling transmission is needed on the first asynchronous link, and the master device dynamically allocates the first air interface resource for the first asynchronous link according to the indication information. Compared with the prior art in which the first air interface resource is fixedly allocated for the first asynchronous link in each period, the resource allocation method provided in this application can dynamically allocate the first air interface resource according to the indication information.

[0008] In a possible implementation manner of the first aspect, the indication information includes first indication information and / or second indication information, where the first indication information indicates whether the master device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link; and the master device dynamically allocates the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: if at least one of the first indication information or the second indication information indicates that control signaling transmission is needed on the first asynchronous link, the master device allocates the first air interface resource for the first asynchronous link; or if the first indication information and the second indication information both indicate that control signaling transmission is not needed on the first asynchronous link, the master device allocates a second air interface resource pre-configured in a period in which the indication information is located to a link other than the first asynchronous link, and the second air interface resource is used for the master device to receive or send control signaling. In the resource allocation method provided in this application, the first asynchronous link is allocated with resources only when it is needed, and the pre-configured resources are allocated to other links when the first asynchronous link is not needed, so that resource idling can be avoided, and thus the waste of air interface resources can be avoided.

[0009] In a possible implementation manner of the first aspect, the master device receives a second data packet sent by the first slave device through the first synchronous link, where the second data packet includes the second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link.

[0010] In a possible implementation of the first aspect, the master device dynamically allocates the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: the master device allocates the first air interface resource for the first asynchronous link in the next period of the period in which the indication information is located. In this scheme, the master device can allocate the first air interface resource for the first asynchronous link in the next period of the period in which the indication information is located, and thus is suitable for scenarios with large amount of data transmission, high duty cycle and low latency requirement, for example, high-definition music, telephone and other audio scenarios.

[0011] In a possible implementation of the first aspect, the first air interface resource is part or all of a second air interface resource pre-configured by the master device in the period in which the indication information is located, and the second air interface resource is used for the master device to receive or send control signaling. In this scheme, the master device can allocate the first air interface resource for the first asynchronous link in the period in which the indication information is located, and thus is suitable for low-latency scenarios, for example, mouse, keyboard, game music and other scenarios.

[0012] In a possible implementation of the first aspect, the master device dynamically allocates the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: the master device allocates the first air interface resource for the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; and the second slave device is a device that transmits a fourth data packet, and the fourth data packet includes fourth indication information indicating that control signaling needs to be transmitted on a second asynchronous link, and the second asynchronous link is used for transmitting control signaling between the master device and the second slave device. In this scheme, the asynchronous link resource pre-configured in the current period is allocated according to the priority, and although a small amount of control signaling cannot be transmitted, the technical effect of saving resources can still be achieved.

[0013] In a possible implementation of the first aspect, if there is data transmission on the first synchronous link in the first time period, the master device maintains the first asynchronous link. In this scheme, since the first synchronous link is established on the basis of the first asynchronous link, the connection of the asynchronous link can be maintained according to the transmission and reception of the data packet of the synchronous link, and it is not necessary to specially transmit an empty packet to maintain the asynchronous link, thereby reducing the power consumption of the system.

[0014] In a second aspect, a resource allocation method is provided. An apparatus performing the resource allocation method can be a first slave device, a module (e.g., a chip or a chip system) applied in the first slave device. Hereinafter, the performing subject is taken as the first slave device for example. The first slave device generates a second data packet, the second data packet comprising second indication information indicating whether the communication device needs to send control signaling to the master device through the first asynchronous link; and the first slave device sends the second data packet to the master device through a first synchronous link; wherein the first synchronous link is used for transmitting data between the master device and the first slave device, and the first asynchronous link is used for transmitting control signaling between the master device and the first slave device.

[0015] In a third aspect, a communication device for implementing the above method is provided. The communication device comprises modules, units, or means for implementing the above method, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software comprises one or more modules or units corresponding to the above functions.

[0016] With reference to the third aspect above, in a possible implementation, the communication device is a Bluetooth chip or a master device, and the communication device comprises: a transceiver and a processor; the transceiver is configured to establish a first asynchronous link with a first slave device; the transceiver is further configured to establish a first synchronous link with the first slave device based on the first asynchronous link; and the processor is configured to dynamically allocate a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, wherein the indication information indicates whether control signaling transmission is needed on the first asynchronous link.

[0017] In a possible implementation manner of the third aspect, the indication information comprises first indication information and / or second indication information, where the first indication information indicates whether the communication device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the communication device through the first asynchronous link; the processor is configured to dynamically allocate first air interface resources for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: if at least one of the first indication information or the second indication information indicates that control signaling transmission is needed on the first asynchronous link, the first air interface resources are allocated for the first asynchronous link; or, if the first indication information and the second indication information both indicate that control signaling transmission is not needed on the first asynchronous link, second air interface resources pre-configured in a period in which the indication information is located are allocated to links other than the first asynchronous link, and the second air interface resources are used for the communication device to receive or send control signaling.

[0018] In a possible implementation manner of the third aspect, the first indication information comprises third indication information, and the third indication information indicates that the communication device needs to send the control signaling to the first slave device through the first asynchronous link; the processor is further configured to generate the control signaling in response to a control operation of a user, where the control instruction is used to control data transmission on the first synchronous link; the processor is further configured to generate a first data packet, where the first data packet comprises the third indication information; and the transceiver is further configured to send the first data packet to the first slave device through the first synchronous link.

[0019] In a possible implementation manner of the third aspect, the transceiver is further configured to receive a second data packet sent by the first slave device through the first synchronous link, where the second data packet comprises the second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the communication device through the first asynchronous link.

[0020] In a possible implementation manner of the third aspect, the processor is configured to dynamically allocate first air interface resources for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: the first air interface resources are allocated for the first asynchronous link in a next period of a period in which the indication information is located.

[0021] In a possible implementation manner of the third aspect, the first air interface resources are part or all of second air interface resources pre-configured by the communication device in a period in which the indication information is located, and the second air interface resources are used for the communication device to receive or send control signaling.

[0022] In a possible implementation of the third aspect, the processor is configured to dynamically allocate the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: being configured to allocate the first air interface resource to the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; and the second slave device is a device that transmits a fourth data packet, and the fourth data packet includes fourth indication information, and the fourth indication information indicates that control signaling needs to be transmitted on a second asynchronous link, and the second asynchronous link is used to transmit control signaling between the communication device and the second slave device.

[0023] In a possible implementation of the third aspect, the processor is further configured to maintain the first asynchronous link if there is data transmission on the first synchronous link in a first time period.

[0024] In a fourth aspect, a communication device is provided for implementing the method described above. The communication device includes modules, units, or means corresponding to the modules, units, or means for implementing the method described above, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the functions described above.

[0025] In a possible implementation of the fourth aspect, the communication device is a Bluetooth chip or a first slave device, and the communication device includes a transceiver and a processor. The processor is configured to generate a second data packet, and the second data packet includes second indication information, and the second indication information indicates whether the communication device needs to send control signaling to a master device through a first asynchronous link. The transceiver is configured to send the second data packet to the master device through a first synchronous link. The first synchronous link is used to transmit data between the master device and the communication device, and the first asynchronous link is used to transmit control signaling between the master device and the communication device.

[0026] In a fifth aspect, a communication system is provided, including the communication device of the second aspect described above, and one or more communication devices of the third aspect described above.

[0027] In a sixth aspect, a communication device is provided, including a processor. The processor is configured to be coupled with a memory, and after reading computer instructions stored in the memory, execute the method of the first aspect described above according to the instructions.

[0028] In a possible implementation of the sixth aspect, the communication device further includes a memory. The memory is configured to store computer instructions.

[0029] In a possible implementation manner of the sixth aspect, the communication device further includes a communication interface, and the communication interface is configured to enable the communication device to communicate with other devices. For example, the communication interface can be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or a related circuit.

[0030] In a possible implementation manner of the sixth aspect, the communication device can be a chip or a chip system. When the communication device is a chip system, the communication device can be composed of a chip or can include a chip and other discrete devices.

[0031] In a seventh aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer can execute the method in the first aspect.

[0032] In an eighth aspect, a computer program product is provided, and the computer program product includes instructions. When the instructions are executed on a computer, the computer can execute the method in the first aspect.

[0033] The technical effects brought by any possible implementation manner of the second aspect to the eighth aspect can refer to the technical effects brought by the first aspect or different implementation manners of the first aspect, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS

[0034] Figure 1 FIG. 1 is a schematic diagram of an establishment process of an asynchronous link in the prior art;

[0035] Figure 2 FIG. 5 is a schematic diagram of an architecture of a system for transmitting services by using the BLE technology in the prior art;

[0036] Figure 3 FIG. 7 is a schematic diagram of synchronous link resources and asynchronous link resources allocated by a master device in the prior art;

[0037] Figure 4 FIG. 9 is a schematic diagram of a data packet format of a link layer in the BLE protocol in the prior art;

[0038] Figure 5 FIG. 11 is a schematic diagram of a format of a PDU in the prior art;

[0039] Figure 6 FIG. 13 is a schematic diagram of an architecture of a communication system provided by an embodiment of the present application;

[0040] Figure 7 FIG. 15 is a schematic diagram of a structure of a communication device provided by an embodiment of the present application; Figure 1

[0041] Figure 8 ​A flowchart illustrating a resource allocation method provided in an embodiment of this application;

[0042] Figure 9 A schematic diagram illustrating the difference between the resource allocation method provided in this application and existing resource allocation methods;

[0043] Figure 10 A flowchart illustrating an example of a resource allocation method provided in this application embodiment;

[0044] Figure 11 A flowchart illustrating Example 2 of a resource allocation method provided in this application embodiment;

[0045] Figure 12 Schematic diagram of the communication device provided for the implementation of this application Figure 2 . Detailed Implementation

[0046] To facilitate understanding of the technical solutions of the embodiments of this application, a brief introduction to the relevant technologies or terms of this application is given below.

[0047] First, the process of establishing an asynchronous connection link (ACL).

[0048] Taking the BLE protocol as an example, Figure 1 This illustrates the process of establishing an asynchronous link. Here, S (slave) represents a slave device, acting as the broadcast sender, and M (master) represents the master device, acting as the broadcast receiver. The following will combine... Figure 1 This paper describes the process from broadcast access to establishing an asynchronous link from the perspective of the broadcast receiver. It should be noted that there is a broadcast scanning process before the broadcast access process. Figure 1 The broadcast scanning process is not shown.

[0049] First, the receiver of the broadcast receives the broadcast packet on the primary adv.channel. After the inter-frame time interval (time_interFrameSpace, T_IFS), it sends a connection indication (connect_ind) back to the sender of the broadcast on the primary adv.channel. At this point, the broadcast event ends.

[0050] Then, after the transmission window delay (transmitWindowDelay) and time t, the receiver of the broadcast sends data packets to the sender of the broadcast within the transmission window. The time difference between the end of the transmission window delay and the start of the transmission window is called the transmission window offset (transmitWindowOffset). t has a certain range of values; the minimum value of t is equal to the transmission window offset, and the maximum value of t is equal to the sum of the transmission window offset and the transmission window size (transmitWindowSize).

[0051] Next, after T_IFS, the broadcast sender sends data packets to the broadcast receiver.

[0052] Finally, the receiver of the broadcast sends data packets back to the sender of the broadcast. Figure 1 As not shown in the diagram, similarly, the broadcast sender sends data packets to the broadcast receiver again. After a total of six cycles of data exchange between the broadcast receiver and the broadcast sender, the asynchronous link is established. As mentioned earlier, Figure 1 The second data interaction cycle is not fully shown, nor are the third to sixth data interaction cycles. The length of each cycle is the connection interval (connInterval).

[0053] Second, the existing resource allocation scheme

[0054] Taking two slave devices as an example, Figure 2 This diagram illustrates a system using BLE technology for service transmission. S1 and S2 represent two slave devices, and M represents the master device. For example, S1 can be the left earpiece of a Bluetooth headset, S2 can be the right earpiece, and M can be a mobile phone. An asynchronous link is first established between M and S1, followed by a synchronous link; similarly, an asynchronous link is first established between M and S2, followed by a synchronous link. Subsequently, M and S1 transmit control signaling on the asynchronous link resources via the established asynchronous link, and M and S1 transmit data on the synchronous link resources via the established synchronous link; similarly, M and S2 transmit control signaling on the asynchronous link resources via the established asynchronous link, and M and S2 transmit data on the synchronous link resources via the established synchronous link.

[0055] Combination Figure 2 The system shown, such as Figure 3 The diagram illustrates the allocation of synchronous and asynchronous link resources to the master control device in the prior art. It should be noted that the allocation of synchronous and asynchronous link resources is periodically repeated. Figure 3 Only one cycle is shown.

[0056] exist Figure 3In the figure, the synchronous link resources include M-to-S1 and S2 direction, S1-to-M direction, and S2-to-M direction synchronous link resources, wherein, "S12" in the figure represents S1 and S2, the M-to-S1 and S2 direction synchronous link resources can be referred to as synchronous link M resources, and the S1-to-M direction and S2-to-M direction synchronous link resources can be referred to as synchronous link S resources. It should be noted that, Figure 3 The synchronous link resources in the figure include three periods, each of which can be used for retransmission or new transmission of data, and the number of periods included in the synchronous link resources is not limited to three. For example, in a low signal-to-noise ratio environment, in order to ensure the reliability of communication, the synchronous link resources can include more periods for retransmission of data.

[0057] In the figure, Figure 3 In the figure, the asynchronous link resources include M-to-S1 direction, S1-to-M direction, M-to-S2 direction, and S2-to-M direction asynchronous link resources, wherein, the M-to-S1 and M-to-S2 direction asynchronous link resources can be referred to as asynchronous link M resources, and the S1-to-M direction and S2-to-M direction asynchronous link resources can be referred to as asynchronous link S resources.

[0058] Figure 3 The resource allocation scheme shown in the figure has the following disadvantages:

[0059] First, there will be a large waste of air interface resources. The master device will fixedly allocate M-to-S1 direction, S1-to-M direction, M-to-S2 direction, and S2-to-M direction asynchronous link resources in each period. However, due to the small amount of control signaling in the process of service transmission, the use frequency of the asynchronous link resources for transmitting control signaling is low, so in most cases, the fixedly allocated asynchronous link resources are in an idle state, which will lead to waste of air interface resources. Especially when the number of slave devices increases, the master device fixedly allocates more asynchronous link resources in each period, and the waste of air interface resources is more significant.

[0060] Second, the power consumption of the system increases. When there is no signaling transmission on the asynchronous link, a null packet needs to be transmitted every certain period of time to maintain the asynchronous link. Since the null packet is only used to maintain the link and does not carry any useful information, the transmission of the null packet will increase the power consumption of the system.

[0061] Third, the data packet format of the link layer in the BLE protocol

[0062] As Figure 4As shown, the data packet format of the link layer in the BLE protocol is shown. In order from the least significant bit (LSB) to the most significant bit (MSB), the data packet of the link layer in the BLE protocol includes a preamble, an access address, a protocol data unit (PDU), and a cyclic redundancy check (CRC) in sequence. Among them, the preamble occupies 1 or 2 bytes, the access address occupies 4 bytes, the PDU occupies 2 to 258 bytes, and the CRC occupies 3 bytes. Optionally, the data packet of the link layer in the BLE protocol also includes a 16μs to 160μs fixed frequency extension signal (constant tone extension). The functions of the fields in the above data packet are described in the existing BLE protocol, and will not be described here.

[0063] In combination Figure 4 , Figure 5 The format of the PDU is shown. In order from the LSB to the MSB, the PDU includes a head and a payload in sequence. Among them, the length of the head is 16 bits, the payload occupies 0 to 251 bytes, the head can carry the field for identification, which is used to avoid the loss of service data, and the payload is used to carry the service data that needs to be transmitted. Optionally, the PDU also includes a message integrity check, which is 32 bits long, used to ensure that the service data is not tampered with.

[0064] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, " / " represents an "or" relationship between the objects before and after the " / " symbol, for example, A / B can represent A or B; in the present application, "and / or" is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A alone, A and B together, and B alone, where A and B can be singular or plural. In the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or similar expressions means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, "first", "second", and the like are used to distinguish the same or similar items with basically the same function and role. Those skilled in the art can understand that "first", "second", and the like do not limit the quantity and execution order, and "first", "second", and the like do not necessarily mean different. At the same time, in the embodiments of the present application, "exemplary" or "for example" means to serve as an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner, for understanding.

[0065] As shown in FIG. 1, a communication system 60 is provided in the embodiments of the present application. The communication system 60 includes a master device 601 and a first slave device 602, and a first synchronous link for transmitting data and a first asynchronous link for transmitting control signaling have been established between the master device 601 and the first slave device 602. Figure 6

[0066] The master device 601 is configured to establish a first asynchronous link with the first slave device 602, establish a first synchronous link with the first slave device 602 based on the first asynchronous link, and dynamically allocate a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, where the indication information indicates whether control signaling transmission is required on the first asynchronous link. The specific implementation and technical effects of the scheme will be described in detail in the subsequent method embodiments, which will not be described here.

[0067] ​Optionally, the functions of the master device or the first slave device in the embodiments of the present application can be implemented by one device, or by multiple devices together, or by one or more functional modules in a device, and the present application does not make a specific limitation thereon. It can be understood that the above functions can be a network element in a hardware device, or a software function running on a special hardware, or a combination of hardware and software, or a virtualized function instantiated on a platform (for example, a cloud platform).

[0068] For example, the functions of the master device or the first slave device in the embodiments of the present application can be implemented by the communication device 700 in the embodiments of the present application. Figure 7

[0069] Figure 7 As shown in FIG. 7, which is a structural schematic diagram of the communication device 700 provided by the embodiments of the present application. The communication device 700 includes one or more processors 701, a communication line 702, and at least one communication interface (704). Figure 7 In the embodiments of the present application, only an example is taken to include the communication interface 704 and one processor 701 for illustration, and optionally, the communication device 700 can further include a memory 703.

[0070] The processor 701 can be a CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs of the present application.

[0071] The communication line 702 can include a channel for connecting different components.

[0072] The communication interface 704 can be a transceiver module for communicating with other devices or communication networks, such as Ethernet, RAN, WLAN, etc. For example, the transceiver module can be a transceiver, a transceiver-like device, or the like. Optionally, the communication interface 704 can also be a transceiver circuit located in the processor 701, for realizing the signal input and signal output of the processor.

[0073] ​The memory 703 can be a device with storage functionality. For example, it can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions; random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions; electrically erasable programmable read-only memory (EEPROM); compact disc read-only memory (CD-ROM) or other optical disc storage; optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.); magnetic disk storage media or other magnetic storage devices; or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory can exist independently and be connected to the processor via communication line 702. The memory can also be integrated with the processor.

[0074] The memory 703 stores computer execution instructions for implementing the scheme of this application, and its execution is controlled by the processor 701. The processor 701 executes the computer execution instructions stored in the memory 703, thereby implementing the resource allocation method provided in the embodiments of this application.

[0075] Alternatively, in this embodiment, the processor 701 may execute the processing-related functions in the resource allocation method provided in the following embodiments of this application, and the communication interface 704 may be responsible for communicating with other devices or communication networks. This embodiment does not specifically limit this.

[0076] The computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.

[0077] In a specific implementation, as one example, the processor 701 may include one or more CPUs, for example... Figure 7 CPU0 and CPU1 in the CPU.

[0078] In a specific implementation, as one example, the communication device 700 may include multiple processors, such as... Figure 7 Processors 701 and 707 are mentioned. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).

[0079] In a particular implementation, as an example, the communication apparatus 700 can further include an output device 705 and an input device 706. The output device 705 communicates with the processor 701 and can display information in a variety of ways.

[0080] The communication apparatus 700 described above can be a general-purpose apparatus or a special-purpose apparatus. For example, the communication apparatus 700 can be a desktop computer, a laptop computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal apparatus, a vehicle-mounted terminal apparatus, an embedded device, or a device having a similar structure. The embodiments of the present application are not limited to the type of the communication apparatus 700. Figure 7

[0081] The embodiments of the present application will be described below in conjunction with Figures 1 to 7 a resource allocation method provided by the embodiments of the present application.

[0082] As shown in FIG. 8, a resource allocation method provided by the embodiments of the present application includes the following steps: Figure 8

[0083] S801, the master device establishes a first asynchronous link with the first slave device.

[0084] In the embodiments of the present application, the first asynchronous link is used to transmit control signaling between the master device and the first slave device.

[0085] For example, the master device can be a mobile phone M in Figure 2 , and the first slave device can be a left earphone S1 or a right earphone S2 in Figure 2 .

[0086] S802, the master device establishes a first synchronous link with the first slave device based on the first asynchronous link.

[0087] In the embodiments of the present application, the first synchronous link is used to transmit data between the master device and the first slave device.

[0088] S803, the master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, wherein the indication information indicates whether control signaling transmission is needed on the first asynchronous link.

[0089] ​​Optionally, the indication information can be represented by one bit. For example, a bit value of "1" indicates that control signaling transmission is required on the first asynchronous link, and a bit value of "0" indicates that control signaling transmission is not required on the first asynchronous link; or, for example, a bit value of "0" indicates that control signaling transmission is required on the first asynchronous link, and a bit value of "1" indicates that control signaling transmission is not required on the first asynchronous link. This application embodiment does not impose any limitations on this.

[0090] Optionally, the indication information can be carried in the header of the data packet; for example, the indication information can be carried in the above-mentioned... Figure 5 The header fields of the PDU in the BLE protocol are shown. For example, the indication information can be the ACL stop flag (ASF) field.

[0091] For example, if the first slave device is Figure 2 S1 in the first asynchronous link is Figure 2 The asynchronous link between M and S1 has the following first air interface resource: Figure 3 Asynchronous link resources in the M-to-S1 direction and the S1-to-M direction; if the first slave device is Figure 2 S2 in the first asynchronous link is Figure 2 The asynchronous link between M and S2 has the following first air interface resource: Figure 3 Asynchronous link resources in the M-to-S2 direction and the S2-to-M direction.

[0092] Optionally, the indication information includes first indication information and / or second indication information, wherein the first indication information indicates whether the master control device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the master control device through the first asynchronous link; the master control device dynamically allocates first air interface resources for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: if at least one of the first indication information or the second indication information indicates that control signaling transmission is required on the first asynchronous link, the master control device allocates first air interface resources for the first asynchronous link; or, if both the first and second indication information indicate that control signaling transmission is not required on the first asynchronous link, the master control device allocates the pre-configured second air interface resources within the period of the indication information to links other than the first asynchronous link, and the second air interface resources are used by the master control device to receive or send control signaling. In the resource allocation method provided in this application, resources are allocated only when the first asynchronous link is needed, and when the first asynchronous link is not needed, the pre-configured resources are used by other links, thereby avoiding resource idleness and thus avoiding waste of air interface resources.

[0093] CombinationFigure 3 , Figure 9 The differences between existing resource allocation schemes and the resource allocation scheme provided in this application are illustrated. Solid boxes represent existing resource allocation schemes, where the second air interface resource can be asynchronous link M and asynchronous link S resources pre-configured within the current period. If both the first and second indications indicate that control signaling transmission is not required on the first asynchronous link, the master control device allocates the second air interface resource to, for example, the first synchronous link, i.e., as... Figure 9 As shown in the dashed box, the idle second air interface resources are used as synchronization link resources in the M to S1 and S2 directions, the S1 to M direction, and the S2 to M direction.

[0094] Optionally, the first indication information includes third indication information, which indicates that the master control device needs to send control signaling to the first slave device through the first asynchronous link; the method further includes: in response to the user's control operation, the master control device generates control signaling, and the control instruction is used to control the data transmission on the first synchronous link; the master control device generates a first data packet, which includes the third indication information; and the master control device sends the first data packet to the first slave device through the first synchronous link.

[0095] In this embodiment of the application, the value of the indication information is 0 by default. If the master control device needs to send control signaling to the first slave device through the first asynchronous link, for example, when the master control device clicks the buttons to adjust the volume, synchronize the power, or turn on noise reduction, the value of the first indication information is set to 1, which is the third indication information.

[0096] For example, the resources occupied by the master device sending the first data packet to the first slave device through the first synchronization link are: Figure 3 Synchronization link resources from M to S1 and S2;

[0097] If the first slave device is Figure 2 S1 in the first asynchronous link is Figure 2 In the asynchronous link between M and S1, if the first slave device is Figure 2 S2 in the first asynchronous link is Figure 2 In the asynchronous link between M and S2, the resources occupied by the master device sending the first data packet to the first slave device through the first synchronous link are: Figure 3 Synchronization link resources in the M to S2 direction.

[0098] Optionally, the master device receives a second data packet sent by the first slave device through the first synchronous link, where the second data packet comprises second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link. In other words, in the embodiment of the application, the master device can send a first data packet comprising first indication information to the first slave device, and the master device can also receive a second data packet comprising second indication information from the first slave device, where the first indication information or the second indication information is used to indicate whether control signaling needs to be transmitted on the first asynchronous link, and the application does not make any limitation in this regard.

[0099] For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 2 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 2 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 3 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 2 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 2 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows: Figure 3 For example, if the first slave device is S1 in the system, that is, the first asynchronous link is the asynchronous link between M and S1 in the system, the resource occupied by the second data packet sent by the first slave device and received by the master device through the first synchronous link is as follows:

[0100] In the resource allocation method provided in the application, the indication information indicates whether control signaling needs to be transmitted on the first asynchronous link, and the master device dynamically allocates the first air interface resource to the first asynchronous link according to the indication information. Compared with the prior art in which the first air interface resource is fixedly allocated to the first asynchronous link in each period, the resource allocation method provided in the application can dynamically allocate the first air interface resource according to the indication information. In a possible implementation, the master device dynamically allocates the first air interface resource to the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including that the master device allocates the first air interface resource to the first asynchronous link in the next period of the period in which the indication information is located. In this scheme, the master device can allocate the first air interface resource to the first asynchronous link only in the next period of the period in which the indication information is located, and therefore is suitable for scenarios in which the transmission data volume is large, the duty cycle is high, and the requirement for time delay is not high, for example, high-definition music, telephone, and other audio scenarios.

[0101] For example, the number of slave devices in the system is 4, the first indication information and the second indication information are ASF fields, the ASF field is represented by 1 bit, and the bit value is "1", which indicates that control signaling needs to be transmitted on the first asynchronous link, and the bit value is "0", which indicates that control signaling does not need to be transmitted on the first asynchronous link. Figure 10This illustration shows an example of a resource allocation method provided in an embodiment of this application. It should be noted that, for the sake of simplicity, it differs from... Figure 10 The synchronization link resources shown in the figure consist of three cycles. Figure 10 Only the case of a synchronization link resource containing one cycle is shown.

[0102] Figure 10 In this system, the allocation of synchronous and asynchronous resources is based on control (C) frames. Control frames are typically of the same length unless manually changed, in which case the length of each control frame remains the same. For example, if the current length of each control frame is 10ms, and its length is manually changed to 12ms, then the length of each control frame will also change to 12ms. The "C" in the diagram indicates the start of the current C frame.

[0103] For example, the ASF value in each data packet transmitted on the synchronous link is 0 by default. When M and S need to exchange control signaling, such as when clicking the buttons to adjust volume, synchronize power, or turn on noise reduction on the slave device S2, the ASF value in the data packet transmitted on the synchronous link resources from S2 to M is set to 1, indicating that control signaling needs to be transmitted on the asynchronous link between S2 and M.

[0104] like Figure 10 As shown, when the ASF value carried in the data packet sent by S2 to M on the synchronous resource is 1, M allocates asynchronous link resources in the direction from M to S2 and from S2 to M in the next C frame after the current C frame. When the ASF value carried in the data packet sent by S4 to M on the synchronous resource is 1, M allocates asynchronous link resources in the direction from M to S4 and from S4 to M in the next C frame after the current C frame. Since the ASF value carried in the data packets exchanged between S1 and M, and between S3 and M, is 0 on the synchronous resource of the first C frame in the figure, no asynchronous link resources for S1 and S3 to send and receive control signaling are allocated in the next C frame after the first C frame.

[0105] In the above Figure 10 In the example shown, if the ASF value is the default value of 0 in all packets on the synchronous resource of the first C frame, then no asynchronous link resource will be allocated on the next C frame after the first C frame.

[0106] In another possible implementation, the first air interface resource is part or all of the second air interface resource pre-configured by the master control device within the period of the indication information. The second air interface resource is used by the master control device to receive or send control signaling. In this scheme, since the master control device can allocate the first air interface resource for the first asynchronous link within the period of the indication information, it is suitable for low-latency scenarios, such as mouse, keyboard, game music, etc.

[0107] Optionally, the master device dynamically allocates the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, comprising: the master device allocates the first air interface resource to the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; wherein the second slave device is a device transmitting a fourth data packet, the fourth data packet comprising fourth indication information, the fourth indication information indicating that control signaling needs to be transmitted on a second asynchronous link, the second asynchronous link being used for transmitting control signaling between the master device and the second slave device. In this scheme, the asynchronous link resource pre-configured in the current period is competed according to the priority, and although a small amount of control signaling cannot be transmitted, the technical effect of saving resources can still be achieved.

[0108] Exemplarily, the second slave device can be a slave device other than the first slave device that receives or transmits the data packet comprising the ASF value of 1 on the synchronous link resource.

[0109] In this implementation, the master device pre-configures the second air interface resource, for example, the second air interface resource is K M-to-S asynchronous link resources and K S-to-M asynchronous link resources, wherein the value of K is less than the number of slave devices in the system. Assuming that there are J S that receive or transmit data packets comprising the ASF value of 1 on the synchronous link resource, if J≤K, then M allocates asynchronous link resources for transmitting control signaling to each of the J S; if J>K, then M first prioritizes the services transmitted by the J S, and then selects K S with higher priority from the J S, and allocates asynchronous link resources for transmitting control signaling to each of the selected K S. Exemplarily, the priority of the service can be embodied by the importance and / or urgency of the service.

[0110] Figure 11 An example of another resource allocation method provided by the embodiment of the application is shown when the number of slave devices in the system is 4, J=2, and K=1. It should be noted that, in order to simplify the description, unlike the synchronous link resource shown in Figure 3 comprises three periods, Figure 11 only the case of synchronous link resource comprising two periods is shown.

[0111] As Figure 11As shown, M pre-configures 1 M-to-S asynchronous link resource and 1 S-to-M asynchronous link resource in the current C frame. When the value of the ASF carried in the data packet sent by S2 to M on the synchronous resource is 1 and the value of the ASF carried in the data packet sent by S4 to M on the synchronous resource is 1, M allocates the pre-configured asynchronous link resource in the current C frame to the one of S2 and S4 with higher service priority.

[0112] In the above Figure 11 In the example shown, if the value of the ASF in all data packets on the synchronous resource of the C frame is the default value 0, the pre-configured asynchronous link resource can be allocated to other links.

[0113] Optionally, the resource allocation method provided in the embodiments of the present application further includes: if there is data transmission on the first synchronous link in the first time period, the master device maintains the first asynchronous link. In this scheme, since the first synchronous link is established on the basis of the first asynchronous link, the connection of the asynchronous link can be maintained according to the transmission and reception of the data packet of the synchronous link, and it is not necessary to specially transmit an empty packet to maintain the asynchronous link, thereby reducing the power consumption of the system.

[0114] In the above embodiments, the master device and the first slave device can both adopt the architecture of the communication apparatus 700 as shown in Figure 7 In the above embodiments, the actions of the master device can be instructed by the processor 701 in the communication apparatus 700 to execute the application program code stored in the memory 703, and the actions of the first slave device can be instructed by the processor 701 in the communication apparatus 700 to execute the application program code stored in the memory 703, and the embodiments are not limited in this regard. Figure 7 Figure 7 It can be understood that, in the above embodiments, the method and / or steps implemented by the master device can also be implemented by components (such as chips or circuits) that can be used for the master device, and the method and / or steps implemented by the first slave device can also be implemented by components (such as chips or circuits) that can be used for the first slave device.

[0115] It can be understood that, in the above embodiments, the method and / or steps implemented by the master device can also be implemented by components (such as chips or circuits) that can be used for the master device, and the method and / or steps implemented by the first slave device can also be implemented by components (such as chips or circuits) that can be used for the first slave device.

[0116] ​The scheme provided by the embodiments of the present application is introduced from the perspective of interaction between network elements. Correspondingly, the embodiments of the present application also provide a communication device for implementing the above-mentioned various methods. The communication device can be the master device in the above-mentioned method embodiments, or a device containing the master device, or a component that can be used for the master device; or the communication device can be the first slave device in the above-mentioned method embodiments, or a device containing the first slave device, or a component that can be used for the first slave device. It can be understood that the communication device contains the corresponding hardware structure and / or software module for implementing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or 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 realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0117] The embodiments of the present application can divide the functions of the communication device according to the method embodiments described above, for example, each function module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in the form of hardware or software function module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division. Actual implementation can have another division method.

[0118] Figure 12 A structural schematic diagram of a communication device 12 is shown. The communication device 12 includes a transceiver 121 and a processor 122. The transceiver 121, which can also be referred to as a transceiving unit, is used to implement transceiving functions, for example, it can be a transceiving circuit, a transceiver, or a communication interface.

[0119] Taking the communication device 12 as the master device in the above-mentioned method embodiments, then:

[0120] The transceiver 121 is configured to establish a first asynchronous link with the first slave device. The transceiver 121 is also configured to establish a first synchronous link with the first slave device based on the first asynchronous link. The processor 122 is configured to dynamically allocate a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, wherein the indication information indicates whether control signaling transmission is required on the first asynchronous link.

[0121] In a possible implementation, the indication information includes first indication information and / or second indication information, where the first indication information indicates whether the control device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the control device through the first asynchronous link; the processor 122 is configured to dynamically allocate the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: if at least one of the first indication information or the second indication information indicates that control signaling transmission is needed on the first asynchronous link, the first air interface resource is allocated for the first asynchronous link; or, if the first indication information and the second indication information both indicate that control signaling transmission is not needed on the first asynchronous link, the second air interface resource preconfigured in the period in which the indication information is located is allocated to a link other than the first asynchronous link for use, and the second air interface resource is used for the control device to receive or send control signaling.

[0122] In a possible implementation, the first indication information includes third indication information, and the third indication information indicates that the control device needs to send control signaling to the first slave device through the first asynchronous link; the processor 122 is further configured to generate control signaling in response to a control operation of a user, and the control instruction is used to control data transmission on the first synchronous link; the processor 122 is further configured to generate a first data packet, and the first data packet includes the third indication information; and the transceiver 121 is further configured to send the first data packet to the first slave device through the first synchronous link.

[0123] In a possible implementation, the transceiver 121 is further configured to receive a second data packet sent by the first slave device through the first synchronous link, where the second data packet includes second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the control device through the first asynchronous link.

[0124] In a possible implementation, the processor 122 is configured to dynamically allocate the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: the first air interface resource is allocated for the first asynchronous link in the next period of the period in which the indication information is located.

[0125] In a possible implementation, the processor 122 is configured to dynamically allocate the first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: allocating the first air interface resource to the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; wherein the second slave device is a device transmitting a fourth data packet, and the fourth data packet includes fourth indication information, and the fourth indication information indicates that control signaling needs to be transmitted on a second asynchronous link, and the second asynchronous link is used to transmit control signaling between a control device and the second slave device.

[0126] In a possible implementation, the processor 122 is further configured to: if there is data transmission on the first synchronous link in a first time period, maintain the first asynchronous link.

[0127] For example, the communication device 12 is taken as the first slave device in the above method embodiment, and the following is described.

[0128] The processor 122 is configured to generate a second data packet, and the second data packet includes second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link.

[0129] The transceiver 121 is configured to send the second data packet to the master device through the first synchronous link.

[0130] The first synchronous link is used to transmit data between the master device and the first slave device, and the first asynchronous link is used to transmit control signaling between the master device and the first slave device.

[0131] All related contents of each step in the above method embodiment can be referred to the function description of the corresponding function module, and will not be repeated here.

[0132] In this embodiment, the communication device 12 is presented in the form of dividing each function module in an integrated manner. The "module" here can refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.

[0133] When the communication device 12 is the master device or the first slave device in the above method embodiment, in a simple embodiment, those skilled in the art can think that the communication device 12 can take the form of the communication device 700 shown in the figure. Figure 7

[0134] For example, Figure 7 ​The processor 701 or 707 in the communication apparatus 700 shown can implement the resource allocation method in the above method embodiments by invoking the computer-executed instructions stored in the memory 703. Figure 12 The functions / implementation procedures of the processor 122 in the communication apparatus 700 shown can be implemented by Figure 7 The processor 701 or 707 in the communication apparatus 700 shown invokes the computer-executed instructions stored in the memory 703 to implement. Figure 12 The functions / implementation procedures of the transceiver 121 in the communication apparatus 700 shown can be implemented by the communication module connected via Figure 7 The functions / implementation procedures of the communication interface 704 in the communication apparatus 700 shown can be implemented by the communication module connected via

[0135] Since the communication apparatus 12 provided in the embodiment can execute the resource allocation method described above, the technical effects it can obtain can refer to the above method embodiments, which will not be described here.

[0136] It should be noted that one or more of the above modules or units can be implemented in software, hardware or a combination of both. When any of the above modules or units is implemented in software, the software exists in the form of computer program instructions and is stored in the memory, and the processor can be used to execute the program instructions and implement the above method flow. The processor can be built in the SoC (system on chip) or ASIC, or be a separate semiconductor chip. The processor further includes the necessary hardware accelerator, such as field programmable gate array (FPGA), PLD (programmable logic device), or logic circuit implementing special logic operation, in addition to the core for executing software instructions to perform operation or processing.

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

[0138] Optionally, the embodiment of the present application further provides a chip system, comprising: at least one processor and an interface, the at least one processor is coupled with a memory through the interface, when the at least one processor executes a computer program or an instruction in the memory, the method in any of the above method embodiments is executed. In a possible implementation manner, the communication device further comprises the memory. Optionally, the chip system can be composed of a chip, or can comprise a chip and other discrete devices, and the embodiment of the present application does not make a specific limitation hereon.

[0139] In the above embodiments, all or part of the embodiments can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of the embodiments can be realized in the form of a computer program product. The computer program product comprises one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device comprising one or more servers, data centers, etc. integrated with the medium. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0140] Although the present application is described herein in conjunction with various embodiments, other variations of the disclosed embodiments can be understood and implemented by those skilled in the art through viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit can implement several functions listed in the claims. Some measures described in mutually different dependent claims can be combined and produce a good result.

[0141] Although the present application has been described in connection with the preferred embodiments thereof with reference to the specific content thereof, it will be apparent to those skilled in the art that various modifications and changes can be made thereto without departing from the spirit and scope of the application. Accordingly, it is intended that the present application cover all such modifications and changes as fall within the scope of the application. It should be understood that various holidays and alterations can be made to the application disclosed in this specification without departing from the spirit or ambit of the present application. It is intended that the present application embrace all such alternates, modifications and fall within the scope of the claims accompanying this specification.

Claims

1. A resource allocation method characterized by, The method comprises: The master device establishes a first asynchronous link with a first slave device; The master device establishes a first synchronous link with the first slave device based on the first asynchronous link; The master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, wherein the indication information indicates whether control signaling transmission is required on the first asynchronous link.

2. The method of claim 1, wherein, The indication information comprises first indication information and / or second indication information, wherein the first indication information indicates whether the master device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link. The master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, comprising: If at least one of the first indication information or the second indication information indicates that control signaling transmission is required on the first asynchronous link, the master device allocates the first air interface resource for the first asynchronous link; Or, if the first indication information and the second indication information both indicate that control signaling transmission is not required on the first asynchronous link, the master device allocates a second air interface resource pre-configured in a period in which the indication information is located to a link other than the first asynchronous link, and the second air interface resource is used for the master device to receive or send control signaling.

3. The method of claim 2, wherein, The first indication information comprises third indication information, and the third indication information indicates that the master device needs to send the control signaling to the first slave device through the first asynchronous link; the method further comprises: In response to a control operation of a user, the master device generates the control signaling, which is used to control data transmission on the first synchronous link; The master device generates a first data packet, wherein the first data packet comprises the third indication information; The master device sends the first data packet to the first slave device through the first synchronous link.

4. The method according to claim 2 or 3, characterized in that, The method further comprises: The master device receives a second data packet sent by the first slave device through the first synchronous link, wherein the second data packet comprises the second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the master device through the first asynchronous link.

5. The method according to any one of claims 1 to 4, characterized in that, The master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, comprising: The master device allocates the first air interface resource for the first asynchronous link in a next period of the period in which the indication information is located.

6. The method according to any one of claims 1 to 5, characterized in that, The first air interface resource is part or all of a second air interface resource pre-configured by the master device in the period in which the indication information is located, and the second air interface resource is used for the master device to receive or send control signaling.

7. The method of claim 6, wherein, The master device dynamically allocates a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, including: The master device allocates the first air interface resource to the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; The second slave device is a device for transmitting a fourth data packet, the fourth data packet includes fourth indication information, the fourth indication information indicates that control signaling needs to be transmitted on a second asynchronous link, and the second asynchronous link is used for transmitting control signaling between the master device and the second slave device.

8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If there is data transmission on the first synchronous link within a first time period, the master device maintains the first asynchronous link.

9. A communication device, characterized by The communication device includes a transceiver and a processor; The transceiver is configured to establish a first asynchronous link with a first slave device; The transceiver is further configured to establish a first synchronous link with the first slave device based on the first asynchronous link; The processor is configured to dynamically allocate a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, wherein the indication information indicates whether control signaling transmission is needed on the first asynchronous link.

10. The communication device of claim 9, wherein, The indication information includes first indication information and / or second indication information, wherein the first indication information indicates whether the communication device needs to send control signaling to the first slave device through the first asynchronous link, and the second indication information indicates whether the first slave device needs to send control signaling to the communication device through the first asynchronous link; The processor is configured to dynamically allocate a first air interface resource for the first asynchronous link according to indication information in a data packet transmitted on the first synchronous link, including: If at least one of the first indication information or the second indication information indicates that control signaling transmission is needed on the first asynchronous link, the first air interface resource is allocated to the first asynchronous link; Or, if the first indication information and the second indication information both indicate that control signaling transmission is not needed on the first asynchronous link, a second air interface resource pre-configured in a period in which the indication information is located is allocated to a link other than the first asynchronous link, and the second air interface resource is used for the communication device to receive or send control signaling.

11. The communication device of claim 10, wherein, The first indication information includes third indication information, and the third indication information indicates that the communication device needs to send the control signaling to the first slave device through the first asynchronous link; The processor is further configured to generate the control signaling in response to a control operation of a user, and the control signaling is used to control data transmission on the first synchronous link; The processor is further configured to generate a first data packet, and the first data packet includes the third indication information; The transceiver is further configured to send the first data packet to the first slave device through the first synchronous link.

12. The communication device according to claim 10 or 11, characterized by The transceiver is further configured to: receive, through the first synchronous link, a second data packet sent by the first slave device, wherein the second data packet comprises second indication information, and the second indication information indicates whether the first slave device needs to send control signaling to the communication device through the first asynchronous link.

13. The communication device of claim 9, wherein, The processor is configured to dynamically allocate a first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: allocating the first air interface resource for the first asynchronous link in a next period of the period in which the indication information is located.

14. The communication device of claim 9, wherein, The first air interface resource is part or all of a second air interface resource pre-configured for the communication device in the period in which the indication information is located, and the second air interface resource is used for the communication device to receive or send control signaling.

15. The communication device of claim 9, wherein, The processor is configured to dynamically allocate a first air interface resource for the first asynchronous link according to the indication information in the data packet transmitted on the first synchronous link, including: allocating the first air interface resource to the first asynchronous link according to the priority of the first slave device and the priority of one or more second slave devices; The second slave device is a device that transmits a fourth data packet, and the fourth data packet comprises fourth indication information, and the fourth indication information indicates that control signaling needs to be transmitted on a second asynchronous link, and the second asynchronous link is used for transmitting control signaling between the communication device and the second slave device.

16. The communication device of claim 9, wherein, The processor is further configured to: maintain the first asynchronous link if there is data transmission on the first synchronous link in a first time period.

17. The communication device of any of claims 9-16, wherein, The communication device is a Bluetooth chip or a master device.

18. A communication device, characterized by The communication device comprises a transceiver and a processor. The processor is configured to generate a second data packet, and the second data packet comprises second indication information, and the second indication information indicates whether the communication device needs to send control signaling to a master device through a first asynchronous link. The transceiver is configured to send the second data packet to the master device through a first synchronous link, so that the master device dynamically allocates a first air interface resource for the first asynchronous link according to the second indication information in the second data packet. The first synchronous link is used for transmitting data between the master device and the communication device, and the first asynchronous link is used for transmitting control signaling between the master device and the communication device.

19. The communication device of claim 18, wherein, The communication device is a Bluetooth chip or a first slave device.

20. A communication system, characterized by The communication device comprises the communication device in any one of claims 9-17, and one or more communication devices in claim 18 or 19.

21. A communications device, comprising: comprise: a memory and a processor coupled to the memory, the memory being configured to store a program, and the processor being configured to execute the program stored in the memory; when the communication device is running, the processor executes the program, so that the communication device executes the method in any one of claims 1-8.

22. A computer-readable storage medium, characterized in that, a computer program stored thereon, which, when executed by a computer, causes the computer to execute the method in any one of claims 1-8.

23. A computer program product, characterised in that, When run on a computer, it causes the computer to perform the method of any one of claims 1-8.

Citation Information

Patent Citations

  • Monitor period for asynchronous wireless communication

    CN101502057A

  • Reallocation of control channel resources for retransmission of data in wireless networks based on communications mode

    US20190173623A1