CN110248413B - Method, device and storage medium for distributing communication transaction and electronic equipment - Google Patents

Method, device and storage medium for distributing communication transaction and electronic equipment Download PDF

Info

Publication number
CN110248413B
CN110248413B CN201810191712.4A CN201810191712A CN110248413B CN 110248413 B CN110248413 B CN 110248413B CN 201810191712 A CN201810191712 A CN 201810191712A CN 110248413 B CN110248413 B CN 110248413B
Authority
CN
China
Prior art keywords
slot
time slot
sub
target
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810191712.4A
Other languages
Chinese (zh)
Other versions
CN110248413A (en
Inventor
王岩炯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN201810191712.4A priority Critical patent/CN110248413B/en
Publication of CN110248413A publication Critical patent/CN110248413A/en
Application granted granted Critical
Publication of CN110248413B publication Critical patent/CN110248413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load

Landscapes

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

Abstract

The present disclosure relates to a method, an apparatus, a storage medium and an electronic device for distributing communication transactions, the method comprising: after a first communication transaction is distributed to a target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot; the target time slot comprises a plurality of sub time slots; determining a first redundant sub-time slot from the target time slot according to the target sub-time slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction; when a second communication transaction is allocated, the second communication transaction is allocated to the first redundant sub-slot.

Description

Method, device and storage medium for distributing communication transaction and electronic equipment
Technical Field
The present disclosure relates to the field of wireless communications, and in particular, to a method, an apparatus, a storage medium, and an electronic device for allocating communication transactions.
Background
In the field of wireless communication, a time division multiplexing technology is generally used to perform communication, that is, a communication time resource is divided into time slots with a specific granularity, so that different communication transactions are allocated based on the time slots, for example, in a bluetooth technology, the communication time resource is divided into time slots with a 625uS granularity by using the time division multiplexing technology, so that both bluetooth connection parties alternately allocate uplink communication transactions and downlink communication transactions based on the divided time slots to complete the communication process of both parties.
In the above communication procedure, different time slots may be used for processing different communication transactions, but in the procedure of implementing the present invention, the inventors found that: the occupied time slot length of the target time slot occupied by the communication transaction may be smaller than the total time slot length of the target time slot, so that redundant sub-time slots which are not occupied by the communication transaction exist in the target time slot, and resource waste of the time slot is caused.
Disclosure of Invention
In order to solve the problems, the present disclosure proposes a method, an apparatus, a storage medium, and an electronic device for distributing communication transactions.
According to a first aspect of embodiments of the present disclosure, there is provided a method of allocating communication transactions, comprising:
after a first communication transaction is distributed to a target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot; the target time slot comprises a plurality of sub time slots;
determining a first redundant sub-time slot from the target time slot according to the target sub-time slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction;
when a second communication transaction is allocated, the second communication transaction is allocated to the first redundant sub-slot.
Optionally, the determining the first redundant sub-slot from the target sub-slot according to the target sub-slot includes:
determining a first time slot length corresponding to the target sub-time slot;
acquiring the total time slot length of the target time slot;
and determining a first redundant sub-time slot from the target time slot according to the total time slot length and the first time slot length.
Optionally, the determining a first redundant sub-slot from the target slot according to the total slot length and the first slot length includes:
determining whether the first slot length is less than the total slot length;
and when the first time slot length is smaller than the total time slot length, determining other sub-time slots except the target sub-time slot in the target time slot as the first redundant sub-time slot.
Optionally, the allocating the second communication transaction to the first redundant sub-slot includes:
determining a second time slot length corresponding to the first redundant sub-time slot;
determining whether the second time slot length is greater than or equal to a third time slot length occupied by the second communication transaction;
and when the second time slot length is greater than or equal to the third time slot length, the second communication transaction is distributed to the first redundant sub-time slot.
Optionally, the method further comprises:
when the second time slot length is smaller than the third time slot length, allocating a first sub-communication transaction in the second communication transaction to the first redundant sub-time slot; the length of a second time slot corresponding to the first redundant sub-time slot is equal to the length of a fourth time slot occupied by the first sub-communication transaction;
determining a second redundant sub-slot from other slots than the target slot;
and allocating a second communication sub-transaction in the second communication transaction to the second redundant sub-time slot.
Optionally, the determining a second redundant sub-slot from other slots except the target slot includes:
and acquiring the second redundant sub-time slot from the next time slot of the target time slot.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for allocating communication transactions, comprising:
the first determining module is used for determining a target sub-time slot occupied by a first communication transaction in a target time slot after the first communication transaction is distributed to the target time slot; the target time slot comprises a plurality of sub time slots;
a second determining module, configured to determine a first redundant sub-slot from the target time slots according to the target sub-slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction;
and the allocation module is used for allocating the second communication transaction to the first redundant sub-time slot when allocating the second communication transaction.
Optionally, the second determining module includes:
a first determining sub-module, configured to determine a first slot length corresponding to the target sub-slot;
an obtaining sub-module, configured to obtain a total time slot length of the target time slot;
and the second determining sub-module is used for determining a first redundant sub-time slot from the target time slot according to the total time slot length and the first time slot length.
Optionally, the second determining submodule is configured to determine whether the first slot length is smaller than the total slot length; and when the first time slot length is smaller than the total time slot length, determining other sub-time slots except the target sub-time slot in the target time slot as the first redundant sub-time slot.
Optionally, the allocation module includes:
a third determining sub-module, configured to determine a second slot length corresponding to the first redundant sub-slot;
a fourth determining submodule, configured to determine whether the second slot length is greater than or equal to a third slot length occupied by the second communication transaction;
and the first allocation submodule is used for allocating the second communication transaction to the first redundant sub-time slot when the second time slot length is greater than or equal to the third time slot length.
Optionally, the allocation module further comprises:
a second allocation sub-module, configured to allocate a first sub-communication transaction in the second communication transaction to the first redundant sub-slot when the second slot length is less than the third slot length; the length of a second time slot corresponding to the first redundant sub-time slot is equal to the length of a fourth time slot occupied by the first sub-communication transaction;
a fifth determining sub-module for determining a second redundant sub-slot from other slots except the target slot;
and a third allocation submodule, configured to allocate a second communication sub-transaction in the second communication transaction to the second redundant sub-slot.
Optionally, the fifth determining sub-module is configured to obtain the second redundant sub-slot from a slot next to the target slot.
According to a third aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of allocating communication transactions provided by any of the embodiments of the present application.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a memory having a computer program stored thereon;
and one or more processors configured to execute the program in the memory to implement the method for allocating communication transactions provided in any embodiment of the present application.
Through the technical scheme, after the first communication transaction is distributed to the target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot; the target time slot comprises a plurality of sub time slots; determining a first redundant sub-time slot from the target time slot according to the target sub-time slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction; when a second communication transaction is allocated, the second communication transaction is allocated to the first redundant sub-time slot, so that the target time slot can be fully utilized, and the resource waste of time slots is avoided.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 is a flow chart of a method of allocating communication transactions shown in an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of another method of allocating communication transactions shown in an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a partitioning of communication time resources according to an exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of a first apparatus for distributing communication transactions, as shown in an exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram of a second apparatus for distributing communication transactions, as shown in an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of a third apparatus for distributing communication transactions, as shown in an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram of a fourth apparatus for distributing communication transactions, as shown in an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
First, an application scenario of the present disclosure will be described, in which a communication time resource for channel transmission information is divided into time slots with a specific granularity based on a time division multiplexing technology (TDM, time Division Multiplexing), for example, the communication time resource may be divided into time slots with equal granularity, or the communication time resource may be divided into time slots with different granularities, where each time slot is not overlapped with each other, and in summary, different communication transactions may be respectively allocated to each time slot, so that communication of different communication transactions is respectively performed in each time slot, so that the time division multiplexing technology may enable different communication transactions to be transmitted in different time slots and along the same channel, but, when communication of the communication transaction is performed through a target time slot, an occupied time slot length of the target time slot occupied by the communication transaction may be smaller than a total time slot length of the target time slot, so that there is a redundant sub-time slot unoccupied by the communication transaction in the target time slot, thereby resulting in a waste of resources of the time slot.
In order to solve the above-mentioned problems, the present disclosure provides a communication method, a device, a storage medium, and an electronic apparatus, where a first redundant sub-slot can be determined from a target slot, and a second communication transaction is allocated through the first redundant sub-slot, so that the target slot can be fully utilized, thereby avoiding wasting resources for the time slot.
The present disclosure is described in detail below with reference to specific embodiments.
Fig. 1 is a flowchart of a communication method according to an exemplary embodiment of the present disclosure, as shown in fig. 1, the method includes:
s101, after the first communication transaction is distributed to a target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot.
Wherein the target time slot comprises a plurality of sub-time slots, and the first communication transaction can be a management or synchronous communication transaction between communication networks or devices, such as an uplink or downlink communication transaction.
S102, determining a first redundant sub-time slot from the target time slot according to the target sub-time slot.
In this step, the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction.
S103, when a second communication transaction is allocated, the second communication transaction is allocated to the first redundant sub-time slot.
The second communication transaction may be, for example, a supplemental and enhanced communication transaction of the same communication protocol as the first communication transaction, or a communication transaction of a different communication protocol than the first communication transaction, etc., the above examples being for illustration only and the disclosure is not limited in this regard.
By adopting the method, the first redundant sub-time slot can be determined from the target time slot, and the second communication transaction is distributed through the first redundant sub-time slot, so that the target time slot can be fully utilized, and the resource waste of the time slot is avoided.
Fig. 2 is a flowchart of a communication method according to an exemplary embodiment of the present disclosure, as shown in fig. 2, the method includes:
s201, after the first communication transaction is distributed to a target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot.
Wherein the target time slot comprises a plurality of sub-time slots, and the first communication transaction can be a management or synchronous communication transaction between communication networks or devices, such as an uplink or downlink communication transaction.
S202, determining a first time slot length corresponding to the target sub-time slot.
In this step, the first slot length is the duration of the target sub-slot.
S203, acquiring the total time slot length of the target time slot.
Similarly, the total time slot length is the duration of the target time slot.
S204, determining a first redundant sub-time slot from the target time slot according to the total time slot length and the first time slot length.
Wherein the first redundant sub-slot comprises a sub-slot not occupied by the first communication transaction.
In this step, it may be determined whether the first slot length is smaller than the total slot length, and when it is determined that the first slot length is smaller than the total slot length, there is a first redundant sub-slot in the target slot, so as to determine that other sub-slots except the target sub-slot in the target slot are the first redundant sub-slot, for example, as shown in fig. 3, the communication time resource t is divided into three slots: time slot k (corresponding to a target time slot in the disclosure), time slot k+1, and time slot k+2, where time slot k+1 is a time slot next to the target time slot, time slot k+2 is a time slot next to time slot k+1, and if the first communication transaction occupies target sub-time slot k1 in target time slot k, then first redundant sub-time slot k2 exists in target time slot k.
When the first slot length is determined to be greater than or equal to the total slot length, the redundant sub-slot does not exist in the target slot, wherein if the first slot length is equal to the total slot length, the communication of the first communication transaction may be completed through the target sub-slot, if the first slot length is greater than the total slot length, other slots except the target slot need to be acquired from the communication time resource t, and the first communication transaction is completed together with the target slot according to the redundant sub-slot in the other slots, and if the first slot length is greater than the total slot length, the first communication transaction may be completed together with the target slot k through a slot k+1 (or a slot k+2) shown in fig. 3, which is only illustrative and the disclosure is not limited.
The present disclosure aims to solve the problem that the resource waste of the target time slot is caused when the first redundant sub-time slot exists in the target time slot, so the subsequent steps are described on the basis that the redundant sub-time slot exists in the target time slot.
S205, determining a second time slot length corresponding to the first redundant sub-time slot.
Similarly, the second time slot length is the duration of the first redundant sub-time slot.
S206, determining whether the second time slot length is greater than or equal to the third time slot length occupied by the second communication transaction.
In this step, the third time slot length is the duration occupied by the second communication transaction.
For example, the second communication transaction may be a complementary and enhanced communication transaction of the same communication protocol as the first communication transaction, or a communication transaction of a different communication protocol from the first communication transaction, etc., where the target sub-slot k1 may complete the first communication transaction of the communication protocol P, the first redundant sub-slot k2 may perform communication of other communication transactions of the communication protocol P (corresponding to the second communication transaction in the disclosure), the first redundant sub-slot k2 may also perform communication of other communication protocol Q (corresponding to the second communication transaction in the disclosure), and the communication protocol P may be a bluetooth protocol, and the communication protocol Q may be a 2.4G protocol.
In addition, the target sub-slot k1 may complete a first communication transaction transmitted on the radio frequency resource a, the first redundant sub-slot k2 may perform a second communication transaction transmitted on the radio frequency resource a, or the first redundant sub-slot k2 may also perform a second communication transaction transmitted on another radio frequency resource B, where the radio frequency resource may be a frequency channel or a coding mode, etc.
Executing step S207 when the second slot length is greater than or equal to the third slot length occupied by the second communication transaction;
steps S208 and S210 are performed when the second slot length is smaller than the third slot length occupied by the second communication transaction.
S207, the second communication transaction is allocated to the first redundant sub-slot.
It should be noted that, the first redundant sub-slot k2 may also be divided into a plurality of sub-slots, so that when a redundant sub-slot exists in the sub-slots, the allocation of the communication transaction to the redundant sub-slot may be continued by the method described with reference to S201 to S207.
S208, allocating a first sub-communication transaction in the second communication transaction to the first redundant sub-time slot.
The second time slot length corresponding to the first redundant sub-time slot is equal to the fourth time slot length occupied by the first sub-communication transaction.
S209, determining a second redundant sub-slot from other slots except the target slot.
The second redundant sub-slot may be a plurality of redundant sub-slots in a plurality of other slots, and other slots may be obtained from the communication time resource according to a preset rule, so that the second redundant sub-slot is determined from the other slots, for example, the second redundant sub-slot is generally obtained from a next slot in the target slot, and it should be noted that, as shown in fig. 3, if the slot length and the value of the second redundant sub-slot in the next slot k+1 of the target slot and the first redundant sub-slot in the target slot k are still smaller than the third slot length occupied by the second communication transaction, the second redundant slot is continuously obtained from the next slot k+2 of the slot k+1 until the slot length and the value of all the redundant sub-slots (including the first redundant sub-slot and the second redundant sub-slot) in the slot k+1 and the target slot k are greater than or equal to the third slot length occupied by the second communication transaction.
S210, a second communication sub-transaction in the second communication transaction is allocated to the second redundant sub-slot.
By adopting the method, the first redundant sub-time slot can be determined from the target time slot, and the second communication transaction is distributed through the first redundant sub-time slot, so that the target time slot can be fully utilized, and the resource waste of the time slot is avoided.
Fig. 4 is a block diagram of an apparatus for distributing communication transactions, as shown in fig. 4, according to an exemplary embodiment of the present disclosure, including:
a first determining module 401, configured to determine, after the first communication transaction is allocated to the target time slot, a target sub-time slot occupied by the first communication transaction in the target time slot; the target time slot comprises a plurality of sub time slots;
a second determining module 402, configured to determine a first redundant sub-slot from the target time slot according to the target sub-slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction;
an allocation module 403, configured to allocate a second communication transaction to the first redundant sub-slot when allocating the second communication transaction.
Fig. 5 is a block diagram of an apparatus for allocating communication transactions according to an exemplary embodiment of the present disclosure, and as shown in fig. 5, the second determining module 402 includes:
a first determining submodule 4021, configured to determine a first slot length corresponding to the target sub-slot;
an acquisition submodule 4022 configured to acquire a total slot length of the target slot;
a second determination submodule 4023 is configured to determine a first redundant sub-slot from the target slot according to the total slot length and the first slot length.
Optionally, the second determining submodule 4023 is configured to determine whether the first slot length is smaller than the total slot length; and when the first time slot length is smaller than the total time slot length, determining other sub-time slots except the target sub-time slot in the target time slot as the first redundant sub-time slot.
Fig. 6 is a block diagram of an apparatus for allocating communication transactions according to an exemplary embodiment of the present disclosure, and as shown in fig. 6, the allocation module 403 includes:
a third determining submodule 4031, configured to determine a second time slot length corresponding to the first redundant sub-slot;
a fourth determining submodule 4032 configured to determine whether the second time slot length is greater than or equal to a third time slot length occupied by the second communication transaction;
a first allocation sub-module 4033, configured to allocate the second communication transaction to the first redundant sub-slot when the second slot length is greater than or equal to the third slot length.
Fig. 7 is a block diagram of an apparatus for allocating communication transactions according to an exemplary embodiment of the present disclosure, and as shown in fig. 7, the allocation module 403 further includes:
a second allocation sub-module 4034, configured to allocate a first sub-communication transaction of the second communication transactions to the first redundant sub-slot when the second slot length is less than the third slot length; the second time slot length corresponding to the first redundant sub-time slot is equal to the fourth time slot length occupied by the first sub-communication transaction;
a fifth determining sub-module 4035 for determining a second redundant sub-slot from other slots than the target slot;
a third allocation submodule 4036 is configured to allocate a second communication sub-transaction of the second communication transactions to the second redundant sub-slot.
Optionally, the fifth determining submodule 4035 is configured to obtain the second redundant sub-slot from a slot next to the target slot.
By adopting the device, the first redundant sub-time slot can be determined from the target time slot, and the second communication transaction is distributed through the first redundant sub-time slot, so that the target time slot can be fully utilized, and the resource waste of the time slot is avoided.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram of an electronic device 800, according to an example embodiment. As shown in fig. 8, the electronic device 800 may include: a processor 801, memory 802, multimedia components 803, input/output (I/O) interfaces 804, and communication components 805.
Wherein the processor 801 is configured to control the overall operation of the electronic device 800 to perform all or part of the steps of the method of distributing communication transactions described above. The memory 802 is used to store various types of data to support operation at the electronic device 800, which may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device (Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor, or other electronic element(s) for performing the above-described method of distributing communication transactions.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions executable by the processor 801 of the electronic device 800 to perform the above-described method of allocating communication transactions.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the foregoing embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, the present disclosure does not further describe various possible combinations.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (8)

1. A method of distributing communication transactions, comprising:
after a first communication transaction is distributed to a target time slot, determining a target sub-time slot occupied by the first communication transaction in the target time slot; the target time slot comprises a plurality of sub time slots;
determining a first redundant sub-time slot from the target time slot according to the target sub-time slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction;
assigning a second communication transaction to the first redundant sub-slot upon assigning the second communication transaction;
the determining a first redundant sub-slot from the target sub-slot according to the target sub-slot includes:
determining a first time slot length corresponding to the target sub-time slot;
acquiring the total time slot length of the target time slot;
determining a first redundant sub-slot from the target slot according to the total slot length and the first slot length;
the method further comprises the steps of: under the condition that the first time slot length is larger than the total time slot length, acquiring other time slots except the target time slot, and completing the first communication transaction together with the target time slot according to redundant sub-time slots in the other time slots;
the assigning the second communication transaction to the first redundant sub-slot includes:
determining a second time slot length corresponding to the first redundant sub-time slot;
determining whether the second time slot length is greater than or equal to a third time slot length occupied by the second communication transaction;
when the second time slot length is greater than or equal to the third time slot length, the second communication transaction is distributed to the first redundant sub-time slot;
the method further comprises the steps of:
when the second time slot length is smaller than the third time slot length, allocating a first sub-communication transaction in the second communication transaction to the first redundant sub-time slot; the length of a second time slot corresponding to the first redundant sub-time slot is equal to the length of a fourth time slot occupied by the first sub-communication transaction;
determining a second redundant sub-slot from other slots than the target slot;
and allocating a second communication sub-transaction in the second communication transaction to the second redundant sub-time slot.
2. The method of claim 1, wherein said determining a first redundant subslot from said target time slot based on said total time slot length and said first time slot length comprises:
determining whether the first slot length is less than the total slot length;
and when the first time slot length is smaller than the total time slot length, determining other sub-time slots except the target sub-time slot in the target time slot as the first redundant sub-time slot.
3. The method of claim 1, wherein said determining a second redundant sub-slot from other slots than the target slot comprises:
and acquiring the second redundant sub-time slot from the next time slot of the target time slot.
4. An apparatus for distributing communication transactions, comprising:
the first determining module is used for determining a target sub-time slot occupied by a first communication transaction in a target time slot after the first communication transaction is distributed to the target time slot; the target time slot comprises a plurality of sub time slots;
a second determining module, configured to determine a first redundant sub-slot from the target time slots according to the target sub-slot; the first redundant sub-slot includes a sub-slot not occupied by the first communication transaction;
an allocation module, configured to allocate a second communication transaction to the first redundant sub-slot when allocating the second communication transaction;
the second determining module includes:
a first determining sub-module, configured to determine a first slot length corresponding to the target sub-slot;
an obtaining sub-module, configured to obtain a total time slot length of the target time slot;
a second determining sub-module, configured to determine a first redundant sub-slot from the target slot according to the total slot length and the first slot length;
the apparatus further comprises:
the control module is used for acquiring other time slots except the target time slot under the condition that the first time slot length is larger than the total time slot length, and completing the first communication transaction together with the target time slot according to redundant sub-time slots in the other time slots;
the distribution module comprises:
a third determining sub-module, configured to determine a second slot length corresponding to the first redundant sub-slot;
a fourth determining submodule, configured to determine whether the second slot length is greater than or equal to a third slot length occupied by the second communication transaction;
a first allocation submodule, configured to allocate the second communication transaction to the first redundant sub-slot when the second slot length is greater than or equal to the third slot length;
the distribution module further comprises:
a second allocation sub-module, configured to allocate a first sub-communication transaction in the second communication transaction to the first redundant sub-slot when the second slot length is less than the third slot length; the length of a second time slot corresponding to the first redundant sub-time slot is equal to the length of a fourth time slot occupied by the first sub-communication transaction;
a fifth determining sub-module for determining a second redundant sub-slot from other slots except the target slot;
and a third allocation submodule, configured to allocate a second communication sub-transaction in the second communication transaction to the second redundant sub-slot.
5. The apparatus of claim 4, wherein the second determining submodule is configured to determine whether the first slot length is less than the total slot length; and when the first time slot length is smaller than the total time slot length, determining other sub-time slots except the target sub-time slot in the target time slot as the first redundant sub-time slot.
6. The apparatus of claim 4, wherein the fifth determination submodule is configured to obtain the second redundant subslot from a next slot of the target slot.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of claims 1-3.
8. An electronic device, comprising:
a memory having a computer program stored thereon;
and one or more processors to execute the program in the memory to implement the method of any of claims 1-3.
CN201810191712.4A 2018-03-08 2018-03-08 Method, device and storage medium for distributing communication transaction and electronic equipment Active CN110248413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810191712.4A CN110248413B (en) 2018-03-08 2018-03-08 Method, device and storage medium for distributing communication transaction and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810191712.4A CN110248413B (en) 2018-03-08 2018-03-08 Method, device and storage medium for distributing communication transaction and electronic equipment

Publications (2)

Publication Number Publication Date
CN110248413A CN110248413A (en) 2019-09-17
CN110248413B true CN110248413B (en) 2023-07-18

Family

ID=67882654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810191712.4A Active CN110248413B (en) 2018-03-08 2018-03-08 Method, device and storage medium for distributing communication transaction and electronic equipment

Country Status (1)

Country Link
CN (1) CN110248413B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426266A (en) * 2007-10-29 2009-05-06 中国移动通信集团公司 Method and apparatus for bearing multimedia broadcast multicast service
CN103476122A (en) * 2009-12-21 2013-12-25 英特尔公司 Techniques for dynamic resource allocation
CN103812786A (en) * 2012-11-14 2014-05-21 电信科学技术研究院 Method and device for time slot dispatching
CN106685513A (en) * 2017-01-05 2017-05-17 清华大学 Configuration method and device for time slots in space information network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102053360B1 (en) * 2013-07-31 2019-12-06 삼성전자주식회사 System interconnect and system-on-chip having the same, and driving method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426266A (en) * 2007-10-29 2009-05-06 中国移动通信集团公司 Method and apparatus for bearing multimedia broadcast multicast service
CN103476122A (en) * 2009-12-21 2013-12-25 英特尔公司 Techniques for dynamic resource allocation
CN103812786A (en) * 2012-11-14 2014-05-21 电信科学技术研究院 Method and device for time slot dispatching
CN106685513A (en) * 2017-01-05 2017-05-17 清华大学 Configuration method and device for time slots in space information network

Also Published As

Publication number Publication date
CN110248413A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110896355B (en) Network slice selection method and device
CN106888079B (en) Resource allocation method and device
US11659526B2 (en) Method and device for processing data
JP7174857B2 (en) COMMUNICATION METHOD, APPARATUS, ELECTRONIC DEVICE AND COMPUTER PROGRAM
CN108600974B (en) Signaling indication method, device and storage medium
CN110213620B (en) Bandwidth allocation method and device
CN108513361B (en) Channel access method, device and storage medium
CN110267276B (en) Network slice deployment method and device
US10666399B2 (en) Allocation method and apparatus for code block groups in a transport block
CN110474727B (en) Processing method and device based on uplink signal, related equipment and storage medium
CN112799793B (en) Scheduling method and device, electronic equipment and storage medium
CN107154835B (en) Data sending method and device
CN110115088B (en) Resource indication method, device, system and storage medium on unlicensed spectrum
CN107566543B (en) Node identifier setting method and device
CN110959300B (en) Data transmission method, device, equipment, system and storage medium
CN114466226A (en) Method, device, equipment and computer readable medium for determining bandwidth duration ratio
CN110248413B (en) Method, device and storage medium for distributing communication transaction and electronic equipment
EP4017192A1 (en) Feedback channel mapping method and apparatus, device, and storage medium
CN110035513B (en) CORESET distribution method, user terminal and network side equipment
CN111371578B (en) Method and device for deploying virtualized network function
CN110731109B (en) Resource indication method, equipment and computer storage medium
CN110138521B (en) eNB physical downlink control channel resource allocation method and device and eNB
CN111294173A (en) Rate matching method and device
CN115794396A (en) Resource allocation method, system and electronic equipment
CN109495965A (en) A kind of instruction of resource determines method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 unit C, building C, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Applicant after: Beijing Xiaomi pinecone Electronic Co.,Ltd.

Address before: 100085 Beijing city Haidian District Qinghe Shun Yip things Park Building 3 unit A

Applicant before: BEIJING PINECONE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant