CN103178924B - A kind of data transmission method and terminal - Google Patents

A kind of data transmission method and terminal Download PDF

Info

Publication number
CN103178924B
CN103178924B CN201110430458.7A CN201110430458A CN103178924B CN 103178924 B CN103178924 B CN 103178924B CN 201110430458 A CN201110430458 A CN 201110430458A CN 103178924 B CN103178924 B CN 103178924B
Authority
CN
China
Prior art keywords
channel
frequency point
data transmission
signal interference
transmission
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
CN201110430458.7A
Other languages
Chinese (zh)
Other versions
CN103178924A (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.)
Nationz Technologies Inc
Original Assignee
Nationz Technologies Inc
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 Nationz Technologies Inc filed Critical Nationz Technologies Inc
Priority to CN201110430458.7A priority Critical patent/CN103178924B/en
Publication of CN103178924A publication Critical patent/CN103178924A/en
Application granted granted Critical
Publication of CN103178924B publication Critical patent/CN103178924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention a kind of data transmission method and terminal are disclosed, this method is included in carry out data transmission before, detect transmission channel to be used and whether there is signal interference;If presence signal is disturbed, abandon carrying out data transmission using the channel;If signal interference is not present, carried out data transmission using the channel.The present invention is by above technical scheme, the problem of solving multiple equipment in the prior art and tie up same transmission channel at the same time, and cause signal interference, even result in data transmission fails.

Description

A kind of data transmission method and terminal
Technical field
The present invention relates to the communications field, more particularly to a kind of data transmission method and terminal.
Background technology
With the development of wireless communication technique, as bluetooth (Bluetooth), ZigBee, Wireless USB (WirelessUSB), The development of Wi-Fi, radio frequency, magnetic communication technology, the equipment that the employing wireless communication technology carries out data transmission is more and more, easily deposits Same transmission channel is tied up at the same time in multiple equipment, and causes signal interference, even results in data transmission fails.
The content of the invention
The present invention provides a kind of data transmission method and terminal, solves multiple equipment in the prior art and ties up same biography at the same time Defeated channel, and the problem of cause signal interference, even result in data transmission fails.
In order to solve the above technical problems, the present invention uses following technical scheme:
A kind of data transmission method, including:
Before carrying out data transmission, detect transmission channel to be used and whether there is signal interference;
If presence signal is disturbed, abandon carrying out data transmission using the channel;
If signal interference is not present, carried out data transmission using the channel.
In an embodiment of the present invention, the method for detecting transmission channel to be used with the presence or absence of signal interference includes:
Detect the current signal strength of the channel;
By the signal strength detected compared with a threshold value;
If the signal strength detected exceedes the threshold value, it is judged as the channel presence signal interference;Otherwise, sentence Break and signal interference is not present for the channel.
In an embodiment of the present invention, transmission channel to be used is detected with the presence or absence of before signal interference, is further included:
Data to be transmitted is divided into multiple data packets by initiator;
Initiator consults the transmission frequency point of the multiple data packet with recipient;
Before initiator is transmitted each data packet, it whether there is signal interference into the frequency point channel for detecting to be used The step of.
In an embodiment of the present invention, initiator consults the method bag of the transmission frequency point of the multiple data packet with recipient Include:
Initiate direction recipient and send synchronization request, the synchronization request carries the factor for calculating frequency point sequence;
Initiator is utilized respectively the factor with recipient and identical frequency point sequence is calculated;
The transmission frequency point of initiator and recipient using the frequency point sequence as the multiple data packet.
In an embodiment of the present invention, if presence signal is disturbed, abandon carrying out using the frequency point channel to be used Data packet transmit, and reselect transmission frequency point and/or transmission time slot the data packet is transmitted again.
A kind of data transmission terminal includes detection module and data transmission module, wherein, detection module is used for into line number Before transmission, detect transmission channel to be used and whether there is signal interference;Data transmission module is used to examine in detection module When measuring presence signal interference, abandon carrying out data transmission using the channel;Detect that there is no signal to do in detection module When disturbing, carried out data transmission using the channel.
In an embodiment of the present invention, detection module is used to detect the current signal strength of the channel;By what is detected Signal strength is compared with a threshold value;If the signal strength detected exceedes the threshold value, it is judged as that the channel exists Signal interference;Otherwise, it is judged as that signal interference is not present in the channel.
In an embodiment of the present invention, data transmission terminal further includes data processing module, and data processing module is used for will Data to be transmitted is divided into multiple data packets;And consult the transmission frequency point of the multiple data packet with data receiver;Detection module It whether there is signal interference for before being transmitted to each data packet, detecting frequency point channel to be used.
In an embodiment of the present invention, data transmission module is used to, when detection module detects presence signal interference, put Abandon and carry out data packet transmission using the frequency point channel to be used, and reselect transmission frequency point and/or transmission time slot to this Data packet is transmitted again.
The present invention provides a kind of data transmission method and terminal, before carrying out data transmission, detects transmission to be used Channel whether there is signal interference;If presence signal is disturbed, abandon carrying out data transmission using the channel;If signal is not present Interference, then carried out data transmission using the channel, can effectively avoid multiple equipment and tie up same channel at the same time, and causes signal to do The problem of disturbing, even resulting in data transmission fails.
Brief description of the drawings
Fig. 1 is the flow chart of one embodiment of the invention data transmission method;
Fig. 2 is the schematic diagram of one embodiment of the invention data transmission terminal.
Embodiment
Below by taking two terminals are carried out data transmission by technology for radio frequency as an example, initiator is first by data to be transmitted point Into multiple data packets { P0, P1, P2 ... Pn }, as shown in Figure 1, the flow chart for one embodiment of the invention data transmission method:
S101, initiate direction recipient transmission synchronization request, and synchronization request carries the factor for calculating frequency point sequence.
Whether S102, initiator receive the synchronous response message of recipient's feedback, if so, then progress step S103, no Then, return to step S101.
Identical frequency point sequence is calculated in the factor that S103, initiator and recipient are utilized respectively the frequency point sequence, frequency Point sequence includes frequency point { F0, F1, F2 ... Fn }, can set each frequency point and account for a time slot { T0, T1, T2 ... Tn }, often A one data packet of slot transmission.
S104, select data packet waiting for transmission.
S105, before being transmitted the data packet, select to transmit data packet frequency point to be used from frequency point sequence.
S106, the current signal strength to frequency point channel to be used are detected.
S107, by the signal strength detected compared with a threshold value, judge the signal that detects whether intensity exceed should Threshold value, if so, then return to step S105, data packet frequency point to be used is transmitted in selection from frequency point sequence again, otherwise, Carry out step S108.
S108, using the frequency point channel be transferred to recipient by the data packet.
S109, judge whether to receive the acknowledgement character response of recipient, if receiving, return to step S104, is selected next to be passed Defeated data packet, if not receiving, return to step S105, data packet frequency to be used is transmitted in selection from frequency point sequence again Point.
Present invention additionally comprises a kind of data transmission terminal, which includes detection module and data transfer mould Block, wherein, detection module is used for before carrying out data transmission, and detects transmission channel to be used and whether there is signal interference; Data transmission module is used to, when detection module detects presence signal interference, abandon carrying out data transmission using the channel; When detection module detects to be not present signal interference, carried out data transmission using the channel.
Fig. 2 is the schematic diagram of one embodiment of the invention data transmission terminal, is please referred to Fig.2:The data transmission terminal includes Data processing module 201, detection module 202 and data transmission module 203;
Data processing module 201 is used to data to be transmitted being divided into multiple data packets;And with data receiver consult described in The transmission frequency point of multiple data packets, can be specifically:
Synchronization request is sent to data receiver, which carries the factor for calculating frequency point sequence;
The factor is utilized respectively with recipient, and identical frequency point sequence is calculated;
With transmission frequency point of the recipient using the frequency point sequence as the plurality of data packet.
Before detection module 202 is used to be transmitted each data packet, frequency point channel to be used is detected with the presence or absence of letter Number interference, can be specifically:
Detect the current signal strength of the channel;
By the signal strength detected compared with a threshold value;
If the signal strength detected exceedes the threshold value, it is judged as that the channel presence signal is disturbed;Otherwise, it is judged as Signal interference is not present in the channel.
When data transmission module 203 detects presence signal interference for detection module 202, abandon to be used using this Frequency point channel carries out data packet transmission, and selection transmits frequency point and/or transmission time slot to the data packet from frequency point sequence again Transmitted again;When detecting to be not present signal interference for detection module 202, carried out using the frequency point channel to be used Data transfer.
Radio communication, magnetic communication etc. are present invention can be suitably applied to, transmission channel of the invention includes but is not limited to radio frequency and leads to Believe channel, magnetic communication channel, radio frequency communications channels include but is not limited to 2.4G radio frequency communications channels.Present invention detection is to be used Transmission channel include with the presence or absence of the method for signal interference it is a variety of, including but not limited to shown in above example:Detection should The current signal strength of channel, by the signal strength detected compared with a threshold value, is somebody's turn to do if the signal strength detected exceedes Threshold value, then be judged as that the channel presence signal is disturbed;Otherwise, it is judged as that signal interference is not present in the channel.The present invention provides Data transmission method and terminal, before carrying out data transmission, detect transmission channel to be used and whether there is signal interference; If presence signal is disturbed, abandon carrying out data transmission using the channel;If signal interference is not present, carried out using the channel Data transfer, can effectively avoid multiple equipment and ties up same channel at the same time, and cause signal interference, even result in data transfer mistake The problem of losing.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to assert this hair Bright specific implementation is confined to these explanations.For general technical staff of the technical field of the invention, do not taking off On the premise of from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the protection of the present invention Scope.

