CN109618317A - Tdm communication method, apparatus, computer equipment and storage medium - Google Patents
Tdm communication method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109618317A CN109618317A CN201811539913.5A CN201811539913A CN109618317A CN 109618317 A CN109618317 A CN 109618317A CN 201811539913 A CN201811539913 A CN 201811539913A CN 109618317 A CN109618317 A CN 109618317A
- Authority
- CN
- China
- Prior art keywords
- communication
- frame
- party formula
- communication method
- time slot
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application involves a kind of tdm communication method, apparatus, computer equipment and storage mediums, pass through first communication party formula and second communication method time sharing transmissions different task data;In receiving frame when listening to first communication party formula time sharing transmissions task data;When the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, by current first communication party formula time slot allocation to second communication method.In whole process, WiFi communication mode time slot and Blue-tooth communication method time slot are redistributed by listening to the quality of receiving frame in WiFi communication mode and Blue-tooth communication method, it avoids misscommunication frame from causing communication distribution waste of time, improves the allocative efficiency of WiFi Yu Bluetooth coexistence resource.
Description
Technical field
This application involves wireless communication technology fields, set more particularly to a kind of method, apparatus of tdm communication, computer
Standby and storage medium.
Background technique
With the development of wireless communication technique, WiFi (Wlreless-Fldelity, wireless network) and bluetooth exist jointly
One communication electronic equipment, has been very universal.But since WiFi and bluetooth work in 2.4GHZ frequency range, working channel is several
It is completely coincident, when WiFi and bluetooth work at the same time, can mutually generate interference, seriously affect communication quality.
In order to solve WiFi and bluetooth communication issue simultaneously, it is thus proposed that by connection 5G network, common frequency band is avoided, or
WiFi channel method etc. is replaced, increases communications cost, or can only alleviate to interference, problem is not solved.Existing people
It is independent of each other to enable bluetooth and WiFi to work at the same time in same frequency range, by determining that WiFi and bluetooth receive and dispatch time zone
Between, timeslice is distributed, realizes that WiFi is not interfere with each other from bluetooth in different transmit of same channel progress.
But such method, by distribution timeslice, the transmission time of fixed WiFi and bluetooth have ignored communication quality not
Conducive to resource rational utilization, cause WiFi low with Bluetooth coexistence resource allocation rate.
Summary of the invention
Based on this, it is necessary to for the WiFi problem low with Bluetooth coexistence resource allocation rate, provide a kind of raising WiFi with
The tdm communication method, apparatus of Bluetooth coexistence resource allocation rate, computer equipment with and storage medium.
A kind of tdm communication method, comprising:
Pass through first communication party formula and second communication method time sharing transmissions different task data;
Listen to receiving frame when first communication party formula time sharing transmissions task data;
When the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, by current first communication party
Formula time slot allocation is to second communication method, and first communication party formula is WiFi communication mode and second communication method is Bluetooth communication
Mode or first communication party formula are Blue-tooth communication method and second communication method is WiFi communication mode.
In one embodiment, misscommunication frame includes the receiving frame of format error, forbids sending connecing for any message
Receive at least one of the receiving frame of frame and signal-to-noise ratio decline receiving frame.
In one embodiment, when the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame,
Include: to second communication method by current first communication party formula time slot allocation
When listening to misscommunication frame, first communication party formula marking signal is abandoned in reception;
According to the frame length of misscommunication frame, first communication party formula time span signal is abandoned in reception;
According to abandoning first communication party formula marking signal and abandoning first communication party formula time span signal, by the first communication
Mode time slot allocation is to second communication method.
In one embodiment, abandon first communication party formula time span signal carry abandon first communication party formula when
Long, the frame length of duration and misscommunication frame is positively correlated.
In one embodiment, when the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame,
Current first communication party formula communication time slot is assigned as after second communication method communication time slot further include:
It reaches when the Connection Time of abandoning of first communication party formula and abandons abandoning the in first communication party formula time span signal
When the duration of one communication mode, the poor quality in receiving frame when listening to first communication party formula time sharing transmissions different task data is returned
The step of communication frame.
In one embodiment, by first communication party formula and second communication method time sharing transmissions different task data it
Before further include:
Traffic channel assignment is obtained into communication letter to first communication party formula and second communication method in a time multiplexed manner
First communication party formula time slot and second communication method time slot in road;
According to first communication party formula time slot and second communication method time slot, first communication party formula and second communication method are obtained
Default tdm communication slot table.
In one embodiment, traffic channel assignment is led to first communication party formula and second in a time multiplexed manner
Letter mode, before the first communication party formula time slot and second communication method time slot in acquisition of communication channels further include:
Using at least one of energy detection method, carrier detecting method and energy carrier detecting method method, to communication
Channel carries out clear channel assessment (CCA);
When assessing communication channel is idle channel, into traffic channel assignment is led to first in a time multiplexed manner
Letter mode and second communication method, the step of first communication party formula time slot and second communication method time slot in acquisition of communication channels
Suddenly.
A kind of tdm communication transposition, comprising:
Time sharing transmissions module, for passing through first communication party formula and second communication method time sharing transmissions different task data;
Module is listened to, for listening to receiving frame when first communication party formula time sharing transmissions task data;
Time slot allocation module, for when the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame,
By current first communication party formula time slot allocation to second communication method, first communication party formula is WiFi communication mode and second is logical
Letter mode is Blue-tooth communication method or first communication party formula is Blue-tooth communication method and second communication method is WiFi communication side
Formula.
A kind of computer equipment, including memory and processor, memory are stored with computer program, and processor executes meter
It is performed the steps of when calculation machine program
Pass through first communication party formula and second communication method time sharing transmissions different task data;
Listen to receiving frame when first communication party formula time sharing transmissions task data;
When the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, by current first communication party
Formula time slot allocation is to second communication method, and first communication party formula is WiFi communication mode and second communication method is Bluetooth communication
Mode or first communication party formula are Blue-tooth communication method and second communication method is WiFi communication mode.
A kind of computer readable storage medium is stored thereon with computer program, when computer program is executed by processor
It performs the steps of
Pass through first communication party formula and second communication method time sharing transmissions different task data;
Listen to receiving frame when first communication party formula time sharing transmissions task data;
When the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, by current first communication party
Formula time slot allocation is to second communication method, and first communication party formula is WiFi communication mode and second communication method is Bluetooth communication
Mode or first communication party formula are Blue-tooth communication method and second communication method is WiFi communication mode.
Above-mentioned tdm communication method, apparatus, computer equipment and storage medium are communicated by first communication party formula with second
Mode time sharing transmissions different task data;Listen to receiving frame when first communication party formula time sharing transmissions task data;When listening to
When misscommunication frame in receiving frame, according to the frame length of misscommunication frame, second is given by current first communication party formula time slot allocation
Communication mode.In whole process, distributed by listening to the quality of receiving frame in WiFi communication mode and Blue-tooth communication method
WiFi communication mode time slot and Blue-tooth communication method time slot avoid communication distribution waste of time, improve WiFi and indigo plant
The allocative efficiency of resource coexists in tooth.
Detailed description of the invention
Fig. 1 is the one of embodiment flow diagram of above-mentioned tdm communication method;
Fig. 2 is another embodiment flow diagram of above-mentioned tdm communication method;
Fig. 3 is the above-mentioned one of example structure schematic diagram of tdm communication device;
Fig. 4 is the above-mentioned one of example structure schematic diagram of tdm communication computer equipment.
Specific embodiment
WiFi and the working frequency range of bluetooth are all located at 2.4GHZ frequency range, and working channel is almost overlapped, and the two is at the same time
When transmitting different task, interference is generated, influences communication quality, the application is for WiFi and bluetooth in both guarantees communication quality
Under the premise of, WiFi in same channel is studied with bluetooth time sharing transmissions.In order to make the purpose of the application, technical solution and
Advantage is more clearly understood, and with reference to the accompanying drawings and embodiments, the application is further elaborated.It should be appreciated that this
The specific embodiment of place's description is only used to explain the application, is not used to limit the application.
A kind of time-division communication method, as shown in Figure 1, comprising:
S110: pass through first communication party formula and second communication method time sharing transmissions different task data.
First communication party formula is carried out in first communication party formula time slot and transmits data task, in second communication method time slot
Carry out second communication method transformation task data.Further, when first communication party formula be WiFi communication mode, and second communication
When mode is Blue-tooth communication method, in the time slot for distributing to WiFi communication mode, data task is transmitted by WiFi;It is distributing
To in the time slot of Blue-tooth communication method, by other task datas of Bluetooth transmission, the tdm communication of bluetooth and WiFi is formed, mutually not
Different task data are transmitted in interference.
S120: receiving frame when first communication party formula time sharing transmissions task data is listened to.
Communication frame is the structure of the data sent over the communication channels in the form serially flowed, in serial communication in that, number
According in the form of streaming from being distally sent to destination.Two systems safeguard Current communications session jointly.Wherein, data flow is divided into
Several frames, frame are made of a start bit, several data bit and 1 stop position.Misscommunication frame can be that can not know
Other frame, format error frame and it the communication frames such as can not correctly be demodulated.Data task transmission is being carried out using first communication party formula
When, in data task receiving frame quality and carry the information content listen to, identify receiving frame in misscommunication frame.
Further, when carrying out WiFi communication mode transformation task data, the receiving frame in WiFi communication is monitored, judgement connects
The misscommunication frame in frame is received, when carrying out Blue-tooth communication method transformation task data, to the receiving frame or number in Bluetooth communication
It is monitored according to packet, judges frame or the bad data packet inferior in receiving frame.
S130: when the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, current first is led to
Letter mode time slot allocation is to second communication method.
Frame length refers to the length of communication frame, if pulse current is regarded as track, frame is exactly that operation is in orbit
Train, train have locomotive and and the tailstock, frame also has a starting point, referred to as " frame head ", and frame also has a terminal, referred to as
" postamble ", the part between frame head and postamble are exactly the data of this frame load, and the distance of frame head to postamble is exactly the length of frame.
Further, when the communication poor quality frame listened in first communication party formula or second communication method, according to misscommunication frame
Length determines that this misscommunication frame transmission time is distributed to second communication party by the time required for the transmission of this misscommunication frame
Formula.Specifically, when first communication party formula be WiFi communication mode, and second communication method be Blue-tooth communication method when, listen to
Misscommunication frame in WiFi communication, according to the length of this WiFi misscommunication frame, release needs to transmit this misscommunication frame
This time slot is distributed to Blue-tooth communication method again by time slot, carries out Bluetooth communication.When first communication party formula is Bluetooth communication side
Formula, and second communication method be WiFi communication mode when, listen to the misscommunication frame in Bluetooth communication, according to this bluetooth poor quality
The length of communication frame, release need to transmit the time slot of this misscommunication frame, this time slot are distributed to WiFi communication mode again, into
Row WiFi communication.
Above-mentioned tdm communication method passes through first communication party formula and second communication method time sharing transmissions different task data;
In receiving frame when listening to first communication party formula time sharing transmissions task data;When the misscommunication frame listened in receiving frame,
According to the frame length of misscommunication frame, by current first communication party formula time slot allocation to second communication method.Entire tdm communication mistake
Cheng Zhong, according to the misscommunication frame listened to, by WiFi communication mode time slot allocation to Blue-tooth communication method, or by Bluetooth communication
Mode time slot allocation gives WiFi communication mode, ensure that communication quality, while avoiding misscommunication frame and causing the distribution time
Waste, improves the allocative efficiency of WiFi Yu share for Bluetooth resource.
Misscommunication frame includes the receiving frame of format error, forbids sending any message in one of the embodiments,
At least one of receiving frame and the receiving frame of signal-to-noise ratio decline receiving frame.Wherein, serial data transmits a byte each time,
Each byte has a specific format, such as start bit, data bit, effect position and stop position.In next reception of beacons frame
Before transmission, receiving frame is monitored, when receiving frame format when the error occurs, and is received desired by server receiving end
Receiving frame is different, and the communication terminal of receiving frame, does not support to receive this frame at this time, this receiving frame is misscommunication frame;Right
When receiving frame is listened to, listening to the control information carried in the control information of receiving frame is to forbid communication terminal transmission any
When the receiving frame of message, this receiving frame is misscommunication frame, in the present embodiment, by taking WiFi as an example, in WiFi communication mechanism,
By AP (WirelessAccessPoint, wireless access points), multiple communication terminals can be wirelessly connected, example
Such as, AP is connected to A, B and C at this time, when AP needs to be conversed with B, can be sent to the letter that A and C forbids sending any message
Number.When server monitoring reception frame is to forbid sending the frame of any message, receiving frame is misscommunication frame at this time.It is connect each
In receiving end, can understand what frame oneself needed, can all there be desired frame in usual receiving end, in WiFi connection, power of communications it is low or
Person, when WiFi connection, have received other powerful Communication Jammings, generate noise, and the decline of receiving frame signal-to-noise ratio causes to be received
Rectifying the probability really demodulated reduces, and when the normal signal-to-noise ratio for detecting receiving frame signal-to-noise ratio and desired receiving frame is inconsistent, sentences
This receiving frame of breaking is misscommunication frame.In the present embodiment, by listening to frame inferior in receiving frame, guarantee communication quality.
In one of the embodiments, when the misscommunication frame listened in receiving frame, according to the frame of misscommunication frame
It is long, it to second communication method include: when listening to misscommunication frame by current first communication party formula time slot allocation, reception is abandoned
First communication party formula marking signal;According to the frame length of misscommunication frame, first communication party formula time span signal is abandoned in reception;Root
According to abandoning first communication party formula marking signal and abandoning first communication party formula time span signal, when by current first communication party formula
Gap distributes to second communication method.Wherein, when listen in receiving frame there are format error frame, signal-to-noise ratio decline and forbid sending
When at least one of communication poor quality frame of any message, first communication party formula marking signal is abandoned in reception;Obtain misscommunication frame
Frame length information obtain communicating frame transmission inferior for the duration of needs according to the frame length information of misscommunication frame, it is bad according to communicating
The duration of needs, reception are abandoned first communication party formula time span signal by the transmission of matter frame;According to abandoning first communication party formula mark
Will signal and first communication party formula time span signal is abandoned, first communication party formula time slot is reassigned to second communication party
Formula.When listening to misscommunication frame, by first communication party formula time slot allocation to second communication method, the distribution time has been saved,
Improve the apportionment ratio of first communication party formula Yu second communication method public resource.
Further, the carrying of first communication party formula time span signal is abandoned in one of the embodiments, abandons first
The frame length of the duration of communication mode, duration and misscommunication frame is positively correlated.When the frame length of misscommunication frame is longer, this poor quality is transmitted
Frame the first communication party formula time slot of occupancy is longer, abandon first communication party formula time span signal carrying abandon the first communication
The duration of mode is abandoned abandoning the first communication in first communication party formula time span signal when misscommunication frame frame length is longer
The duration of mode is longer, and time slot allocation required for misscommunication frame is transmitted is to second communication method.Specifically, when current the
When one communication mode is WiFi communication mode, and second communication method is Blue-tooth communication method, listens to WiFi transformation task number
When WiFi receiving frame in is misscommunication frame, WiFi communication mode marking signal is abandoned in reception, abandons WiFi communication mode,
According to the frame length of WiFi misscommunication frame, determines that misscommunication frame transmits required duration, institute is transmitted according to misscommunication frame
WiFi communication mode time span signal is abandoned in the duration needed, reception, abandons the carrying of WiFi communication mode time span signal
The duration for abandoning WiFi communication mode, it is non-essential, abandon WiFi communication mode duration and misscommunication frame transmission needed for
The duration wanted can be same time length.WiFi communication mode is abandoned, time slot required for WiFi misscommunication frame is transmitted
It distributes to Blue-tooth communication method and carries out other task datas of Bluetooth transmission.When current first communication party formula be Blue-tooth communication method,
And second communication method be WiFi communication mode, listen to bluetooth in transformation task data in misscommunication frame when, receive
Blue-tooth communication method marking signal is abandoned, duration needed for the frame length and misscommunication frame of misscommunication frame transmit is positively correlated, determines
Duration required for frame inferior is transmitted, reception abandons Blue-tooth communication method time span signal, abandons the Blue-tooth communication method time
What is carried in length signals abandons the duration of Blue-tooth communication method, and the duration and misscommunication frame for abandoning Blue-tooth communication method are transmitted
Required duration is positively correlated, non-essential, abandon Blue-tooth communication method duration can be transmitted with misscommunication frame required for
Time it is equal.Give the time slot allocation for the misscommunication frame that bluetooth will be transmitted to WiFi communication mode, i.e., in misscommunication frame
Occupied time slot allocation is transmitted to WiFi, makes WiFi communication mode that should transmit misscommunication frame under Blue-tooth communication method
Other task datas are transmitted in time slot.The present embodiment transmits misscommunication frame in current first communication party formula by the time of needs
Second communication method is distributed to, that is, ensure that communication quality, the misscommunication frame for wasting time to be transmitted without is in turn avoided, mentions
High first communication party formula and second communication method public resource apportionment ratio.
It, will according to the frame length of frame inferior in one of the embodiments, when the misscommunication frame listened in receiving frame
Current first communication party formula communication time slot is assigned as after second communication method communication time slot further include: when first communication party formula
Abandoning the Connection Time reaches when abandoning abandoning the duration of first communication party formula in first communication party formula time span signal, and return is detectd
The step of misscommunication frame in receiving frame when listening first communication party formula time sharing transmissions different task data.Further, when
Current first communication party formula is WiFi communication mode, and when second communication method is Blue-tooth communication method, logical listening to WiFi
Misscommunication frame in letter mode according to the frame length of misscommunication frame and is abandoning WiFi communication mode time span signal just
Misscommunication frame after determining the time span for abandoning WiFi communication mode, is transmitted occupied time slot allocation and given by correlativity
Blue-tooth communication method transmits other task datas by Blue-tooth communication method, reaches really when distributing to Blue-tooth communication method time slot
When abandoning the time of WiFi communication mode surely, carried out in present communications mode time slot according to default tdm communication slot table current
Communication mode communication, continues to listen to receiving frame of the present communications mode when transmitting different task data.The present embodiment
In, when current first communication party formula time slot is reassigned to second communication method by long arrival at that time, according to current original time slot
Distribution carries out corresponding communication mode transformation task data in communication mode time slot, continues to the poor quality in present communications mode
Communication frame is listened to, and is prepared to redistribute time slot.
Pass through first communication party formula and second communication method time sharing transmissions different task data in one of the embodiments,
Before further include: in a time multiplexed manner obtain traffic channel assignment logical to first communication party formula and second communication method
Believe the first communication party formula time slot and second communication method time slot in channel;According to first communication party formula time slot and second communication party
Formula time slot obtains the tdm communication slot table of default first communication party formula and second communication method.Wherein, time division multiplexing is to use
The different periods of unified physics connection transmit different signals, can also achieve the purpose that multiplexing.Time division multiplexing is with the time
The parameter divided for signal as signal, it is necessary to which the road Shi Ge signal does not overlap on a timeline, will exactly be supplied to entire letter
The time of road transmission information is divided into some time piece, and these timeslices are distributed to each information source and are used.Further,
In the present embodiment, first communication party formula is WiFi communication mode, and second communication method is Blue-tooth communication method.WiFi communication side
Formula and Blue-tooth communication method use same channel, use time slot by distribution channel, tdm communication slot table are generated, according to timesharing
The arrangement of communication time slot table carries out the tdm communication of WiFi communication mode and Blue-tooth communication method, transmits different task data.It is non-
Necessary, the timeslice for distributing to WiFi communication mode in a time multiplexed way includes WiFi timeslice and monitoring time piece, is divided
The timeslice of dispensing Blue-tooth communication method includes Bluetooth time piece, and monitoring time piece is after WiFi timeslice, Bluetooth time piece
After monitoring time piece, in monitoring time piece, it can receive the bottom pour ladle data that wireless access point is sent.By time-multiplexed
Mode can make first communication party formula and second communication method not interfere with each other time sharing transmissions different task number in same communication channel
According to.
In one of the embodiments, in a time multiplexed manner by traffic channel assignment to first communication party formula and second
Communication mode, before the first communication party formula time slot and second communication method time slot in acquisition of communication channels further include: use energy
At least one of quantity measuring method, carrier detecting method and energy carrier detecting method method carries out idle letter to communication channel
Road assessment;When assessing communication channel is idle channel, into traffic channel assignment is led to first in a time multiplexed manner
Letter mode and second communication method, the step of first communication party formula time slot and second communication method time slot in acquisition of communication channels
Suddenly.Wherein, clear channel assessment (CCA) (CCA, Clear Channel Assessment) refers to, in a wireless communication system, when setting
It is standby to need before transmission data, to be received on this channel first on a certain channel, if do not had by the given time
It is found other equipment and sends data on this channel, then start to send;If it find that have other equipment send data, then with
Machine repeats this process after evacuation a period of time again.Further, time distribution is carried out to communication channel, distributes first communication party
It also needs to carry out clear channel assessment (CCA) to communication channel before formula time slot and second communication method time slot.Specifically, energy measuring
Method: receiving end carries out the judgement of energy size to the signal received, when received signal energy is lower than pre- gating in the channel
When limit value, channel idle at this time;Carrier detecting method: the pseudo noise code of the signal received and the machine is carried out operation by receiving end
Compare, compare when by operation, channel is also idle channel at this time lower than preset threshold;Energy carrier detecting method is energy inspection
The combination of two methods of survey method and carrier detecting method, while energy and pseudo noise code are carried out to signal and compared, by this three
At least one of kind detection method method, realizes and carries out idle assessment to channel, avoid being interfered in channel transmission signal.
In one of the embodiments, in practical applications, using first communication party formula as WiFi communication mode, and second is logical
Letter mode be Blue-tooth communication method for, as shown in Figure 2, comprising the following steps:
Step 1: clear channel assessment (CCA) is carried out to communication channel.
Step 2: when channel is idle channel, being using time slot allocation by idle channel by time-multiplexed mode
WiFi communication mode time slot and Blue-tooth communication method time slot are obtained according to WiFi communication mode time slot and Blue-tooth communication method time slot
Take the default tdm communication slot table of WiFi communication mode and Blue-tooth communication method.
Step 3: according to the default tdm communication slot table of WiFi communication mode and Blue-tooth communication method, passing through WiFi communication
The mode task data different with Blue-tooth communication method time sharing transmissions.
Step 4: in receiving frame when listening to WiFi communication mode time sharing transmissions task data.
Step 5: when the misscommunication frame listened in receiving frame, according to the frame length of misscommunication frame, reception is abandoned
WiFi communication mode marking signal and WiFi communication mode time span signal is abandoned, abandons WiFi communication mode time span letter
It number is positively correlated with the frame length of misscommunication frame.
Step 6: according to abandoning WiFi communication mode marking signal and abandoning WiFi communication mode time span signal, will work as
Preceding WiFi communication mode time slot allocation is to Blue-tooth communication method.
Step 7: when the slot time of Blue-tooth communication method is distributed in arrival, listening to present communications mode transformation task number
Misscommunication frame in.
Specifically, by energy detection method, carrier detecting method and energy carrier detecting method any one method,
Idle assessment is carried out to channel, when assessing channel is idle channel, time slot allocation is carried out to channel, channel is pressed into time slot allocation
To WiFi and bluetooth, tdm communication slot table is generated according to time slot allocation, WiFi and bluetooth are passed through according to tdm communication slot table
In same channel time sharing transmissions different task data.Receiving frame when WiFi communication mode transformation task data is listened to, in WiFi
When connection is low by high-power interference around or power of communications, it will lead to the decline of receiving frame signal-to-noise ratio, reduce receiving frame quilt
The probability correctly demodulated;For receiving frame in transmission process, there is also interference to influence on the format of receiving frame, generation error lattice
The receiving frame of formula carries out control information in the receiving frame sent to transmitting terminal and monitors, when transmitting terminal is communicating end communication with other
When, or send the receiving frame for forbidding sending any message.When the frame that the receiving frame received is format error frame, signal-to-noise ratio decline
And when forbidding sending the receiving frame of any message, this receiving frame is determined for misscommunication frame, when listening to misscommunication frame,
The frame length of misscommunication frame obtains in WiFi communication mode according to frame length and transmits this misscommunication frame for the duration of needs, frame length
It is positively correlated with required transmission time.Reception abandons WiFi communication mode marking signal and connects length with the WiFi communication mode time is abandoned
Signal is spent, abandons carrying in WiFi Connection Time length signals and abandons WiFi communication mode time span, abandon WiFi communication side
Formula time span and misscommunication frame, which transmit, is positively correlated the time of needs, according to abandoning WiFi communication mode marking signal and put
WiFi communication mode time connection length signal is abandoned, WiFi misscommunication frame will be transmitted in WiFi communication mode by the time slot of needs
Blue-tooth communication method is distributed to, Bluetooth data transfer is carried out, when the time slot of Blue-tooth communication method is distributed in arrival, to current logical
Letter mode time slot is listened to.
A kind of tdm communication device is provided in one of the embodiments, as shown in figure 3, comprising the following modules:
Time sharing transmissions module 310, for passing through first communication party formula and second communication method time sharing transmissions different task number
According to;
Module 320 is listened to, in receiving frame when for listening to first communication party formula time sharing transmissions task data;
Time slot allocation module 330, for when the misscommunication frame listened in receiving frame, according to the frame of misscommunication frame
Long, by current first communication party formula time slot allocation to second communication method, first communication party formula is WiFi communication mode and second
Communication mode is Blue-tooth communication method or first communication party formula is Blue-tooth communication method and second communication method is WiFi communication
Mode.
In one embodiment, time slot allocation module 330 is also used to when the misscommunication frame listened in receiving frame
When, first communication party formula marking signal is abandoned in reception;According to the frame length of misscommunication frame, the first communication party formula time is abandoned in reception
Length signals;According to abandoning first communication party formula marking signal and abandoning first communication party formula time span signal, first is led to
Letter mode time slot allocation is to second communication method.
In one embodiment, time slot allocation module 330 is also used to arrive when the Connection Time of abandoning of first communication party formula
Up to when abandoning abandoning the duration of first communication party formula in first communication party formula time span signal, first communication party formula is listened in return
The step of misscommunication frame in receiving frame when time sharing transmissions different task data.
In one embodiment, above-mentioned tdm communication transposition further includes that slot table obtains module, for time division multiplexing
First communication party formula of the mode by traffic channel assignment to first communication party formula and second communication method, in acquisition of communication channels
Time slot and second communication method time slot;According to first communication party formula time slot and second communication method time slot, it is logical to obtain default first
The tdm communication slot table of letter mode and second communication method.
In one embodiment, above-mentioned tdm communication device further includes channel estimation module, for using energy measuring
At least one of method, carrier detecting method and energy carrier detecting method method carries out clear channel assessment (CCA) to communication channel;
When assessing communication channel is idle channel, into a time multiplexed manner by traffic channel assignment to first communication party formula and
The step of second communication method, first communication party formula time slot and second communication method time slot in acquisition of communication channels.
Specific about tdm communication device limits the restriction that may refer to above for tdm communication method, herein not
It repeats again.Modules in above-mentioned tdm communication device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
A kind of computer equipment is provided in one of the embodiments, which can be server, in
Portion's structure chart can be as shown in Figure 4.The computer equipment includes that the processor, memory, network connected by system bus connects
Mouth and database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The storage of the computer equipment
Device includes non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system, computer program and
Database.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.It should
The database of computer equipment is for storing tdm communication data.The network interface of the computer equipment is used for and external terminal
It is communicated by network connection.To realize a kind of tdm communication method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 4, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program through first communication party formula and second communication party
Formula time sharing transmissions different task data;Listen to receiving frame when first communication party formula time sharing transmissions task data;It is connect when listening to
When receiving the misscommunication frame in frame, according to the frame length of misscommunication frame, current first communication party formula time slot allocation is led to second
Letter mode, first communication party formula is WiFi communication mode and second communication method is Blue-tooth communication method or first communication party formula
For Blue-tooth communication method and second communication method is WiFi communication mode.
It also performs the steps of to work as when processor executes computer program in one of the embodiments, and listens to reception
When misscommunication frame in frame, first communication party formula marking signal is abandoned in reception;According to the frame length of misscommunication frame, reception is abandoned
First communication party formula time span signal;According to abandoning first communication party formula marking signal and to abandon the first communication party formula time long
Signal is spent, by first communication party formula time slot allocation to second communication method.
It is also performed the steps of when processor executes computer program in one of the embodiments, and works as first communication party
The Connection Time of abandoning of formula reaches when abandoning abandoning the duration of first communication party formula in first communication party formula time span signal, returns
The step of returning the misscommunication frame in receiving frame when listening to first communication party formula time sharing transmissions different task data.
It also performs the steps of when processor executes computer program in one of the embodiments, with time-multiplexed
Mode by traffic channel assignment to first communication party formula and second communication method, when first communication party formula in acquisition of communication channels
Gap and second communication method time slot;According to first communication party formula time slot and second communication method time slot, default first communication is obtained
The tdm communication slot table of mode and second communication method.
It also performs the steps of when processor executes computer program in one of the embodiments, using energy measuring
At least one of method, carrier detecting method and energy carrier detecting method method carries out clear channel assessment (CCA) to communication channel;
When assessing communication channel is idle channel, into a time multiplexed manner by traffic channel assignment to first communication party formula and
The step of second communication method, first communication party formula time slot and second communication method time slot in acquisition of communication channels.
A kind of computer readable storage medium is provided in one of the embodiments, is stored thereon with computer program,
It is performed the steps of when computer program execution processed different from second communication method time sharing transmissions by first communication party formula
Task data;Listen to receiving frame when first communication party formula time sharing transmissions task data;When the poor quality listened in receiving frame is logical
When believing frame, according to the frame length of misscommunication frame, by current first communication party formula time slot allocation to second communication method, the first communication
Mode be WiFi communication mode and second communication method be Blue-tooth communication method or first communication party formula be Blue-tooth communication method,
And second communication method is WiFi communication mode.
It also performs the steps of to work as to listen to when computer program is executed by processor in one of the embodiments, and connect
When receiving the misscommunication frame in frame, first communication party formula marking signal is abandoned in reception;According to the frame length of misscommunication frame, reception is put
Abandon first communication party formula time span signal;According to abandoning first communication party formula marking signal and abandoning the first communication party formula time
Length signals, by first communication party formula time slot allocation to second communication method.
It is also performed the steps of when computer program is executed by processor in one of the embodiments, when the first communication
The Connection Time of abandoning of mode reaches when abandoning abandoning the duration of first communication party formula in first communication party formula time span signal,
The step of returning to the misscommunication frame in receiving frame when listening to first communication party formula time sharing transmissions different task data.
It is also performed the steps of when computer program is executed by processor in one of the embodiments, to be time-multiplexed
First communication party formula of the mode by traffic channel assignment to first communication party formula and second communication method, in acquisition of communication channels
Time slot and second communication method time slot;According to first communication party formula time slot and second communication method time slot, it is logical to obtain default first
The tdm communication slot table of letter mode and second communication method.
It also performs the steps of when computer program is executed by processor in one of the embodiments, and is examined using energy
At least one of survey method, carrier detecting method and energy carrier detecting method method carries out idle channel to communication channel and comments
Estimate;When assessing communication channel is idle channel, into a time multiplexed manner by traffic channel assignment to first communication party
The step of formula and second communication method, first communication party formula time slot and second communication method time slot in acquisition of communication channels.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of tdm communication method characterized by comprising
Pass through first communication party formula and second communication method time sharing transmissions different task data;
Listen to the receiving frame when first communication party formula time sharing transmissions task data;
When the misscommunication frame listened in the receiving frame, according to the frame length of the misscommunication frame, current first is led to
Letter mode time slot allocation gives the second communication method, and the first communication party formula is WiFi communication mode and described second leads to
Letter mode is Blue-tooth communication method or the first communication party formula is Blue-tooth communication method and the second communication method is
WiFi communication mode.
2. tdm communication method according to claim 1, which is characterized in that the misscommunication frame includes connecing for format error
Receive at least one of the receiving frame of frame, the receiving frame for forbidding sending any message and signal-to-noise ratio decline receiving frame.
3. tdm communication method according to claim 1, which is characterized in that described when the poor quality listened in the receiving frame
When communication frame, according to the frame length of the misscommunication frame, current first communication party formula time slot allocation is given to second communication method packet
It includes:
When listening to the misscommunication frame, first communication party formula marking signal is abandoned in reception;
According to the frame length of the misscommunication frame, first communication party formula time span signal is abandoned in reception;
According to it is described abandon first communication party formula marking signal and it is described abandon first communication party formula time span signal, will be described
First communication party formula time slot allocation gives the second communication method.
4. tdm communication method according to claim 3, which is characterized in that described to abandon first communication party formula time span letter
It number carries and to abandon the duration of the first communication party formula, the frame length of the duration and the misscommunication frame is positively correlated.
5. tdm communication method according to claim 4, which is characterized in that described when the poor quality listened in the receiving frame
When communication frame, according to the frame length of the frame inferior, current first communication party formula communication time slot is assigned as second communication method and is led to
After letter time slot further include:
When the first communication party formula abandon the Connection Time reach described in abandon institute in first communication party formula time span signal
When stating the duration for abandoning first communication party formula, different task number described in the first communication party formula time sharing transmissions is listened to described in return
According to when receiving frame in misscommunication frame the step of.
6. tdm communication method according to claim 1, which is characterized in that described to be communicated by first communication party formula with second
Before mode time sharing transmissions different task data further include:
Traffic channel assignment is obtained into the communication letter to first communication party formula and second communication method in a time multiplexed manner
The first communication party formula time slot and the second communication method time slot in road;
According to the first communication party formula time slot and the second communication method time slot, obtains first communication party formula and communicated with second
The default tdm communication slot table of mode.
7. tdm communication method according to claim 6, which is characterized in that described in a time multiplexed manner by communication channel
First communication party formula and second communication method are distributed to, the first communication party formula time slot and institute in the communication channel are obtained
Before stating second communication method time slot further include:
Using at least one of energy detection method, carrier detecting method and energy carrier detecting method method, to the communication
Channel carries out clear channel assessment (CCA);
When assessing the communication channel is idle channel, into described in a time multiplexed manner by traffic channel assignment to the
One communication mode and second communication method obtain the first communication party formula time slot in the communication channel and described second and lead to
The step of letter mode time slot.
8. a kind of tdm communication transposition, described device include:
Time sharing transmissions module, for passing through first communication party formula and second communication method time sharing transmissions different task data;
Module is listened to, for listening to the receiving frame when first communication party formula time sharing transmissions task data;
Time slot allocation module, for when the misscommunication frame listened in the receiving frame, according to the misscommunication frame
Frame length gives current first communication party formula time slot allocation to the second communication method, and the first communication party formula is WiFi communication
Mode and the second communication method are Blue-tooth communication method or the first communication party formula is Blue-tooth communication method and described
Second communication method is WiFi communication mode.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811539913.5A CN109618317B (en) | 2018-12-17 | 2018-12-17 | Time-sharing communication method, time-sharing communication device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811539913.5A CN109618317B (en) | 2018-12-17 | 2018-12-17 | Time-sharing communication method, time-sharing communication device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109618317A true CN109618317A (en) | 2019-04-12 |
CN109618317B CN109618317B (en) | 2022-04-15 |
Family
ID=66009404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811539913.5A Active CN109618317B (en) | 2018-12-17 | 2018-12-17 | Time-sharing communication method, time-sharing communication device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618317B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405534A (en) * | 2020-03-11 | 2020-07-10 | 锐迪科微电子(上海)有限公司 | Information transmission method, first terminal and computer storage medium |
CN114430560A (en) * | 2021-12-31 | 2022-05-03 | Oppo广东移动通信有限公司 | Communication method, communication device, electronic equipment, computer equipment and readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369884A (en) * | 2008-09-11 | 2009-02-18 | 重庆邮电大学 | Industrial wireless communication method of self-adapting signal channel jumping based on time slot |
CN101646245A (en) * | 2008-06-16 | 2010-02-10 | 美国博通公司 | Method and system for bluetooth and wimax coexistence |
CN101814961A (en) * | 2010-03-18 | 2010-08-25 | 华为终端有限公司 | Data transmission method and device thereof |
CN103124423A (en) * | 2013-03-06 | 2013-05-29 | 华为终端有限公司 | Method and device for transmitting and receiving wireless signals, and terminal device |
US20130343236A1 (en) * | 2011-09-30 | 2013-12-26 | Sherry Chen | Radio coexistence in wireless networks |
CN104969649A (en) * | 2013-02-01 | 2015-10-07 | 苹果公司 | Wifi real-time streaming and bluetooth coexistence |
CN106856428A (en) * | 2015-12-08 | 2017-06-16 | 展讯通信(上海)有限公司 | For the bluetooth and WiFi coexistence methods and device of terminal device |
CN107182070A (en) * | 2017-06-13 | 2017-09-19 | 重庆邮电大学 | Wireless network channel quality updating and transmitting method |
CN108307368A (en) * | 2018-02-28 | 2018-07-20 | 维沃移动通信有限公司 | Bluetooth data transfer method, apparatus, terminal and computer readable storage medium |
-
2018
- 2018-12-17 CN CN201811539913.5A patent/CN109618317B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646245A (en) * | 2008-06-16 | 2010-02-10 | 美国博通公司 | Method and system for bluetooth and wimax coexistence |
CN101369884A (en) * | 2008-09-11 | 2009-02-18 | 重庆邮电大学 | Industrial wireless communication method of self-adapting signal channel jumping based on time slot |
CN101814961A (en) * | 2010-03-18 | 2010-08-25 | 华为终端有限公司 | Data transmission method and device thereof |
US20130343236A1 (en) * | 2011-09-30 | 2013-12-26 | Sherry Chen | Radio coexistence in wireless networks |
CN104969649A (en) * | 2013-02-01 | 2015-10-07 | 苹果公司 | Wifi real-time streaming and bluetooth coexistence |
CN103124423A (en) * | 2013-03-06 | 2013-05-29 | 华为终端有限公司 | Method and device for transmitting and receiving wireless signals, and terminal device |
CN106856428A (en) * | 2015-12-08 | 2017-06-16 | 展讯通信(上海)有限公司 | For the bluetooth and WiFi coexistence methods and device of terminal device |
CN107182070A (en) * | 2017-06-13 | 2017-09-19 | 重庆邮电大学 | Wireless network channel quality updating and transmitting method |
CN108307368A (en) * | 2018-02-28 | 2018-07-20 | 维沃移动通信有限公司 | Bluetooth data transfer method, apparatus, terminal and computer readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405534A (en) * | 2020-03-11 | 2020-07-10 | 锐迪科微电子(上海)有限公司 | Information transmission method, first terminal and computer storage medium |
CN111405534B (en) * | 2020-03-11 | 2023-08-25 | 锐迪科微电子(上海)有限公司 | Information transmission method, first terminal and computer storage medium |
CN114430560A (en) * | 2021-12-31 | 2022-05-03 | Oppo广东移动通信有限公司 | Communication method, communication device, electronic equipment, computer equipment and readable storage medium |
CN114430560B (en) * | 2021-12-31 | 2024-05-24 | Oppo广东移动通信有限公司 | Communication method, communication device, electronic device, computer device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109618317B (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11917507B2 (en) | Method, apparatus and system for feedback information transmission between internet of vehicles devices | |
US11290918B2 (en) | Method and apparatus for transmitting control channel and data channel in V2X communication | |
CN108631980B (en) | Data transmission method, terminal, network side device and computer readable storage medium | |
CN107277922B (en) | Method and equipment for transmitting control channel and data channel in V2X communication | |
TW202019201A (en) | Method of handling communication in unlicensed spectrum and related communication device | |
WO2017166984A1 (en) | Information feedback method, base station, terminal, and storage medium | |
CN110099451B (en) | Scheduling method and device in wireless communication | |
WO2013026414A1 (en) | Communication system access method, downlink information transmission method, terminal and base station | |
CN116235588A (en) | Channel occupancy time in unlicensed frequency bands for side-link communications | |
US20100091728A1 (en) | Method for allocating radio resources | |
CN108292980A (en) | The method and apparatus of business transmission | |
CN110798892B (en) | Method, equipment and system for sending uplink control information | |
EP1903826A2 (en) | Mobile communication terminal, mobile communication system, base station and communication method | |
CN114173371B (en) | Positioning measurement reporting in unlicensed spectrum | |
WO2017197949A1 (en) | Control method for data transmission, and relevant device | |
CN107453851B (en) | CQI measuring method, device and wireless communication system | |
WO2018177115A1 (en) | Scheduling-free transmission method and apparatus | |
CN109618317A (en) | Tdm communication method, apparatus, computer equipment and storage medium | |
US20220104242A1 (en) | Transmission method and device for uplink control information | |
US20220256523A1 (en) | Data multiplexing transmission method, base station, terminal, and storage medium | |
WO2018201936A1 (en) | Method for transmitting information, method for receiving information, network device and terminal device | |
CN110891311A (en) | Method and communication device for transmitting feedback information | |
CN108174454B (en) | Information processing method and device | |
CN112312564B (en) | Method and device for scheduling communication service and storage medium | |
WO2018090317A1 (en) | Resource scheduling method, and relevant device and system |
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 | ||
CB02 | Change of applicant information |
Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd. Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |