CN111405534B - Information transmission method, first terminal and computer storage medium - Google Patents

Information transmission method, first terminal and computer storage medium Download PDF

Info

Publication number
CN111405534B
CN111405534B CN202010168281.7A CN202010168281A CN111405534B CN 111405534 B CN111405534 B CN 111405534B CN 202010168281 A CN202010168281 A CN 202010168281A CN 111405534 B CN111405534 B CN 111405534B
Authority
CN
China
Prior art keywords
time slot
terminal
information
slot number
wireless connection
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
CN202010168281.7A
Other languages
Chinese (zh)
Other versions
CN111405534A (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.)
RDA Microelectronics Shanghai Co Ltd
Original Assignee
RDA Microelectronics Shanghai 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 RDA Microelectronics Shanghai Co Ltd filed Critical RDA Microelectronics Shanghai Co Ltd
Priority to CN202010168281.7A priority Critical patent/CN111405534B/en
Publication of CN111405534A publication Critical patent/CN111405534A/en
Application granted granted Critical
Publication of CN111405534B publication Critical patent/CN111405534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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/51Allocation or scheduling criteria for wireless resources based on terminal or device properties
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application discloses an information transmission method, a first terminal and a storage medium, wherein the first terminal performs information transmission with a second terminal through a first wireless connection, the first wireless connection is Bluetooth connection, and the method comprises the following steps: acquiring first information and determining a first time slot number occupied by the first information; determining a second time slot number according to the first time slot number, and packaging the first information according to the second time slot number to obtain a first packet, wherein the second time slot number is larger than the first time slot number; determining a transmission time slot of the first packet, and transmitting the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection; the transmission time slot of the first packet includes an idle time slot, and the idle time slot is used for the first terminal to transmit information through the second wireless connection. By long packet short transmission, the application can reduce the probability of collision of communication signals of a plurality of wireless connections in the same terminal equipment.

Description

Information transmission method, first terminal and computer storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to an information transmission method, a first terminal, and a computer storage medium.
Background
In one aspect, a single terminal device may typically support multiple Wireless communication technologies, such as Wireless-Fidelity (Wi-Fi), radio frequency identification (Radio Frequency Identification, RFID), and Bluetooth (Bluetooth) technologies, among others. Therefore, it is a common phenomenon that a plurality of connections using different wireless communication technologies exist in the same terminal device at the same time (e.g., connection a using Wi-Fi and connection B using bluetooth exist in terminal device 1 at the same time). On the other hand, the phenomenon that a plurality of connections using the same wireless communication technology exist in the same terminal device at the same time (e.g., connection C using bluetooth and connection D using bluetooth exist in terminal device 2 at the same time) is also common. And the wireless communication signals of a plurality of connections existing in the same terminal equipment are frequently collided, so that the receiving end cannot normally receive the wireless communication signals, and further information retransmission is caused, the efficiency of a communication system is reduced, and the power consumption of the terminal equipment is increased.
Disclosure of Invention
The technical problem to be solved by the application is how to reduce the probability of collision of communication signals of a plurality of wireless connections in the same terminal equipment.
In a first aspect, the present application provides an information transmission method, applied to a first terminal, where the first terminal performs information transmission with a second terminal through a first wireless connection, where the first wireless connection is a bluetooth connection, and the information transmission method includes:
acquiring first information, and determining a first time slot number occupied by the first information, wherein the first time slot number is a positive number;
determining a second time slot number according to the first time slot number, and packaging the first information according to the second time slot number to obtain a first packet, wherein the second time slot number is an integer and is larger than the first time slot number;
determining a transmission time slot of the first packet, and transmitting the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection;
the transmission time slot of the first packet includes an idle time slot, the idle time slot is used for the first terminal to transmit information through the second wireless connection, the transmission time slot is determined according to the sending time slot and the second time slot number, and the idle time slot is determined according to the sending time slot, the first time slot number and the second time slot number.
In the Bluetooth connection, the idle time slot is reserved for other wireless connections to transmit information through long packet short transmission, and the embodiment of the application can reduce the probability of collision of communication signals of a plurality of wireless connections in the same terminal equipment and improve the communication efficiency.
As an alternative embodiment, determining the second number of time slots based on the first number of time slots includes:
acquiring an electric quantity value of the first terminal;
a second number of time slots is determined based on the power value and the first number of time slots.
As another alternative embodiment, determining the second number of time slots based on the first number of time slots includes:
determining the number of wireless connections currently established by the first terminal;
and determining a second time slot number according to the wireless connection number and the first time slot number.
As an alternative embodiment, the free time slot is used for the first terminal to transmit information with the second terminal via a second wireless connection.
As another alternative embodiment, the free time slot is used for the first terminal to transmit information with a third terminal via a second wireless connection.
In this embodiment, the second wireless connection is a bluetooth connection.
As an alternative embodiment, in the first wireless connection, the first terminal is a bluetooth master device or a bluetooth slave device.
In a second aspect, the present application provides a first terminal comprising modules and units for performing the method of the first aspect and possible method embodiments of the first aspect described above. Specifically, the first terminal performs information transmission with the second terminal through a first wireless connection, where the first wireless connection is a bluetooth connection, and the first terminal includes:
the acquisition module is used for acquiring the first information;
the determining module is used for determining a first time slot number occupied by the first information, wherein the first time slot number is a positive number;
the determining module is further configured to determine a second time slot number according to the first time slot number, where the second time slot number is an integer and the second time slot number is greater than the first time slot number;
the packaging module is used for packaging the first information according to the second time slot number to obtain a first group;
the determining module is further configured to determine a transmission time slot of the first packet;
a transmitting module, configured to transmit, through the first wireless connection, the first packet to the second terminal according to the transmission time slot and the first time slot number;
the transmission time slot of the first packet includes an idle time slot, the idle time slot is used for the first terminal to transmit information through the second wireless connection, the transmission time slot is determined according to the sending time slot and the second time slot number, and the idle time slot is determined according to the sending time slot, the first time slot number and the second time slot number.
As an alternative embodiment, the determining module includes:
an acquisition unit configured to acquire an electric power value of the first terminal;
and the first determining unit is used for determining a second time slot number according to the electric quantity value and the first time slot number.
As another alternative embodiment, the determining module includes:
a second determining unit, configured to determine a number of wireless connections currently established by the first terminal;
the second determining unit is further configured to determine a second number of timeslots according to the number of wireless connections and the first number of timeslots.
As an alternative embodiment, the free time slot is used for the first terminal to transmit information with the second terminal via a second wireless connection.
As another alternative embodiment, the free time slot is used for the first terminal to transmit information with a third terminal via a second wireless connection.
In this embodiment, the second wireless connection may be a bluetooth connection.
As an alternative embodiment, in the first wireless connection, the first terminal is a bluetooth master device or a bluetooth slave device.
Based on the same inventive concept, since the principle and the beneficial effects of the solution of the problem of the first terminal can be referred to the method of the first aspect and each possible implementation manner of the first aspect and the beneficial effects brought thereby, the implementation of the first terminal can be referred to the method of the first aspect and each possible implementation manner of the first aspect, and the repetition is omitted.
In a third aspect, the present application provides a first terminal comprising: a memory for storing one or more programs; the processor is configured to invoke the program stored in the memory to implement the solution in the method design of the first aspect, and the implementation manner and the beneficial effects of the problem solving manner of the first terminal may refer to the method of the first aspect and each possible implementation manner and the beneficial effects of the first aspect, and the repetition is not repeated.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program comprising computer instructions which, when executed by a processor, cause the processor to perform the method of the first aspect and the possible implementations of the first aspect and the resulting advantages, which are not repeated.
Drawings
Fig. 1 is a schematic flow chart of an information transmission method according to an embodiment of the present application;
fig. 2 is a schematic diagram of use of an idle slot according to an embodiment of the present application;
fig. 3 is a schematic diagram of a frame of a first terminal according to an embodiment of the present application;
fig. 4 is a schematic diagram of a frame of another first terminal according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flow chart of an information transmission method according to an embodiment of the application. The information transmission method can be particularly applied to the first terminal. In the embodiment of the application, the first terminal performs information transmission with the second terminal through the first wireless connection. Wherein the first wireless connection is a bluetooth connection. The first terminal and the second terminal may be terminal devices with wireless transmission capability, such as mobile phones (e.g. Android mobile phones, iOS mobile phones, etc.), tablet computers, desktop computers, mobile internet devices (Mobile Internet Devices, MID), personal digital assistants (Personal Digital Assistant, PDA), etc. As shown in fig. 1, the information transmission method includes the steps of:
s11, acquiring first information and determining a first time slot number occupied by the first information.
Wherein the first time slot number is a positive number. In the embodiment of the present application, the first timeslot number is the timeslot number actually occupied by the first information. For example, the first number of slots may be 1 or 2.5.
S12, determining a second time slot number according to the first time slot number, and packaging the first information according to the second time slot number to obtain a first packet.
In the embodiment of the present application, the first timeslot number is the actual length of the first information, and the second timeslot number is the timeslot number used by the first terminal to transmit the first information, i.e. the second timeslot number is the timeslot number occupied by the first packet. Wherein the second time slot number is larger than the first time slot number.
Under the bluetooth standard, the transmission timing of a packet is in units of slots (slots), and the packet length is divided into three types of 1 slot, 3 slots, and 5 slots. Thus, in the embodiment of the present application, the second number of slots may be 1, 3 or 5.
For example, when the first number of slots occupied by the first information (i.e., the actual length of the first information) is 2.5 slots, the first terminal may determine the second number of slots as 3 or 5.
In a specific embodiment, after determining the first number of timeslots occupied by the first information, the first terminal may determine whether the first number of timeslots is greater than or equal to 3 and less than 5; if yes, the first terminal can directly determine the second time slot number as 5; if not, the first terminal may determine the second number of timeslots in the following two ways.
As an alternative embodiment, the determining, by the first terminal, the second time slot number according to the first time slot number may specifically include: acquiring an electric quantity value of the first terminal; a second number of time slots is determined based on the power value and the first number of time slots.
Wherein the electrical quantity value may be specifically an electrical quantity percentage.
In a specific embodiment, the determining, by the first terminal, the second time slot number according to the power value and the first time slot number may specifically include: if the electric quantity value of the first terminal is smaller than or equal to the electric quantity threshold value, the first terminal can determine that the number of the second time slots is larger than 3; if the power level of the first terminal is greater than the power level threshold, the first terminal may determine the second slot number as 5.
For example, when the first time slot number is 1.6 and the preset power threshold is 20%, if the power value of the first terminal is less than or equal to 20%, the first terminal may determine the second time slot number as 3; if the power value of the first terminal is greater than 20%, the first terminal may determine the second slot number as 5.
As another alternative embodiment, the determining, by the first terminal, the second time slot number according to the first time slot number may specifically include: determining the number of wireless connections currently established by the first terminal; and determining a second time slot number according to the wireless connection number and the first time slot number.
In a specific embodiment, the determining, by the first terminal, the second time slot number according to the radio connection number and the first time slot number may specifically include: if the number of wireless connections currently established by the first terminal is less than or equal to a first threshold, the first terminal may determine the second time slot number as 3; if the number of wireless connections currently established by the first terminal is greater than the first threshold, the first terminal may determine the second number of timeslots to be 5.
For example, when the first timeslot number is 0.9 and the preset first threshold is 1, if the number of wireless connections currently established by the first terminal is equal to 1, that is, the first terminal only establishes the first wireless connection, the first terminal may determine the second timeslot number as 3; if the number of wireless connections currently established by the first terminal is greater than 1, that is, the first terminal establishes other wireless connections except the first wireless connection, the first terminal may determine the second time slot number as 5.
As yet another alternative embodiment, the determining, by the first terminal, the second time slot number according to the first time slot number may specifically include: acquiring the attribute of information to be transmitted and/or the transmission requirement of the information to be transmitted in the second wireless connection; and determining the second time slot number according to the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted.
In an embodiment of the present application, the attribute of the information to be transmitted may include, but is not limited to, a data type, a data size, etc. of the information to be transmitted. The transmission requirement of the information to be transmitted may include, but is not limited to, a transmission time requirement of the information to be transmitted, wherein the transmission time requirement may be a time required for the information to be transmitted to complete in the second wireless connection.
In a specific embodiment, the determining, by the first terminal, the second time slot number according to the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted may specifically include: if the transmission time requirement of the information to be transmitted is less than or equal to a first time threshold, the first terminal can determine the second time slot number as 3; if the transmission time requirement of the information to be transmitted is greater than the first time threshold, the first terminal may determine the second time slot number to be 5.
For example, when the first timeslot number is 1 and the preset first time threshold is 2, if the transmission time requirement of the information to be transmitted in the second wireless connection is 1 timeslot, the first terminal may determine the second timeslot number as 3; if the transmission time requirement of the information to be transmitted in the second wireless connection is 4 timeslots, the first terminal may determine the second timeslot number as 5.
In the embodiment of the present application, the first terminal determines a second time slot number according to the first time slot number, and encapsulates the first information according to the second time slot number in order to reserve an idle time slot for other wireless connections established by the first terminal except for the first wireless connection. The idle time slot is a time slot except for the time slot occupied by the first information in the time slots occupied by the first packet, or the idle time slot is a time slot remained after the transmission of the first information in the time slots occupied by the first packet is completed.
S13, determining a sending time slot of the first packet, and sending the first packet to the second terminal according to the sending time slot and the first time slot number through the first wireless connection.
For convenience of description, the transmission time slot, the first time slot number, and the second time slot number are denoted as k, i, and j, respectively.
In the first wireless connection, the first terminal may be a bluetooth master (master) or a bluetooth slave (slave). When the first terminal is a Bluetooth master device, k is an even number; when the first terminal is a bluetooth slave device, k is an odd number.
In the embodiment of the present application, the first terminal transmitting the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection may specifically include: the first terminal starts to send the first packet to the second terminal at the kth time slot through the first wireless connection, and the first information is sent out from the kth+i time slot.
The packet header of the first packet includes a packet type, which is used to indicate the second time slot number occupied by the first packet. Thus, when the second terminal receives the packet header of the first packet, it knows that this packet occupies a total of several time slots, and that the next several time slots are occupied by the first packet, and the second terminal will not transmit a packet to the first terminal until the time slot occupied by the first packet ends. And the first terminal performs information transmission according to the actual packet length, and the time slot left after the information transmission is completed is the idle time slot reserved by the first terminal for other wireless connection. Since the second terminal does not transmit a packet to the first terminal in an idle slot, the probability of collision of communication signals of the first wireless connection with other wireless connections can be reduced. In the embodiment of the application, the idle time slot is a time slot between the (k+i) th time slot and the (k+j) th time slot, and the length is j-i.
As an alternative embodiment, the first terminal may transmit information with the second terminal through the second wireless connection in an idle time slot between the k+i time slot and the k+j time slot. In this embodiment, the second wireless connection may be, for example, a Wi-Fi connection.
As another alternative embodiment, the first terminal may transmit information with the third terminal through the second wireless connection in an idle time slot between the k+i time slot and the k+j time slot. In this embodiment, the second wireless connection may be a bluetooth connection or a Wi-Fi connection.
Referring to fig. 2, fig. 2 schematically illustrates the use of idle slots. In fig. 2, the one terminal is a bluetooth slave device, and the second terminal is a bluetooth master device. In the k-1 time slot, the second terminal transmits a second packet with a length of 1 time slot to the first terminal through the first wireless connection, wherein the second packet comprises second information with a length of 0.5 time slot.
When the second packet is received, at the kth time slot, the first terminal starts replying a first packet with a length of 5 to the second terminal through the first wireless connection, wherein the first packet comprises first information with a length of 0.3 time slot. At the k+0.3 time slot, the first terminal has transmitted the first information.
Correspondingly, at the kth slot, the second terminal starts to receive the first packet. At the k+0.3 time slot, the second terminal receives the first information, but 4.7 time slots from the k+0.3 time slot to the k+5 time slot are still occupied by the first packet, and the time slots are idle time slots. Up to the k+5 time slot, the second terminal continues to transmit a third packet with a length of 1 to the first terminal through the first wireless connection, where the third packet includes third information with a length of 0.5 time slot.
And the first terminal may transmit information over other wireless connections in the free time slots between the k+0.3 time slot and the k+5 time slot. As shown in fig. 2, at the k+0.8 time slot, the first terminal may receive a fourth packet of length 3 from the third terminal over the second wireless connection. Wherein the second wireless connection is a Wi-Fi connection. At the k+4 time slot, the first terminal may reply to the third terminal with a fifth packet of length 0.5 over the second wireless connection.
In a specific embodiment, the second terminal may obtain its power value when the first packet is received; if the power value is smaller than the preset power threshold, the second terminal may send a low power notification to the first terminal, so that the first terminal does not reserve an idle slot for other wireless connections when determining the second slot number again.
In the Bluetooth connection, the idle time slot is reserved for other wireless connections to transmit information through long packet short transmission, and the embodiment of the application can reduce the probability of collision of communication signals of a plurality of wireless connections in the same terminal equipment and improve the communication efficiency.
Referring to fig. 3, fig. 3 is a schematic diagram of a frame of a first terminal according to an embodiment of the application. As shown in fig. 3, the first terminal 30 may include an acquisition module 31, a determination module 32, an encapsulation module 33, and a transmission module 34.
Wherein, the obtaining module 31 is configured to obtain the first information.
The determining module 32 is configured to determine a first number of timeslots occupied by the first information. Wherein the first time slot number is a positive number.
The determining module 32 is further configured to determine a second number of timeslots according to the first number of timeslots. The second time slot number is an integer and is larger than the first time slot number.
As an alternative embodiment, the determining module 32 may include an acquiring unit 321 and a first determining unit 322.
Wherein, the obtaining unit 321 is configured to obtain an electrical quantity value of the first terminal 30.
The first determining unit 322 is configured to determine a second time slot number according to the power value and the first time slot number.
As another alternative embodiment, the determining module 32 may include a second determining unit 323.
Wherein the second determining unit 323 is configured to determine the number of wireless connections currently established by the first terminal 30.
The second determining unit 323 is further configured to determine a second timeslot number according to the radio connection number and the first timeslot number.
The encapsulating module 33 is configured to encapsulate the first information according to the second timeslot number to obtain a first packet.
The determining module 32 is further configured to determine a transmission time slot of the first packet.
The transmitting module 34 is configured to transmit the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection.
In an embodiment of the present application, the transmission time slot of the first packet includes an idle time slot, the idle time slot is used for the first terminal 30 to transmit information through the second wireless connection, the transmission time slot is determined according to the transmission time slot and the second time slot number, and the idle time slot is determined according to the transmission time slot, the first time slot number and the second time slot number.
As an alternative embodiment, the free time slot is used for the first terminal to transmit information with the second terminal via a second wireless connection.
As another alternative embodiment, the free time slot is used for the first terminal to transmit information with a third terminal via a second wireless connection.
In this embodiment, the second wireless connection may be a bluetooth connection.
As an alternative embodiment, in the first wireless connection, the first terminal is a bluetooth master device or a bluetooth slave device.
Based on the same inventive concept, the principle and the beneficial effects of the first terminal 30 for solving the problem provided in the embodiment of the present application are similar to those of the embodiment of the information transmission method shown in fig. 1 of the present application, so that the implementation of the first terminal 30 can refer to the implementation of the information transmission method shown in fig. 1, and the repetition is omitted.
Referring to fig. 4, fig. 4 is a schematic diagram of a frame of a first terminal 40 according to an embodiment of the application. As shown in fig. 4, the first terminal 40 may include: bus 41, processor 42, memory 43, and input/output interface 44. Wherein the bus 41 is used to interconnect the processor 42, memory 43 and input/output interface 44 and to enable the aforementioned components to communicate with each other. The memory 43 is used to store one or more computer programs, including computer instructions. The input/output interface 44 is used to control the communication connection between the first terminal 40 and other devices, such as a second terminal.
Specifically, the processor 42 is configured to invoke the computer instructions to execute:
acquiring first information, and determining a first time slot number occupied by the first information, wherein the first time slot number is a positive number;
determining a second time slot number according to the first time slot number, and packaging the first information according to the second time slot number to obtain a first packet, wherein the second time slot number is an integer and is larger than the first time slot number;
determining a transmission time slot of the first packet, and transmitting the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection;
the transmission time slot of the first packet includes an idle time slot, the idle time slot is used for the first terminal to transmit information through the second wireless connection, the transmission time slot is determined according to the sending time slot and the second time slot number, and the idle time slot is determined according to the sending time slot, the first time slot number and the second time slot number.
As an alternative embodiment, the processor 42 is configured to invoke the computer instructions to perform the specific execution of the determining the second number of time slots based on the first number of time slots:
acquiring an electric quantity value of the first terminal;
a second number of time slots is determined based on the power value and the first number of time slots.
As another alternative embodiment, the processor 42 is configured to invoke the computer instructions to perform the specific steps of determining the second number of time slots based on the first number of time slots:
determining the number of wireless connections currently established by the first terminal;
and determining a second time slot number according to the wireless connection number and the first time slot number.
As an alternative embodiment, the free time slot is used for the first terminal to transmit information with the second terminal via a second wireless connection.
As another alternative embodiment, the free time slot is used for the first terminal to transmit information with a third terminal via a second wireless connection.
In this embodiment, the second wireless connection is a bluetooth connection.
As an alternative embodiment, in the first wireless connection, the first terminal is a bluetooth master device or a bluetooth slave device.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), among others. The Memory 43 may be any type of Memory, such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), nonvolatile random access Memory, and the like.
Based on the same inventive concept, the principle and the beneficial effects of the first terminal 40 for solving the problem provided in the embodiment of the present application are similar to those of the embodiment of the information transmission method shown in fig. 1 of the present application, so that the implementation of the first terminal 40 can refer to the implementation of the information transmission method shown in fig. 1, and the repetition is omitted.

Claims (12)

1. The information transmission method is characterized by being applied to a first terminal, wherein the first terminal performs information transmission with a second terminal through a first wireless connection, and the first wireless connection is a Bluetooth connection, and the method comprises the following steps:
acquiring first information, and determining a first time slot number occupied by the first information, wherein the first time slot number is a positive number;
determining a second time slot number according to the first time slot number, and packaging the first information according to the second time slot number to obtain a first packet, wherein the second time slot number is an integer and is larger than the first time slot number, and the second time slot number is the time slot number occupied by the first packet;
determining a transmission time slot of the first packet, and transmitting the first packet to the second terminal according to the transmission time slot and the first time slot number through the first wireless connection;
the transmission time slot of the first packet comprises an idle time slot, the idle time slot is used for the first terminal to transmit information through a second wireless connection, the transmission time slot is determined according to the sending time slot and the second time slot number, the idle time slot is determined according to the sending time slot, the first time slot number and the second time slot number, and the idle time slot is a time slot except for the time slot occupied by the first information in the time slot occupied by the first packet;
the determining the second time slot number according to the first time slot number comprises the following steps:
acquiring an electric quantity value of the first terminal; determining a second number of time slots based on the power value and the first number of time slots;
or determining the number of wireless connections currently established by the first terminal; determining a second time slot number according to the wireless connection number and the first time slot number;
or, acquiring the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted in the second wireless connection; and determining the second time slot number according to the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted.
2. The method of claim 1, wherein the free time slot is used for the first terminal to communicate information with the second terminal over a second wireless connection.
3. The method of claim 1, wherein the free time slot is used for the first terminal to communicate information with a third terminal over a second wireless connection.
4. A method according to claim 3, wherein the second wireless connection is a bluetooth connection.
5. The method according to any of claims 1-4, wherein in the first wireless connection the first terminal is a bluetooth master or a bluetooth slave.
6. The utility model provides a first terminal, its characterized in that, first terminal carries out information transmission through first wireless connection with the second terminal, wherein, first wireless connection is bluetooth connection, first terminal includes:
the acquisition module is used for acquiring the first information;
the determining module is used for determining a first time slot number occupied by the first information, wherein the first time slot number is a positive number;
the determining module is further configured to determine a second time slot number according to the first time slot number, where the second time slot number is an integer, and the second time slot number is greater than the first time slot number;
the packaging module is used for packaging the first information according to the second time slot number to obtain a first packet, wherein the second time slot number is the time slot number occupied by the first packet;
the determining module is further configured to determine a transmission time slot of the first packet;
a transmitting module, configured to transmit, through the first wireless connection, the first packet to the second terminal according to the transmission time slot and the first time slot number;
the transmission time slots of the first packet comprise idle time slots, the idle time slots are used for the first terminal to transmit information through a second wireless connection, the transmission time slots are determined according to the sending time slots and the second time slot number, the idle time slots are determined according to the sending time slots, the first time slot number and the second time slot number, and the idle time slots are time slots except for the time slots occupied by the first information in the time slots occupied by the first packet;
wherein, the determining module includes: the acquisition unit is used for acquiring the electric quantity value of the first terminal; a first determining unit configured to determine a second time slot number according to the electric quantity value and the first time slot number;
alternatively, the determining module includes: a second determining unit, configured to determine a number of wireless connections currently established by the first terminal; the second determining unit is further configured to determine a second timeslot number according to the wireless connection number and the first timeslot number;
alternatively, the determining module includes: the acquisition unit is used for acquiring the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted in the second wireless connection; and the first determining unit is used for determining the second time slot number according to the attribute of the information to be transmitted and/or the transmission requirement of the information to be transmitted.
7. The first terminal of claim 6, wherein the free time slot is used for the first terminal to communicate information with the second terminal over a second wireless connection.
8. The first terminal of claim 6, wherein the free time slot is used for the first terminal to communicate information with a third terminal over a second wireless connection.
9. The first terminal of claim 8, wherein the second wireless connection is a bluetooth connection.
10. The first terminal according to any of claims 6-9, characterized in that in the first wireless connection the first terminal is a bluetooth master or a bluetooth slave.
11. A first terminal, characterized in that the first terminal comprises a processor and a memory, which are connected to each other, wherein the processor executes computer instructions in the memory, implementing the information transmission method according to any of claims 1 to 5.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the information transmission method according to any one of claims 1 to 5.
CN202010168281.7A 2020-03-11 2020-03-11 Information transmission method, first terminal and computer storage medium Active CN111405534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010168281.7A CN111405534B (en) 2020-03-11 2020-03-11 Information transmission method, first terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010168281.7A CN111405534B (en) 2020-03-11 2020-03-11 Information transmission method, first terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN111405534A CN111405534A (en) 2020-07-10
CN111405534B true CN111405534B (en) 2023-08-25

Family

ID=71413336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010168281.7A Active CN111405534B (en) 2020-03-11 2020-03-11 Information transmission method, first terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111405534B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114079893B (en) * 2020-08-13 2023-10-13 华为技术有限公司 Bluetooth communication method, terminal device and computer readable storage medium
CN114025430B (en) * 2021-11-10 2022-07-19 上海山景集成电路股份有限公司 Bluetooth communication method, communication equipment and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101461191A (en) * 2006-06-02 2009-06-17 高通股份有限公司 Efficient operation for co-located WLAN and Bluetooth
CN103313256A (en) * 2012-03-06 2013-09-18 华为终端有限公司 Transmission method and transmission system for realizing data and voice service coexistence and communication equipment
CN107006015A (en) * 2014-12-03 2017-08-01 华为技术有限公司 The method and communication equipment communicated using frequency spectrum resource
CN107889087A (en) * 2016-09-29 2018-04-06 英特尔Ip公司 Dispatched using the bluetooth WIFI of the coordination of Bluetooth slots availability mask
CN109429206A (en) * 2018-05-30 2019-03-05 展讯通信(上海)有限公司 A kind of Bluetooth data transfer method, apparatus and user equipment
CN109618317A (en) * 2018-12-17 2019-04-12 珠海市杰理科技股份有限公司 Tdm communication method, apparatus, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5488062B2 (en) * 2010-03-10 2014-05-14 株式会社リコー Wireless communication apparatus and wireless communication method
US9832578B2 (en) * 2015-02-23 2017-11-28 Intricon Corporation Enabling concurrent proprietary audio and Bluetooth low energy using enhanced LE link layer for hearing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101461191A (en) * 2006-06-02 2009-06-17 高通股份有限公司 Efficient operation for co-located WLAN and Bluetooth
CN103313256A (en) * 2012-03-06 2013-09-18 华为终端有限公司 Transmission method and transmission system for realizing data and voice service coexistence and communication equipment
CN107006015A (en) * 2014-12-03 2017-08-01 华为技术有限公司 The method and communication equipment communicated using frequency spectrum resource
CN107889087A (en) * 2016-09-29 2018-04-06 英特尔Ip公司 Dispatched using the bluetooth WIFI of the coordination of Bluetooth slots availability mask
CN109429206A (en) * 2018-05-30 2019-03-05 展讯通信(上海)有限公司 A kind of Bluetooth data transfer method, apparatus and user equipment
CN109618317A (en) * 2018-12-17 2019-04-12 珠海市杰理科技股份有限公司 Tdm communication method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111405534A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN104135339A (en) Bluetooth low-power-consumption communication method, Bluetooth equipment and system
EP3518589B1 (en) Power distribution method and device
CN111405534B (en) Information transmission method, first terminal and computer storage medium
CN103716118A (en) Self-adaption multi-rate data transmitting and receiving method and device
CN112218339B (en) Relay transmission scheduling method, device, storage medium and electronic equipment
CN103533606A (en) Information transmission method of wireless local-area network, terminal and access device
CN104936211A (en) Wireless resource distribution method
CN114077568A (en) Inter-core communication method and device, electronic assembly and electronic equipment
CN116338434A (en) Average power consumption measuring method and device
CN101208918B (en) Contending for the medium with a mixture of backwards-compatible wireless devices
CN105100000B (en) Interface conversion device and network system
CN102970737A (en) Wireless network transmission conflict resolution method and system based on constructive interference
CN103106177B (en) Interconnect architecture and method thereof on the sheet of multi-core network processor
CN112422485A (en) Communication method and device of transmission control protocol
WO2021203892A1 (en) Information transmission method, apparatus and device, and computer readable storage medium
CN108650049B (en) Channel detection method, device and base station
CN114125936A (en) Resource scheduling method, device and storage medium
KR20200002999A (en) Apparatus and method for communicating in a wireless communication network
CN112732606A (en) Information interaction method, system, equipment and computer readable storage medium
CN112765085A (en) Data transmission method and related device
CN107094084B (en) Data sharing method and device
US20090037552A1 (en) Master-slave card system and method for operating the same
CN110933761A (en) Resource scheduling method and equipment
CN113597012B (en) Anti-collision method for transceiving intensive narrowband wireless long-distance communication
CN114039895B (en) Method and device for testing data transmission rate

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
GR01 Patent grant
GR01 Patent grant