Claims (6)

  1. A kind of 1. data transmission method, it is characterised in that including:
    Data to be transmitted is divided into multiple data packets by initiator;
    Initiate direction recipient and send synchronization request, the synchronization request carries the factor for calculating frequency point sequence;
    Initiator is utilized respectively the factor with recipient and identical frequency point sequence is calculated;
    The transmission frequency point of initiator and recipient using the frequency point sequence as the multiple data packet;
    Detect the corresponding channel of frequency point to be used and whether there is signal interference;
    If presence signal is disturbed, abandon carrying out data transmission using the channel, and reselect from the frequency point sequence Frequency point to be used and/or time slot to be used are transmitted the data packet;
    If signal interference is not present, carried out data transmission using the channel;
    If it is determined that the recipient does not receive data packet, frequency point to be used is reselected from the frequency point sequence to described Data packet is transmitted again.
  2. 2. the method as described in claim 1, it is characterised in that detect transmission channel to be used with the presence or absence of signal interference Method includes:
    Detect the current signal strength of the channel;
    By the signal strength detected compared with a threshold value;
    If the signal strength detected exceedes the threshold value, it is judged as the channel presence signal interference;Otherwise, it is judged as Signal interference is not present in the channel.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that the channel is radio frequency communications channels or magnetic communication channel.
  4. 4. method as claimed in claim 3, it is characterised in that the channel is 2.4G radio frequency communications channels.
  5. A kind of 5. data transmission terminal, it is characterised in that including data processing module, detection module and data transmission module, its In,
    The data processing module is used to data to be transmitted being divided into multiple data packets, and synchronization request is sent to recipient, described Synchronization request carries the factor for calculating frequency point sequence;And frequency point sequence is calculated using the factor of the calculating frequency point sequence, by institute State transmission frequency point of the frequency point sequence as the multiple data packet;
    The detection module is used for before carrying out data transmission, and detects transmission channel to be used and whether there is signal interference;
    The data transmission module be used for the detection module detect presence signal interference when, abandon using the channel into Row data transfer, and frequency point to be used and/or time slot to be used are reselected to the data packet from the frequency point sequence It is transmitted;When the detection module detects to be not present signal interference, carried out data transmission using the channel;And When determining that the recipient does not receive data packet, frequency point to be used is reselected from the frequency point sequence to the data Bag is transmitted again.
  6. 6. data transmission terminal as claimed in claim 5, it is characterised in that the detection module is worked as detecting the channel Preceding signal strength;By the signal strength detected compared with a threshold value;
    If the signal strength detected exceedes the threshold value, it is judged as the channel presence signal interference;Otherwise, it is judged as Signal interference is not present in the channel.
CN201110430458.7A 2011-12-20 2011-12-20 A kind of data transmission method and terminal Active CN103178924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110430458.7A CN103178924B (en) 2011-12-20 2011-12-20 A kind of data transmission method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110430458.7A CN103178924B (en) 2011-12-20 2011-12-20 A kind of data transmission method and terminal

Publications (2)

Publication Number Publication Date
CN103178924A CN103178924A (en) 2013-06-26
CN103178924B true CN103178924B (en) 2018-04-17

Family

ID=48638564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110430458.7A Active CN103178924B (en) 2011-12-20 2011-12-20 A kind of data transmission method and terminal

Country Status (1)

Country Link
CN (1) CN103178924B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301491A (en) * 2015-05-18 2017-01-04 北京富华胜科技中心 A kind of data transmission method based on multiple-input and multiple-output
CN104821995B (en) * 2015-05-27 2017-06-06 广东欧珀移动通信有限公司 A kind of data transfer management method and device
CN106454944A (en) * 2016-09-20 2017-02-22 乐视控股(北京)有限公司 Data transmission method, apparatus and terminal
CN106851844B (en) * 2017-03-20 2020-06-30 北京小鸟看看科技有限公司 Wireless data transmission method, equipment and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068435A (en) * 2007-03-23 2007-11-07 华为技术有限公司 Method for conquering back interference and base station controller
CN101119133A (en) * 2007-09-07 2008-02-06 倪郁青 2.4GHz frequency hopping technique based one-to-many fast synchronization method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4327832B2 (en) * 2006-09-15 2009-09-09 株式会社東芝 Communication apparatus and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068435A (en) * 2007-03-23 2007-11-07 华为技术有限公司 Method for conquering back interference and base station controller
CN101119133A (en) * 2007-09-07 2008-02-06 倪郁青 2.4GHz frequency hopping technique based one-to-many fast synchronization method

Also Published As

Publication number Publication date
CN103178924A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN104486013A (en) Channel detection method, channel detection system, terminal and base station
CN102893649B (en) Relay, reception device, dispensing device and trunking method
US11166276B2 (en) Data sending method and apparatus
CN106550318A (en) A kind of processing method and terminal in the conflict of direct mode operation lower channel
CN104539405A (en) Channel detection method, channel detection system, base station and terminal
CN103178924B (en) A kind of data transmission method and terminal
CN104507108A (en) Method for indicating idle state of channel or reserving resources, system, terminal and base station
CN103874176B (en) Microcell dynamic switch conversion method and Microcell dynamic switch converting system
CN105636230B (en) A kind of method and apparatus for implementing to listen to before session
CN104335534B (en) Data transmission method for uplink, method of reseptance and equipment
RU2013112912A (en) CONTROL MESSAGES OF CONFIRMATION FROM MULTIPLE DESTINATIONS FOR MULTIPLE MIMO TRANSMISSIONS
CN109526064B (en) Method for avoiding LoRaWAN channel conflict
EP2975889A1 (en) D2d discovery sequence detecting method and d2d data receiving method and device
CN104753749B (en) A kind of multi-host communication method and communication system
TW202243532A (en) Communication Device and Method of Handling Measurement
CN104936211A (en) Wireless resource distribution method
CN107770781A (en) A kind of D2D method for transmitting synchronizing signal and device
WO2023273055A1 (en) Method for detecting interference signal, base station, terminal, and system
CN105162553A (en) Signaling indication method and system of transmission block type
CN102932820A (en) Link processing method, device and system
CN106161318B (en) A kind of signal processing method, transmitter, receiver and system
CN107182132B (en) SRB establishing method, device and system based on double connections
CN101959297A (en) Transmission power regulating method and device for communication system
US20210410223A1 (en) Signaling transmission method and device, signaling reception method and device, storage medium and terminal
US20110267974A1 (en) Communication apparatus, communication system, and slave station apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant